var agt = navigator.userAgent.toLowerCase(); var is_safari = (agt.indexOf("safari")!=-1); var is_major = parseInt(navigator.appVersion); var is_minor = parseFloat(navigator.appVersion); var is_DOM = (document.getElementById) ? true : false; var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1)); var is_nav4 = (is_nav && (is_major == 4)); var is_nav4up = (is_nav && (is_major >= 4)); var is_ie = (agt.indexOf("msie") != -1); var is_ie4up = (is_ie && (is_major >= 4)); var ver4 = (is_ie4up || is_nav4up) ? 1 : 0; function setBeginEnd(which,from,to) { arPopups[which] = new Array(); arPopups[which][0] = from; arPopups[which][1] = to; } function mapOver(which,on) { if (arPopups[which] == null) return; if (!ver4) return; if (is_DOM) { var el = document.getElementById("elMenuOver"); whichEl = el.style; } else if (is_ie4up) {whichEl = document.all.elMenuOver.style; } else {whichEl = document.elMenuOver; } if (!on) { whichEl.visibility = "hidden"; return; } clLeft = arPopups[which][0]; clRight = arPopups[which][1]; if (is_nav4) { whichEl.clip.left = clLeft; whichEl.clip.right = clRight; } else { whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")"; } whichEl.visibility = "visible"; } function mapOn(which) { if (arPopups[which] == null) return; if (!ver4) return; if (is_DOM) { var el = document.getElementById("elMenuOn"); whichEl = el.style; } else if (is_ie4up) whichEl = document.all.elMenuOn.style; else whichEl = document.elMenuOn; clLeft = arPopups[which][0]; clRight = arPopups[which][1]; if (is_nav4) { whichEl.clip.left = clLeft; whichEl.clip.right = clRight; } else whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")"; whichEl.visibility = "visible"; } if (ver4) { arPopups = new Array() setBeginEnd("1_1",0,0); setBeginEnd("1_2",0,47); setBeginEnd("1_3",50,132); setBeginEnd("1_4",135,177); setBeginEnd("1_5",180,238); setBeginEnd("1_6",241,319); setBeginEnd("1_7",318,388); setBeginEnd("1_8",390,530); setBeginEnd("1_9",530,631); } clTop = 0; clBot = 24; if (is_safari) { document.write('' + ''); } else { document.write('' + ''); }