jQuery(function($){
	$('img.imgover').each(function(){
		var src = $(this).attr('src');
		var ftype = src.substring(src.lastIndexOf('.'), src.length);
		var oSrc = src.replace(ftype, '_o'+ftype);

		$(this).attr('pSrc', src);
		$(this).attr('oSrc', oSrc);

		new Image().src = oSrc;

		$(this).hover(function(){
			this.setAttribute('src', this.getAttribute('oSrc'));
		},
		function(){
			this.setAttribute('src', this.getAttribute('pSrc'));
		});
	});
});
