this.image_preview = function() {
   
function hover_on(e) {
     if ($("#image_preview2").length > 0)
         $("#image_preview2").remove();
   
      var url = $(this).attr('ref');
      var image = new Image();
	  
	  prev2_id = "#prev2_"+$(this).attr('id');

      $(this).attr('title', '');
  
      $(image).bind("load", function () {
      
         width = $(this).attr('width');
         height = $(this).attr('height');
         
		 $(prev2_id).append("<div id='image_preview2'><img src='"+ $(this).attr('src') +"' width='"+width+"px' height='"+height+"px' alt='' /></div>");
		 
         $("#image_preview2").fadeIn("slow");
      });
      
      image.src = url;
   };
   
function hover_off() {
      $("#image_preview2").remove();
   };


   var hover_config = {    
     over: hover_on, // function = onMouseOver callback (REQUIRED)    
	 interval: 300,
	 sensitivity: 30,
     out: hover_off // function = onMouseOut callback (REQUIRED)    
	};	

   $("a.image_preview").hoverIntent(hover_config);

};

