	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=[90,181,330,330,330];
	var menu_y=[122,122,122,143,164];
}
else
{	
	var menu_x=[82,174,323,323,323];
	var menu_y=[121,121,121,142,163];
}
	
	var str=""
	str+="<style>\n";
	str+="a.menu{color:#000000; text-decoration:none;}\n";
	str+="a.menu:hover{color:#000000; text-decoration:none;}\n";
	str+="a.mmenu{color:#ffffff; text-decoration:none;}\n";
	str+="a.mmenu:hover{color:#000000; text-decoration:none;}\n";
	str+="td.menu{FONT-WEIGHT:normal;FONT-SIZE:11px;FONT-STYLE:normal;FONT-FAMILY:arial;cursor: hand;line-height: 14px;}\n";
	str+="</style>";

	str+="<style>\n";
	str+="a.menu{font-family:arial; font-size:12px; color:#000000; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:arial; font-size:12px; color:#000000; text-decoration:none;}\n";
	if(ie)
	{
	str+="#Mmenu0{filter:alpha(opacity=100);position:absolute;top:" + menu_y[0] + ";left:" + menu_x[0] + ";visibility:hidden;z-index:10;}";
	str+="#Mmenu1{filter:alpha(opacity=100);position:absolute;top:" + menu_y[1] + ";left:" + menu_x[1] + ";visibility:hidden;z-index:10;}";
	str+="#Mmenu2{filter:alpha(opacity=100);position:absolute;top:" + menu_y[2] + ";left:" + menu_x[2] + ";visibility:hidden;z-index:10;}";
	str+="#Mmenu3{filter:alpha(opacity=100);position:absolute;top:" + menu_y[3] + ";left:" + menu_x[3] + ";visibility:hidden;z-index:10;}";
	str+="#Mmenu4{filter:alpha(opacity=100);position:absolute;top:" + menu_y[4] + ";left:" + menu_x[4] + ";visibility:hidden;z-index:10;}";
	
	}
	else
	{
	str+="#Mmenu0{position:absolute;top:" + menu_y[0] + ";left:" + menu_x[0] + ";visibility:hidden;}";
	str+="#Mmenu1{position:absolute;top:" + menu_y[1] + ";left:" + menu_x[1] + ";visibility:hidden;}";
	str+="#Mmenu2{position:absolute;top:" + menu_y[2] + ";left:" + menu_x[2] + ";visibility:hidden;}";
	str+="#Mmenu3{position:absolute;top:" + menu_y[3] + ";left:" + menu_x[3] + ";visibility:hidden;}";
	str+="#Mmenu4{position:absolute;top:" + menu_y[4] + ";left:" + menu_x[4] + ";visibility:hidden;}";

   }
	str+="</style>";
	document.write(str);
	
	<!--  submenu functions -->
	
	function hideall()
	{
		for(i=0;i<=5;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);
		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);
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}
	
	function smout(x,y){
		if (!isMozilla){
		eval("s"+x+y).style.backgroundColor = "#FFFFFF";
		eval("s"+x+y).style.color = "#000000";
			}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#FFFFFF";
			document.getElementById("s"+x+y).style.color = "#000000";
			}
	}

	function smover(x,y){
				
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#E0E5EB";
			eval("s"+x+y).style.color = "#000000";
			}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#E0E5EB";
			document.getElementById("s"+x+y).style.color = "#000000";
		}
		
	}
	
	
	function shideall()
	{
		for(i=2;i<=4;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";
			}
	}
	
	<!--  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=3 cellspacing=1 border=0 bgcolor='#FFA420'  width='111'>");
	document.write ("<tr><td id='s01' name='s01'  onmouseover=smover('0','1'); onmouseout=smout('0','1'); class='menu'  onclick=javascript:location.href='profile.html' style='cursor:pointer;'>Vision </td></tr>");
	//document.write ("<tr><td id='s02' name='s02' onmouseover=smover('0','2'); onmouseout=smout('0','2'); class='menu1' onclick=javascript:location.href='http://www.onlineparamount.com/Booking/BESR_Transaction.aspx' style='cursor:pointer;'>Retrieve Booking </td></tr>");
//	document.write ("<tr><td id='s03' name='s03' onmouseover=smover('0','3'); onmouseout=smout('0','3');  class='menu1' onclick=javascript:location.href='http://www.onlineparamount.com/Booking/BESR_WebCheckIn.aspx' style='cursor:pointer;'>E-Check-In </td></tr>");
//	document.write ("<tr><td id='s04' name='s04' onmouseover=smover('0','4'); onmouseout=smout('0','4'); class='menu1' onclick=javascript:location.href='http://www.onlineparamount.com' style='cursor:pointer;'>Cancel Booking </td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding=3 cellspacing=1 border=0 bgcolor='#FFA420' width='150'>");
	document.write ("<tr><td class='menu' bgcolor='#FFFFFF' id='s11' name='s11'  onmouseover=smover('1','1');shideall();menu(2)  onmouseout=smout('1','1')><a class='menu'  title='Completed Projects'>Completed Projects</a></td></tr>");
	document.write ("<tr><td class='menu' bgcolor='#FFFFFF' id='s12' name='s12'  onmouseover=smover('1','2');shideall();menu(3)  onmouseout=smout('1','2')><a class='menu' title='Current Projects'>Current Projects</a></td></tr>");
	document.write ("<tr><td class='menu' bgcolor='#FFFFFF' id='s13' name='s13'  onmouseover=smover('1','3');shideall();menu(4)  onmouseout=smout('1','3')><a class='menu' title='Future Projects'>Future Projects</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
		
	document.write ("<div id='Mmenu2'>");
	document.write ("<table width=200 cellpadding=3 cellspacing=1 bgcolor='#FFA420' border=0>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s21' name='s21' onmouseover=ssmover('2','1'); onmouseout=ssmout('2','1') onClick=javascript:window.location.href='" + linkPath + "projects/list_projects.html'><a class='menu' HREF='" + linkPath + "projects/list_projects.html' title='List of completed projects'>List of completed projects</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s22' name='s22'  onmouseover=ssmover('2','2'); onmouseout=ssmout('2','2') onClick=javascript:window.location.href='" + linkPath + "projects/photos_projects.html'><a class='menu' HREF='" + linkPath + "projects/photos_projects.html' title='Photos of completed projects'>Photos of completed projects</td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu3'>");
	document.write ("<table width=150 cellpadding=3 cellspacing=1 bgcolor='#FFA420' border=0>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s31' name='s31'  onmouseover=ssmover('3','1'); onmouseout=ssmout('3','1') onClick=javascript:window.location.href='" + linkPath + "projects/gowtham_maple.html'><a class='menu' HREF='" + linkPath + "projects/gowtham_flora.html' title='Gowtham Flora'>Gowtham Flora</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s32' name='s32'  onmouseover=ssmover('3','2'); onmouseout=ssmout('3','2') onClick=javascript:window.location.href='" + linkPath + "projects/gowtham_garden.html'><a class='menu' HREF='" + linkPath + "projects/gowtham_sibhi.html' title='Gowtham Sibhi'>Gowtham Sibhi</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s33' name='s33'  onmouseover=ssmover('3','3'); onmouseout=ssmout('3','3') onClick=javascript:window.location.href='" + linkPath + "projects/gowtham_flora.html'><a class='menu' HREF='" + linkPath + "projects/gowtham_maple.html' title='Gowtham Maple'>Gowtham Maple</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s34' name='s34'  onmouseover=ssmover('3','4'); onmouseout=ssmout('3','4') onClick=javascript:window.location.href='" + linkPath + "projects/gowtham_sibhi.html'><a class='menu' HREF='" + linkPath + "projects/gowtham_garden.html' title='Gowtham abc Garden'>Gowtham abc Garden</a></td></tr>");
	
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu4'>");
	document.write ("<table width=150 cellpadding=3 cellspacing=1 bgcolor='#FFA420' border=0>");
	document.write ("<tr bgcolor='#FFFFFF'><td style='cursor:hand;' class='menu' id='s40' name='s40' onmouseover=ssmover('4','0'); onmouseout=ssmout('4','0') onClick=javascript:window.location.href='" + linkPath + "projects/listof_projects.html'><a class='menu' HREF='" + linkPath + "projects/listof_projects.html'>List of Projects</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	function fnmenu()
{
var str="";
str+="<table  width='780' align='center' cellpadding='0' cellspacing='0' border='0'>";
str+="<tr><td><img src='" + linkPath + "images/menu.gif' alt='' width='780' height='23' border='0' usemap='#Map'></td></tr>";
str+="<map name='Map'>";
str+="<area shape='rect' coords='2,2,79,22' href='" + linkPath + "index.html' onmouseover='hideall()' alt='Home'>";
str+="<area shape='rect' coords='82,2,170,22' href='" + linkPath + "profile.html' onmouseover='menu(0);' alt='Profile'>";
str+="<area shape='rect' coords='173,2,271,22'  onmouseover='menu(1);' alt='Projects'>";
str+="<area shape='rect' coords='273,2,398,22' href='" + linkPath + "location_map.html' onmouseover='hideall()' alt='Location Map'>";
str+="<area shape='rect' coords='403,2,496,22' href='" + linkPath + "contact.html' onmouseover='hideall()' alt='Contact'>";
str+="</map>";
document.write(str);
}
	