var development = "www.asce.org"; var production = "www.asce.org"; oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=0; if(document.URL.toLowerCase().indexOf("https") == 0){ if(document.URL.toLowerCase().indexOf(development) >= 0 || document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){ oM.onlineRoot="https://" + development; oM.offlineRoot="https://" + development; } else if(document.URL.toLowerCase().indexOf("asce.yellowbrix.com") >= 0 || document.URL.toLowerCase().indexOf("eb1.asce.org") >= 0){ if(document.referrer.toLowerCase().indexOf(development) >= 0 || document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){ oM.onlineRoot="https://" + development; oM.offlineRoot="https://" + development; } else{ oM.onlineRoot="https://" + production; oM.offlineRoot="https://" + production; } } else{ oM.onlineRoot="https://" + production; oM.offlineRoot="https://" + production; } } else{ if(document.URL.toLowerCase().indexOf(development) >= 0 || document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){ oM.onlineRoot="http://" + development; oM.offlineRoot="http://" + development; } else if(document.URL.toLowerCase().indexOf("asce.yellowbrix.com") >= 0 || document.URL.toLowerCase().indexOf("eb1.asce.org") >= 0){ if(document.referrer.toLowerCase().indexOf(development) >= 0 || document.URL.toLowerCase().indexOf("hermes.asce.org") >= 0){ oM.onlineRoot="http://" + development; oM.offlineRoot="http://" + development; } else{ oM.onlineRoot="http://" + production; oM.offlineRoot="http://" + production; } } else{ oM.onlineRoot="http://" + production; oM.offlineRoot="http://" + production; } } oM.pxBetween=0; oM.fillImg=''; if (bw.ns4){oM.fromTop=140} else {oM.fromTop=140}; oM.fromLeft=-1; oM.wait=180; oM.zIndex=400; oM.useBar=0; oM.barWidth="menu"; oM.barHeight="menu"; oM.barX=0; oM.barY="menu"; oM.barClass="clBar"; oM.barBorderX=0; oM.barBorderY=0; oM.menuPlacement=0; //create menu properties (width, height, regClass, overClass, borderX, borderY, borderClass, rows, align, offsetX, offsetY, arrow, arrowWidth, arrowHeight) oM.level[0]=new cm_makeLevel(177,32,"clT","clTover",1,1,"clBar",0,"right",-20,1); oM.level[1]=new cm_makeLevel(200,20,"clS","clSover",1,1,"clBorder2",0,"right",0,0); //menu properties ('menu number','parent number','text','link','target','image width','image height','image path') oM.makeMenu('ma1','','Register','/conferences/karst2003/register.cfm','','177','32',"/conferences/karst2003/images/karst_menu_reg.gif"); oM.makeMenu('ma2','','About','/conferences/karst2003/about.cfm','','177','17',"/conferences/karst2003/images/karst_menu_01.gif"); oM.makeMenu('ma3','','Format','/conferences/karst2003/format.cfm','','177','24',"/conferences/karst2003/images/karst_menu_02.gif"); oM.makeMenu('ma4','','Destination','/conferences/karst2003/destination.cfm','','177','23',"/conferences/karst2003/images/karst_menu_03.gif"); oM.makeMenu('ma5','','Field Trip','/conferences/karst2003/trip.cfm','','177','23',"/conferences/karst2003/images/karst_menu_04.gif"); oM.makeMenu('ma6','','Organizing Committee','/conferences/karst2003/oc.cfm','','177','33',"/conferences/karst2003/images/karst_menu_05.gif"); oM.makeMenu('ma7','','Short Courses on KARST','/conferences/karst2003/course.cfm','','177','32',"/conferences/karst2003/images/karst_menu_06.gif"); oM.makeMenu('ma8','','Poster Session','/conferences/karst2003/poster.cfm','','177','21',"/conferences/karst2003/images/karst_menu_07.gif"); oM.makeMenu('mb5','ma8','Poster Presentation Guidelines','/conferences/karst2003/karst03_poster_presentation_guidelines.cfm'); oM.makeMenu('ma9','','Sponsorship Opportunities','/conferences/karst2003/exhibit.cfm','','177','38',"/conferences/karst2003/images/karst_menu_08.gif"); oM.makeMenu('ma10','','Exhibitor Information','/conferences/karst2003/exhibitorinfo.cfm','','177','32',"/conferences/karst2003/images/karst_menu_10.gif"); oM.makeMenu('ma11','','Hotel Information','/conferences/karst2003/hotelinfo.cfm','','177','32',"/conferences/karst2003/images/karst_menu_11.gif"); oM.makeMenu('ma12','','Conference Schedule','/conferences/karst2003/schedule.cfm','','177','32',"/conferences/karst2003/images/karst_menu_12.gif"); oM.makeMenu('ma13','','Speaker/Moderator Information','/conferences/karst2003/','','177','32',"/conferences/karst2003/images/karst_menu_speaker.gif"); oM.makeMenu('mb1','ma13','Audio Visual Request Form ','/conferences/karst2003/karst03_audiovisual.cfm'); oM.makeMenu('mb2','ma13','Biographical Submission Form','/conferences/karst2003/karst03_bioform.cfm'); oM.makeMenu('mb3','ma13','Session Moderator Guidelines','/conferences/karst2003/karst03_moderator_guidelines.cfm'); oM.makeMenu('mb4','ma13','Presentation Guidelines','/conferences/karst2003/karst03_presentation_guidelines.cfm'); oM.construct();