function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function fwLoadMenus() {
  if (window.fw_menu_0) return;
  	//																													  mouseover_text
   //window.fw_menu_0 = new Menu("root",200,15,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#E6E6E6");
  window.fw_menu_0 = new Menu("root",205,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_0.addMenuItem("<strong>ePermits</strong>");
  fw_menu_0.addMenuItem(" <strong>&#149; Construction (A) Permits</strong>","location='http://eng.lacity.org/apermits'");
  fw_menu_0.addMenuItem(" <strong>&#149; Construction (B) Permits</strong>","location='http://eng.lacity.org/bpermits'");
  fw_menu_0.addMenuItem(" <strong>&#149; Excavation (U) Permits</strong>","location='http://eng.lacity.org/excavation'");
  fw_menu_0.addMenuItem(" <strong>&#149; Excavation (E) Permits</strong>","location='http://eng.lacity.org/epermits'");
  fw_menu_0.addMenuItem(" <strong>&#149; Revocable (R) Permits</strong>","location='http://eng.lacity.org/rpermits'");  
  fw_menu_0.addMenuItem(" <strong>&#149; Sewer (S) Permits</strong>","location='http://eng.lacity.org/spermits'");
  fw_menu_0.addMenuItem(" <strong>&#149; Claims for Refund</strong>","location='http://eng.lacity.org/refunds'");
  fw_menu_0.addMenuItem(" <strong>&#149; Subdivision Maps Status</strong>","location='http://eng.lacity.org/apps/mapstatus'");
  fw_menu_0.addMenuItem(" <strong>&#149; Street Vacation Log System</strong>","location='http://eng.lacity.org/apps/vacation'");
  fw_menu_0.addMenuItem(" <strong>&#149; Planning Cases Application</strong>","location='http://eng.lacity.org/apps/planningcases'");
  fw_menu_0.addMenuItem(" <strong>&#149; Criminal Activity Closure</strong>","location='http://boe.lacity.org/cactclosure/index.cfm?fuseaction=public.search'");
  fw_menu_0.addMenuItem(" <strong>&#149; Customer Satisfaction Survey</strong>","location='http://eng.lacity.org/customer_survey/page1.cfm'");
  fw_menu_0.addMenuItem("<strong>Frequently Asked Questions</strong>");
  fw_menu_0.addMenuItem(" <strong>&#149; FAQs</strong>","location='http://eng.lacity.org/services/faqs.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Standard Fee List</strong>","location='http://eng.lacity.org/StdFeeList/StdFeeList.pdf'");
  fw_menu_0.addMenuItem(" <strong>&#149; Engineering Permit Manual</strong>","location='http://eng.lacity.org/techdocs/permits/index.htm'"); 
  
  fw_menu_0.addMenuItem(" <strong>&#149; Application Demos</strong>","location='http://eng.lacity.org/demos/index.htm'"); 
 /* fw_menu_0.addMenuItem("<strong>Demos</strong>");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Construction (A) Permits</strong>","location='http://eng.lacity.org/demos/apermits/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Construction (B) Permits</strong>","location='http://eng.lacity.org/demos/bpermits/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Excavation (U) Permits</strong>","location='http://eng.lacity.org/demos/excavation/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Excavation (E) Permits</strong>","location='http://eng.lacity.org/demos/epermits/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Revocable (R) Permits</strong>","location='http://eng.lacity.org/demos/rpermits/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Claims for Refund</strong>","location='http://eng.lacity.org/demos/refunds/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Certificate of Occupancy</strong>","location='http://eng.lacity.org/demos/co'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Banner Permits</strong>","location='http://bsspermits.lacity.org/demos/bannerpermits/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Overload Permits</strong>","location='http://bsspermits.lacity.org/demos/overloads/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - CIP Geocode</strong>","location='http://eng.lacity.org/demos/cipgeocode'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Subdivision Tentative Maps</strong>","location='http://eng.lacity.org/demos/tmaps/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Plan Processing</strong>","location='http://engvault.lacity.org/demos/vault/start.htm'");
  fw_menu_0.addMenuItem(" <strong>&#149; Demo - Subdivision Maps</strong>","location='http://engvault.lacity.org/demos/land/index.htm'");    */  
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",146,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_1.addMenuItem("&nbsp;<strong>Contractors</strong>","location='http://eng.lacity.org/contractors/contractors.htm'");
  fw_menu_1.addMenuItem("&nbsp;<strong>Consultants</strong>","location='http://eng.lacity.org/contractors/consultants.htm'"); 
  fw_menu_1.addMenuItem("&nbsp;<strong>eRoom</strong>","location='http://engeroom.lacity.org/eroom'"); 
   fw_menu_1.hideOnMouseOut=true;/**/
  window.fw_menu_2 = new Menu("root",231,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_2.addMenuItem("&nbsp;<strong>Bond Programs</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Animal Facilities Program (Prop F)</strong>","location='http://eng.lacity.org/projects/Animal_bond/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Clean Water Bond Program (Prop O)</strong>","location='http://eng.lacity.org/projects/prop_o/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Fire Facilities Program (Prop F)</strong>","location='http://eng.lacity.org/projects/fire_bond/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; LA for Kids Program (Prop K)</strong>","location='http://propk.lacity.org'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Library Facilities Bond (Prop DD)</strong>","location='http://eng.lacity.org/projects/library/index.htm'");    
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Public Safety Bond (Prop Q)</strong>","location='http://www.lapropq.org/index.cfm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Seismic Bond (Prop G)</strong>","location='http://www.labridgeprogram.com'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Zoo Facilities Program (Prop CC)</strong>","location='http://eng.lacity.org/projects/zoo'");  
  
  fw_menu_2.addMenuItem("&nbsp;<strong>Project Management Information</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Master Schedules</strong>","location='http://eng.lacity.org/masterschedules/index.cfm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Project Information Reports</strong>","location='http://eng.lacity.org/iuprs'");
 // fw_menu_2.addMenuItem("&nbsp;<strong>&#149; San Fernando Valley Projects</strong>","location='http://eng.lacity.org/projects/sfvp/index.htm'");  
  fw_menu_2.addMenuItem("&nbsp;<strong>Municipal Facilities</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Sustainable Design Implementation Program (SDIP)</strong>","location='http://eng.lacity.org/projects/sdip'");  
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Van Nuys City Hall Seismic Retrofit Project</strong>","location='http://www.lacity.org/photogallery/444_1.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Additional Projects</strong>","location='http://eng.lacity.org/projects/others'");
  fw_menu_2.addMenuItem("&nbsp;<strong>Stormwater Programs</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Floodplain Management Plan</strong>","location='http://eng.lacity.org/projects/fmp/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Grand Canal Restoration Project</strong>","location='http://eng.lacity.org/projects/Grandcanal/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Bicycle Friendly Grates Replacement Program</strong>","location='http://eng.lacity.org/projects/BikeGrates/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>Street Programs</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Bridges</strong>","location='http://eng.lacity.org/projects/bridge'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Highland Avenue Widening at Franklin Avenue</strong>","location='http://eng.lacity.org/projects/highland/'");  
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; 1st St. Bridge Street Widening Project</strong>","location='http://eng.lacity.org/projects/fwp/index.htm'");
  //fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Santa Monica Blvd Project</strong>","location='http://www.lacity.org/bpw/SantaMonica'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Santa Monica Blvd Project (more..)</strong>","location='http://eng.lacity.org/smtp'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Sepulveda Reversible Lane</strong>","location='http://eng.lacity.org/projects/sepulveda/index.htm'");
  fw_menu_2.addMenuItem("&nbsp;<strong>Wastewater Programs</strong>");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; North Atwater Creek Restoration</strong>","location='http://eng.lacity.org/projects/ww/CONCEPTUAL_NORTH_ATWATER_CREEK_PROJECT.pdf'");
  fw_menu_2.addMenuItem("&nbsp;<strong>&#149; Venice Pumping Plant Project</strong>","location='http://eng.lacity.org/projects/vpp'");
  fw_menu_2.addMenuItem("<strong>Completed Projects</strong>","location='http://eng.lacity.org/completed_projects/index.htm'");  
     fw_menu_2.hideOnMouseOut=true;
  window.fw_menu_3 = new Menu("root",169,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_3.addMenuItem("&nbsp;<strong>GIS</strong>");
  //fw_menu_3.addMenuItem("&nbsp;- GIS: iMapLA","location='http://imapla.lacity.org/disclaimer.asp'");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; GIS: NavigateLA</strong>","location='http://navigatela.lacity.org'");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; GIS: Zoning Information</strong>","location='http://zimas.lacity.org'");
  /*fw_menu_3.addMenuItem("&nbsp;<strong>Land Development</strong>");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; Subdivision Map Status</strong>","location='http://eng.lacity.org/apps/mapstatus/index.cfm'");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; Subdivision Tentative Maps</strong>","location='http://eng.lacity.org/apps/tmaps/index1.cfm?CFID=54529&CFTOKEN=84779875'");
  */
  fw_menu_3.addMenuItem("&nbsp;<strong>Search Vault Records</font></strong>","location='http://engvault.lacity.org/apps/vault'");
  fw_menu_3.addMenuItem("&nbsp;<strong>Technical Documents</strong>");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; CIP Benchmarking Study</strong>","location='http://eng.lacity.org/techdocs/cabm'");  
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; LA Survey Benchmarks</strong>","location='http://eng.lacity.org/techdocs/benchmarks'");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; Standard Plans</strong>","location='http://eng.lacity.org/techdocs/stdplans'");
  fw_menu_3.addMenuItem("&nbsp;<strong>&#149; Technical Doc. Center</strong>","location='http://eng.lacity.org/techdocs'");
   fw_menu_3.addMenuItem("&nbsp;<strong>&#149; Technical Papers</strong>","location='http://eng.lacity.org/technical_info/technical_papers/index.htm'");
   fw_menu_3.hideOnMouseOut=true;
  window.fw_menu_4 = new Menu("root",148,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_4.addMenuItem("&nbsp;<strong>Objectives</strong>");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Vision/Mission</strong>","location='http://eng.lacity.org/aboutus/vision/vision.htm'");
  //fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Budget Goals</strong>","location='http://eng.lacity.org/aboutus/vision/budget_goals.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>Where to Find Us</strong>");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Useful Phone #</strong>","location='http://eng.lacity.org/apps/tp_num/index.cfm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Contacts</strong>","location='http://eng.lacity.org/apps/address_list/index.cfm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Locations</strong>","location='http://eng.lacity.org/permits/services/index.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Organization</strong>","location='http://eng.lacity.org/aboutus/organization/index.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>News</strong>");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Newsletter</strong>","location='http://eng.lacity.org/newsletters/index.cfm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Awards Received</strong>","location='http://eng.lacity.org/aboutus/news/BOE_List_of_Awards.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>History</strong>");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; City Engineers</strong>","location='http://eng.lacity.org/aboutus/city_engineers_hist/city_engineer_index.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Four Square Leagues</strong>","location='http://eng.lacity.org/aboutus/4leagues/4leagues.pdf'");
  fw_menu_4.addMenuItem("&nbsp;<strong>Employee Info</strong>");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; Training</strong>","location='http://eng.lacity.org/aboutus/training/index.htm'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; WMS</strong>","location='http://boe.lacity.org/wms/'");
  fw_menu_4.addMenuItem("&nbsp;<strong>&#149; BOE Employees Only</strong>","location='http://eng.lacity.org/itime/index.cfm'");  
   fw_menu_4.hideOnMouseOut=true;
  window.fw_menu_5 = new Menu("root",194,18,"Arial, Helvetica, sans-serif",11,"#000000","#3E3E3E","#E6E6E6","#FFD267");
  fw_menu_5.addMenuItem("&nbsp;<strong>Graduating Engineers</strong>");  
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Build a Career</strong>","location='http://eng.lacity.org/careers/build_a_career_CEA.htm'");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Job Bulletin</strong>","location='http://eng.lacity.org/careers/CE_Assoc_job_bulletin.htm'");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; On Campus Schedule</strong>","location='http://eng.lacity.org/careers/on_campus_schedule.htm'");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; About Campus Interviews</strong>","location='http://eng.lacity.org/careers/about_campus_interview.htm'");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Career Ladder</strong>","location='http://www.lacity.org/per/eeo/career/Engineering%20Associates.pdf'");    
  fw_menu_5.addMenuItem("&nbsp;<strong>Undergraduate</strong>");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Student Engineers</strong>","location='http://eng.lacity.org/careers/student_engineer.htm'");  
  fw_menu_5.addMenuItem("&nbsp;<strong>Other Career Opportunities</strong>");
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Employee Benefits</strong>","location='http://eng.lacity.org/careers/employee_benefits.htm'");  
  fw_menu_5.addMenuItem("&nbsp;<strong>&#149; Employee Testimonials</strong>","location='http://eng.lacity.org/careers/recruitment/index.htm'");    
   fw_menu_5.hideOnMouseOut=true;

  fw_menu_5.writeMenus();
} 

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
