/*
Created by Sharon Paine of Dynamic Web Coding
www.dyn-web.com
*/
// avoid error of passing event object in older browsers
if (!document.layers && !document.all) {
event = "nope"
}
function doTooltip(x,y,txt) {
// enclose tip in nested tables for uniform 'tooltip' effect
// customize here
var tip = '
'
// check for object (i.e., layers or all)
// for Netscape 4+
if (document.layers) {
document.tooltip.document.write(tip)
document.tooltip.document.close()
document.tooltip.left = x + 8
document.tooltip.top = y + 8
document.tooltip.visibility = "show"
}
// for IE 4+
if (document.all) {
document.all.tooltip.style.zIndex = 100
document.all.tooltip.innerHTML = tip
document.all.tooltip.style.pixelLeft = x + 8
document.all.tooltip.style.pixelTop = y + 8
document.all.tooltip.style.visibility = "visible"
}
}
function hideTip() {
if (document.layers) {
document.tooltip.visibility = "hide"
}
if (document.all) {
document.all.tooltip.style.visibility = "hidden"
}
}