var isNav4, isIE4

if(parseInt(navigator.appVersion)>=4) {
	isNav4 = (navigator.appName == "Netscape");
	isIE4 = (navigator.appName.indexOf("Microsoft") != -1)
}


//var styleRef= isIE4 ? ".style" : "";
var docRef= isIE4 ? "document.all." :"document.";


function swapImg(pos,pic){

	var theObj = eval(docRef + pos);
	
	theObj.src = pic

}


function doPreload()
{

   var the_images = new Array('image/btn_home_over.gif','btn_clients_over.gif','btn_enquire_over.gif','btn_other_over.gif','btn_services_over.gif','btn_venues_over.gif');
   preloadImages(the_images);
}

function preloadImages(the_images_array) {

   for(var loop = 0; loop < the_images_array.length; loop++)
	
   {
 	var an_image = new Image();
	an_image.src = the_images_array[loop];
   }
}


