var TOOLTIPDELAY
function ItemMouseMove (e) {
	var  xt, yt, ht, ww, xx, yy, hh 
	if (!TOOLTIPDELAY) return false 
	var x = (is.ns)? e.layerX:event.offsetX
	var y = (is.ns)? e.layerY:event.offsetY
	if (is.ns4 && e.target!=document) routeEvent(e)
	var h = WindowHeight()
	var w = WindowWidth()
	if (is.ns){ w = w - 20;
		    h = h - 20;
	}
	var h2 = h/2
	eval('hh='+this.id+'TP.h')
	eval('ww='+this.id+'TP.w')
	eval('ht='+this.id+'.h')
	eval('yt='+this.id+'.y')
	eval('xt='+this.id+'.x')

	if (yt>h2){
		yy = y +yt - ht - hh;
		if (yy<0) yy=5;
	}				
	else {
		yy = y+ yt + ht;
		if ((yy+hh)>h) yy = h - hh;
	}				
	xx = xt + x +5
	if (xx+ww > w) xx = w - ww-5
	if (xx<0) xx= 5
	eval(this.id +'TP.moveTo('+xx+', '+yy+')')	
	if (x + xt < 2 || x + xt > w-2 || 
		y + yt < 2 || y + yt > h - 2) {
		this.MouseShow = false;
		this.MouseDelay = false;	
		eval(this.id+'TP.hide()');
	}
	else this.MouseShow = true
	if (!this.MouseDelay) {
		setTimeout('if('+this.id+'.elm.MouseShow) '+this.id + 'TP.show()',  
			TOOLTIPDELAY);
		this.MouseDelay = true;
	}
	return false
}

function ItemMouseOut() {
	this.MouseDelay = false;					
	this.MouseShow = false;
	eval(this.id+'TP.hide()');
	return false;		
}

