var tooltip=function(){var B="tt";var M=3;var D=3;var L=330;var E=10;var C=20;var H=95;var F=0;var I,N,J,K,G;var A=document.all?true:false;return{show:function(P,O){if(I==null){I=document.createElement("div");I.setAttribute("id",B);N=document.createElement("div");N.setAttribute("id",B+"top");J=document.createElement("div");J.setAttribute("id",B+"cont");K=document.createElement("div");K.setAttribute("id",B+"bot");I.appendChild(N);I.appendChild(J);I.appendChild(K);document.body.appendChild(I);I.style.opacity=0;I.style.filter="alpha(opacity=0)";document.onmousemove=this.pos}I.style.display="block";J.innerHTML=P;I.style.width=O?O+"px":"auto";if(!O&&A){N.style.display="none";K.style.display="none";I.style.width=I.offsetWidth;N.style.display="block";K.style.display="block"}if(I.offsetWidth>L){I.style.width=L+"px"}G=parseInt(I.offsetHeight)+M;clearInterval(I.timer);I.timer=setInterval(function(){tooltip.fade(1)},C)},pos:function(Q){var P=A?event.clientY+document.documentElement.scrollTop:Q.pageY;var O=A?event.clientX+document.documentElement.scrollLeft:Q.pageX;I.style.top=(P-G)+"px";I.style.left=(O+D)+"px"},fade:function(Q){var O=F;if((O!=H&&Q==1)||(O!=0&&Q==-1)){var P=E;if(H-O<E&&Q==1){P=H-O}else{if(F<E&&Q==-1){P=O}}F=O+(P*Q);I.style.opacity=F*0.01;I.style.filter="alpha(opacity="+F+")"}else{clearInterval(I.timer);if(Q==-1){I.style.display="none"}}},hide:function(){clearInterval(I.timer);I.timer=setInterval(function(){tooltip.fade(-1)},C)}}}();