<!--
// Determine the existence of a given cookie.
function cookie_exists(c_name)
{
	if(document.cookie.indexOf(c_name) != -1)
		return true;
	else
		return false;
}
	// Display a window about hotDog relocation for 30 seconds.
	function MsgBox() {
		Newwindow=window.open("popup.html","Newwindow","width=200,height=300");
		Newwindow.document.close();
		setTimeout("Newwindow.close()",30000);
	}
	
	function disp_message(){
		var now = new Date();
		var tom = now.getDate() + 1;
		now.setDate(tom);
		var exp_str = now.toGMTString();
		if(!isIE){
			//if(navigator.preference("network.cookie.cookieBehaviour")!=2){
			//	alert("got here (cookie_exists)	");
			if(!(cookie_exists("visited"))){
				document.cookie = "visited=true;expires=" +  exp_str + ";";
				MsgBox();
			}
			//}
		} else {
			if(navigator.cookieEnabled){
				if(!(cookie_exists("visited"))){
					document.cookie = "visited=true;expires=" + exp_str+ ";";
					MsgBox();
				}
			}
		}
	}
	// Determines the exsitence of a cookie, writing a cookie that expires in one day if a cookie does not exist
	// and showing a pop up window.

//-->