﻿function g(o) { return document.getElementById(o); }
function Hovertab(num, counts, tabname, tabclass) {
    for (i = 1; i <= counts; i++) {
        g(tabname + 'tab0' + i).className = tabclass + 'tabs';
        g(tabname + 'div0' + i).style.display = 'none';
    }
    g(tabname + 'tab0' + num).className = tabclass + 'tabs_act';
    g(tabname + 'div0' + num).style.display = 'block';
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
    if (init == true) with (navigator) {
        if ((appName == "Netscape") && (parseInt(appVersion) == 4)) {
            document.MM_pgW = innerWidth; document.MM_pgH = innerHeight; onresize = MM_reloadPage;
        } 
    }
    else if (innerWidth != document.MM_pgW || innerHeight != document.MM_pgH) location.reload();
}
MM_reloadPage(true);
