arPopups = new Array();
gmPopups = new Array();

function setBeginEnd(which,from,top,to,bot) {
    arPopups[which] = new Array();
    arPopups[which][0] = top;
    arPopups[which][1] = to;
    arPopups[which][2] = bot;
    arPopups[which][3] = from
}

function gmbe(which,from,top,to,bot) {
    gmPopups[which] = new Array();
    gmPopups[which][0] = top;
    gmPopups[which][1] = to;
    gmPopups[which][2] = bot;
    gmPopups[which][3] = from
}

if (ver4) {
setBeginEnd(1,118, 0, 219, 14);
setBeginEnd(3,405, 0, 499, 13);
setBeginEnd(4,198, 13, 280, 27);
setBeginEnd(5,352, 13, 436, 28);
setBeginEnd(6,279, 20, 360, 35);
gmbe(1, 2, 5, 104, 17);
gmbe(2, 2, 18, 104, 30);
gmbe(3, 2, 31, 104, 43);
}

function mapOver(which, on) {
    if (!ver4) { return }
    if (IE4) { whichEl = document.all.elmenuover.style; }
       else { whichEl = document.ebody.document.elmenu.document.elmenuover; }
    if (!on) { whichEl.visibility = "hidden"; return }
    clTop = arPopups[which][0];
    clRight = arPopups[which][1];
    clBot = arPopups[which][2];
    clLeft = arPopups[which][3];
    if (NS4) {
        whichEl.clip.left = clLeft;
        whichEl.clip.right = clRight;
        whichEl.clip.top = clTop;
        whichEl.clip.bottom = clBot;
    }
    else {
        whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
    }

    whichEl.visibility = "visible"
}

function mapOver1(which, on) {
    if (!ver4) { return }
    if (IE4) { whichEl = document.all.elmenuover1.style; }
       else { whichEl = document.ebody.document.elmenu1.document.elmenuover1; }
    if (!on) { whichEl.visibility = "hidden"; return }
    clTop = gmPopups[which][0];
    clRight = gmPopups[which][1];
    clBot = gmPopups[which][2];
    clLeft = gmPopups[which][3];
    if (NS4) {
        whichEl.clip.left = clLeft;
        whichEl.clip.right = clRight;
        whichEl.clip.top = clTop;
        whichEl.clip.bottom = clBot;
    }
    else {
        whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
    }

    whichEl.visibility = "visible"
}





