//-----------------------------------------------------
var ns4=document.layers?1:0
var ie4=document.all?1:0
var dom=document.getElementById&&!document.all?1:0
//-----------------------------------------------------
function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}
//-----------------------------------------------------
arPopups = new Array()
setBeginEnd(1,35,69,150,137);
setBeginEnd(2,26,173,151,232);
setBeginEnd(3,24,249,138,322);
setBeginEnd(4,47,405,149,468);
//-----------------------------------------------------
function mapOver(which,on) {
    if (ie4) { obj = document.all("navOver") }
	if (ns4) { obj = eval("document.navOver") }
    if (dom) { obj = document.getElementById("navOver") }

    if (!on) { obj.style.visibility = "hidden"; return }

    clLeft = arPopups[which][0];
    clTop = arPopups[which][1]
    clRight = arPopups[which][2];
    clBot = arPopups[which][3];

	if (ns4) {
    	obj.style.clip.left = clLeft;
    	obj.style.clip.top = clTop;
        obj.style.clip.right = clRight;
		obj.style.clip.bottom = clBot;

	}
	else {
        obj.style.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
	}

    obj.style.visibility = "visible" 
}
//-----------------------------------------------------
function setBeginEnd(which,left,top,right,bottom) {
    arPopups[which] = new Array();
    arPopups[which][0] = left;
	arPopups[which][1] = top;
	arPopups[which][2] = right;
	arPopups[which][3] = bottom;
}
//-----------------------------------------------------