	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=[100,264,350,479,155,703];
		var menu_y=[15,279,30,56,279,30];
	}
	else
	{
		var menu_x=[269,255,342,471,148,695];
		var menu_y=[15,278,28,54,278,28];
	}
	
	var str="";
	str+="<style>\n";
	str+="a.menunew{font-family:arial; font-size:11px; padding:0px; margin:0px; color:#5e3c00; font-weight:normal; cursor:pointer; text-align:left; text-decoration:none;}\n";
	str+="a.menunew:hover{font-family:arial; font-size:11px; padding:0px; margin:0px; color:#5e3c00; font-weight:normal; cursor:pointer; text-align:left; text-decoration:none;}\n";

	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;}";
	str+="#Mmenu1{filter:alpha(opacity=100);position:absolute;top:" + menu_y[1] + "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu2{filter:alpha(opacity=100);position:absolute;top:" + menu_y[2] + "px;left:" + menu_x[2] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu3{filter:alpha(opacity=100);position:absolute;top:" + menu_y[3] + "px;left:" + menu_x[3] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu4{filter:alpha(opacity=100);position:absolute;top:" + menu_y[4] + "px;left:" + menu_x[4] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu5{filter:alpha(opacity=100);position:absolute;top:" + menu_y[5] + "px;left:" + menu_x[5] + "px;visibility:hidden;z-index:10;}";

}
	else
	{
	str+="#Mmenu0{position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;}";
	str+="#Mmenu1{position:absolute;top:" + menu_y[1] + "px;left:" + menu_x[1] + "px;visibility:hidden;}";
	str+="#Mmenu2{position:absolute;top:" + menu_y[2] + "px;left:" + menu_x[2] + "px;visibility:hidden;}";
	str+="#Mmenu3{position:absolute;top:" + menu_y[3] + "px;left:" + menu_x[3] + "px;visibility:hidden;}";
	str+="#Mmenu4{position:absolute;top:" + menu_y[4] + "px;left:" + menu_x[4] + "px;visibility:hidden;}";
	str+="#Mmenu5{position:absolute;top:" + menu_y[5] + "px;left:" + menu_x[5] + "px;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){
		if (x==4 || x==1) hideall();
		temp=x;
	//	alert (eval("Mmenu"+ x).style.left );
		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)+"px";
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}
	
	function smout(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#cccc99";
			eval("s"+x+y).style.color = "#5e3c00";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#cccc99";
			document.getElementById("s"+x+y).style.color = "#5e3c00";
			}
	}

	function smover(x,y)
	{
		if (!isMozilla)
		{
			eval("s"+x+y).style.backgroundColor = "#fff2ab";
			eval("s"+x+y).style.color = "#000000";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#fff2ab";
			document.getElementById("s"+x+y).style.color = "#000000";
		}
	}
	
	<!--  inner submenu functions -->
	
	function shideall()
	{
		for(i=3;i<=3;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=4 cellspacing=1 border=0 bgcolor='#FFFFFF' width='160'>");
	document.write ("<tr bgcolor='#5e3c00'><td id='s10' name='s10' onmouseover=smover('1','0');  onmouseout=smout('1','0')><a href='"+linkPath+"meet/mission_statement.html' class='menu' title='Mission Statement'>Mission Statement</a></td></tr>");
	document.write ("<tr bgcolor='#5e3c00'><td id='s11' name='s11' onmouseover=smover('1','1');  onmouseout=smout('1','1')><a href='"+linkPath+"meet/biography.html' class='menu' title='Biography'>Biography</a></td></tr>");
	document.write ("<tr bgcolor='#bebec0'><td align='left' id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2')><a href='"+linkPath+"meet/hire.html' class='menu' title='Why Hire Richard and Karen?'>Why Hire Richard and Karen?</a></td></tr>");
	document.write ("<tr bgcolor='#bebec0'><td id='s13' name='s13' onmouseover=smover('1','3');  onmouseout=smout('1','3')><a href='"+linkPath+"meet/success_stories.html' class='menu' title='Success Stories'>Success Stories</a></td></tr>");
	document.write ("<tr bgcolor='#bebec0'><td id='s14' name='s14' onmouseover=smover('1','4');  onmouseout=smout('1','4')><a href='"+linkPath+"meet/speaking_references.html' class='menu' title='Speaking References'>Speaking References</a></td></tr>");
	document.write ("<tr bgcolor='#bebec0'><td id='s15' name='s15' onmouseover=smover('1','5');  onmouseout=smout('1','5')><a href='"+linkPath+"meet/watch_action.html' class='menu' title='Watch Them in Action'>Watch Them in Action</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='160'>");
	document.write ("<tr bgcolor='#cccc99'><td id='s21' name='s21' onmouseover=smover('2','1'); onmouseout=smout('2','1')><a href='"+linkPath+"publications/pub_overview_demography.php?id=5' class='menunew'>Community Development</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s22' name='s22' onmouseover=smover('2','2'); onmouseout=smout('2','2')><a href='"+linkPath+"publications/pub_overview_demography.php?id=10' class='menunew'>Demography</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s23' name='s23' onmouseover=smover('2','3'); onmouseout=smout('2','3')><a href='"+linkPath+"publications/pub_overview_demography.php?id=2' class='menunew'>Economic Development </a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s24' name='s24' onmouseover=smover('2','4'); onmouseout=smout('2','4')><a href='"+linkPath+"publications/pub_overview_demography.php?id=3' class='menunew'>Education</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s26' name='s26' onmouseover=smover('2','6'); onmouseout=smout('2','6')><a href='"+linkPath+"publications/pub_overview_demography.php?id=4' class='menunew'>Health</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s27' name='s27' onmouseover=smover('2','7'); onmouseout=smout('2','7')><a href='"+linkPath+"publications/pub_overview_demography.php?id=6' class='menunew'>Immigration and Immigrant Integration</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s28' name='s28' onmouseover=smover('2','8'); onmouseout=smout('2','8')><a href='"+linkPath+"publications/pub_overview_demography.php?id=7' class='menunew'>Politics and Empowerment</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s29' name='s29' onmouseover=smover('2','9'); onmouseout=smout('2','9')><a href='"+linkPath+"publications/pub_overview_demography.php?id=8' class='menunew'>Special Projects</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s25' name='s25' onmouseover=smover('2','5'); onmouseout=smout('2','5')><a href='"+linkPath+"publications/pub_overview_demography.php?id=9' class='menunew'>Gaston Reporter</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='130'>");
	document.write ("<tr bgcolor='#cccc99'><td  id='s30' name='s30' onmouseover=smover('3','0');shideall() onmouseout=smout('3','0')><a href='"+linkPath+"history-and-mission.php' class='menunew'>History & Mission</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s31' name='s31' onmouseover=smover('3','1');menu(3); onmouseout=smout('3','1')><a nohref='#' class='menunew'>People at Gastón</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s32' name='s32' onmouseover=smover('3','2');shideall() onmouseout=smout('3','2')><a href='"+linkPath+"mauricio_M.gaston.php' class='menunew'>Mauricio M. Gastón </a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s33' name='s33' onmouseover=smover('3','3');shideall() onmouseout=smout('3','3')><a href='"+linkPath+"picture_gallery.php' class='menunew'>Picture Gallery </a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s34' name='s34' onmouseover=smover('3','4');shideall() onmouseout=smout('3','4')><a href='"+linkPath+"Sponsors.php' class='menunew'>Sponsors</a></td></tr>");

	document.write ("</table>");
	document.write ("</div>");
	
	<!--   inner sub sub menus   -->
	
	document.write("<div id='Mmenu3'>");
	document.write("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#E9EAEA'>");
	document.write ("<tr bgcolor='#cccc99'><td id='s40' name='s40' onmouseover=smover('4','0'); onmouseout=smout('4','0')><a href='"+linkPath+"Institute_Staff.php' class='menunew'>Institute Staff</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s41' name='s41' onmouseover=smover('4','1'); onmouseout=smout('4','1')><a href='"+linkPath+"Research_Associates.php' class='menunew'>Research Associates </a></td></tr>");
	<!--document.write ("<tr bgcolor='#cccc99'><td id='s42' name='s42' onmouseover=smover('4','2'); onmouseout=smout('4','2')><a href='"+linkPath+"Affiliated Faculty.php' class='menunew'>Affiliated Faculty</a></td></tr>");-->
	document.write ("<tr bgcolor='#cccc99'><td id='s43' name='s43' onmouseover=smover('4','3'); onmouseout=smout('4','3')><a href='"+linkPath+"Advisory_Board_of_Institute.php' class='menunew'>Advisory Board</a></td></tr>");
	document.write("</table>");
	document.write("</div>");

	document.write ("<div id='Mmenu4'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#ffffff' width='160'>");
	document.write ("<tr bgcolor='#cccc99'><td  id='s51' name='s51' onmouseover=smover('5','1'); onmouseout=smout('5','1')><a href='"+linkPath+"current-research/demography.php' class='menunew'>Demography</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s52' name='s52' onmouseover=smover('5','2'); onmouseout=smout('5','2')><a href='"+linkPath+"current-research/community_developement.php' class='menunew'>Community Development</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s53' name='s53' onmouseover=smover('5','3'); onmouseout=smout('5','3')><a href='"+linkPath+"current-research/economic_developement.php' class='menunew'>Economic Development</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s54' name='s54' onmouseover=smover('5','4'); onmouseout=smout('5','4')><a href='"+linkPath+"current-research/health.php' class='menunew'>Health</a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s55' name='s55' onmouseover=smover('5','5'); onmouseout=smout('5','5')><a href='"+linkPath+"current-research/k-12_education.php' class='menunew'>K-12 Education</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='100'>");
	document.write ("<tr bgcolor='#cccc99'><td  id='s61' name='s61' onmouseover=smover('6','1'); onmouseout=smout('6','1')><a href='"+linkPath+"contact.php' class='menunew'>Contact </a></td></tr>");
	document.write ("<tr bgcolor='#cccc99'><td id='s62' name='s62' onmouseover=smover('6','2'); onmouseout=smout('6','2')><a href='"+linkPath+"directions.php' class='menunew'>Directions</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");	
	