$(function () {
  if ($.browser.msie && $.browser.version < 7) return;
  
  $('#nav li')
    .removeClass('highlight')
    .find('a')
    .append('<span class="hover" />').each(function () {
      var $span = $('> span.hover', this).css('opacity', 0);
      $(this).hover(function () {		//on hover
        $span.stop().animate({"left": "10px", "opacity": 1}, "fast");
      }, function () {					//off hover
        $span.stop().animate({"left": "", "opacity": 0});
      });
    });
		
});
