﻿// JScript File
    var isDOM, isIE;
    if(document.getElementById) isDOM=true;
    if(document.all) isIE=true;

	var lastNavigation;
	var lastNavigationIndex;

    //slide  (id,       dir,   left,top,width,height)
    new slide('menu1', 'down', 240, 86, 120, 300)
    new slide('menu2', 'down', 380, 86, 120, 300)
    new slide('menu3', 'down', 520, 86, 120, 300)
    new slide('menu4', 'down', 660, 86, 120, 300)
    new slide('menu5', 'down', 800, 86, 120, 300)


    idFinder = new Array(0);
    idFinder['menu1'] = 'products';
    idFinder['menu2'] = 'support';
    idFinder['menu3'] = 'corporate';
    idFinder['menu4'] = 'links';
    idFinder['menu5'] = 'faqs';


    function Navigation(url) {
        location.href = url;
    }

    function NavigationRollover(name,swap){
        if (swap == 1){ isDOM?document.getElementById(name).className = 'dropDownRollover':document.all[name].className='dropDownRollover'; }
        else { isDOM?document.getElementById(name).className = 'dropDown':document.all[name].className='dropDown'; }
        window.status = "";
    }

    function NavigationRolloverOn(name,swap){
        if (swap == 1){ isDOM?document.getElementById(name).className = 'dropDownRollover':document.all[name].className='dropDownRollover'; }
        else { isDOM?document.getElementById(name).className = 'dropDownOn':document.all[name].className='dropDownOn'; }
        window.status = "";
    }

    function swapImageOn(){
        this[1]=new Image(); this[1].src="images/products_on.jpg";
        this[2]=new Image(); this[2].src="images/support_on.jpg";
        this[3]=new Image(); this[3].src="images/corporate_on.jpg";
        this[4]=new Image(); this[4].src="images/links_on.jpg";
        this[5]=new Image(); this[5].src="images/faqs_on.jpg";
		
    }
    function swapImageOff(){
        this[1]=new Image(); this[1].src="images/products.jpg";
        this[2]=new Image(); this[2].src="images/support.jpg";
        this[3]=new Image(); this[3].src="images/corporate_off.jpg";
        this[4]=new Image(); this[4].src="images/links.jpg";
        this[5]=new Image(); this[5].src="images/faqs.jpg";

    }
    if (document.images){ var swapOn = new swapImageOn(); var swapOff = new swapImageOff(); }  

  function countrySelection(country){
      var URL = document.country.section.options[document.country.section.selectedIndex].value;
      window.location.href = URL;
  }
  
  function stateSelection(state){
				var URL = document.state.section.options[document.state.section.selectedIndex].value;
				window.location.href = URL;
		}