/**
 CS5
 */



jQuery.fn.replaceRollover = function(offsuffix, onsuffix) {
	offsuffix = offsuffix || '_s1';
	onsuffix = onsuffix || '_s2';
	return this.filter('[src*="'+ offsuffix +'."]').each(function() {
		var img = jQuery(this);
		var src = img.attr('src');
		var _on = src.replace(offsuffix+'.', onsuffix+'.');
		jQuery('<img>').attr('src', _on);
		img.hover(
			function() { img.attr('src', _on); },
			function() { img.attr('src', src); }
		);
	});
};

jQuery(document).ready(function(){
	jQuery("img.hover").replaceRollover();
	jQuery(":image.hover").replaceRollover();
});



