jQuery(function($){
	$('html').removeClass('nojs');
	
	if ($.browser.msie && $.browser.version < 7) {
	} else {
		$('#navigation a.navlink').each(function() {
			var self = $(this);
			var html = self.html();
			
			self
				.contents().wrap('<span>').end()
				.append('<span class="hover">'+ html +'</span>');
			
			var $span = $('> span.hover', this).css('opacity', 0);
			self.hover(function () {
				// on hover
				$span.stop().fadeTo(200, 5);
			}, function () {
				// off hover
				$span.stop().fadeTo(500, 0);
			});
		});
	}
});