	//window.onresize = new Function("window.location.reload();");
	window.onresize = new Function("");
	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;

	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	
	if(ie)
	{
		var menu_x=[-90,34];
		var menu_y=[59,216];
	}
	else
	{
		var menu_x=[-97,25];
		var menu_y=[59,216];
	}
	
	var str="";
	str+="<style>\n";
	if(ie)
	{
	str+="#Mmenu0{filter:alpha(opacity=90);position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu1{filter:alpha(opacity=90);position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}";
	}
	else
	{
	str+="#Mmenu0{-moz-opacity:.90;opacity:.90;position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;}";
	str+="#Mmenu1{-moz-opacity:.90;opacity:.90;position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;}";
	}
	str+="</style>";
	document.write(str);
	
	<!--  submenu functions -->
	
	function hideall()
	{
		for(i=0;i<2;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}
	
	function menu(x){
		temp=x;
		if(ie)eval("Mmenu"+ x).style.left = (mMenu.clientWidth>800?(mMenu.clientWidth-800)-((mMenu.clientWidth-800)/2)+menu_x[x]:menu_x[x]-10)+"px";
		if(ie) eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+ x);

				objMDiv.style.left = (window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]:menu_x[x]-10)+"px";
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}
	
	function smover(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#429406";
			eval("s"+x+y).style.color = "#ffffff";
			}
		else{
			document.getElementById("s"+x+y).style.backgroundColor="#429406";
			document.getElementById("s"+x+y).style.color = "#ffffff";
		}
	}
	
	function smout(x,y){
		if (!isMozilla){
		eval("s"+x+y).style.backgroundColor = "#65c022";
		eval("s"+x+y).style.color = "#ffffff";
			}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#65c022";
			document.getElementById("s"+x+y).style.color = "#ffffff";
			}
	}

	<!--  sub menus  -->
	document.write("<div id='mMenu' style='width:100%;'><img src='images/spacer.gif' width='100%' height='0'></div>");	
	
	document.write("<div id='Mmenu0'>");
	document.write ("<table cellpadding=4 cellspacing=0 border=0 bgcolor='#65c022' width='125' style='color:#ffffff;'>");
//	document.write(	"<tr><td id='s10' style='border-bottom:1px #ffffff solid; cursor:pointer; padding-left:12px;' name='s10' width='125' onmouseover=smover('1','0');fnHistEnable(); onmouseout=smout('1','0');fnHistDisable(); onClick=location.href='meetourstaff.php'>Meet Our Staff</td></tr>");	
	document.write(	"<tr><td id='s11' style='border-bottom:1px #ffffff solid; cursor:pointer; padding-left:12px;' name='s11' width='125' onmouseover=smover('1','1');fnHistEnable(); onmouseout=smout('1','1');fnHistDisable(); onClick=location.href='contactus.php'>Contact Us</td></tr>");	
	document.write ("</table>");
	document.write("</div>");
	
	document.write("<div id='Mmenu1'>");
	document.write ("<table cellpadding=4 cellspacing=0 border=0 bgcolor='#65c022' width='135' style='color:#ffffff;'>");
	document.write(	"<tr><td style='border-bottom:1px #ffffff solid; cursor:pointer; padding-left:12px;' id='s20' name='s20' width='125' onmouseover=smover('2','0');fnServicesEnable(); onmouseout=smout('2','0');fnServicesDisable(); onClick=location.href='burials.php'>Burials</td></tr>");	
	document.write(	"<tr><td style='border-bottom:1px #ffffff solid; cursor:pointer; padding-left:12px;' id='s21' name='s21' width='125' onmouseover=smover('2','1');fnServicesEnable(); onmouseout=smout('2','1');fnServicesDisable(); onClick=location.href='tourourfacility.php'>Tour Our Facility</td></tr>");	
	document.write ("</table>");
	document.write("</div>");
	
	function fnHistEnable()
	{
      document.getElementById('ourhistorymenuid').className='mnuourhistoryact';
	}
	function fnHistDisable()
	{
	  document.getElementById('ourhistorymenuid').className='mnuourhistory';
	}
	function fnServicesEnable()
	{
      document.getElementById('servicesmenuid').className='mnuservicesact';
	}
	function fnServicesDisable()
	{
	  document.getElementById('servicesmenuid').className='mnuservices';
	}

