$(document).ready(function() {

 $("img.rollover").hover(
 	function(){
 		var onState = $(this).attr('hover');
  		$(this).attr('src',onState);
 	},
 	function(){
 		var offState = $(this).attr('orig');
 		$(this).attr('src',offState);
 	}
 );


});
