function showtip(current,e,tip,offset,offsetHeight)
{
	//alert('showtip:'+current+':'+e+':'+tip+':'+offset+':'+offsetHeight);
	if (offset == null) {
		offset = 0;
	}
	if (offsetHeight == null) {
		offsetHeight = 0;
	}
	if (document.layers) // Netscape 4.0+
	{
		theString="<DIV CLASS='ttip'>"+tip[num]+"</DIV>";
		document.tooltip.document.write(theString);
		document.tooltip.document.close();
		document.tooltip.left=e.pageX+14;
		document.tooltip.top=e.pageY+2;
		document.tooltip.visibility="show";
	}
	else if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
	{
		elm=document.getElementById("tooltip");
		elml=current;
		elm.innerHTML=tip;
		elm.style.height=elml.style.height;
		newTop = elml.offsetTop+elml.offsetHeight+offsetHeight;
		newLeft = elml.offsetLeft+offset;
		elm.style.top=parseInt(newTop);
		elm.style.left=parseInt(newLeft);
		elm.style.visibility = "visible";
	}
}
		
function hidetip()
{
	if (document.layers) // Netscape 4.0+
	{
		document.tooltip.visibility="hidden"
	}
	else
	{
		if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
		{
			elm.style.visibility="hidden"
		}
	} 
}