/*HM_Loader.js

* by Peter Belesis. v4.3 020610

* Copyright (c) 2002 Peter Belesis. All Rights Reserved.

*/

HM_DOM = (document.getElementById) ? true : false;
HM_NS4 = (document.layers) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
HM_IE4M = HM_IE4 && HM_Mac;
isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? true : false;

HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);
HM_IsMenu = !HM_Opera && !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4 || HM_Konqueror);
HM_BrowserString = HM_NS4 ? "ns4" : HM_DOM ? "dom" : "ie4";


// Return the available content width space in browser window

//function getInsideWindowWidth( ) {
//  if (window.innerWidth) {
//        return window.innerWidth;
//    } else if (isIE6CSS) {
//        // measure the html element's clientWidth
//        return document.body.parentElement.clientWidth;
//    } else if (document.body && document.body.clientWidth) {
//        return document.body.clientWidth;
//    }
//    return 0;
//}

//function positionMenu(start) {
//    width = getInsideWindowWidth();
//    if (width<710) { return start; }
//    add = ((width-710)/2);
//    tablewidth = width*.8;
//    place = (add+start-(start/20));
//    return place;
//}

if(window.event + "" == "undefined") event = null;

function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};

popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

if(HM_IsMenu) {
    document.write("<scr" + "ipt language='javascript1.2' src='/includes/js/hm_memberarrays.php' type='text/javascript'><\/scr" + "ipt>");
    document.write("<scr" + "ipt language='javascript1.2' src='/includes/js/hm_script"+ HM_BrowserString +".js' type='text/javascript'><\/scr" + "ipt>");
}



//end


