<!--
//Copyright (c) 2006 Imulus(R)

//		Picture Preloader
//
//		Notes: goes through arguments posted in function, like this:
//		preLoad('pic1.gif','pic2.jpg','pic3.png'....);
//
//		Can be integrated with other scripts.

function preLoad(pics) {
	function isValidPic(x) {
		var regExp = /^\S+\.(gif|jpg|jpeg|png)$/;
		return (regExp.test(x));
	}
	var loadedPics = new Array();
	for (var i = 0; i < arguments.length; i++) {
		if (isValidPic(arguments[i]) == true) {
			loadedPics[i] = new Image();
			loadedPics[i].src = arguments[i];
		}
	}
}

//
// Rollover
//
function iFlipper(name,imagename) {
	if(window.document.images)
		window.document.images[name].src = imagename;
}

function iFlipperID(id,imagename) {
	var objID = document.getElementById(id);
	objID.src = imagename;
}

//-->