
function preloadImages() {
	document.preload = new Array();
	if (document.images) {
		for (var i = 0; i < preloadImages.arguments.length; i++) {
			document.preload[i] = new Image();
			document.preload[i].src = preloadImages.arguments[i];
		}
	}
}


if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


//	browser check
if (parseInt(navigator.appVersion) >= 4) {
	browserName = (navigator.appName == "Netscape") ? "ns40" : ((navigator.appName == "Microsoft Internet Explorer") ? "ms40" : "null");
} else {
	browserName = "null";
}
IEVersion = "";
if (browserName == "ms40") IEVersion = (navigator.appVersion.indexOf("5.") != -1) ? "ie5" : "ie4";

//cut code goes here

//	shifts menus down 4 pixels in netscape
function shiftNSmenus() {
	if (browserName == "ns40") var numLayers = document.layers.length;
	if (browserName == "ns40") for(x=0;x<numLayers;x++) document.layers[x].top = ((document.layers[x].top) - 0);
}

//	swaps an image
function swapImage(imgName,swapSrc) {
	if (document.images[imgName]) {
		eval("document." + imgName + ".src = \"" + swapSrc + "\"");
	} else { // try referenceing image on a layer
		numLayers = document.layers.length;
		for (x=0;x<numLayers;x++) {
			thisImg = document.layers[x].document.images[imgName];
			if (thisImg) thisImg.src = swapSrc;
		}
	}
}
