var hfxTipTimer;
var hfxTipPath;
var hfxTipVisible=0;
var hfxTipXY=[0,0];

function hfxTip(txt){
	hfxTipXY=[(mouseX(event)),(mouseY(event)+20)];
	if(hfxTipVisible) hfxTipShow(txt);
	else hfxTipTimer=setTimeout('hfxTipShow(\''+txt+'\')',1000);
	event.srcElement.attachEvent('onmouseout',hfxTipHide);
	event.srcElement.attachEvent('onmousedown',hfxTipHide);
	event.srcElement.attachEvent('onmousemove',hfxTipTrack);
}
function hfxTipTrack(){
	hfxTipXY=[(mouseX(event)),(mouseY(event)+20)];
}
function hfxTipShow(txt){
	clearTimeout(hfxTipTimer);
	hfxTipVisible=1;
	var tip=d.createElement('span');
	tip.style.position='absolute';
	tip.innerHTML=txt;
	tip.className='hfxTip';
	tip.style.left=hfxTipXY[0]+'px';
	tip.style.top=hfxTipXY[1]+'px';
	hfxTipPath=d.body.appendChild(tip);
}
function hfxTipHide(){
	if(hfxTipVisible)hfxTipPath.removeNode(1);
	clearTimeout(hfxTipTimer);
	hfxTipTimer=setTimeout('hfxTipVisible=0',250)
	event.srcElement.detachEvent('onmouseout',hfxTipHide);
	event.srcElement.detachEvent('onmousedown',hfxTipHide);
	event.srcElement.detachEvent('onmousemove',hfxTipTrack);
}