var preLoadImg = new Object();

function initRollOvers(){
	jQuery("img.over").each(function(){
		var imgSrc = this.src;
		if (imgSrc) {
			var sep = imgSrc.lastIndexOf('.');
			var onSrc = imgSrc.substr(0, sep) + '_o' + imgSrc.substr(sep, imgSrc.length-sep);
			preLoadImg[imgSrc] = new Image();
			preLoadImg[imgSrc].src = onSrc;
			jQuery(this).hover(
				function() { this.src = onSrc; },
				function() { this.src = imgSrc; }
			);
		}
	});
}
jQuery(function(){
	initRollOvers();
});
