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