$(document).ready(function(){
	 if ($.browser.msie) return;
     
	 $('.button')	
			.hover(function(){},function(){})
			.append('<span class="hover" />').each(function () {
                    var $span = $('> span.hover', this).css('opacity', 0);
                    $(this).hover(function () {
                        // on hover
                        $span.stop().fadeTo(300, 1);
                    }, function () {
                        // off hover
                        $span.stop().fadeTo(300, 0);
                    });
               });
	 
	 $(window).unload(function(){
   		 //reset css to prevent over state being stuck on back button
   		 $('.button').removeAttr('style');
	 	});
});
