function findRollOvers() {

	//# This function searches for images to setup as rollovers

	var tag = '?rollover=';
	var images = document.getElementsByTagName('img');
	var srcString;
	
	for(var i = 0; i < images.length; i++) {
	
		srcString = images[i].getAttribute('src');
	
		//# If src matches tag, extract tag info and pass to rollover setup
		if(srcString.indexOf(tag) != -1) isRollOver(images[i],srcString.substring(srcString.indexOf(tag)+tag.length));
	}
	
}

function isRollOver(imgObj,overApend) {

	//# isRollOver(Image,String)
	//# This function creates a rollover effect by trying to load the original src with overApend added to the end.
	//# eg. isRollOver(Image,'_off') will try to swap Image.src = myImage.gif and Image.src = myImage_off.gif
	
	
	//# Construct src strings
	var offsrc = String(imgObj.src);
	var onsrc = offsrc.substring(0,offsrc.lastIndexOf('.'))+overApend+offsrc.substr(offsrc.lastIndexOf('.'));

	//# Preload over image
	var preLoad = new Image();
	preLoad.src = onsrc;
	
	//# Assign onmouse events
	imgObj.onmouseover = function() {
		this.src = onsrc;
	}
	
	imgObj.onmouseout = function() {
		this.src = offsrc;
	}
}