site = function() {}
site.init = function() {
    if (typeof jQuery != 'undefined') {
        jQuery(".js-invisible").hide();
    }
    //sfHover();
    initScrolling();
    $('label.overlabel').overlabel();
    $('div#header').pngFix();
}
sfHover = function() {
    var navs = document.getElementsByTagName("ul");
    for (var n=0; n < navs.length; n++) {
        if (navs[n].className.match(/nav/)) {
            var sfEls = navs[n].getElementsByTagName("li");
            for (var i=0; i<sfEls.length; i++) {
            		sfEls[i].onmouseover=function() {
            			 this.className+=" sfHover";
            		}
            		sfEls[i].onmouseout=function() {
            			 this.className=this.className.replace(new RegExp(" sfHover\\b"), "");
            		}
          	}
        }
    }
}
$(document).ready(site.init);
//if (window.attachEvent) window.attachEvent("onload", sfHover);