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