	// 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.nehrp.org/";
	var strDevServerSSL = "https://www2.nehrp.org/";
	var strPrdServerURL = "http://www.nehrp.org/";
	var strPrdServerSSL = "https://www.nehrp.org/";
	
	if(document.URL.toLowerCase().indexOf("www2.nehrp.org") >= 0 ||
	   document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){
	   strDevServer = 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 = 55;
		var strLeft = 20;   
	}
	oM.rows=1 
	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(99,26,"clT","clTover",0,0,"clBar",0,"bottom",strLeft,-3,0,0,0);
	oM.level[1]=new cm_makeLevel(150,18,"clS","clSover",1,1,"clBorder",0,"right",0,0,"images/nav/menu_arrow.gif",5,5);
	//oM.level[1]=new cm_makeLevel(200,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('m1','','About US','about.html','','99','23',"images/nav/about.gif");
		oM.makeMenu('a1','m1','What we do','about.html');
		oM.makeMenu('a2','m1','Who we are','who.html');
		oM.makeMenu('a3','m1','Events','events.html');
		oM.makeMenu('a4','m1','Join us','join.html');
	oM.makeMenu('m2','','Legistation','about.html','','108','23',"images/nav/legis.gif");
		oM.makeMenu('b1','m2','Latest Developments','latest.html');
		oM.makeMenu('b2','m2','Testimony','testimony.html');
		oM.makeMenu('b3','m2','Letters','letters.html');
		oM.makeMenu('b4','m2','Fact Sheets','factsheets.html');
		oM.makeMenu('b5','m2','Request Info','request.html');
	oM.makeMenu('m3','','News','news.html','','63','23',"images/nav/news.gif");
		oM.makeMenu('c1','m3','Press Releases','press.html');
		oM.makeMenu('c2','m3','Latest Developments','latest.html');
		oM.makeMenu('c3','m3','Events','events.html');
	oM.makeMenu('m4','','Get Involved','involved.html','','117','23',"images/nav/involved.gif");
		oM.makeMenu('d1','m4','Join the Coalition','join.html');
		oM.makeMenu('d2','m4','Contact Us','contact.html');
		oM.makeMenu('d3','m4','Tools for Citizens','tools.html');
	oM.makeMenu('m5','','Links','links.html','','63','23',"images/nav/links.gif");
	oM.makeMenu('m6','','About Earthquakes','earthquakes.html','','152','23',"images/nav/earthquakes.gif");
		oM.makeMenu('f1','m6','How &amp; Why','how.html');
		oM.makeMenu('f2','m6','Protect yourself','protect.html');
	oM.makeMenu('m7','','Members Only','/files/res/earthquake','','118','23',"images/nav/members.gif");
	oM.makeMenu('m8','','Home','index.html','','79','23',"images/nav/home.gif"); 
	oM.construct()

