var domLib_userAgent=navigator.userAgent.toLowerCase();var domLib_isMac=navigator.appVersion.indexOf("Mac")!=-1;var domLib_isWin=domLib_userAgent.indexOf("windows")!=-1;var domLib_isOpera=domLib_userAgent.indexOf("opera")!=-1;var domLib_isOpera7up=domLib_userAgent.match(/opera.(7|8)/i);var domLib_isSafari=domLib_userAgent.indexOf("safari")!=-1;var domLib_isKonq=domLib_userAgent.indexOf("konqueror")!=-1;var domLib_isKHTML=(domLib_isKonq||domLib_isSafari||domLib_userAgent.indexOf("khtml")!=-1);var domLib_isIE=(!domLib_isKHTML&&!domLib_isOpera&&(domLib_userAgent.indexOf("msie 5")!=-1||domLib_userAgent.indexOf("msie 6")!=-1||domLib_userAgent.indexOf("msie 7")!=-1));var domLib_isIE5up=domLib_isIE;var domLib_isIE50=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.0")!=-1);var domLib_isIE55=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.5")!=-1);var domLib_isIE5=(domLib_isIE50||domLib_isIE55);var domLib_isGecko=domLib_userAgent.indexOf("gecko/")!=-1;var domLib_isMacIE=(domLib_isIE&&domLib_isMac);var domLib_isIE55up=domLib_isIE5up&&!domLib_isIE50&&!domLib_isMacIE;var domLib_isIE6up=domLib_isIE55up&&!domLib_isIE55;var domLib_standardsMode=(document.compatMode&&document.compatMode=="CSS1Compat");var domLib_useLibrary=(domLib_isOpera7up||domLib_isKHTML||domLib_isIE5up||domLib_isGecko||domLib_isMacIE||document.defaultView);var domLib_hasBrokenTimeout=(domLib_isMacIE||(domLib_isKonq&&domLib_userAgent.match(/konqueror\/3.([2-9])/)==null));var domLib_canFade=(domLib_isGecko||domLib_isIE||domLib_isSafari||domLib_isOpera);var domLib_canDrawOverSelect=(domLib_isMac||domLib_isOpera||domLib_isGecko);var domLib_canDrawOverFlash=(domLib_isMac||domLib_isWin);var domLib_eventTarget=domLib_isIE?"srcElement":"currentTarget";var domLib_eventButton=domLib_isIE?"button":"which";var domLib_eventTo=domLib_isIE?"toElement":"relatedTarget";var domLib_stylePointer=domLib_isIE?"hand":"pointer";var domLib_styleNoMaxWidth=domLib_isOpera?"10000px":"none";var domLib_hidePosition="-1000px";var domLib_scrollbarWidth=14;var domLib_autoId=1;var domLib_zIndex=100;var domLib_collisionElements;var domLib_collisionsCached=false;var domLib_timeoutStateId=0;var domLib_timeoutStates=new Hash();if(!document.ELEMENT_NODE){document.ELEMENT_NODE=1;document.ATTRIBUTE_NODE=2;document.TEXT_NODE=3;document.DOCUMENT_NODE=9;document.DOCUMENT_FRAGMENT_NODE=11}function domLib_clone(E){var C={};for(var A in E){var B=E[A];try{if(B!=null&&typeof (B)=="object"&&B!=window&&!B.nodeType){C[A]=domLib_clone(B)}else{C[A]=B}}catch(D){C[A]=B}}return C}function Hash(){this.length=0;this.numericLength=0;this.elementData=[];for(var A=0;A<arguments.length;A+=2){if(typeof (arguments[A+1])!="undefined"){this.elementData[arguments[A]]=arguments[A+1];this.length++;if(arguments[A]==parseInt(arguments[A])){this.numericLength++}}}}Hash.prototype.get=function(A){if(typeof (this.elementData[A])!="undefined"){return this.elementData[A]}return null};Hash.prototype.set=function(B,A){if(typeof (A)!="undefined"){if(typeof (this.elementData[B])=="undefined"){this.length++;if(B==parseInt(B)){this.numericLength++}}return this.elementData[B]=A}return false};Hash.prototype.remove=function(A){var B;if(typeof (this.elementData[A])!="undefined"){this.length--;if(A==parseInt(A)){this.numericLength--}B=this.elementData[A];delete this.elementData[A]}return B};Hash.prototype.size=function(){return this.length};Hash.prototype.has=function(A){return typeof (this.elementData[A])!="undefined"};Hash.prototype.find=function(B){for(var A in this.elementData){if(this.elementData[A]==B){return A}}return null};Hash.prototype.merge=function(A){for(var B in A.elementData){if(typeof (this.elementData[B])=="undefined"){this.length++;if(B==parseInt(B)){this.numericLength++}}this.elementData[B]=A.elementData[B]}};Hash.prototype.compare=function(B){if(this.length!=B.length){return false}for(var A in this.elementData){if(this.elementData[A]!=B.elementData[A]){return false}}return true};function domLib_isDescendantOf(D,B,A){if(D==null){return false}if(D==B){return true}if(typeof (A)!="undefined"&&(","+A.join(",")+",").indexOf(","+D.tagName+",")!=-1){return false}while(D!=document.documentElement){try{if((tmp_object=D.offsetParent)&&tmp_object==B){return true}else{if((tmp_object=D.parentNode)==B){return true}else{D=tmp_object}}}catch(C){return false}}return false}function domLib_detectCollisions(G,F,D){if(!domLib_collisionsCached){var A=[];if(!domLib_canDrawOverFlash){A[A.length]="object"}if(!domLib_canDrawOverSelect){A[A.length]="select"}domLib_collisionElements=domLib_getElementsByTagNames(A,true);domLib_collisionsCached=D}if(F){for(var C=0;C<domLib_collisionElements.length;C++){var J=domLib_collisionElements[C];if(!J.hideList){J.hideList=new Hash()}J.hideList.remove(G.id);if(!J.hideList.length){domLib_collisionElements[C].style.visibility="visible";if(domLib_isKonq){domLib_collisionElements[C].style.display=""}}}return }else{if(domLib_collisionElements.length==0){return }}var I=domLib_getOffsets(G);for(var C=0;C<domLib_collisionElements.length;C++){var J=domLib_collisionElements[C];if(domLib_isDescendantOf(J,G)){continue}if(domLib_isKonq&&J.tagName=="SELECT"&&(J.size<=1&&!J.multiple)){continue}if(!J.hideList){J.hideList=new Hash()}var H=domLib_getOffsets(J);var E=Math.sqrt(Math.pow(H.get("leftCenter")-I.get("leftCenter"),2)+Math.pow(H.get("topCenter")-I.get("topCenter"),2));var B=H.get("radius")+I.get("radius");if(E<B){if((I.get("leftCenter")<=H.get("leftCenter")&&I.get("right")<H.get("left"))||(I.get("leftCenter")>H.get("leftCenter")&&I.get("left")>H.get("right"))||(I.get("topCenter")<=H.get("topCenter")&&I.get("bottom")<H.get("top"))||(I.get("topCenter")>H.get("topCenter")&&I.get("top")>H.get("bottom"))){J.hideList.remove(G.id);if(!J.hideList.length){J.style.visibility="visible";if(domLib_isKonq){J.style.display=""}}}else{J.hideList.set(G.id,true);J.style.visibility="hidden";if(domLib_isKonq){J.style.display="none"}}}}}function domLib_getOffsets(B,C){if(typeof (C)=="undefined"){C=false}var A=B;var G=B.offsetWidth;var F=B.offsetHeight;var E=0;var D=0;while(B){E+=B.offsetLeft;D+=B.offsetTop;B=B.offsetParent;if(B&&!C){E-=B.scrollLeft;D-=B.scrollTop}}if(domLib_isMacIE){E+=10;D+=10}return new Hash("left",E,"top",D,"right",E+G,"bottom",D+F,"leftCenter",E+G/2,"topCenter",D+F/2,"radius",Math.max(G,F))}function domLib_setTimeout(E,C,B){if(typeof (B)=="undefined"){B=[]}if(C==-1){return 0}else{if(C==0){E(B);return 0}}var A=domLib_clone(B);if(!domLib_hasBrokenTimeout){return setTimeout(function(){E(A)},C)}else{var F=domLib_timeoutStateId++;var D=new Hash();D.set("function",E);D.set("args",A);domLib_timeoutStates.set(F,D);D.set("timeoutId",setTimeout("domLib_timeoutStates.get("+F+").get('function')(domLib_timeoutStates.get("+F+").get('args')); domLib_timeoutStates.remove("+F+");",C));return F}}function domLib_clearTimeout(A){if(!domLib_hasBrokenTimeout){if(A>0){clearTimeout(A)}}else{if(domLib_timeoutStates.has(A)){clearTimeout(domLib_timeoutStates.get(A).get("timeoutId"));domLib_timeoutStates.remove(A)}}}function domLib_getEventPosition(B){var A=new Hash("x",0,"y",0,"scrollX",0,"scrollY",0);if(domLib_isIE){var C=(domLib_standardsMode?document.documentElement:document.body);if(C){A.set("x",B.clientX+C.scrollLeft);A.set("y",B.clientY+C.scrollTop);A.set("scrollX",C.scrollLeft);A.set("scrollY",C.scrollTop)}}else{A.set("x",B.pageX);A.set("y",B.pageY);A.set("scrollX",B.pageX-B.clientX);A.set("scrollY",B.pageY-B.clientY)}return A}function domLib_cancelBubble(B){var A=B?B:window.event;A.cancelBubble=true}function domLib_getIFrameReference(B){if(domLib_isGecko||domLib_isIE){return B.frameElement}else{var A=B.name;if(!A||!B.parent){return null}var D=B.parent.document.getElementsByTagName("iframe");for(var C=0;C<D.length;C++){if(D[C].name==A){return D[C]}}return null}}function domLib_getElementsByClass(E){var D=domLib_isIE5?document.all:document.getElementsByTagName("*");var C=[];var B=0;for(var A=0;A<D.length;A++){if((" "+D[A].className+" ").indexOf(" "+E+" ")!=-1){C[B++]=D[A]}}return C}function domLib_getElementsByTagNames(I,H){var G=[];for(var D=0;D<I.length;D++){var F=document.getElementsByTagName(I[D]);for(var B=0;B<F.length;B++){if(F[B].tagName=="OBJECT"&&domLib_isGecko){var E=F[B].childNodes;var C=false;for(var A=0;A<E.length;A++){if(E[A].tagName=="EMBED"){C=true;break}}if(C){continue}}if(H&&domLib_getComputedStyle(F[B],"visibility")=="hidden"){continue}G[G.length]=F[B]}}return G}function domLib_getComputedStyle(_44,_45){if(domLib_isIE){var _46=_45.replace(/-(.)/,function(a,b){return b.toUpperCase()});return eval("in_obj.currentStyle."+_46)}else{if(domLib_isKonq){return eval("in_obj.style."+_45)}else{return document.defaultView.getComputedStyle(_44,null).getPropertyValue(_45)}}}function makeTrue(){return true}function makeFalse(){return false}var domTT_offsetX=(domLib_isIE?-2:0);var domTT_offsetY=(domLib_isIE?4:2);var domTT_direction="southeast";var domTT_mouseHeight=domLib_isIE?13:19;var domTT_closeLink="X";var domTT_closeAction="hide";var domTT_activateDelay=500;var domTT_maxWidth=false;var domTT_styleClass="domTT";var domTT_fade="neither";var domTT_lifetime=0;var domTT_grid=0;var domTT_trailDelay=200;var domTT_useGlobalMousePosition=true;var domTT_postponeActivation=false;var domTT_tooltipIdPrefix="[domTT]";var domTT_screenEdgeDetection=true;var domTT_screenEdgePadding=4;var domTT_oneOnly=false;var domTT_cloneNodes=false;var domTT_detectCollisions=true;var domTT_bannedTags=["OPTION"];var domTT_draggable=false;if(typeof (domTT_dragEnabled)=="undefined"){domTT_dragEnabled=false}var domTT_predefined=new Hash();var domTT_tooltips=new Hash();var domTT_lastOpened=0;var domTT_documentLoaded=false;var domTT_mousePosition=null;if(domLib_useLibrary&&domTT_useGlobalMousePosition){document.onmousemove=function(A){if(typeof (A)=="undefined"){A=window.event}domTT_mousePosition=domLib_getEventPosition(A);if(domTT_dragEnabled&&domTT_dragMouseDown){domTT_dragUpdate(A)}}}function domTT_activate(H,G){if(!domLib_useLibrary||(domTT_postponeActivation&&!domTT_documentLoaded)){return false}if(typeof (G)=="undefined"){G=window.event}if(G!=null){var F=G.srcElement?G.srcElement:G.target;if(F!=null&&(","+domTT_bannedTags.join(",")+",").indexOf(","+F.tagName+",")!=-1){return false}}var E=document.body;if(G!=null&&G.type.match(/key|mouse|click|contextmenu/i)){if(H.nodeType&&H.nodeType!=document.DOCUMENT_NODE){E=H}}else{if(typeof (H)!="object"&&!(E=domTT_tooltips.get(H))){var D=document.createElement("div");E=document.body.appendChild(D);E.style.display="none";E.id=H}}if(!E.id){E.id="__autoId"+domLib_autoId++}if(domTT_oneOnly&&domTT_lastOpened){domTT_deactivate(domTT_lastOpened)}domTT_lastOpened=E.id;var C=domTT_tooltips.get(E.id);if(C){if(C.get("eventType")!=G.type){if(C.get("type")=="greasy"){C.set("closeAction","destroy");domTT_deactivate(E.id)}else{if(C.get("status")!="inactive"){return E.id}}}else{if(C.get("status")=="inactive"){C.set("status","pending");C.set("activateTimeout",domLib_setTimeout(domTT_runShow,C.get("delay"),[E.id,G]));return E.id}else{return E.id}}}var B=new Hash("caption","","content","","clearMouse",true,"closeAction",domTT_closeAction,"closeLink",domTT_closeLink,"delay",domTT_activateDelay,"direction",domTT_direction,"draggable",domTT_draggable,"fade",domTT_fade,"fadeMax",100,"grid",domTT_grid,"id",domTT_tooltipIdPrefix+E.id,"inframe",false,"lifetime",domTT_lifetime,"offsetX",domTT_offsetX,"offsetY",domTT_offsetY,"parent",document.body,"position","absolute","styleClass",domTT_styleClass,"type","greasy","trail",false,"lazy",false);for(var J=2;J<arguments.length;J+=2){if(arguments[J]=="predefined"){var A=domTT_predefined.get(arguments[J+1]);for(var I in A.elementData){B.set(I,A.get(I))}}else{B.set(arguments[J],arguments[J+1])}}B.set("eventType",G!=null?G.type:null);if(B.has("statusText")){try{window.status=B.get("statusText")}catch(K){}}if(!B.has("content")||B.get("content")==""||B.get("content")==null){if(typeof (E.onmouseout)!="function"){E.onmouseout=function(L){domTT_mouseout(this,L)}}return E.id}B.set("owner",E);domTT_create(B);B.set("delay",(G!=null&&G.type.match(/click|mousedown|contextmenu/i))?0:parseInt(B.get("delay")));domTT_tooltips.set(E.id,B);domTT_tooltips.set(B.get("id"),B);B.set("status","pending");B.set("activateTimeout",domLib_setTimeout(domTT_runShow,B.get("delay"),[E.id,G]));return E.id}function domTT_create(H){var F=H.get("owner");var D=H.get("parent");var C=D.ownerDocument||D.document;var B=C.createElement("div");var L=D.appendChild(B);L.style.position="absolute";L.style.left="0px";L.style.top="0px";L.style.visibility="hidden";L.id=H.get("id");L.className=H.get("styleClass");var K;var J=false;if(H.get("caption")||(H.get("type")=="sticky"&&H.get("caption")!==false)){J=true;var I=L.appendChild(C.createElement("table"));I.style.borderCollapse="collapse";if(domLib_isKHTML){I.cellSpacing=0}var G=I.appendChild(C.createElement("tbody"));var E=0;var b=G.appendChild(C.createElement("tr"));var a=b.appendChild(C.createElement("td"));a.style.padding="0px";var Z=a.appendChild(C.createElement("div"));Z.className="caption";if(domLib_isIE50){Z.style.height="100%"}if(H.get("caption").nodeType){Z.appendChild(domTT_cloneNodes?H.get("caption").cloneNode(1):H.get("caption"))}else{Z.innerHTML=H.get("caption")}if(H.get("type")=="sticky"){var E=2;var X=b.appendChild(C.createElement("td"));X.style.padding="0px";var V=X.appendChild(C.createElement("div"));V.className="caption";if(domLib_isIE50){V.style.height="100%"}V.style.textAlign="right";V.style.cursor=domLib_stylePointer;V.style.borderLeftWidth=Z.style.borderRightWidth="0px";V.style.paddingLeft=Z.style.paddingRight="0px";V.style.marginLeft=Z.style.marginRight="0px";if(H.get("closeLink").nodeType){V.appendChild(H.get("closeLink").cloneNode(1))}else{V.innerHTML=H.get("closeLink")}V.onclick=function(){domTT_deactivate(F.id)};V.onmousedown=function(c){if(typeof (c)=="undefined"){c=window.event}c.cancelBubble=true};if(domLib_isMacIE){X.appendChild(C.createTextNode("\n"))}}if(domLib_isMacIE){a.appendChild(C.createTextNode("\n"))}var R=G.appendChild(C.createElement("tr"));var P=R.appendChild(C.createElement("td"));P.style.padding="0px";if(E){if(domLib_isIE||domLib_isOpera){P.colSpan=E}else{P.setAttribute("colspan",E)}}K=P.appendChild(C.createElement("div"));if(domLib_isIE50){K.style.height="100%"}}else{K=L.appendChild(C.createElement("div"))}K.className="contents";var N=H.get("content");if(typeof (N)=="function"){N=N(H.get("id"))}if(N!=null&&N.nodeType){K.appendChild(domTT_cloneNodes?N.cloneNode(1):N)}else{K.innerHTML=N}if(H.has("width")){L.style.width=parseInt(H.get("width"))+"px"}var M=domTT_maxWidth;if(H.has("maxWidth")){if((M=H.get("maxWidth"))===false){L.style.maxWidth=domLib_styleNoMaxWidth}else{M=parseInt(H.get("maxWidth"));L.style.maxWidth=M+"px"}}if(M!==false&&(domLib_isIE||domLib_isKHTML)&&L.offsetWidth>M){L.style.width=M+"px"}H.set("offsetWidth",L.offsetWidth);H.set("offsetHeight",L.offsetHeight);if(domLib_isKonq&&J&&!L.style.width){var Y=document.defaultView.getComputedStyle(L,"").getPropertyValue("border-left-width");var W=document.defaultView.getComputedStyle(L,"").getPropertyValue("border-right-width");Y=Y.substring(Y.indexOf(":")+2,Y.indexOf(";"));W=W.substring(W.indexOf(":")+2,W.indexOf(";"));var U=2*((Y?parseInt(Y):0)+(W?parseInt(W):0));L.style.width=(L.offsetWidth-U)+"px"}if(domLib_isIE||domLib_isOpera){if(!L.style.width){L.style.width=(L.offsetWidth-2)+"px"}L.style.height=(L.offsetHeight-2)+"px"}var S,T;if(H.get("position")=="absolute"&&!(H.has("x")&&H.has("y"))){switch(H.get("direction")){case"northeast":S=H.get("offsetX");T=0-L.offsetHeight-H.get("offsetY");break;case"northwest":S=0-L.offsetWidth-H.get("offsetX");T=0-L.offsetHeight-H.get("offsetY");break;case"north":S=0-parseInt(L.offsetWidth/2);T=0-L.offsetHeight-H.get("offsetY");break;case"southwest":S=0-L.offsetWidth-H.get("offsetX");T=H.get("offsetY");break;case"southeast":S=H.get("offsetX");T=H.get("offsetY");break;case"south":S=0-parseInt(L.offsetWidth/2);T=H.get("offsetY");break}if(H.get("inframe")){var Q=domLib_getIFrameReference(window);if(Q){var O=domLib_getOffsets(Q);S+=O.get("left");T+=O.get("top")}}}else{S=0;T=0;H.set("trail",false)}H.set("offsetX",S);H.set("offsetY",T);if(H.get("clearMouse")&&H.get("direction").indexOf("south")!=-1){H.set("mouseOffset",domTT_mouseHeight)}else{H.set("mouseOffset",0)}if(domLib_canFade&&typeof (Fadomatic)=="function"){if(H.get("fade")!="neither"){var A=new Fadomatic(L,10,0,0,H.get("fadeMax"));H.set("fadeHandler",A)}}else{H.set("fade","neither")}if(H.get("trail")&&typeof (F.onmousemove)!="function"){F.onmousemove=function(c){domTT_mousemove(this,c)}}if(typeof (F.onmouseout)!="function"){F.onmouseout=function(c){domTT_mouseout(this,c)}}if(H.get("type")=="sticky"){if(H.get("position")=="absolute"&&domTT_dragEnabled&&H.get("draggable")){if(domLib_isIE){b.onselectstart=function(){return false}}b.onmousedown=function(c){domTT_dragStart(L,c)};b.onmousemove=function(c){domTT_dragUpdate(c)};b.onmouseup=function(){domTT_dragStop()}}}else{if(H.get("type")=="velcro"){L.onmouseout=function(c){if(typeof (c)=="undefined"){c=window.event}if(!domLib_isDescendantOf(c[domLib_eventTo],L,domTT_bannedTags)){domTT_deactivate(F.id)}};L.onclick=function(c){domTT_deactivate(F.id)}}}if(H.get("position")=="relative"){L.style.position="relative"}H.set("node",L);H.set("status","inactive")}function domTT_show(G,E){var B=domTT_tooltips.get(G);var L=B.get("status");var J=B.get("node");if(B.get("position")=="absolute"){var I,K;if(B.has("x")&&B.has("y")){I=B.get("x");K=B.get("y")}else{if(!domTT_useGlobalMousePosition||domTT_mousePosition==null||L=="active"||B.get("delay")==0){var H=domLib_getEventPosition(E);var F=H.get("x");var D=H.get("y");if(B.get("inframe")){F-=H.get("scrollX");D-=H.get("scrollY")}if(L=="active"&&B.get("trail")!==true){var C=B.get("trail");if(C=="x"){I=F;K=B.get("mouseY")}else{if(C=="y"){I=B.get("mouseX");K=D}}}else{I=F;K=D}}else{I=domTT_mousePosition.get("x");K=domTT_mousePosition.get("y");if(B.get("inframe")){I-=domTT_mousePosition.get("scrollX");K-=domTT_mousePosition.get("scrollY")}}}if(B.get("grid")){if(E.type!="mousemove"||(L=="active"&&(Math.abs(B.get("lastX")-I)>B.get("grid")||Math.abs(B.get("lastY")-K)>B.get("grid")))){B.set("lastX",I);B.set("lastY",K)}else{return false}}B.set("mouseX",I);B.set("mouseY",K);var A;if(domTT_screenEdgeDetection){A=domTT_correctEdgeBleed(B.get("offsetWidth"),B.get("offsetHeight"),I,K,B.get("offsetX"),B.get("offsetY"),B.get("mouseOffset"),B.get("inframe")?window.parent:window)}else{A={x:I+B.get("offsetX"),y:K+B.get("offsetY")+B.get("mouseOffset")}}J.style.left=A.x+"px";J.style.top=A.y+"px";J.style.zIndex=domLib_zIndex++}if(L=="pending"){B.set("status","active");J.style.display="";J.style.visibility="visible";var N=B.get("fade");if(N!="neither"){var M=B.get("fadeHandler");if(N=="out"||N=="both"){M.haltFade();if(N=="out"){M.halt()}}if(N=="in"||N=="both"){M.fadeIn()}}if(B.get("type")=="greasy"&&B.get("lifetime")!=0){B.set("lifetimeTimeout",domLib_setTimeout(domTT_runDeactivate,B.get("lifetime"),[J.id]))}}if(B.get("position")=="absolute"&&domTT_detectCollisions){domLib_detectCollisions(J,false,true)}}function domTT_close(B){var C;if(typeof (B)=="object"&&B.nodeType){var A=B;while(!A.id||!domTT_tooltips.get(A.id)){A=A.parentNode;if(A.nodeType!=document.ELEMENT_NODE){return }}C=A.id}else{C=B}domTT_deactivate(C)}function domTT_closeAll(){for(var A in domTT_tooltips.elementData){domTT_close(A)}}function domTT_deactivate(C){var A=domTT_tooltips.get(C);if(A){var F=A.get("status");if(F=="pending"){domLib_clearTimeout(A.get("activateTimeout"));A.set("status","inactive")}else{if(F=="active"){if(A.get("lifetime")){domLib_clearTimeout(A.get("lifetimeTimeout"))}var E=A.get("node");if(A.get("closeAction")=="hide"){var D=A.get("fade");if(D!="neither"){var B=A.get("fadeHandler");if(D=="out"||D=="both"){B.fadeOut()}else{B.hide()}}else{E.style.display="none"}}else{A.get("parent").removeChild(E);domTT_tooltips.remove(A.get("owner").id);domTT_tooltips.remove(A.get("id"))}A.set("status","inactive");if(domTT_detectCollisions){domLib_detectCollisions(E,true,true)}}}}}function domTT_mouseout(D,B){if(!domLib_useLibrary){return false}if(typeof (B)=="undefined"){B=window.event}var C=domLib_isDescendantOf(B[domLib_eventTo],D,domTT_bannedTags);var A=domTT_tooltips.get(D.id);if(A&&(A.get("type")=="greasy"||A.get("status")!="active")){if(!C){domTT_deactivate(D.id);try{window.status=window.defaultStatus}catch(E){}}}else{if(!C){try{window.status=window.defaultStatus}catch(E){}}}}function domTT_mousemove(C,B){if(!domLib_useLibrary){return false}if(typeof (B)=="undefined"){B=window.event}var A=domTT_tooltips.get(C.id);if(A&&A.get("trail")&&A.get("status")=="active"){if(A.get("lazy")){domLib_setTimeout(domTT_runShow,domTT_trailDelay,[C.id,B])}else{domTT_show(C.id,B)}}}function domTT_addPredefined(C){var B=new Hash();for(var A=1;A<arguments.length;A+=2){B.set(arguments[A],arguments[A+1])}domTT_predefined.set(C,B)}function domTT_correctEdgeBleed(I,H,O,N,M,L,K,J){var C,R;var G,Q;var F,P,A,B;var E=O+M;var D=N+L+K;C=(typeof (J)=="undefined"?window:J);R=((domLib_standardsMode&&(domLib_isIE||domLib_isGecko))?C.document.documentElement:C.document.body);if(domLib_isIE){F=R.clientHeight;P=R.clientWidth;A=R.scrollTop;B=R.scrollLeft}else{F=R.clientHeight;P=R.clientWidth;if(domLib_isKHTML){F=C.innerHeight}A=C.pageYOffset;B=C.pageXOffset}if((G=(E-B)+I-(P-domTT_screenEdgePadding))>0){E-=G}if((E-B)<domTT_screenEdgePadding){E=domTT_screenEdgePadding+B}if((Q=(D-A)+H-(F-domTT_screenEdgePadding))>0){D=N-H-L}if((D-A)<domTT_screenEdgePadding){D=N+domTT_mouseHeight+L}return{x:E,y:D}}function domTT_isActive(B){var A=domTT_tooltips.get(B);if(!A||A.get("status")!="active"){return false}else{return true}}function domTT_runDeactivate(A){domTT_deactivate(A[0])}function domTT_runShow(A){domTT_show(A[0],A[1])}function domTT_replaceTitles(D){var B=domLib_getElementsByClass("tooltip");for(var C=0;C<B.length;C++){if(B[C].title){var A;if(typeof (D)=="function"){A=D(B[C])}else{A=B[C].title}A=A.replace(new RegExp("'","g"),"\\'");B[C].onmouseover=new Function("in_event","domTT_activate(this, in_event, 'content', '"+A+"')");B[C].title=""}}}function domTT_update(F,E,D){if(typeof (D)=="undefined"){D="content"}var B=domTT_tooltips.get(F);if(!B){return }var C=B.get("node");var A;if(D=="content"){A=C.firstChild;if(A.className!="contents"){A=A.firstChild.firstChild.nextSibling.firstChild.firstChild}}else{A=C.firstChild;if(A.className=="contents"){return }A=A.firstChild.firstChild.firstChild.firstChild}A.innerHTML=E};