$(document).ready(function () {
	$('img.rollover').hover(
		function() {
			this.src = this.src.replace( '-up', '-over' );
		},
		function() {
			this.src = this.src.replace( '-over', '-up' );
		}
	);
	
	$('img.rollover').each( function() {
		var img = document.createElement( 'img' );
		img.src = $(this).attr("src").replace( '-up', '-over' );
	});
});