document.write("<div id='menutip'></div>");



//$Id: //IT/main/code/apps/web/niwc/Redesign_Development/Javascript/menu_rollover/menu_rollover.js#7 $
//Pop up information box II (Mike McGrath (mike_mcgrath@lineone.net,  http://website.lineone.net/~mike_mcgrath))
//Permission granted to Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://dynamicdrive.com

Xoffset=195;    // modify these values to ...
Yoffset= -10;    // change the popup position.
var agent = navigator.userAgent.toLowerCase();
var old,skn,iex=(document.all),yyy=0;

var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4_win=document.all&&(agent.indexOf("win")!=-1);

if (ns4)
skn=document.menutip
else if (ns6)
skn=document.getElementById("menutip").style
else if (ie4_win)
skn=document.all.menutip.style
if(ns4)document.captureEvents(Event.MOUSEMOVE);
else{
skn.visibility="visible"
skn.display="none"
}
document.onmousemove=get_mouse;

function popup(msg){
var content="<TABLE WIDTH=200 BORDER=1 BORDERCOLOR='#697033' CELLPADDING=2 CELLSPACING=0 BGCOLOR=#F2F2E7><TD ALIGN=left><span class='popup'>"+msg+"</span></TD></TABLE>";
yyy=Yoffset;
 if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(ns6){document.getElementById("menutip").innerHTML=content;skn.display=''}
 if(ie4_win){document.all("menutip").innerHTML=content;skn.display=''}
}

function get_mouse(e){
var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft;
skn.left=Xoffset;
var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop;
skn.top=y+yyy;
}

function kill(){
yyy=0;
if(ns4){skn.visibility="hidden";}
else if (ns6||ie4_win)
skn.display="none"
}


