	$(document).ready(function () {
	
if ($.browser.msie && parseInt($.browser.version, 10) < 7) return; // Don't execute code if it's IE6 or below cause it doesn't support it.

else {
	if ($.browser.msie && parseInt($.browser.version, 10) < 9) {
	
    $(".image-block").hover(
    function () {

	  $(".mglass",this).css("visibility", "visible");	
    },
    function () {
	  $(".mglass",this).css("visibility", "hidden");
    }
  );
	
	}//endif
	
else{
	 $(".mglass").fadeTo("fast", 0, function(){
	 $(".mglass").css("visibility", "visible");	
	 });
	 
	 $(".image-block").hover(
    function () {
     $(".mglass",this).fadeTo("fast", 1);
    },
    function () {
      $(".mglass",this).fadeTo("fast", 0);
    }
  );

	}//endelse
}//endelse

  
});

