	// do not delete the next two lines
	var strLocation = document.location;
	strLocation = strLocation.toString();

	//Menu object creation
	oM=new makeCM("oM") //Making the menu object. Argument: menuname

	var strDevServer = false;
	var strOtherServer = false;
	
	var strDevServerURL = "http://www2.asce.org/";
	var strDevServerSSL = "https://www2.asce.org/";
	var strPrdServerURL = "http://www.asce.org/";
	var strPrdServerSSL = "https://www.asce.org/";
	
	if(document.URL.toLowerCase().indexOf("2.asce.org") >= 0 ||
	   document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){
	   strDevServer = true;
	}
	
	if(document.URL.toLowerCase().indexOf("asce.yellowbrix.com") >= 0 ||
				document.URL.toLowerCase().indexOf("eb1.asce.org") >= 0){
		strOtherServer = true;
	}
	
	if(document.URL.toLowerCase().indexOf("https") == 0){
		if(strDevServer == true){
			oM.onlineRoot=strDevServerSSL;
			oM.offlineRoot=strDevServerSSL;
		}
		else if(strOtherServer == true){
			if(strDevServer == true){
				oM.onlineRoot=strDevServerSSL;
				oM.offlineRoot=strDevServerSSL;
			}
			else{
				oM.onlineRoot=strPrdServerSSL;
				oM.offlineRoot=strPrdServerSSL;
			}
		}
		else{
			oM.onlineRoot=strPrdServerSSL;
			oM.offlineRoot=strPrdServerSSL;
		}
	}
	else{
		if(strDevServer == true){
			oM.onlineRoot=strDevServerURL;
			oM.offlineRoot=strDevServerURL;
		}
		else if(strOtherServer == true){
			if(strDevServer == true){
				oM.onlineRoot=strDevServerURL;
				oM.offlineRoot=strDevServerURL;
			}
			else{
				oM.onlineRoot=strPrdServerURL;
				oM.offlineRoot=strPrdServerURL;
			}
		}
		else{
			oM.onlineRoot=strPrdServerURL;
			oM.offlineRoot=strPrdServerURL;
		}
	}

	oM.frames = 0
	
	//Menu properties   
	oM.pxBetween=0
	oM.fromLeft=0 
	if(strLocation.indexOf("left_index") > 0){
		oM.fromTop=0;
		var strLeft = 0;
	}
	else{
		oM.fromTop=160
		var strLeft = -5;   
	}
	oM.rows=0 
	oM.menuPlacement="left"
	oM.resizeCheck=1 
	oM.wait=1000 
	oM.fillImg=""
	oM.zIndex=300
	
	//Background bar properties
	oM.useBar=0
	oM.barWidth="menu"
	oM.barHeight="menu" 
	oM.barClass="clBar"
	oM.barX=0 
	oM.barY=0
	oM.barBorderX=0
	oM.barBorderY=0
	oM.barBorderClass=""

	//level properties
	//create menu properties (width, height, regClass, overClass, borderX, borderY, borderClass, rows, align, offsetX, offsetY, arrow,arrowWidth, arrowHeight)	
	oM.level[0]=new cm_makeLevel(165,27,"clT","clTover",0,0,"clBar",0,"right",strLeft,5,0,0,0);
	oM.level[1]=new cm_makeLevel(230,20,"clS","clSover",1,1,"clBorder",0,"right",-20,-1,"/graphics/home/menu_arrow.gif",5,5);
	oM.level[2]=new cm_makeLevel(270,20,"clS","clSover",1,1,"clBorder", 0, "right", 0,0,0,0,0);
	
	//create menu ('menu number','parent number','text','link','image width','image height','image path')
	oM.makeMenu('menu1','','ASCE','inside/nccc2005/national.cfm','','165','36',"/graphics/nccc2005/national.gif");
	oM.makeMenu('menu9','','ASCE','inside/nccc2005/winners.cfm','','165','24',"/graphics/nccc2005/winners.jpg");
	oM.makeMenu('menu2','','Regional','inside/nccc2005/regional.cfm','','165','18',"/graphics/nccc2005/regional.gif");
	oM.makeMenu('menu3','','Rules','inside/nccc2005/rules.cfm','','165','24',"/graphics/nccc2005/rules.gif");
	oM.makeMenu('menu4','','Press','inside/nccc2005/newsroom.cfm','','165','27',"/graphics/nccc2005/newsroom.gif");
		oM.makeMenu('m1','menu4','&nbsp;Photo Gallery','inside/nccc2005/gallery.cfm')
		oM.makeMenu('m12','menu4','&nbsp;Press Releases','inside/nccc2005/newsroom.cfm')
		oM.makeMenu('m3','menu4','&nbsp;Background Information','inside/nccc2005/backgroundinfo.cfm') 
		oM.makeMenu('m4','menu4','&nbsp;Sponsor Bios','inside/nccc2005/sponsor_bios.cfm')
	oM.makeMenu('menu5','','CNCCC','inside/nccc2005/cnccc.cfm','','165','27',"/graphics/nccc2005/cnccc.gif");
	oM.makeMenu('menu6','','Sponsors','inside/nccc2005/sponsors.cfm','','165','27',"/graphics/nccc2005/sponsors.gif");
	oM.makeMenu('menu7','','Contact Us','inside/nccc2005/contactus.cfm','','165','27',"/graphics/nccc2005/contactus.gif");
	oM.makeMenu('menu8','','ASCE Home','index.cfm','','165','27',"/graphics/nccc2005/ascehome.gif");
oM.construct()



