<!--
function header_01_display() {
var header_01 = "<img src='/assets/images/display/header_01a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>"; {
	num = Math.floor(Math.random()*3);
	if (num == 0) {
		header_01 = "<img src='/assets/images/display/header_01a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 1) {
		header_01 = "<img src='/assets/images/display/header_01b.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 2) {
		header_01 = "<img src='/assets/images/display/header_01c.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 3) {
		header_01 = "<img src='/assets/images/display/header_01d.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
}
	document.write(header_01);
}

function header_02_display() {
var header_02 = "<img src='/assets/images/display/header_02a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>"; {
	num = Math.floor(Math.random()*3);
	if (num == 0) {
		header_02 = "<img src='/assets/images/display/header_02a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 1) {
		header_02 = "<img src='/assets/images/display/header_02b.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 2) {
		header_02 = "<img src='/assets/images/display/header_02c.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 3) {
		header_02 = "<img src='/assets/images/display/header_02d.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
}
	document.write(header_02);
}

function header_03_display() {
var header_03 = "<img src='/assets/images/display/header_03a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>"; {
	num = Math.floor(Math.random()*3);
	if (num == 0) {
		header_03 = "<img src='/assets/images/display/header_03a.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 1) {
		header_03 = "<img src='/assets/images/display/header_03b.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 2) {
		header_03 = "<img src='/assets/images/display/header_03c.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
	else if (num == 3) {
		header_03 = "<img src='/assets/images/display/header_03d.jpg' alt='' width='99' height='99' hspace='3' vspace='3'>";
	}
}
	document.write(header_03);
}

function Clear(theText) {
	if (theText.value == theText.defaultValue) {
	theText.value = ""
	}
}	

function isBlank() {
	value=document.searchform.elements['SearchString'].value;
	if ( value == "" ){
        	alert("Please enter search word");
        	return false;
    	}
    	else {
    		return true;
    	}
}

function openWindow(URL,name,features) {
	window.open(URL,name,features);
}

function closeWindow() {
	window.close();
}

function checkForm(EnquiryForm)
	{

	if (EnquiryForm.Name.value == '')
	{
		alert('Please enter your Name.');
		EnquiryForm.Name.focus();
		return false;
	}

	if (EnquiryForm.Email.value == '')
	{
		alert('Please enter your Email Address.');
		EnquiryForm.Email.focus();
		return false;
	}
			
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(EnquiryForm.Email.value)))
	{
		alert('Please enter a valid Email Address');
		EnquiryForm.Email.focus();
		return false;
	}
			
	return true;
}

function email() {
	document.write('<a href="mailto:info@rtalpine.com.au">info@rtalpine.com.au</a>');
}

function go(loc) {
window.location.href = loc;
}

var date = new Date();
var year = date.getFullYear();

function lastModified() {
	var date = new Date(document.lastModified);
	var day = date.getDate();
	var month = [date.getMonth() + 1];
	var year = date.getYear();
	if (day < 10) day = "0" + day;
	if (month < 10) month = "0" + month;
	if (year < 2000) year += 1900;
	document.write(day + "-" + month + "-" + year);
}

function credit() {
	document.write('<a href="http://www.gocreative.com" class="credit">Site powered by Gocreative<img src="/assets/images/powered_by.gif" alt="Site powered by Gocreative ContentContributor" height="11" width="135" border="0" align="texttop" /></a>&nbsp;');
}

//-->