$(document).ready(function(){
	$('.rollover').hover(
		function(){
			if($(this).attr('src').indexOf('_hover') == -1) {
				var newSrc = $(this).attr('src').replace('.png', '_hover.png#hover');
				$(this).attr('src', newSrc);
			}
		},
		function(){
			if($(this).attr('src').indexOf('_hover.png#hover') != -1) {
				var oldSrc = $(this).attr('src').replace('_hover.png#hover', '.png');
				$(this).attr('src', oldSrc);
			}
		}
	);
});
