/*
Text Link/Image Map Tooltip Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, and 100's more DHTML scripts
Visit http://www.dynamicdrive.com
*/
if (!document.layers&&!document.all&&!document.getElementById)
event="test"

function showtip(current,e,text){
window.status='Look up reference -- hold mouse over link';

if (document.all||document.getElementById){
/*
thetitle=text.split('<br>')
if (thetitle.length>1){
thetitles=''
for (i=0;i<thetitle.length;i++)
thetitles+=thetitle[i]
current.title=thetitles
}
else
*/
current.title=text
}

else if (document.layers){
		document.tooltip.left=e.pageX;
		document.tooltip.top=e.pageY+20;
		document.tooltip.document.write('<layer><table width=250 border=0 cellspacing=0 cellpadding=0><tr><td');
		if ((document.tooltip.left + 260) > innerWidth)
		{
			document.tooltip.left=document.tooltip.left-250;
			document.tooltip.document.write(' align=right');
		}
		document.tooltip.document.write('><table bgColor="#FFFFE7" border=0 cellpadding=0 cellspacing=0><tr><td>');
		document.tooltip.document.write('<p style="border:1px solid black;"><font face="Arial,Helvetica,sans-serif" color=#424242 size=-2>'+text+'</font></p></td></tr></table></td></tr></table></layer>');
		document.tooltip.document.close();
		document.tooltip.visibility="show";
}
}
function hidetip(){
window.status='';
if (document.layers)
document.tooltip.visibility="hidden"
}

