    (function($){  
      
        $.fn.extend({   
              
            //pass the options variable to the function  
            rollover: function(hoverImage) {  
      
     
               return this.each(function() {  
                   var regImage = $(this).attr('src');  
                   $(this).hover(
  						function() {
  							$(this).attr('src', hoverImage);
  						},
						function() {
							$(this).attr('src', regImage);
						});
                 
               });  
           }  
       });  
         
   })(jQuery);
