(function($)
{
    $(function()
    {
        // Facebook-style top header (these lines are for IE6-only, on other browsers pure-css works)
        // The problem in IE6 is that it doesn't support position:fixed;
        if ($("#topheader").length) {
            if ($.browser.msie && $.browser.version < 7.0) {
                function topheaderPlace()
                {
                    $("#topheader_cnt").css({
                        position: 'absolute',
                        left: 0,
                        top: $(window).scrollTop()
                    });
                }
                $(window).scroll(topheaderPlace);
                topheaderPlace();
            }
        }
    });
})(jQuery);
