document.writeln("<script src=\"js\/fun.js\" type=\"text\/javascript\"><\/script>");
var nohrefid="";
	function changeimg(id)
	{
		if(id!=nohrefid)
		{
		var str=String(G(id).src);
		var index=str.lastIndexOf(".");
		G(id).src=str.substring(0,index)+"_sel.gif";
		//alert(G(id).src);
		}
		
	}
	function returnimg(id)
	{
		if(id!=nohrefid)
		{
		var str=String(G(id).src);
		var index=str.lastIndexOf("_sel.gif");
		if(index!=-1)
		G(id).src=str.substring(0,index)+".gif";
		}
	}
	

	function MusicStop()
	{
		var elements2=parent.bottomFrame.document.getElementById("MediaPlayer2");
		if(parent.bottomFrame.StopMusic==0)
		{
			parent.bottomFrame.StopMusic=1;
			elements2.pause();
			document.getElementById("playmusic").src="image/stop.gif";
		}
		else
		{
			parent.bottomFrame.StopMusic=0;
			elements2.play();
			document.getElementById("playmusic").src="image/play.gif";
		}
	}

document.writeln("<table width=\"953\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-top:15px;\">");
document.writeln("  <tr>");
document.writeln("    <td width=\"273\" align=\"right\"><img src=\"image\/title.gif\" width=\"273\" height=\"36\"><\/td>");
document.writeln("    <td width=\"638\"><a href=\"index.htm\" id=\"headhref1\"><img src=\"image\/home.gif\" id=\"headmenu1\" border=\"0\" class=\"headmenu\" onMouseOver=\'changeimg(\"headmenu1\")\' onMouseOut=\'returnimg(\"headmenu1\")\'><\/a><a href=\"takeoutmenu.htm\" id=\"headhref2\"><img src=\"image\/menu.gif\" id=\"headmenu2\" width=\"148\" height=\"36\" border=\"0\" class=\"headmenu\" onMouseOver=\'changeimg(\"headmenu2\")\' onMouseOut=\'returnimg(\"headmenu2\")\'><\/a><a href=\"dine.htm\" id=\"headhref3\"><img src=\"image\/special.gif\"  width=\"148\" height=\"36\" border=\"0\" class=\"headmenu\" id=\"headmenu3\" onMouseOver=\'changeimg(\"headmenu3\")\' onMouseOut=\'returnimg(\"headmenu3\")\'><\/a><a href=\"music.htm\" id=\"headhref4\"><img src=\"image\/music_art.gif\" border=\"0\" class=\"headmenu\" id=\"headmenu4\" onMouseOver=\'changeimg(\"headmenu4\")\' onMouseOut=\'returnimg(\"headmenu4\")\'><\/a><a href=\"about.htm\" id=\"headhref5\"><img src=\"image\/about.gif\" width=\"109\" height=\"36\" border=\"0\" class=\"headmenu\" id=\"headmenu5\" onMouseOver=\'changeimg(\"headmenu5\")\' onMouseOut=\'returnimg(\"headmenu5\")\'><\/a><\/td>");
document.writeln("    <td width=\"42\"><span onClick=\"MusicStop()\"><img src=\"image\/play.gif\" name=\"playmusic\" alt=\"sound\" id=\"playmusic\" style=\"cursor:pointer;\"><\/span><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
function MenuBack()
{
	if(parent.bottomFrame.StopMusic==0)
	{
		document.getElementById("playmusic").src="image/play.gif";
		}
	else
	{
		document.getElementById("playmusic").src="image/stop.gif";
		}
var thishref=String(document.location.href).toLowerCase();
		
		if(thishref.indexOf("index")!=-1)
		{
		G("headmenu1").src="image/home_sel.gif";
		nohrefid="headmenu1";
		G("headhref1").clearAttributes();
		}
		else if(thishref.indexOf("takeoutmenu")!=-1)
		{
		G("headmenu2").src="image/menu_sel.gif";
		nohrefid="headmenu2";
		G("headhref2").clearAttributes();
		}
		else if(thishref.indexOf("dine")!=-1)
		{
		G("headmenu3").src="image/special_sel.gif";
		nohrefid="headmenu3";
		G("headhref3").clearAttributes();
		}
		else if(thishref.indexOf("music")!=-1||thishref.indexOf("picture")!=-1||thishref.indexOf("character")!=-1)
		{
		G("headmenu4").src="image/music_art_sel.gif";
		nohrefid="headmenu4";
		G("headhref4").clearAttributes();
		if(thishref.indexOf("music")!=-1)
		G("playmusic").style.display="none";
		}
		else if(thishref.indexOf("about")!=-1)
		{
		G("headmenu5").src="image/about_sel.gif";
		nohrefid="headmenu5";
		G("headhref5").clearAttributes();
		}
}




