//Menu object creation oM=new makeCM("oM") //Making the menu object. Argument: menuname var strDevServer = false; var strOtherServer = false; var strDevServerURL = "http://content.seinstitute.org"; var strDevServerSSL = "http://content.seinsitute.org"; var strPrdServerURL = "http://content.seinstitute.org"; var strPrdServerSSL = "https://content.seinstitute.org"; if(document.URL.toLowerCase().indexOf("content.seinstitute.org") >= 0 || document.URL.toLowerCase().indexOf("content.seinstitute.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 oM.fromTop=73 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="" //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,0,"clBar",0,"bottom",8,-5); oM.level[1]=new cm_makeLevel(200,20,"clS","clSover",0,1,"clBorder",0,"right",20,0); //menu properties ('menu number','parent number','text','link','target','image width','image height','image path') oM.makeMenu('ma1','','Inside Sei','http://content.seinstitute.org/inside/profile.html','','70','34',"/graphics/new_nav/inside_sei.gif"); oM.makeMenu('mb1','ma1','Profile','http://content.seinstitute.org/inside/profile.html'); oM.makeMenu('mb2','ma1','Organization Chart','http://content.seinstitute.org/inside/orgchart.html'); oM.makeMenu('mb3','ma1','By-Laws','http://content.seinstitute.org/inside/bylaws.html'); oM.makeMenu('mb4','ma1','Staff','http://content.seinstitute.org/contactus.html'); oM.makeMenu('mb5','ma1','Related Sites','http://content.seinstitute.org/relatedsites/'); oM.makeMenu('ma2','','Join Sei','http://content.seinstitute.org/member/join/','','52','34',"/graphics/new_nav/join_sei.gif"); oM.makeMenu('mbb1','ma2','Join','http://content.seinstitute.org/member/join/'); oM.makeMenu('mbb2','ma2','Benefits of Joining SEI','http://content.seinstitute.org/member/join/benefits.html'); oM.makeMenu('ma3','','Opportunities','http://content.seinstitute.org/inside/ammann.html','','89','34',"/graphics/new_nav/opportunities.gif"); oM.makeMenu('mbc1','ma3','Ammann Fellowship','http://content.seinstitute.org/inside/ammann.html'); oM.makeMenu('mbc2','ma3','Awards','http://content.seinstitute.org/inside/honorawards.html'); oM.makeMenu('mbc3','ma3','ACCE Proposals','http://content.seinstitute.org/inside/acce.html'); oM.makeMenu('mbc4','ma3','Speakers Bureau','http://content.seinstitute.org/services/speakers.html'); oM.makeMenu('mbc5','ma3','Career Connections','http://www.asce.org/careers/','_blank'); oM.makeMenu('ma4','','Upcoming Events','http://content.seinstitute.org/services/callpapers.html','','117','34',"/graphics/new_nav/events.gif"); oM.makeMenu('mbd1','ma4','Call For Papers','http://content.seinstitute.org/services/callpapers.html'); oM.makeMenu('mbd2','ma4','Conferences','http://content.seinstitute.org/services/conferences.html'); oM.makeMenu('mbd3','ma4','Continuing Education','http://content.seinstitute.org/services/conted.html'); oM.makeMenu('ma6','','Publications','http://content.seinstitute.org/publications/','','86','34',"/graphics/new_nav/pubs.gif"); oM.makeMenu('mbe1','ma6','Structures Bookstore','https://www.asce.org/bookstore/subject_act.cfm?strSubject=4','_blank'); oM.makeMenu('mbe2','ma6','ASCE Bookstore','http://www.pubs.asce.org/','_blank'); oM.makeMenu('mbe3','ma6','Errata','http://content.seinstitute.org/publications/errata.html'); oM.makeMenu('mbe4','ma6','Seismic Maps','http://content.seinstitute.org/publications/seismic.html'); oM.makeMenu('mbe5','ma6','Standards Balloting','https://eb1.asce.org/ballotAcct?handler=Ballot&action=DisplayLogin&host=https://eb1.asce.org&path=ballot/ShowAvailBallots','_blank'); oM.makeMenu('mbe11','ma6',"Supplement No. 1 to ASCE 41",'http://content.seinstitute.org/publications/ASCE41supplement.html','_blank'); oM.makeMenu('mbe10','ma6',"Supplement No. 2 to ASCE 7-05",'http://content.seinstitute.org/files/pdf/SupplementNo2ofthe2005EditionofASCE7.pdf','_blank'); oM.makeMenu('mbe6','ma6',"FAQ's",'http://content.seinstitute.org/static/faq.html'); oM.makeMenu('mbe7','ma6','Journal of Structural Engineering','http://content.seinstitute.org/publications/jse.html'); oM.makeMenu('mbe8','ma6','Journal of Bridge Engineering','http://content.seinstitute.org/publications/jbe.html'); oM.makeMenu('mbe9','ma6','Practice Periodical ','http://content.seinstitute.org/publications/pp.html'); oM.makeMenu('ma7','','Committees','http://content.seinstitute.org/committees/','','87','34',"/graphics/new_nav/committies.gif"); oM.makeMenu('mbf1','ma7','Join a Committee','http://content.seinstitute.org/committees/index.html'); oM.makeMenu('mbf2','ma7','Business & Professional','http://content.seinstitute.org/committees/business.html'); oM.makeMenu('mbf3','ma7','Codes & Standards','http://content.seinstitute.org/committees/codes.html'); oM.makeMenu('mbf4','ma7','Local Activities','http://content.seinstitute.org/committees/local.html'); oM.makeMenu('mbf5','ma7','Technical','http://content.seinstitute.org/committees/technical.html'); oM.makeMenu('ma8','','Members Only','http://www.seinstitute.org/member/membersonly/','','104','34',"/graphics/new_nav/members.gif"); oM.makeMenu('mbg1','ma8','Address Change','http://www.seinstitute.org/member/membersonly/address.cfm'); oM.makeMenu('mbg2','ma8','Structure Magazine Online','http://www.seinstitute.org/magazine/'); oM.makeMenu('mbg3','ma8','Technical Articles','http://www.seinstitute.org/member/membersonly/techarticle.cfm'); oM.makeMenu('mbg4','ma8','E-newsletter','http://www.seinstitute.org/member/membersonly/enews/'); oM.makeMenu('ma9','','Home','/','','61','34',"/graphics/new_nav/home.gif"); oM.construct()