
function tooltip(d,E,b,i,a){

d=document;E=d.documentElement;b=d.body;if(!E)return;

for(i=0;a=b.getElementsByTagName("a")[i];i++){

if(a.title){

with(a.t=d.createElement("div")){

id="tooltip"

innerHTML=a.title.replace(/\|/g,"")

}

a.onmouseover=function(e){

with(this){title="";onmousemove(e)}

b.appendChild(this.t)

}

a.onmouseout=function(x){

with(this){title=t.innerHTML.replace(/<br \/>/g,"\|")}

if(x=d.getElementById("tooltip"))b.removeChild(x)

}

a.onmousemove=function(e){

e=e||event;with(this.t.style){

left=e.clientX+(E.scrollLeft||b.scrollLeft)-150+"px"

top=e.clientY+(E.scrollTop||b.scrollTop)-10+"px"

}

}

}

}

}

function addEvent(O,E,F,x){

return(x=O.addEventListener)?x(E,F,1):(x=O.attachEvent)?x('on'+E,F):!1

}

addEvent(window,'load',tooltip);

