// JavaScript Code for Dropdown Menus
// This file controls the presentation and linking in all occurrences of dropdown menus

function fwLoadMenus() {
  if (window.fw_menu_0) return;
  // HOME Menu (menu 0)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_0 = new Menu("root",210,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_0.addMenuItem("ABOUT AWI","location='/home/about.html'");
  fw_menu_0.addMenuItem("CONTACT INFORMATION","location='/home/contactinfo.html'");
  fw_menu_0.addMenuItem("MANAGEMENT TEAM","location='/home/team.html'");
  fw_menu_0.addMenuItem("SALES CONTACTS","location='/home/salescontacts.html'");
  fw_menu_0.addMenuItem("REQUEST MORE INFORMATION","location='/home/contactus.aspx'");
  fw_menu_0.addMenuItem("EMPLOYMENT","location='/home/employment.html'");
  fw_menu_0.addMenuItem("SITEMAP","location='/home/sitemap.html'");
   // Font and interaction
   fw_menu_0.fontWeight="normal";
   fw_menu_0.hideOnMouseOut=true;

  // NEWS Menu (menu 1)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_1 = new Menu("root",175,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_1.addMenuItem("PRESS ANNOUNCEMENTS","location='/news/press.html'");
  fw_menu_1.addMenuItem("E-NEWSLETTER","location='/news/enews.html'");
  //fw_menu_1.addMenuItem("EXHIBITIONS","location='/news/exhibitions.html'");
  //fw_menu_1.addMenuItem("IMAGE LIBRARY","location='/news/image_library.html'");
  fw_menu_1.addMenuItem("LIVE WEATHER","location='/live/displays.html'");
   // Font and interaction
   fw_menu_1.fontWeight="normal";
   fw_menu_1.hideOnMouseOut=true;
   
  // METEOROLOGICAL SENSORS Menu (menu 2)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_2 = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_2.addMenuItem("WIND","location='/meteorological/toc_wind.html'");
    fw_menu_2.addMenuItem("PRESSURE","location='/meteorological/toc_pressure.html'");
  fw_menu_2.addMenuItem("CLOUD HEIGHT","location='/meteorological/toc_cloudheight.html'");
  fw_menu_2.addMenuItem("SOLAR","location='/meteorological/toc_solar.html'");
  fw_menu_2.addMenuItem("VISIBILITY","location='/meteorological/toc_vis.html'");
  fw_menu_2.addMenuItem("PRECIPITATION","location='/meteorological/toc_precipitation.html'");
  fw_menu_2.addMenuItem("THUNDERSTORM/LIGHTNING","location='/meteorological/lightning_detection_6500.html'");
  fw_menu_2.addMenuItem("HUMIDITY","location='/meteorological/toc_humidity.html'");
  fw_menu_2.addMenuItem("TEMPERATURE","location='/meteorological/toc_temperature.html'");

   // Font and interaction
   fw_menu_2.fontWeight="normal";
   fw_menu_2.hideOnMouseOut=true;

  // AVIATION SYSTEMS Menu (menu 3)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_3 = new Menu("root",225,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_3.addMenuItem("AWOS DOMESTIC","location='/aviation/awos_dom.html'");
  fw_menu_3.addMenuItem("AWOS INTERNATIONAL","location='/aviation/awos_int.html'");
  fw_menu_3.addMenuItem("FEDERAL GOVERNMENT SYSTEMS","location='/aviation/fedgov.html'");
  fw_menu_3.addMenuItem("AWSS","location='/aviation/awss.html'");  
  fw_menu_3.addMenuItem("RUNWAY VISUAL RANGE SYSTEMS","location='/aviation/runway_visual_range.html'");
  fw_menu_3.addMenuItem("AWOS NET","location='/aviation/awos_net.html'");
  fw_menu_3.addMenuItem("OIL PLATFORMS","location='/aviation/oil.html'");
   // Font and interaction
  fw_menu_3.fontWeight="normal";
  fw_menu_3.hideOnMouseOut=true;

  // AIR TRAFFIC CONTROL DISPLAYS Menu (menu 4)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
 window.fw_menu_4 = new Menu("root",110,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_4.addMenuItem("FlexIDS","location='/airtraffic/flex-ids.html'");
  fw_menu_4.addMenuItem("ACE-IDS","location='/airtraffic/ace-ids.html'");
  // Font and interaction
  fw_menu_4.fontWeight="normal";
  fw_menu_4.hideOnMouseOut=true;

 // R&D Menu (menu 5)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_5 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_5.addMenuItem("MATERIALS RESEARCH","location='/R_and_D/materials.html'");
    fw_menu_5.addMenuItem("AWI-MBARI PROGRAM","location='/R_and_D/mbari.html'");
   // Font and interaction
   fw_menu_5.fontWeight="normal";
   fw_menu_5.hideOnMouseOut=true;

  // CUSTOMER SERVICE Menu (menu 6)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_6 = new Menu("root",210,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_6.addMenuItem("CONTACT CUSTOMER SERVICE","location='/customer.html'");
  fw_menu_6.addMenuItem("RETURNS (RMA)","location='/customer/rma.html'");
  fw_menu_6.addMenuItem("REPAIR WARRANTY","location='/customer/warranty.html'");
  fw_menu_6.addMenuItem("AWOS","location='/customer.html#awos'");
  fw_menu_6.addMenuItem("TRAINING","location='/customer/training.html'");
  fw_menu_6.addMenuItem("FREQUENTLY ASKED QUESTIONS","location='/customer/faqs.html'");
   // Font and interaction
   fw_menu_6.fontWeight="normal";
   fw_menu_6.hideOnMouseOut=true;

  // REFERENCE Menu (menu 7)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_7 = new Menu("root",180,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_7.addMenuItem("PRODUCT MANUALS","location='/reference/toc_manuals.html'");
  fw_menu_7.addMenuItem("TECHNICAL REFERENCES","location='/reference/toc_techref.html'");
  fw_menu_7.addMenuItem("CONVERSION FACTORS","location='/reference/conversionfactors.html'");
  fw_menu_7.addMenuItem("LINKS","location='/reference/links.html'");
  fw_menu_7.addMenuItem("FACTS & LORE","location='/reference/factsandlore.html'");
  fw_menu_7.addMenuItem("SACRAMENTO WEATHER","location='http://www.wrh.noaa.gov/Sacramento/'");
  fw_menu_7.addMenuItem("AWI ACADEMY","location='/reference/awi_academy.html'");
    fw_menu_7.addMenuItem("SOFTWARE LICENSES","location='/reference/licenses.html'");
   // Font and interaction
   fw_menu_7.fontWeight="normal";
   fw_menu_7.hideOnMouseOut=true;
   
     // LIVE WEATHER Menu (menu 8)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_8 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_8.addMenuItem("HALF MOON BAY, CA","location='http://69.227.253.58/AWOSDisplay.swf'");
    fw_menu_8.addMenuItem("BEND, OR","location='http://66.220.103.187/'");
fw_menu_8.addMenuItem("MOJAVE, CA","location='http://216.193.195.124/AWOSDisplay.swf'");
  //fw_menu_8.addMenuItem("TEHACHAPI, CA","location='http://71.131.140.145/'");
    fw_menu_8.addMenuItem("WEST DELTA 27","location='http://204.8.40.106:81/'");
    fw_menu_8.addMenuItem("MISSISSIPPI CANYON 711","location='http://72.2.226.66:81/'");
	    fw_menu_8.addMenuItem("VERMILION 26","location='http://24.249.88.105:81/'");
		    fw_menu_8.addMenuItem("EAST BREAKS 165","location='http://204.57.123.30:81/'");
			    fw_menu_8.addMenuItem("GALVESTON 424","location='http://64.19.245.202:81/'");
  //  fw_menu_8.addMenuItem("ST. VINCENT","location='http://iadc.dynalias.com/remote/AWOSDisplay.swf'");
   // Font and interaction
   fw_menu_8.fontWeight="normal";
   fw_menu_8.hideOnMouseOut=true;
   
        // VIDEO Menu (menu 9)
  // Location and appearance (menu level, menu width, menu item height, font-type, font-size, font-color, font-color on mouse over, background-color, background-color on mouse over)
  window.fw_menu_9 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffcc00","#000000","#333333");
  // Menu items and hyperlinks (menu item text, hyperlink)
  fw_menu_9.addMenuItem("AWI OVERVIEW","location='/Video/overview.html'");
    fw_menu_9.addMenuItem("FACILITY TOUR","location='/Video/tour.html'");
fw_menu_9.addMenuItem("US AWOS","location='/Video/us_awos.html'");
  fw_menu_9.addMenuItem("INT'L AWOS","location='/Video/intl_awos.html'");
    fw_menu_9.addMenuItem("HELIPAD AWOS","location='/Video/helipad.html'");
	  fw_menu_9.addMenuItem("SENSORS","location='/Video/sensors.html'");
	    fw_menu_9.addMenuItem("AWOS NET & NADIN","location='/Video/nadin.html'");
		fw_menu_9.addMenuItem("DOWNLOADS & DVD ORDER","location='/Video/order_dvd.aspx'");
// Font and interaction
   fw_menu_9.fontWeight="normal";
   fw_menu_9.hideOnMouseOut=true;
   
   
  fw_menu_8.writeMenus();
}

// End