if ((navigator.appVersion.substring(0,1) >= 3) && 
    (navigator.appName == ("Netscape") || 
    (navigator.appName == "Microsoft Internet Explorer"))) {
    // build the array for on images (when mouseover) and off
     MainNavOff = new Array();
     MainNavOn = new Array();
     //array for agent
     MainNavAgentOff = new Array();
     MainNavAgentOn = new Array();
     
     FlightToolOff = new Array();
     FlightToolOn = new Array();	 
	 
	 // Safari Mac fix
     var over = "s";
	 if (yourBro[0] == "kde"){
	 	over = "d";
		
		// for testing
		// alert(yourBro[1]);
		}
	 
	 // Store the main navigation images in an array
	 for (var i = 0; i<= 5; i++) {
          MainNavOff[i] = new Image();
          MainNavOff[i].src = "/images/navigation/MainNav" + i + "d.gif";
          MainNavOn[i] = new Image();
          MainNavOn[i].src = "/images/navigation/MainNav" + i + over +".gif";
     }
	 
	 // Store flight tool navigation in an array
	 for (var j = 0; j<= 5; j++) {
          FlightToolOff[j] = new Image();
          FlightToolOff[j].src = "/images/navigation/FlightTool" + j + "d.gif";
          FlightToolOn[j] = new Image();
          FlightToolOn[j].src = "/images/navigation/FlightTool" + j + "s.gif";
     }	
     
     	 // Store the main navigation images in an array
	 for (var i = 0; i<= 4; i++) {
          MainNavAgentOff[i] = new Image();
          MainNavAgentOff[i].src = "/images/navigation/agent/MainNavAgent" + i + "d.gif";
          MainNavAgentOn[i] = new Image();
          MainNavAgentOn[i].src = "/images/navigation/agent/MainNavAgent" + i + over +".gif";
     }
	 
}

// swap to the on images when mouseover for the main navigation
function selectMainNav(i) {
   if (document.images) {
      var itemname = "MainNav" + i;
      document.images[itemname].src = MainNavOn[i].src;
  }
}

// swap to the on images when mouseover for the main navigation
function selectAgentMainNav(i) {
   if (document.images) {
      var itemname = "MainNavAgent" + i;
      document.images[itemname].src = MainNavAgentOn[i].src;
  }
}

// swap to the on images when mouseover for the flight tools
function selectFlightTool(j) {
   if (document.images) {
      var itemname = "FlightTool" + j;
      document.images[itemname].src = FlightToolOn[j].src;
  }
}

// swap to the off images when mouseout for the main navigation
function deselectMainNav(i) {
   if (document.images) {
      var itemname = "MainNav" + i;
      document.images[itemname].src = MainNavOff[i].src;

   }
}

// swap to the off images when mouseout for the main navigation for Agent
function deselectAgentMainNav(i) {
   if (document.images) {
      var itemname = "MainNavAgent" + i;
      document.images[itemname].src = MainNavAgentOff[i].src;

   }
}	

// swap to the off images when mouseout for the flight tools
function deselectFlightTool(j) {
   if (document.images) {
      var itemname = "FlightTool" + j;
      document.images[itemname].src = FlightToolOff[j].src;

   }
}


