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

