	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=(screen.width==800)?[386,456,552,604,433,433]:[386,456,552,604,433,403];
    var menu_y=(screen.width==800)?[257,257,257,257,257,282]:[258,258,258,258,258,284];
	
	}
	
	
	else{
		
    var menu_x=(screen.width==800)?[378,448,544,596,425,425]:[378,448,544,596,425,395];
	var menu_y=(screen.width==800)?[257,257,257,257,257,282]:[257,257,257,257,257,282];
	
	}
	
	var str="";
	str+="<style>\n";
	str+="a.menu{font-family:verdana; font-size:11px; color:#ffffff; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:verdana; font-size:11px; color:#abcfe1; text-decoration:none;}\n";
	
if(ie)
{
	str+="#Mmenu0{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[0] +  "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu2{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[2] +  "px;left:" + menu_x[2] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu3{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[3] +  "px;left:" + menu_x[3] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu4{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[4] +  "px;left:" + menu_x[4] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu5{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[5] +  "px;left:" + menu_x[5] + "px;visibility:hidden;z-index:10;}\n"; 

}
else
{
	str+="#Mmenu0{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[0] +  "px;left:" + menu_x[0] + "px;visibility:hidden;}\n";
	str+="#Mmenu1{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu2{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[2] +  "px;left:" + menu_x[2] + "px;visibility:hidden;}\n";
	str+="#Mmenu3{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[3] +  "px;left:" + menu_x[3] + "px;visibility:hidden;}\n";
	str+="#Mmenu4{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[4] +  "px;left:" + menu_x[4] + "px;visibility:hidden;}\n";
	str+="#Mmenu5{filter:alpha(opacity=100);-moz-opacity:100;opacity:100;position:absolute;top:" + menu_y[5] +  "px;left:" + menu_x[5] + "px;visibility:hidden;}\n";
}
	str+="</style>";
	document.write (str);

	function mout(x){
		
	}

	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]-15);
		if(ie) eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				//alert(screen.width);
				var objMDiv = document.getElementById("Mmenu"+ x);
				if (window.innerWidth>800){
					objMDiv.style.left = (window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]+"px";
				}
				else{
					objMDiv.style.left = menu_x[x]-12+"px";
				}
				//objMDiv.style.left = window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]:menu_x[x]-105;
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}

	function smout(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#a87b4c";
			eval("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#a87b4c";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
	}

	function smover(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#8e5524";
			eval("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#8e5524";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
	}
	function shideall()
	{
		for(i=4;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";
			}
	}

	document.write("<div id='mMenu' style='width:100%;background-color:#311402;'><img src='images/spacer.gif' width='100%' height='0'></div>");

	document.write ("<div id='Mmenu0'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='175'>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s10' name='s10' onmouseover=smover('1','0');  onmouseout=smout('1','0')><a href='"+linkPath+"aboutus/leadership_team.html' class='menu' title='Leadership Team'>Leadership Team</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s11' name='s11' onmouseover=smover('1','1');  onmouseout=smout('1','1')><a href='"+linkPath+"aboutus/staff.html' class='menu' title='Staff'>Staff</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2')><a href='"+linkPath+"aboutus/offices.html' class='menu' title='Office Locations'>Office Locations</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s13' name='s13' onmouseover=smover('1','3');  onmouseout=smout('1','3')><a href='"+linkPath+"aboutus/testimonials_endorsements.html' class='menu' title='Testimonials/Endorsements'>Testimonials/Endorsements</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s14' name='s14' onmouseover=smover('1','4');  onmouseout=smout('1','4')><a href='"+linkPath+"aboutus/history.html' class='menu' title='History'>History</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s15' name='s15' onmouseover=smover('1','5');  onmouseout=smout('1','5')><a href='"+linkPath+"aboutus/values_mission.html' class='menu' title='Company Values / Mission Statement'>Company Values / Mission Statement</a></td></tr>");
<!--	document.write ("<tr bgcolor='#a87b4c'><td id='s16' name='s16' onmouseover=smover('1','6');  onmouseout=smout('1','6')><a href='"+linkPath+"aboutus/safety.html' class='menu' title='Safety'>Safety</a></td></tr>");-->
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#ffffff' width='200'>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s21' name='s21' onmouseover=smover('2','1'); onmouseout=smout('2','1')><a href='"+linkPath+"what_we_do/product_overview_specifications.html' class='menu' title='Product Overview/Specifications'>Product Overview/Specifications</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s22' name='s22' onmouseover=smover('2','2'); onmouseout=smout('2','2')><a href='"+linkPath+"what_we_do/features_and_benefits.html' class='menu' title='The Wright Development Advantage'>The Wright Development Advantage</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu2'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='175'>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s30' name='s30' onmouseover=smover('3','0');menu(4);  onmouseout=smout('3','0')><a href='"+linkPath+"work_we_have_done/current_projects.html' class='menu' title='Profiled Construction Projects'>Profiled Construction Projects</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s31' name='s31' onmouseover=smover('3','1');menu(5);  onmouseout=smout('3','1')><a href='"+linkPath+"work_we_have_done/completed_project_portfolio.html' class='menu' title='Profiled Completed Hotels'>Profiled Completed Hotels</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s32' name='s32' onmouseover=smover('3','2');menu(5);  onmouseout=smout('3','2')><a href='"+linkPath+"work_we_have_done/projects.html' class='menu' title='Hotel Project Maps'>Hotel Project Maps</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu3'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='175'>");
<!--document.write ("<tr bgcolor='#a87b4c'><td id='s40' name='s40' onmouseover=smover('4','0');  onmouseout=smout('4','0')><a href='"+linkPath+"faqs/about_industry.html' class='menu' title='About the Industry'>About the Industry</a></td></tr>");-->
	<!--document.write ("<tr bgcolor='#a87b4c'><td id='s41' name='s41' onmouseover=smover('4','1');  onmouseout=smout('4','1')><a href='"+linkPath+"faqs/regional_information.html' class='menu' title='Regional Information'>Regional Information</a></td></tr>");-->
	<!--document.write ("<tr bgcolor='#a87b4c'><td id='s42' name='s42' onmouseover=smover('4','2');  onmouseout=smout('4','2')><a href='"+linkPath+"faqs/glossary.html' class='menu' title='Glossary of Industry Terms'>Glossary of Industry Terms</a></td></tr>");-->
	document.write ("</table>");
	document.write ("</div>");
	
	
	<!--   inner sub menus   -->
	
	document.write ("<div id='Mmenu4'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='120'>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s52' name='s52' onmouseover=smover('5','2');  onmouseout=smout('5','2')><a href='"+linkPath+"work_we_have_done/projects13.html' class='menu' title='Project 3'>Sequim, WA</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu5'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='150'>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s60' name='s60' onmouseover=smover('6','0');  onmouseout=smout('6','0')><a href='"+linkPath+"work_we_have_done/projects11.html' class='menu' title='Project 1'>Blue Lake, CA</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s61' name='s61' onmouseover=smover('6','1');  onmouseout=smout('6','1')><a href='"+linkPath+"work_we_have_done/projects12.html' class='menu' title='Project 2'>Middleton, CA</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s62' name='s62' onmouseover=smover('6','2');  onmouseout=smout('6','2')><a href='"+linkPath+"work_we_have_done/projects1.html' class='menu' title='Elizabeth Inn Newport, OR'>Elizabeth Inn Newport, OR</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s63' name='s63' onmouseover=smover('6','3');  onmouseout=smout('6','3')><a href='"+linkPath+"work_we_have_done/projects2.html' class='menu' title='Three Rivers Casino'>Three Rivers Casino</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s64' name='s64' onmouseover=smover('6','4');  onmouseout=smout('6','4')><a href='"+linkPath+"work_we_have_done/projects3.html' class='menu' title='Candlewood Columbia, SC'>Candlewood Columbia, SC</a></td></tr>");
	document.write ("<tr bgcolor='#a87b4c'><td id='s65' name='s65' onmouseover=smover('6','5');  onmouseout=smout('6','5')><a href='"+linkPath+"work_we_have_done/projects4.html' class='menu' title='Hilton Homewood Suites; Medford, Oregon'>Homewood Suites, OR</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	
