// general preferences
Background = ""; DivWidth="250"; DivHeight="85"; Above="Yes";
Bordercolor = "#10497B"; Bgcolor="#FFFBF4"; Bgtitle = "#FFFBF4";
BroW = parseInt(navigator.appVersion);
NaM = navigator.appName;
if (BroW >= 4) {Vs = true;} else {Vs = false;}
if (NaM == "Netscape") {NaM = SP = 2;} else {NaM = SP = 1;}
ox = oy = 0; See = false; NeW = false;
DiVW = DivWidth; if (DiVW == "") {DiVW = 250;}
Avail = screen.availWidth;
DiVH = DivHeight; if (DiVH == "") {DiVH = 85;}
function track(e) {
if (document.all) {
ox = event.clientX + document.body.scrollLeft;
oy = event.clientY + document.body.scrollTop;
} else {
ox = e.pageX;
oy = e.pageY;
}
if (ox <= (Avail/2)) {
ox = ox + 10;
} else {
ox = ox - 10 - DiVW;
}
//oy = oy - parseFloat(DiVH);
if (document.all)
{oy = oy - parseFloat(document.all['tooltip'].offsetHeight);}
else
{oy = oy - parseFloat(document.getElementById('tooltip').offsetHeight);}
if (See == true) {DisPlay();}
}
function St(loc) {
if ((Vs == true) && (NeW == true)) {
hel = Help[loc];
pos = hel.indexOf(':',0);
titl = hel.substr(0,pos);
text = hel.substr(pos+1,999);
box = '
';
box += '';
if (titl != "") {
box += '| ';
box += titl ; box += ' | ';
}
box += '| ';
box += text ; box += ' | ';
box += ' |
';
See = true;
if (document.all) {
document.all['tooltip'].innerHTML = box;
} else {
document.getElementById('tooltip').innerHTML = box;
}
DisPlay();
}
}
function DisPlay() {
if (document.all) {
document.all['tooltip'].style.posLeft = ox;
document.all['tooltip'].style.posTop = oy;
document.all['tooltip'].style.visibility = "visible";
document.all['tooltip'].style.zIndex = 99;
} else {
document.getElementById('tooltip').style.position = "absolute";
document.getElementById('tooltip').style.left = ox;
document.getElementById('tooltip').style.top = oy;
document.getElementById('tooltip').style.visibility = "visible";
document.getElementById('tooltip').style.zIndex = 99;
}
}
function Ht() {
See = false;
if ((Vs == true) && (NeW == true)) {
if (document.all) {
document.all['tooltip'].style.visibility = "hidden";
} else {
document.getElementById('tooltip').style.visibility = "hidden";
}
}
}
function StArt() {
if (Vs == true) {
NeW = true;
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = track;
if (document.all) {
document.all['tooltip'].style.width = DiVW;
if (Bordercolor == "") {
document.all['tooltip'].style.backgroundColor = Bgcolor;
}
if (document.all['disp0']) {
BStart();
}
} else {
document.getElementById('tooltip').style.width = DiVW;
if (Bordercolor == "") {
document.getElementById('tooltip').bgColor = Bgcolor;
}
if (document.getElementById('disp0')) {
BStart();
}
}
}
}
if(window.onload == null) {
window.onload = StArt;
} else {
strHack = new String(window.onload);
strHack = strHack.slice(strHack.indexOf("{") + 1, strHack.indexOf("}"));
strHack = strHack + " StArt();";
window.onload = new Function(strHack);
}