home *** CD-ROM | disk | FTP | other *** search
- IE4 = (document.all) ? 1 : 0;
- NS4 = (document.layers) ? 1 : 0;
- ver4 = (IE4 || NS4) ? 1 : 0;
-
-
- if (ver4)
- {
- secondImg = "<IMG SRC='images/1-new.gif' USEMAP='#on' BORDER='0'>";
-
-
- arPopups = new Array()
- arPopupsUp = new Array()
- }
- else
- {
- secondImg = ""
- secondImgUp = ""
- }
-
- 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;
- }
-
- function setBeginEndUp(which, left, top, right, bottom)
- {
- arPopupsUp[which] = new Array();
- arPopupsUp[which][0] = left;
- arPopupsUp[which][1] = top;
- arPopupsUp[which][2] = right;
- arPopupsUp[which][3] = bottom;
- }
-
-
- if (ver4)
- {
- setBeginEnd(1,127,12,175,28);
- setBeginEnd(2,75,37,134,58);
- setBeginEnd(3,7,69,109,99);
- setBeginEnd(4,8,124,67,151);
- setBeginEnd(5,4,173,55,196);
- setBeginEnd(6,4,309,74,332);
- setBeginEnd(7,5,347,90,366);
- setBeginEnd(8,19,387,106,406);
- setBeginEnd(9,14,420,124,443);
-
- }
-
-
- function mapOver(which,on)
- {
- if (!ver4) { return }
- if (IE4)
- {
- whichEl = document.all.logoover.style;
- }
- else
- {
- whichEl = document.logoover;
-
- }
-
- clLeft = arPopups[which][0];
- clTop = arPopups[which][1];
- clRight = arPopups[which][2];
- clBot = arPopups[which][3];
-
- if (!on) { whichEl.visibility = "hidden"; return }
- if (NS4)
- {
- whichEl.clip.left = clLeft;
- whichEl.clip.top = clTop;
- whichEl.clip.right = clRight;
- whichEl.clip.bottom = clBot
- }
- else
- {
- whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
- }
-
- whichEl.visibility = "visible"
- }
-
-