var dialog=null;var manager=null;var Manager=function(a){this.pool=[];this.dialog=a};Manager.prototype={register:function(a){a.maxHHeight=getNodeBoundary(document.getElementById(a.id+"_text")).height;if(a.maxHHeight>a.getAttribute("maxHintHeight")){a.d=this.dialog;a.onmouseover=this.onOver;a.onmouseout=this.onOut;a.onmousemove=this.onMove;this.pool.push(a)}},onOver:function(b){this.d.setText(this.getAttribute("value"));var d=getCoordsfromEvent(b);var a=getCoordsfromEvent(b);var c=getNodeBoundary(this);this.d.setPos(a.x+15,c.top+c.height)},onOut:function(a){this.d.hide()},onMove:function(b){var a=getCoordsfromEvent(b);var c=getNodeBoundary(this);this.d.setPos(a.x+15,c.top+c.height)}};var Dialog=function(){this.div=document.createElement("DIV");this.div.id="hintDialog";this.div.style.position="absolute";this.div.style.overflow="hidden";this.div.style.border="1px solid #BFBFBF";this.div.style.backgroundColor="#F2F2F2";this.div.style.display="none";this.div.style.font="normal 9px Verdana";this.div.style.padding="2px";this.cPos=null};Dialog.prototype={init:function(){document.body.appendChild(this.div)},setText:function(a){this.div.innerHTML=a},setPos:function(a,d){this.div.style.display="";var c=800;var b=0;if(window.navigator.appName.indexOf("Nets")==0){c=window.innerHeight;b=window.scrollY}else{if(window.navigator.appName.indexOf("Micro")==0){c=document.body.clientHeight;b=document.body.scrollTop}}if(d+this.div.offsetHeight>c+b){d=c-this.div.offsetHeight+b}this.div.style.left=a+"px";this.div.style.top=d+"px"},show:function(){this.div.style.display=""},hide:function(){if(this.div){this.div.style.display="none"}if(this.dialog){this.dialog.div.style.display="none"}},isClosed:function(){if(this.div.style.display==""){return false}else{return true}}};initHints=function(d){if(dialog==null){dialog=new Dialog();dialog.init();dialog.setText("");manager=new Manager(dialog)}var a=document.getElementsByTagName("div");for(i=0;i-1)&&(b.className.indexOf("articleln")==-1)){var c=b.innerHTML;manager.register(b)}}};addLoadEvent(initHints);