Xoffset= -80;    // modify these values to ...
Yoffset= 20;    // change the popup position
var dekvis = 0;
var nav,old,iex=(document.all),yyy=-1000;
if(navigator.appName=="Netscape"){(document.layers)?nav=true:old=true;}

if(!old){
var skn=(nav)?document.dek:dek.style;
if(nav)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=get_mouse;
}


function get_mouse(e){
if (dekvis==1){
//if (dek.style.visibility=="visible"){
	if (navigator.appVersion.indexOf("Mac") > 0){document.all.dek.innerHTML = document.all.dek.innerHTML + "<table><td></td></table>"}
		var x=(nav)?e.pageX:event.x+document.body.scrollLeft;skn.left=x+Xoffset;
		var y=(nav)?e.pageY:event.y+document.body.scrollTop;skn.top=y+yyy;
		skn.visibility="visible"
	}

}

function Tooltip(objName){
	//Methods
		this.Ad = tt_Ad
		this.Show = tt_Show
		this.Hide = tt_Hide
	//Properties
		if (!objName) this.objName = "myTooltip"; else this.objName = objName
		this.title = new Array() //init tt array
		this.text = new Array() //init tt array
		this.current = 0 //init current tt
		this.size = 0 //init size
}

function tt_Ad(id, title, text) {
/*	this.size++;
	this.tt[this.size] = new Object()

	this.tt[this.size].title = title
	this.tt[this.size].text = text
*/
	this.title[id]=title
	this.text[id]=text
}

function tt_Show(pos){
var content="<TABLE  WIDTH=150 BORDER=0 CELLPADDING=3 CELLSPACING=0>"+
"<TR><TD ALIGN='left' class='ttTitle'>"+this.title[pos]+"</TD></TR><TR><TD class='ttText'>"+this.text[pos]+"</TD></TR></TABLE>";
if(old){
return;} 
else{yyy=Yoffset;
 if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(iex){document.all("dek").innerHTML=content;}
 }
dekvis=1;
}

function tt_Hide(){
//if(!old){yy=-1000;dokument.all.dek.visibility="hidden";}
//document.all.dek.style.left=10px";
	if(!old){yyy=-1000;skn.visibility="hidden"}
	dekvis=0
}

function moreTooltip(morePath){
window.open(morePath,"_new",",width=350,height=350");
}

function moreTT(TT_Path){
	window.open(TT_Path,"_new",",width=700,height=500");
}


