IE4 = (document.all) ? 1 : 0;
    NS4 = (document.layers) ? 1 : 0;
    ver4 = (IE4 || NS4) ? 1 : 0;

    if (ver4) {
        secondIm = "<IMG SRC='themes/gobritney/images/menu2.gif' USEMAP='#mpMenu' WIDTH=318 HEIGHT=70 BORDER=0>";
        arPopups = new Array()
    }
    else { secondIm = "" }

    function setBeginEnd(which,from,to) {
        arPopups[which] = new Array();
        arPopups[which][0] = from;
        arPopups[which][1] = to;
    }

    if (ver4) {
        setBeginEnd(1,0,55);
        setBeginEnd(2,56,145);
        setBeginEnd(3,146,251);
        setBeginEnd(4,252,340);
        setBeginEnd(5,341,414);
        setBeginEnd(6,415,506);
        setBeginEnd(7,507,567);
    }

    clTop = 0;
    clBot = 35;

    function mapOver(which,on) {
        if (!ver4) { return }
        if (IE4) { whichEl = document.all.elMenuOver.style }
            else { whichEl = document.elMenu.document.elMenuOver };

        if (!on) { whichEl.visibility = "hidden"; return }

        clLeft = arPopups[which][0];
        clRight = arPopups[which][1];

	if (NS4) {
            whichEl.clip.left = clLeft;
            whichEl.clip.right = clRight;
	}
	else {
            whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
	}

        whichEl.visibility = "visible" 
    }


