var index = (document.all);
var locator = (document.layers);
var skin = (locator) ? document.topdeck : topdeck.style;
if (locator) document.captureEvents(Event.MOUSEMOVE);
//document.onmousemove = get_mouse;  

function display(title,msg,bak)
{
var content ="<TABLE WIDTH=248 BORDER=0 CELLPADDING=1 CELLSPACING=0 class=InfoWinBorder><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD class=InfoWinTitle align=center>"+title+"</TD></TR><TR><TD class=InfoWin>"+msg+"</TD></TR><TR><TD class=InfoWinMoreDetails align=center>Click for more details...</TD></TR></TABLE>";
get_mouse(event);

if (locator)
{
skin.document.write(content);
skin.document.close();
skin.visibility = "visible";
}
else if (index)
{
document.all("topdeck").innerHTML = content;
skin.visibility = "visible";
}
}

function get_mouse(e)
{
var x = (locator) ? e.pageX : event.x+document.body.scrollLeft;
var y = (locator) ? e.pageY : event.y+document.body.scrollTop;
skin.left = x-150;
skin.top = y+20;
}

function kill()
{
skin.visibility = "hidden";
}

