function timeLeft(){
	count = closeTime-curTime;
	document.timer.counter.value = count + " secs.";
	window.setTimeout("Timer()",1000);
}

function Timer(){
	var time= new Date();
	hours= time.getHours();
	mins= time.getMinutes();
	secs= time.getSeconds();
	curTime=hours*3600+mins*60+secs;
	if(curTime>=closeTime)
		 //alert("Normally, you would be transfered to a different page, but I stopped the script so you could see the source code.")
		// Delete the line above and remove the comment marker from the line below, replacing 'yourpage.htm' with the URL of the page you want to load.
		window.location = "http://www.sort-it.com.au/";
	//else
		//timeLeft();
}

function startTimer(){
	var time= new Date();
	hours= time.getHours();
	mins= time.getMinutes();
	secs= time.getSeconds();
	closeTime=hours*3600+mins*60+secs;
	closeTime+=10;  
	Timer();
}
//window.location = "http://www.sort-it.com.au/";
//startTimer();

// document.write('<form name="timer">You will be transfered in:<input type=text value="" name="counter" size=3></form>');
document.write('<table width ="100%" border="0" align="left" cellpadding="0" cellspacing="0">');
document.write('<colgroup><col width="130"></col><col width="0*"></col><col width="77"></col></colgroup><tr><td height="38" class="bckground2"></td><td height="38" class="bckground2"></td>');
document.write('<td rowspan="2" height="108" valign="bottom" class="bckground2"><img name="header_image" src="Images/fooddish_small.gif" alt="header image" width="77" height="108" align="bottom"></td></tr><tr>');
document.write('<td height="70" class="bckground"><img src="Images/logo_heart_smaller.jpg" alt="UNAS Restaurant logo" width="130" height="70"></td>');
document.write('<td height="70" class="bckground2" align="center" valign="middle"><img src="Images/hospitality.gif" alt="UNAS Restaurant logo"></td>');
document.write('</tr></table>');
