
var currentLayer;
var menuTimeout;
var itemTimeout;

if (document.layers || document.all || document.getElementById) {
   //menuproducts
   menuImgproducts_1On = new Image();
   menuImgproducts_4On = new Image();
   menuImgproducts_5On = new Image();
   menuImgproducts_6On = new Image();
   menuImgproducts_7On = new Image();
   menuImgproducts_8On = new Image();
   menuImgproducts_9On = new Image();
   menuImgproducts_10On = new Image();
   menuImgproducts_11On = new Image();
   menuImgproducts_12On = new Image();
   menuImgproducts_13On = new Image();
   menuImgproducts_14On = new Image();
   menuImgproducts_15On = new Image();
   menuImgproducts_16On = new Image();
   menuImgproducts_17On = new Image();
   menuImgproducts_18On = new Image();
   menuImgproducts_19On = new Image();
   menuImgproducts_20On = new Image();
   menuImgproducts_21On = new Image();
   menuImgproducts_22On = new Image();
   menuImgproducts_23On = new Image();
   menuImgproducts_24On = new Image();
   menuImgproducts_25On = new Image();
   menuImgproducts_26On = new Image();
   menuImgproducts_27On = new Image();
   menuImgproducts_28On = new Image();
   menuImgproducts_29On = new Image();
   menuImgproducts_30On = new Image();
   menuImgproducts_31On = new Image();
   menuImgproducts_1On.src = "/images/nav/subnav/a5_on.gif";
   menuImgproducts_4On.src = "/images/nav/subnav/marker_accessories_on.gif";
   menuImgproducts_5On.src = "/images/nav/subnav/gear_on.gif";
   menuImgproducts_7On.src = "/images/nav/subnav/c3_on.gif";
   menuImgproducts_8On.src = "/images/nav/subnav/airsoft_pistols_on.gif";
   menuImgproducts_9On.src = "/images/nav/subnav/airsoft_rifles_on.gif";
   menuImgproducts_10On.src = "/images/nav/subnav/act_technology_on.gif";
   menuImgproducts_11On.src = "/images/nav/subnav/airsoft_accessories_on.gif";
   menuImgproducts_12On.src = "/images/nav/subnav/cust_pro_act_on.gif";
   menuImgproducts_13On.src = "/images/nav/subnav/98_cust_act_on.gif";
   menuImgproducts_14On.src = "/images/nav/subnav/20_anniversary_on.gif";
   menuImgproducts_15On.src = "/images/nav/subnav/triumph_on.gif";
   menuImgproducts_16On.src = "/images/nav/subnav/x7_on.gif";
   menuImgproducts_17On.src = "/images/nav/subnav/paint_nades_on.gif";
   menuImgproducts_18On.src = "/images/nav/subnav/98_custom_platinum_on.gif";
   menuImgproducts_19On.src = "/images/nav/subnav/custom_pro_ps_on.gif";
   menuImgproducts_20On.src = "/images/nav/subnav/us_army_on.gif";
   menuImgproducts_21On.src = "/images/nav/subnav/barrels_on.gif";
   menuImgproducts_22On.src = "/images/nav/subnav/rebate_on.gif";
   menuImgproducts_23On.src = "/images/nav/subnav/mm1000_on.gif";
   menuImgproducts_24On.src = "/images/nav/subnav/CFM_on.gif";
   menuImgproducts_25On.src = "/images/nav/subnav/TPN_on.gif";
   menuImgproducts_26On.src = "/images/nav/subnav/grips_loaders_on.gif";
   menuImgproducts_27On.src = "/images/nav/subnav/laser_nav_on.gif";
   menuImgproducts_28On.src = "/images/nav/subnav/tpx_popout_nav_on.gif";
   menuImgproducts_29On.src = "/images/nav/subnav/catalogs_on.gif";
   menuImgproducts_30On.src = "/images/nav/subnav/sl68_on.gif";
   menuImgproducts_31On.src = "/images/nav/subnav/x7_phenom_on.gif";
    
   menuImgproducts_1Off = new Image();
   menuImgproducts_4Off = new Image();
   menuImgproducts_5Off = new Image();
   menuImgproducts_6Off = new Image();
   menuImgproducts_7Off = new Image();
   menuImgproducts_8Off = new Image();
   menuImgproducts_9Off = new Image();
   menuImgproducts_10Off = new Image();
   menuImgproducts_11Off = new Image();
   menuImgproducts_12Off = new Image();
   menuImgproducts_13Off = new Image();
   menuImgproducts_14Off = new Image();
   menuImgproducts_15Off = new Image();
   menuImgproducts_16Off = new Image();
   menuImgproducts_17Off = new Image();
   menuImgproducts_18Off = new Image();
   menuImgproducts_19Off = new Image();
   menuImgproducts_20Off = new Image();
   menuImgproducts_21Off = new Image();
   menuImgproducts_22Off = new Image();
   menuImgproducts_23Off = new Image();
   menuImgproducts_24Off = new Image();
   menuImgproducts_25Off = new Image();
   menuImgproducts_26Off = new Image();
   menuImgproducts_27Off = new Image();
   menuImgproducts_28Off = new Image();
   menuImgproducts_29Off = new Image();
   menuImgproducts_30Off = new Image();
   menuImgproducts_31Off = new Image();
   menuImgproducts_1Off.src = "/images/nav/subnav/a5.gif";
   menuImgproducts_4Off.src = "/images/nav/subnav/marker_accessories.gif";
   menuImgproducts_5Off.src = "/images/nav/subnav/gear.gif";
   menuImgproducts_6Off.src = "/images/nav/subnav/tips.gif";
   menuImgproducts_7Off.src = "/images/nav/subnav/c3.gif";
   menuImgproducts_8Off.src = "/images/nav/subnav/airsoft_pistols.gif";
   menuImgproducts_9Off.src = "/images/nav/subnav/airsoft_rifles.gif";
   menuImgproducts_10Off.src = "/images/nav/subnav/act_technology.gif";
   menuImgproducts_11Off.src = "/images/nav/subnav/airsoft_accessories.gif";
   menuImgproducts_12Off.src = "/images/nav/subnav/cust_pro_act_off.gif";
   menuImgproducts_13Off.src = "/images/nav/subnav/98_cust_act_off.gif";
   menuImgproducts_14Off.src = "/images/nav/subnav/20_anniversary.gif";
   menuImgproducts_15Off.src = "/images/nav/subnav/triumph.gif";
   menuImgproducts_16Off.src = "/images/nav/subnav/x7.gif";
   menuImgproducts_17Off.src = "/images/nav/subnav/paint_nades_off.gif";
   menuImgproducts_18Off.src = "/images/nav/subnav/98_custom_platinum.gif";
   menuImgproducts_19Off.src = "/images/nav/subnav/custom_pro_ps.gif";
   menuImgproducts_20Off.src = "/images/nav/subnav/us_army.gif";
   menuImgproducts_21Off.src = "/images/nav/subnav/barrels.gif";
   menuImgproducts_22Off.src = "/images/nav/subnav/rebate.gif";
   menuImgproducts_23Off.src = "/images/nav/subnav/mm1000.gif";
   menuImgproducts_24Off.src = "/images/nav/subnav/CFM.gif";
   menuImgproducts_25Off.src = "/images/nav/subnav/TPN.gif";
   menuImgproducts_26Off.src = "/images/nav/subnav/grips_loaders.gif";
   menuImgproducts_27Off.src = "/images/nav/subnav/laser_nav_off.gif";
   menuImgproducts_28Off.src = "/images/nav/subnav/tpx_popout_nav_off.gif";
   menuImgproducts_29Off.src = "/images/nav/subnav/catalogs.gif";
   menuImgproducts_30Off.src = "/images/nav/subnav/sl68_off.gif";
   menuImgproducts_31Off.src = "/images/nav/subnav/x7_phenom_off.gif";
      
    //menuabout
   menuImgcompany_1On = new Image();
   menuImgcompany_2On = new Image();
   menuImgcompany_3On = new Image();
   menuImgcompany_4On = new Image();
   menuImgcompany_5On = new Image();
   menuImgcompany_1On.src = "/images/nav/subnav/about_on.gif";
   menuImgcompany_2On.src = "/images/nav/subnav/history_on.gif";
   menuImgcompany_3On.src = "/images/nav/subnav/quality_on.gif";
   menuImgcompany_4On.src = "/images/nav/subnav/news_on.gif";
   menuImgcompany_5On.src = "/images/nav/subnav/employment_on.gif";
   
   menuImgcompany_1Off = new Image();
   menuImgcompany_2Off = new Image();
   menuImgcompany_3Off = new Image();
   menuImgcompany_4Off = new Image();
   menuImgcompany_5Off = new Image();
   menuImgcompany_1Off.src = "/images/nav/subnav/about.gif";
   menuImgcompany_2Off.src = "/images/nav/subnav/history.gif";
   menuImgcompany_3Off.src = "/images/nav/subnav/quality.gif";
   menuImgcompany_4Off.src = "/images/nav/subnav/news.gif";
   menuImgcompany_5Off.src = "/images/nav/subnav/employment.gif";
   
   
    //menuservice
   menuImgservice_1On = new Image();
   menuImgservice_2On = new Image();
   menuImgservice_3On = new Image();
   menuImgservice_4On = new Image();
   menuImgservice_5On = new Image();
   menuImgservice_6On = new Image();
   menuImgservice_8On = new Image();
   menuImgservice_9On = new Image();
   menuImgservice_1On.src = "/images/nav/subnav/tech_suppt_on.gif";
   menuImgservice_2On.src = "/images/nav/subnav/manuals_on.gif";
   menuImgservice_3On.src = "/images/nav/subnav/catalogs_on.gif";
   menuImgservice_4On.src = "/images/nav/subnav/warranty_on.gif";
   menuImgservice_5On.src = "/images/nav/subnav/dealer_on.gif";
   menuImgservice_6On.src = "/images/nav/subnav/tips_on.gif";
   menuImgservice_8On.src = "/images/nav/subnav/supplier_on.gif";
   menuImgservice_9On.src = "/images/nav/subnav/warning_red.gif";

   menuImgservice_1Off = new Image();
   menuImgservice_2Off = new Image();
   menuImgservice_3Off = new Image();
   menuImgservice_4Off = new Image();
   menuImgservice_5Off = new Image();
   menuImgservice_6Off = new Image();
   menuImgservice_7Off = new Image();
   menuImgservice_8Off = new Image();
   menuImgservice_9Off = new Image();
   menuImgservice_1Off.src = "/images/nav/subnav/tech_suppt_off.gif";
   menuImgservice_2Off.src = "/images/nav/subnav/manuals.gif";
   menuImgservice_3Off.src = "/images/nav/subnav/catalogs.gif";
   menuImgservice_4Off.src = "/images/nav/subnav/warranty.gif";
   menuImgservice_5Off.src = "/images/nav/subnav/dealer.gif";
   menuImgservice_6Off.src = "/images/nav/subnav/tips.gif";  
   menuImgservice_8Off.src = "/images/nav/subnav/supplier.gif";
   menuImgservice_9Off.src = "/images/nav/subnav/warning_white.gif";
   
   //menusport
   menuImgteam_1On = new Image();
   menuImgteam_2On = new Image();
   menuImgteam_3On = new Image();
   menuImgteam_4On = new Image();
   menuImgteam_5On = new Image();
   menuImgteam_1On.src = "/images/nav/subnav/field_sponsorships_on.gif";
   menuImgteam_2On.src = "/images/nav/subnav/team_sponsorship_on.gif";
   menuImgteam_3On.src = "/images/nav/subnav/us_events_on.gif";
   menuImgteam_4On.src = "/images/nav/subnav/events_on.gif";
   menuImgteam_5On.src = "/images/nav/subnav/spon_criteria_on.gif";

   menuImgteam_1Off = new Image();
   menuImgteam_2Off = new Image();
   menuImgteam_3Off = new Image();
   menuImgteam_4Off = new Image();
   menuImgteam_5Off = new Image();
   menuImgteam_1Off.src = "/images/nav/subnav/field_sponsorships.gif";
   menuImgteam_2Off.src = "/images/nav/subnav/team_sponsorship.gif";
   menuImgteam_3Off.src = "/images/nav/subnav/us_events.gif";
   menuImgteam_4Off.src = "/images/nav/subnav/events.gif";
   menuImgteam_5Off.src = "/images/nav/subnav/spon_criteria.gif";

   //menu download
   menuImgdownload_1On = new Image();
   menuImgdownload_2On = new Image();
   menuImgdownload_3On = new Image();
   menuImgdownload_4On = new Image();
   menuImgdownload_5On = new Image();
   menuImgdownload_6On = new Image();
   menuImgdownload_1On.src = "/images/nav/subnav/wallpapers_on.gif";
   menuImgdownload_2On.src = "/images/nav/subnav/stickers_on.gif";
   menuImgdownload_3On.src = "/images/nav/subnav/tshirts_on.gif";
   menuImgdownload_4On.src = "/images/nav/subnav/icons_on.gif";
   menuImgdownload_5On.src = "/images/nav/subnav/screensaver_on.gif"; 
   menuImgdownload_6On.src = "/images/nav/subnav/myspace_on.gif"; 

   menuImgdownload_1Off = new Image();
   menuImgdownload_2Off = new Image();
   menuImgdownload_3Off = new Image();
   menuImgdownload_4Off = new Image();
   menuImgdownload_5Off = new Image();
   menuImgdownload_6Off = new Image();
   menuImgdownload_1Off.src = "/images/nav/subnav/wallpapers.gif";
   menuImgdownload_2Off.src = "/images/nav/subnav/stickers.gif";
   menuImgdownload_3Off.src = "/images/nav/subnav/tshirts.gif";
   menuImgdownload_4Off.src = "/images/nav/subnav/icons.gif";
   menuImgdownload_5Off.src = "/images/nav/subnav/screensaver.gif";
	menuImgdownload_6Off.src = "/images/nav/subnav/myspace.gif";
   }



function showLayer(div) {
   if (document.layers) {
      eval('document.layers["' + div + '"].visibility = "visible";');
   } else if (document.all) {
      document.all[div].style.visibility = "visible";
   } else if (document.getElementById) {
      document.getElementById(div).style.visibility = "visible";
   }
}

function hideLayer(div) {
   if (document.layers) {
      eval('document.layers["' + div + '"].visibility = "hidden";');
   } else if (document.all) {
      document.all[div].style.visibility = "hidden";
   } else if (document.getElementById) {
      document.getElementById(div).style.visibility = "hidden";
   }
}

function menuOn(div) {
   if (document.layers || document.all || document.getElementById) {
      if (currentLayer) {
         if (menuTimeout) clearTimeout(menuTimeout);
         if (itemTimeout) clearTimeout(itemTimeout);
         hideLayer(currentLayer);
      }
      showLayer(div);
      currentLayer = div;
   } else {
      swapImage('menu',div);
   }
}

function menuOff(div) {
   if (document.layers || document.all || document.getElementById) {
      menuTimeout = setTimeout('hideLayer(currentLayer)',600);
   } else {
      swapImage('menu','dots');
   }
}

function keepAlive(div) {
   if (menuTimeout) clearTimeout(menuTimeout);
   if (itemTimeout) clearTimeout(itemTimeout);
   showLayer(div);
}

function killIt(div) {
   itemTimeout = setTimeout('hideLayer(currentLayer)',600);
}