
function showtip( current, event, text )
{
	var totalLen = text.length;
	if (totalLen > 0)
	{
		if (document.all)
		{
			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 )
		{
			dwidth=document.width;
			document.tooltip.document.write('<layer bgColor="#ffffe0" style="border:1px solid black;font-family:Arial,Sans Serif; font-size:14px;">' + text + '</layer>');
			document.tooltip.document.close();
			layer_width=event.pageX +5+ totalLen*6;
			if( layer_width > dwidth )
			{
				startposition=event.pageX+5 - layer_width + dwidth;
				if (startposition<0)
					document.tooltip.left=5;
				else
					document.tooltip.left=startposition;
			}
			else
			{
				document.tooltip.left=event.pageX+5;
			}			
			document.tooltip.top=event.pageY+5;
			
			document.tooltip.visibility="show";
		}
	}
}

function hidetip()
{
	if ( document.layers ) document.tooltip.visibility="hidden";
}

function doNotGo()
{
	return false;
}