if (navigator.appName == "Microsoft Internet Explorer") { var posList = new Array(menu1,menu2,menu3,menu4,menu5,menu6,menu7,menu8,menu9); } else { var posList = new Array(document.menu1,document.menu2,document.menu3,document.menu4,document.menu5,document.menu6,document.menu7,document.menu8,document.menu9); } function DL_GetElementLeft(eElement) { if (!eElement && this) // if argument is invalid { // (not specified, is null or is 0) eElement = this; // and function is a method } // identify the element as the method owner var DL_bIE = document.all ? true : false; // initialize var to identify IE var nLeftPos = eElement.offsetLeft; // initialize var to store calculations var eParElement = eElement.offsetParent; // identify first offset parent element while (eParElement != null) { // move up through element hierarchy if(DL_bIE) // if browser is IE, then... { if( (eParElement.tagName != "TABLE") && (eParElement.tagName != "BODY") ) { // if parent is not a table or the body, then... nLeftPos += eParElement.clientLeft; // append cell border width to calcs } } else // if browser is Gecko, then... { if(eParElement.tagName == "TABLE") // if parent is a table, then... { // get its border as a number var nParBorder = parseInt(eParElement.border); if(isNaN(nParBorder)) // if no valid border attribute, then... { // check the table's frame attribute var nParFrame = eParElement.getAttribute('frame'); if(nParFrame != null) // if frame has ANY value, then... { nLeftPos += 1; // append one pixel to counter } } else if(nParBorder > 0) // if a border width is specified, then... { nLeftPos += nParBorder; // append the border width to counter } } } nLeftPos += eParElement.offsetLeft; // append left offset of parent eParElement = eParElement.offsetParent; // and move up the element hierarchy } var brVer = navigator.userAgent; if(brVer.indexOf('Mac') != -1) { nLeftPos += 95; } // until no more offset parents exist return nLeftPos; // return the number calculated } HM_Array1 = [ [175, DL_GetElementLeft(posList[0]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Fire Engineering","http://fe.pennnet.com/home.cfm",1,0,0], ["fireEMS","http://fe.pennnet.com/ems_home.cfm",1,0,0], ] HM_Array2 = [ [175, DL_GetElementLeft(posList[1]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Fire Engineering","",1,0,1], ["fireEMS","",1,0,1], ["Issue Archive","http://fe.pennnet.com/search/index.cfm",1,0,0], ["Advertise","http://fe.pennnet.com/adinfo/fe_printadinfo.cfm",1,0,0], ["Contact Editorial","http://fe.pennnet.com/adinfo/editorial_contacts.cfm",1,0,0], ] HM_Array2_1 = [ [175, DL_GetElementLeft(posList[1]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Current Issue","http://fe.pennnet.com/articles/print_toc.cfm?Section=ARTCL&p=25",1,0,0], ["Product Focus","http://fe.pennnet.com/showcase/showcase_list.cfm?p=25",1,0,0], ["Editorial Indices","http://fe.pennnet.com/articles/edit_indice.cfm",1,0,0], ["Reader Service","javascript:window.open('http://www.mediabrains.com/Client/PennWell_6/LM1/lm');",1,0,0], ] HM_Array2_2 = [ [175, DL_GetElementLeft(posList[1]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Current Issue","http://fe.pennnet.com/articles/print_toc.cfm?Section=ARTCL&p=71",1,0,0], ["Product Showcase","http://fe.pennnet.com/showcase/showcase_list.cfm?p=71",1,0,0], ] HM_Array4 = [ [175, DL_GetElementLeft(posList[3]), 90 + 188, ,,,,,,,,,,,,,,, false], ["View All","http://fe.pennnet.com/articles/fe_news.cfm",1,0,0], ["From the Wire","http://fe.pennnet.com/news/news_List.cfm?Section=WireNews&SubSection=HOME",1,0,0], ["Operations","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=INCID&p=25",1,0,0], ["Government","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=GOVMT&p=25",1,0,0], ["Health & Safety","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=HLTHS&p=25",1,0,0], ["Did You Know","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=FYI&p=25",1,0,0], ["Training Tips","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=LNEWS&p=25",1,0,0], ["fireEMS","http://fe.pennnet.com/articles/online_subcategory.cfm?cat=FREMS&p=25",1,0,0], ["Submit News","http://fe.pennnet.com/about/contact_feedback.cfm",1,0,0], ] HM_Array5 = [ [175, DL_GetElementLeft(posList[4]), 90 + 188, ,,,,,,,,,,,,,,, false], ["FDIC","javascript:window.open('http://fdic05.events.pennnet.com/');",1,0,0], ["FDIC East","javascript:window.open('http://fdice05.events.pennnet.com/');",1,0,0], ["FDIC West","javascript:window.open('http://fdicw05.events.pennnet.com/');",1,0,0], ["Fire Engineering Cologne","javascript:window.open('http://www.fireengineering.de/cms.asp?Section=Events&Subsection=');",1,0,0], ["FESA","javascript:window.open('http://fesa05.events.pennnet.com/?Navid=1949=?Navid=2533&Language=');",1,0,0], ["Wildfire Summit","javascript:window.open('http://wfs05.events.pennnet.com/');",1,0,0], ["Industry Calendar","http://fe.pennnet.com/events/events.cfm",1,0,0], ] HM_Array7 = [ [175, DL_GetElementLeft(posList[6]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Discussion Forums","http://fe.pennnet.com/forum/display_messages.cfm",1,0,0], ["Print","",1,0,1], ["Online","",1,0,1], ] HM_Array7_2 = [ [175, DL_GetElementLeft(posList[6]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Author Guidelines","http://fe.pennnet.com/edinfo/fe_author.cfm",1,0,0], ["Photographer Guidelines","http://fe.pennnet.com/edinfo/fe_photo.cfm",1,0,0], ["Incident Report","http://fe.pennnet.com/edinfo/fe_incident.cfm",1,0,0], ["Submit Content","http://fe.pennnet.com/about/contact_feedback.cfm",1,0,0], ] HM_Array7_3 = [ [175, DL_GetElementLeft(posList[6]), 90 + 188, ,,,,,,,,,,,,,,, false], ["Author Guidelines","",1,0,1], ["Photographer Guidelines","",1,0,1], ["Submit Content","",1,0,1], ] HM_Array8 = [ [175, DL_GetElementLeft(posList[7]), 90 + 188, ,,,,,,,,,,,,,,, false], ["fireEMS Buyers Guide Questionnaire","http://downloads.pennnet.com/pnet/buyersguides/fems_2005_email.doc",1,0,0], ["FE Dealers Questionnaire","http://downloads.pennnet.com/pnet/buyersguides/fe_2006_dealeremail.doc",1,0,0], ["FE Manufacturing/Service Questionnaire","http://downloads.pennnet.com/pnet/buyersguides/fe_2006_manuemail.doc",1,0,0], ]