function doHelp(evt, helpText) {
var x=y=thisHeight=0;
var insertText = '
'
if (evt != '') {
if (!clientis_IE4) {
x = evt.pageX+22;
y = evt.pageY-20;
thisHeight = document.height;
} else {
x = Math.max(evt.clientX+20, 3);
y = Math.max(evt.clientY-9, 3);
if (!clientis_Nav5plus)
thisHeight = document.body.clientHeight;
else {
thisHeight = window.innerHeight;
}
}
}
if (thisHeight > 0) {
y = Math.min(thisHeight-26,y)
x = Math.max(x, 3);
y = Math.max(y, 0);
}
if (!clientis_IE4) {
document.layers.helpBox.document.write (insertText);
document.layers.helpBox.document.close();
} else {
documentAll.helpBox.innerHTML = insertText;
}
moveTo( documentAll.helpBox, y, x )
showHide (documentAll.helpBox, 'visible');
}
function moveTo(moveThis, moveTop, moveLeft) {
if (clientis_Nav4){
moveThis.top = moveTop;
moveThis.left = moveLeft;
}else{
if(clientis_Nav5plus){
moveThis.style.top = moveTop;
moveThis.style.left = moveLeft;
}else{
moveThis.style.pixelTop = moveTop;
moveThis.style.pixelLeft = moveLeft;
}
}
}
function showHide (layerStr, showHideStr, dontFlipDisplay) {
if (document.layers){
layerStr.visibility = showHideStr;
}else{
layerStr.style.visibility = showHideStr;
layerStr.style.display = ((showHideStr.toLowerCase() == 'visible')&&(!dontFlipDisplay)) ? 'inline' : 'none' ;
}
}