	window.onresize = new Function("window.location.reload();");
	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=[271];
		var menu_y=[104];
	}
	else
	{
		var menu_x=[271];
		var menu_y=[103];
	}
	
	var str=""
	str+="<style>";
	if(ie)
	{
	str+="#Mmenu0{filter:alpha(opacity=100);position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}";
	}
	else
	{
	str+="#Mmenu0{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<1;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;
		//shideall();
		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 smout(x,y){
		if (!isMozilla){
		eval("c"+x+y).className = "menu_bg";
		eval("c"+x+y).style.color = "#d3edfc";
			}
		else{
			document.getElementById("c"+x+y).className = "menu_bg";
			document.getElementById("c"+x+y).style.color = "#d3edfc";
			}
	}

	function smover(x,y){
		if (!isMozilla){
			eval("c"+x+y).className = "menu_bg1";
			eval("c"+x+y).style.color = "#FFFFFF";
			}
		else{
			document.getElementById("c"+x+y).className = "menu_bg1";
			document.getElementById("c"+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='0' cellspacing='0' border='0'");
	document.write(	"<tr><td id='c00' name='c00' width='126' onmouseover=smover('0','0'); onmouseout=smout('0','0'); class='menu_bg' style='cursor:pointer;' align='left' onClick=location.href='sara_elgi.html'>Sara Elgi Project</td></tr>");
	document.write(	"<tr><td id='c01' name='c01' width='126' onmouseover=smover('0','1'); onmouseout=smout('0','1'); class='menu_bg' style='cursor:pointer;' align='left' onClick=location.href='shivvas.html'>Shree Shivvas Castle</td></tr>");
	document.write(	"<tr><td id='c02' name='c02' width='126' onmouseover=smover('0','2'); onmouseout=smout('0','2'); class='menu_bg' style='cursor:pointer;' align='left' onClick=location.href='other_project.html'>Other Projects</td></tr>");
	document.write("</table>");
	document.write("</div>");
	
	
