var tooltip=function(){var b="tt";var l=3;var d=3;var k=300;var e=10;var c=20;var i=95;var f=0;var j,g;var a=document.all?true:false;return{show:function(m,h){if(j==null){j=document.createElement("div");j.setAttribute("id",b);document.body.appendChild(j);j.style.opacity=0;j.style.filter="alpha(opacity=0)";document.onmousemove=this.pos}j.style.display="block";j.innerHTML=m;j.style.width=h?h+"px":"auto";if(j.offsetWidth>k){j.style.width=k+"px"}g=parseInt(j.offsetHeight)+l;clearInterval(j.timer);j.timer=setInterval(function(){tooltip.fade(1)},c)},pos:function(n){var m=a?event.clientY+document.documentElement.scrollTop:n.pageY;var h=a?event.clientX+document.documentElement.scrollLeft:n.pageX;j.style.top=(m-g)+"px";j.style.left=(h+d)+"px"},fade:function(n){var h=f;if((h!=i&&n==1)||(h!=0&&n==-1)){var m=e;if(i-h<e&&n==1){m=i-h}else{if(f<e&&n==-1){m=h}}f=h+(m*n);j.style.opacity=f*0.01;j.style.filter="alpha(opacity="+f+")"}else{clearInterval(j.timer);if(n==-1){j.style.display="none"}}},hide:function(){clearInterval(j.timer);j.timer=setInterval(function(){tooltip.fade(-1)},c)}}}();