// jQuery version for image hover event. 
// Specific to this kind of image object.
//    1. alt value of the image tag is used to act like a variable.
//    2. this image must of class "hover-enabled"
$(document).ready( function() {
  $('img.hover-enabled').hover( 
    function() { 
      var tmp = $(this).attr('alt');
      var src = $(this).attr('src');
      if (tmp) {
        $(this).attr('src', tmp);
        $(this).attr('alt', src);
      }
    }, 
    function() { 
      var tmp = $(this).attr('alt');
      var src = $(this).attr('src');
      if (tmp) {
        $(this).attr('src', tmp);
        $(this).attr('alt', src);
      }    
    } );
});