    function loadPage(p_tab){
        //alert(p_tab.className.substring(0,p_tab.className.length-3).toLowerCase())
        window.location.href = p_tab.className.substring(0,p_tab.className.length-3).toLowerCase()+'.html';
    }

    function loaded(){
        if (document.getElementById('mainContent')){
            document.getElementById('mainContent').style.visibility='visible';
        }
        if (document.getElementById('footerContent')){
            document.getElementById('footerContent').style.visibility='visible';
        }
        if (document.getElementById('activeTab')){
            document.getElementById('activeTab').style.visibility='visible';
        }
        document.onselectionstart = new Function("return false");//function() { return false; }
        //document.getElementById('mainContent').onselectionstart = function() { return false; };
        document.oncontextmenu=new Function("return false");
    }


try {
  document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
