// file        : thbfade.js
// version     : 1.00
// date        : 2011-11-23
// author      : uwe ruscheweyh
// description : adjust thumb opacity on mouseover/-out

// using jQuery.noConflict(); and jQuery instead of the shortcut $ to prevend namespace conflicts with other libraries
jQuery.noConflict();
jQuery(document).ready( function() {
  jQuery("img.fade").fadeTo(1, 0.6);    // Sets the opacity of all thumbs to fade down to 60% when page loads
  jQuery("img.fade").hover(function() {
    jQuery(this).fadeTo(300, 1.0);    // Set the opacity to 100% on hover
    },
    function() {
      jQuery(this).fadeTo(300, 0.6);    // Set the opacity back to 60% on mouseout
    }
  );
});
