function removeMsg(c)
{
	$('.' + c).animate( {opacity: 0.0}, 1000, function() {
	    $(this).remove();
	});
}
$(document).ready(function() {

	if ($.browser.mozilla && parseFloat($.browser.version) < 1.9 &&  navigator.appVersion.indexOf('Mac') !== -1)
	{
		$('body').css('-moz-opacity',.999);
	}

        $("#nav-one li").hover(
                function(){ $("ul", this).fadeIn("fast"); 
					},
                function() { }
        );
        if (document.all) {
                $("#nav-one li").hoverClass ("sfHover");
        }
});

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
}; 