$(document).ready(
    function(){
        $("#nav-one li").hover(function(){ $("ul", this).fadeIn("fast"); }, function() { $("ul", this).fadeOut("fast"); } );
        if (document.all) { 
            $("#nav-one li").hoverClass ("sfHover");
        }
        
        /// <summary>Checks for IE6 and older browsers, and redirects them to the noSupport page</summary>
        var browser = navigator.appName;
        
        if (browser == "Microsoft Internet Explorer")
        {
            // we know we're working with IE, now split the appVersion at the Microsoft marker (i.e. MSIE)
            var tempVersion = navigator.appVersion.split('MSIE');
            // the very first value after 'MSIE' is the browser version, so parse the first available value in order to get the true version number
            var version = parseFloat(tempVersion[1]);
            
            if (version > 6)
            {
                $("#fgRightContent").corner({tl: { radius: 10 },tr: { radius: 1 },bl: { radius: 0 },br: { radius: 0 },antiAlias: true,autoPad: true,validTags: ["td"]});
            }
        }
    }
);

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
};