var imageSourceList = new Array();

imageSourceList[2] = "images/IndexServicesOn.gif";
imageSourceList[3] = "images/IndexServicesOff.gif";
imageSourceList[4] = "images/IndexOurJetsOn.gif";
imageSourceList[5] = "images/IndexOurJetsOff.gif";
imageSourceList[6] = "images/IndexOurVehiclesOn.gif";
imageSourceList[7] = "images/IndexOurVehiclesOff.gif";
imageSourceList[8] = "images/IndexContactUsOn.gif";
imageSourceList[9] = "images/IndexContactUsOff.gif";

// PRELOAD IMAGES
var imageCount = imageSourceList.length;
var imageList = new Array();

for ( var imageIndex = 0; imageIndex < imageCount; imageIndex++ )
{
	imageList[ imageIndex ] = new Image();
	imageList[ imageIndex ].src = imageSourceList[ imageIndex ];
}


function itemOn( itemName )
{
   // IF BROWSER SUPPORTS THE IMAGES OBJECT
   if ( document.images )
   {
	  document[ itemName ].src = "images/" + itemName + "On.gif";
   }
}


function itemOff( itemName )
{
   // IF BROWSER SUPPORTS THE IMAGES OBJECT
   if ( document.images )
   {
	  document[ itemName ].src = "images/" + itemName + "Off.gif";
   }
}
