// MENU PRELOADER SCRIPT 

function DoPopup(url,name,width,height) {
  args = "width=" + width + "," + "height=" + height + "," + "location=0," + "menubar=0," + "resizable=0," + "scrollbars=0";
  popupWin = window.open(url, name, args)
}

isNS4 = (document.layers) ? true : false;
NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac));
function popUp(){return};
function popDown(){return};
function startIt(){return};
   var platform = navigator.appVersion;
  isUNIX = (platform.indexOf("X11") != -1) ||
  (platform.indexOf("Linux") != -1) ||
  (platform.indexOf("SunOS") != -1) ||
  (platform.indexOf("IRIX") != -1) ||
  (platform.indexOf("HP-UX") != -1);

if (!ver4) event = null;

browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))

// preload universal images
if (browser) {

//one  !1
	one_off = new Image;
	one_off.src = "images/menu/menu_home_off.gif";
	one_on = new Image;
	one_on.src = "images/menu/menu_home_on.gif";

//two !2
	two_off = new Image;
	two_off.src = "images/menu/menu_mission_off.gif";
	two_on = new Image;
	two_on.src = "images/menu/menu_mission_on.gif";

//three !3
	three_off = new Image;
	three_off.src = "images/menu/menu_programs_off.gif";
	three_on = new Image;
	three_on.src = "images/menu/menu_programs_on.gif";

//four !4
	four_off = new Image;
	four_off.src = "images/menu/menu_partnerships_off.gif";
	four_on = new Image;
	four_on.src = "images/menu/menu_partnerships_on.gif";

//five !5
	five_off = new Image;
	five_off.src = "images/menu/menu_fleet_support_off.gif";
	five_on = new Image;
	five_on.src = "images/menu/menu_fleet_support_on.gif";

//six !6
	six_off = new Image;
	six_off.src = "images/menu/menu_checkin_off.gif";
	six_on = new Image;
	six_on.src = "images/menu/menu_checkin_on.gif";

//seven !7
	seven_off = new Image;
	seven_off.src = "images/menu/menu_employee_info_off.gif";
	seven_on = new Image;
	seven_on.src = "images/menu/menu_employee_info_on.gif";

//eight !8
	eight_off = new Image;
	eight_off.src = "images/menu/menu_links_off.gif";
	eight_on = new Image;
	eight_on.src = "images/menu/menu_links_on.gif";
	
//nine !9
	nine_off = new Image;
	nine_off.src = "images/menu/menu_f18_off.gif";
	nine_on = new Image;
	nine_on.src = "images/menu/menu_f18_on.gif";

//ten !10
	ten_off = new Image;
	ten_off.src = "images/menu/menu_e2_off.gif";
	ten_on = new Image;
	ten_on.src = "images/menu/menu_e2_on.gif";

//eleven !11
	eleven_off = new Image;
	eleven_off.src = "images/menu/menu_c2_off.gif";
	eleven_on = new Image;
	eleven_on.src = "images/menu/menu_c2_on.gif";

//twelve !12
	twelve_off = new Image;
	twelve_off.src = "images/menu/menu_h60_off.gif";
	twelve_on = new Image;
	twelve_on.src = "images/menu/menu_h60_on.gif";

//thirteen !13
	thirteen_off = new Image;
	thirteen_off.src = "images/menu/menu_h53_off.gif";
	thirteen_on = new Image;
	thirteen_on.src = "images/menu/menu_h53_on.gif";

//fourteen !14
	fourteen_off = new Image;
	fourteen_off.src = "images/menu/menu_ah1_off.gif";
	fourteen_on = new Image;
	fourteen_on.src = "images/menu/menu_ah1_on.gif";

//fifteen !15
	fifteen_off = new Image;
	fifteen_off.src = "images/menu/menu_uh1_off.gif";
	fifteen_on = new Image;
	fifteen_on.src = "images/menu/menu_uh1_on.gif";	
	
//sixteen !15
	sixteen_off = new Image;
	sixteen_off.src = "images/menu/menu_av8_off.gif";
	sixteen_on = new Image;
	sixteen_on.src = "images/menu/menu_av8_on.gif";			
}

function putImage(imgDocID,imgObjName) {
if (browser) {
        document.images[imgDocID].src = eval(imgObjName + ".src")
	}
}
