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&&(/MSIE\s([\d.]+)/i.test(domLib_userAgent)));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 zc_domTT_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(D){var E={};for(var A in D){var B=D[A];try{if(B!=null&&typeof (B)=="object"&&B!=window&&!B.nodeType){E[A]=domLib_clone(B)}else{E[A]=B}}catch(C){E[A]=B}}return E}function zc_domTT_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++}}}}zc_domTT_Hash.prototype.get=function(A){return this.elementData[A]};zc_domTT_Hash.prototype.set=function(A,B){if(typeof (B)!="undefined"){if(typeof (this.elementData[A])=="undefined"){this.length++;if(A==parseInt(A)){this.numericLength++}}return this.elementData[A]=B}return false};zc_domTT_Hash.prototype.remove=function(B){var A;if(typeof (this.elementData[B])!="undefined"){this.length--;if(B==parseInt(B)){this.numericLength--}A=this.elementData[B];delete this.elementData[B]}return A};zc_domTT_Hash.prototype.size=function(){return this.length};zc_domTT_Hash.prototype.has=function(A){return typeof (this.elementData[A])!="undefined"};zc_domTT_Hash.prototype.find=function(A){for(var B in this.elementData){if(this.elementData[B]==A){return B}}};zc_domTT_Hash.prototype.merge=function(B){for(var A in B.elementData){if(typeof (this.elementData[A])=="undefined"){this.length++;if(A==parseInt(A)){this.numericLength++}}this.elementData[A]=B.elementData[A]}};zc_domTT_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(B,A){if(B==A){return true}while(B!=document.documentElement){try{if((tmp_object=B.offsetParent)&&tmp_object==A){return true}else{if((tmp_object=B.parentNode)==A){return true}else{B=tmp_object}}}catch(C){return true}}return false}function domLib_detectCollisions(F,E,H){if(!domLib_collisionsCached){var J=[];if(!domLib_canDrawOverFlash){J[J.length]="object"}if(!domLib_canDrawOverSelect){J[J.length]="select"}domLib_collisionElements=domLib_getElementsByTagNames(J,true);domLib_collisionsCached=H}if(E){for(var B=0;B<domLib_collisionElements.length;B++){var A=domLib_collisionElements[B];if(!A.hideList){A.hideList=new zc_domTT_Hash()}A.hideList.remove(F.id);if(!A.hideList.length){domLib_collisionElements[B].style.visibility="visible";if(domLib_isKonq){domLib_collisionElements[B].style.display=""}}}return }else{if(domLib_collisionElements.length==0){return }}var D=domLib_getOffsets(F);for(var B=0;B<domLib_collisionElements.length;B++){var A=domLib_collisionElements[B];if(domLib_isDescendantOf(A,F)){continue}if(domLib_isKonq&&A.tagName=="SELECT"&&(A.size<=1&&!A.multiple)){continue}if(!A.hideList){A.hideList=new zc_domTT_Hash()}var C=domLib_getOffsets(A);var I=Math.sqrt(Math.pow(C.get("leftCenter")-D.get("leftCenter"),2)+Math.pow(C.get("topCenter")-D.get("topCenter"),2));var G=C.get("radius")+D.get("radius");if(I<G){if((D.get("leftCenter")<=C.get("leftCenter")&&D.get("right")<C.get("left"))||(D.get("leftCenter")>C.get("leftCenter")&&D.get("left")>C.get("right"))||(D.get("topCenter")<=C.get("topCenter")&&D.get("bottom")<C.get("top"))||(D.get("topCenter")>C.get("topCenter")&&D.get("top")>C.get("bottom"))){A.hideList.remove(F.id);if(!A.hideList.length){A.style.visibility="visible";if(domLib_isKonq){A.style.display=""}}}else{A.hideList.set(F.id,true);A.style.visibility="hidden";if(domLib_isKonq){A.style.display="none"}}}}}function domLib_getOffsets(A){var F=A;var E=A.offsetWidth;var D=A.offsetHeight;var C=0;var B=0;while(A){C+=A.offsetLeft;B+=A.offsetTop;A=A.offsetParent}if(domLib_isMacIE){C+=10;B+=10}return new zc_domTT_Hash("left",C,"top",B,"right",C+E,"bottom",B+D,"leftCenter",C+E/2,"topCenter",B+D/2,"radius",Math.max(E,D))}function domLib_setTimeout(A,D,B){if(typeof (B)=="undefined"){B=[]}if(D==-1){return }else{if(D==0){A(B);return 0}}var C=domLib_clone(B);if(!domLib_hasBrokenTimeout){return setTimeout(function(){A(C)},D)}else{var F=domLib_timeoutStateId++;var E=new zc_domTT_Hash();E.set("function",A);E.set("args",C);domLib_timeoutStates.set(F,E);E.set("timeoutId",setTimeout("domLib_timeoutStates.get("+F+").get('function')(domLib_timeoutStates.get("+F+").get('args')); domLib_timeoutStates.remove("+F+");",D));return F}}function domLib_clearTimeout(A){if(!domLib_hasBrokenTimeout){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 zc_domTT_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(D){if(domLib_isGecko||domLib_isIE){return D.frameElement}else{var A=D.name;if(!A||!D.parent){return }var C=D.parent.document.getElementsByTagName("iframe");for(var B=0;B<C.length;B++){if(C[B].name==A){return C[B]}}}}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(D,C){var F=[];for(var B=0;B<D.length;B++){var E=document.getElementsByTagName(D[B]);for(var A=0;A<E.length;A++){if(C&&domLib_getComputedStyle(E[A],"visibility")=="hidden"){continue}F[F.length]=E[A]}}return F}function domLib_getComputedStyle(in_obj,in_property){if(domLib_isIE){var humpBackProp=in_property.replace(/-(.)/,function(a,b){return b.toUpperCase()});return eval("in_obj.currentStyle."+humpBackProp)}else{if(domLib_isKonq){var humpBackProp=in_property.replace(/-(.)/,function(a,b){return b.toUpperCase()});return eval("in_obj.style."+in_property)}else{return document.defaultView.getComputedStyle(in_obj,null).getPropertyValue(in_property)}}}function makeTrue(){return true}function makeFalse(){return false}Fadomatic.INTERVAL_MILLIS=50;function Fadomatic(B,C,A,F,E){this._element=B;this._intervalId=null;this._rate=C;this._isFadeOut=true;this._minOpacity=0;this._maxOpacity=99;this._opacity=99;if(typeof F!="undefined"){if(F<0){this._minOpacity=0}else{if(F>99){this._minOpacity=99}else{this._minOpacity=F}}}if(typeof E!="undefined"){if(E<0){this._maxOpacity=0}else{if(E>99){this._maxOpacity=99}else{this._maxOpacity=E}}if(this._maxOpacity<this._minOpacity){this._maxOpacity=this._minOpacity}}if(typeof A!="undefined"){if(A>this._maxOpacity){this._opacity=this._maxOpacity}else{if(A<this._minOpacity){this._opacity=this._minOpacity}else{this._opacity=A}}}if(typeof B.style.opacity!="undefined"){this._updateOpacity=this._updateOpacityW3c}else{if(typeof B.style.filter!="undefined"){if(B.style.filter.indexOf("alpha")==-1){var D="";if(B.style.filter){D=B.style.filter+" "}B.style.filter=D+"alpha(opacity="+this._opacity+")"}this._updateOpacity=this._updateOpacityMSIE}else{this._updateOpacity=this._updateVisibility}}this._updateOpacity()}Fadomatic.prototype.fadeOut=function(){this._isFadeOut=true;this._beginFade()};Fadomatic.prototype.fadeIn=function(){this._isFadeOut=false;this._beginFade()};Fadomatic.prototype.show=function(){this.haltFade();this._opacity=this._maxOpacity;this._updateOpacity()};Fadomatic.prototype.hide=function(){this.haltFade();this._opacity=0;this._updateOpacity()};Fadomatic.prototype.haltFade=function(){clearInterval(this._intervalId)};Fadomatic.prototype.resumeFade=function(){this._beginFade()};Fadomatic.prototype._beginFade=function(){this.haltFade();var A=this;this._intervalId=setInterval(function(){A._tickFade()},Fadomatic.INTERVAL_MILLIS)};Fadomatic.prototype._tickFade=function(){if(this._isFadeOut){this._opacity-=this._rate;if(this._opacity<this._minOpacity){this._opacity=this._minOpacity;this.haltFade()}}else{this._opacity+=this._rate;if(this._opacity>this._maxOpacity){this._opacity=this._maxOpacity;this.haltFade()}}this._updateOpacity()};Fadomatic.prototype._updateVisibility=function(){if(this._opacity>0){this._element.style.visibility="visible"}else{this._element.style.visibility="hidden"}};Fadomatic.prototype._updateOpacityW3c=function(){this._element.style.opacity=this._opacity/100;this._updateVisibility()};Fadomatic.prototype._updateOpacityMSIE=function(){this._element.filters.alpha.opacity=this._opacity;this._updateVisibility()};Fadomatic.prototype._updateOpacity=null;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_screenEdgeDetection=true;var domTT_screenEdgePadding=4;var domTT_oneOnly=false;var domTT_draggable=false;if(typeof (domTT_dragEnabled)=="undefined"){domTT_dragEnabled=false}var domTT_predefined=new zc_domTT_Hash();var domTT_tooltips=new zc_domTT_Hash();var domTT_lastOpened=0;if(domLib_useLibrary&&domTT_useGlobalMousePosition){var domTT_mousePosition=new zc_domTT_Hash();YAHOO.util.Event.on(document,"mousemove",function(A){domTT_mousePosition=domLib_getEventPosition(A);if(domTT_dragEnabled&&domTT_dragMouseDown){domTT_dragUpdate(A)}})}function domTT_activate(B,G){if(!domLib_useLibrary){return false}if(typeof (G)=="undefined"){G=window.event}var A=document.body;if(G.type.match(/key|mouse|click|contextmenu/i)){if(B.nodeType&&B.nodeType!=document.DOCUMENT_NODE){var A=B}}else{if(typeof (B)!="object"&&!(A=domTT_tooltips.get(B))){A=document.body.appendChild(document.createElement("div"));A.style.display="none";A.id=B}}if(!A.id){A.id="__autoId"+domLib_autoId++}if(domTT_oneOnly&&domTT_lastOpened){domTT_deactivate(domTT_lastOpened)}domTT_lastOpened=A.id;var H=domTT_tooltips.get(A.id);if(H){if(H.get("eventType")!=G.type){if(H.get("type")=="greasy"){H.set("closeAction","destroy");domTT_deactivate(A.id)}else{if(H.get("status")!="inactive"){return A.id}}}else{if(H.get("status")=="inactive"){H.set("status","pending");H.set("activateTimeout",domLib_setTimeout(domTT_runShow,H.get("delay"),[A.id,G]));return A.id}else{return A.id}}}var I=new zc_domTT_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]"+A.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 D=2;D<arguments.length;D+=2){if(arguments[D]=="predefined"){var E=domTT_predefined.get(arguments[D+1]);for(var C in E.elementData){I.set(C,E.get(C))}}else{I.set(arguments[D],arguments[D+1])}}I.set("eventType",G.type);if(I.has("statusText")){try{window.status=I.get("statusText")}catch(F){}}if(!I.has("content")||I.get("content")==""||I.get("content")==null){if(typeof (A.onmouseout)!="function"){A.onmouseout=function(J){domTT_mouseout(this,J)}}return A.id}I.set("owner",A);domTT_create(I);I.set("delay",G.type.match(/click|mousedown|contextmenu/i)?0:parseInt(I.get("delay")));domTT_tooltips.set(A.id,I);domTT_tooltips.set(I.get("id"),I);I.set("status","pending");I.set("activateTimeout",domLib_setTimeout(domTT_runShow,I.get("delay"),[A.id,G]));return A.id}function domTT_create(K){var D=K.get("owner");var H=K.get("parent");var T=H.ownerDocument||H.document;var N=H.appendChild(T.createElement("div"));N.style.position="absolute";N.style.left="0px";N.style.top="0px";N.style.visibility="hidden";N.id=K.get("id");N.className=K.get("styleClass");var Q;var R=false;if(K.get("caption")||(K.get("type")=="sticky"&&K.get("caption")!==false)){R=true;var B=N.appendChild(T.createElement("table"));B.style.borderCollapse="collapse";if(domLib_isKHTML){B.cellSpacing=0}var G=B.appendChild(T.createElement("tbody"));var P=0;var J=G.appendChild(T.createElement("tr"));var C=J.appendChild(T.createElement("td"));C.style.padding="0px";var X=C.appendChild(T.createElement("div"));X.className="caption";if(domLib_isIE50){X.style.height="100%"}if(K.get("caption").nodeType){X.appendChild(K.get("caption").cloneNode(1))}else{X.innerHTML=K.get("caption")}if(K.get("type")=="sticky"){var P=2;var L=J.appendChild(T.createElement("td"));L.style.padding="0px";var Z=L.appendChild(T.createElement("div"));Z.className="caption";if(domLib_isIE50){Z.style.height="100%"}Z.style.textAlign="right";Z.style.cursor=domLib_stylePointer;Z.style.borderLeftWidth=X.style.borderRightWidth="0px";Z.style.paddingLeft=X.style.paddingRight="0px";Z.style.marginLeft=X.style.marginRight="0px";if(K.get("closeLink").nodeType){Z.appendChild(K.get("closeLink").cloneNode(1))}else{Z.innerHTML=K.get("closeLink")}Z.onclick=function(){domTT_deactivate(D.id)};Z.onmousedown=function(a){if(typeof (a)=="undefined"){a=event}a.cancelBubble=true};if(domLib_isMacIE){L.appendChild(T.createTextNode("\n"))}}if(domLib_isMacIE){C.appendChild(T.createTextNode("\n"))}var I=G.appendChild(T.createElement("tr"));var S=I.appendChild(T.createElement("td"));S.style.padding="0px";if(P){if(domLib_isIE||domLib_isOpera){S.colSpan=P}else{S.setAttribute("colspan",P)}}Q=S.appendChild(T.createElement("div"));if(domLib_isIE50){Q.style.height="100%"}}else{Q=N.appendChild(T.createElement("div"))}Q.className="contents";if(K.get("content").nodeType){Q.appendChild(K.get("content").cloneNode(1))}else{Q.innerHTML=K.get("content")}if(K.has("width")){N.style.width=parseInt(K.get("width"))+"px"}var V=domTT_maxWidth;if(K.has("maxWidth")){if((V=K.get("maxWidth"))===false){N.style.maxWidth=domLib_styleNoMaxWidth}else{V=parseInt(K.get("maxWidth"));N.style.maxWidth=V+"px"}}if(V!==false&&(domLib_isIE||domLib_isKHTML)&&N.offsetWidth>V){N.style.width=V+"px"}K.set("offsetWidth",N.offsetWidth);K.set("offsetHeight",N.offsetHeight);if(domLib_isKonq&&R&&!N.style.width){var E=document.defaultView.getComputedStyle(N,"").getPropertyValue("border-left-width");var Y=document.defaultView.getComputedStyle(N,"").getPropertyValue("border-right-width");E=E.substring(E.indexOf(":")+2,E.indexOf(";"));Y=Y.substring(Y.indexOf(":")+2,Y.indexOf(";"));var O=2*((E?parseInt(E):0)+(Y?parseInt(Y):0));N.style.width=(N.offsetWidth-O)+"px"}if(domLib_isIE||domLib_isOpera){if(!N.style.width){N.style.width=(N.offsetWidth-2)+"px"}N.style.height=(N.offsetHeight-2)+"px"}var W,U;if(K.get("position")=="absolute"&&!(K.has("x")&&K.has("y"))){switch(K.get("direction")){case"northeast":W=K.get("offsetX");U=0-N.offsetHeight-K.get("offsetY");break;case"northwest":W=0-N.offsetWidth-K.get("offsetX");U=0-N.offsetHeight-K.get("offsetY");break;case"north":W=0-parseInt(N.offsetWidth/2);U=0-N.offsetHeight-K.get("offsetY");break;case"southwest":W=0-N.offsetWidth-K.get("offsetX");U=K.get("offsetY");break;case"southeast":W=K.get("offsetX");U=K.get("offsetY");break;case"south":W=0-parseInt(N.offsetWidth/2);U=K.get("offsetY");break}if(K.get("inframe")){var A=domLib_getIFrameReference(window);if(A){var F=domLib_getOffsets(A);W+=F.get("left");U+=F.get("top")}}}else{W=0;U=0;K.set("trail",false)}K.set("offsetX",W);K.set("offsetY",U);if(K.get("clearMouse")&&K.get("direction").indexOf("south")!=-1){K.set("mouseOffset",domTT_mouseHeight)}else{K.set("mouseOffset",0)}if(domLib_canFade&&typeof (Fadomatic)=="function"){if(K.get("fade")!="neither"){var M=new Fadomatic(N,10,0,0,K.get("fadeMax"));K.set("fadeHandler",M)}}else{K.set("fade","neither")}if(K.get("trail")&&typeof (D.onmousemove)!="function"){D.onmousemove=function(a){domTT_mousemove(this,a)}}if(typeof (D.onmouseout)!="function"){D.onmouseout=function(a){domTT_mouseout(this,a)}}if(K.get("type")=="sticky"){if(K.get("position")=="absolute"&&domTT_dragEnabled&&K.get("draggable")){if(domLib_isIE){J.onselectstart=function(){return false}}J.onmousedown=function(a){domTT_dragStart(N,a)};J.onmousemove=function(a){domTT_dragUpdate(a)};J.onmouseup=function(){domTT_dragStop()}}}else{if(K.get("type")=="velcro"){N.onmouseout=function(a){if(typeof (a)=="undefined"){a=event}if(!domLib_isDescendantOf(a[domLib_eventTo],N)){domTT_deactivate(D.id)}}}}if(K.get("position")=="relative"){N.style.position="relative"}K.set("node",N);K.set("status","inactive")}function domTT_show(M,L){var N=domTT_tooltips.get(M);var H=N.get("status");var I=N.get("node");if(N.get("position")=="absolute"){var G,D;if(N.has("x")&&N.has("y")){G=N.get("x");D=N.get("y")}else{if(!domTT_useGlobalMousePosition||H=="active"||N.get("delay")==0){var F=domLib_getEventPosition(L);var C=F.get("x");var B=F.get("y");if(N.get("inframe")){C-=F.get("scrollX");B-=F.get("scrollY")}if(H=="active"&&N.get("trail")!==true){var A=N.get("trail");if(A=="x"){G=C;D=N.get("mouseY")}else{if(A=="y"){G=N.get("mouseX");D=B}}}else{G=C;D=B}}else{G=domTT_mousePosition.get("x");D=domTT_mousePosition.get("y");if(N.get("inframe")){G-=domTT_mousePosition.get("scrollX");D-=domTT_mousePosition.get("scrollY")}}}if(N.get("grid")){if(L.type!="mousemove"||(H=="active"&&(Math.abs(N.get("lastX")-G)>N.get("grid")||Math.abs(N.get("lastY")-D)>N.get("grid")))){N.set("lastX",G);N.set("lastY",D)}else{return false}}N.set("mouseX",G);N.set("mouseY",D);var K;if(domTT_screenEdgeDetection){K=domTT_correctEdgeBleed(N.get("offsetWidth"),N.get("offsetHeight"),G,D,N.get("offsetX"),N.get("offsetY"),N.get("mouseOffset"),N.get("inframe")?window.parent:window)}else{K={x:G+N.get("offsetX"),y:D+N.get("offsetY")+N.get("mouseOffset")}}I.style.left=K.x+"px";I.style.top=K.y+"px";I.style.zIndex=domLib_zIndex++}if(H=="pending"){N.set("status","active");I.style.display="";I.style.visibility="visible";var E=N.get("fade");if(E!="neither"){var J=N.get("fadeHandler");if(E=="out"||E=="both"){J.haltFade();if(E=="out"){J.halt()}}if(E=="in"||E=="both"){J.fadeIn()}}if(N.get("type")=="greasy"&&N.get("lifetime")!=0){N.set("lifetimeTimeout",domLib_setTimeout(domTT_runDeactivate,N.get("lifetime"),[I.id]))}}if(N.get("position")=="absolute"){domLib_detectCollisions(I,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_deactivate(D){var C=domTT_tooltips.get(D);if(C){var A=C.get("status");if(A=="pending"){domLib_clearTimeout(C.get("activateTimeout"));C.set("status","inactive")}else{if(A=="active"){if(C.get("lifetime")){domLib_clearTimeout(C.get("lifetimeTimeout"))}var E=C.get("node");if(C.get("closeAction")=="hide"){var F=C.get("fade");if(F!="neither"){var B=C.get("fadeHandler");if(F=="out"||F=="both"){B.fadeOut()}else{B.hide()}}else{E.style.display="none"}}else{C.get("parent").removeChild(E);domTT_tooltips.remove(C.get("owner").id);domTT_tooltips.remove(C.get("id"))}C.set("status","inactive");domLib_detectCollisions(E,true,true)}}}}function domTT_mouseout(A,D){if(!domLib_useLibrary){return false}if(typeof (D)=="undefined"){D=event}var B=domLib_isDescendantOf(D[domLib_eventTo],A);var C=domTT_tooltips.get(A.id);if(C&&(C.get("type")=="greasy"||C.get("status")!="active")){if(!B){domTT_deactivate(A.id);try{window.status=window.defaultStatus}catch(E){}}}else{if(!B){try{window.status=window.defaultStatus}catch(E){}}}}function domTT_mousemove(A,C){if(!domLib_useLibrary){return false}if(typeof (C)=="undefined"){C=event}var B=domTT_tooltips.get(A.id);if(B&&B.get("trail")&&B.get("status")=="active"){if(B.get("lazy")){domLib_setTimeout(domTT_runShow,domTT_trailDelay,[A.id,C])}else{domTT_show(A.id,C)}}}function domTT_addPredefined(C){var A=new zc_domTT_Hash();for(var B=1;B<arguments.length;B+=2){A.set(arguments[B],arguments[B+1])}domTT_predefined.set(C,A)}function domTT_correctEdgeBleed(A,J,I,H,E,C,N,F){var G,R;var O,Q;var L,P,B,D;var M=I+E;var K=H+C+N;G=(typeof (F)=="undefined"?window:F);R=((domLib_standardsMode&&(domLib_isIE||domLib_isGecko))?G.document.documentElement:G.document.body);if(domLib_isIE){L=R.clientHeight;P=R.clientWidth;B=R.scrollTop;D=R.scrollLeft}else{L=R.clientHeight;P=R.clientWidth;if(domLib_isKHTML){L=G.innerHeight}B=G.pageYOffset;D=G.pageXOffset}if((O=(M-D)+A-(P-domTT_screenEdgePadding))>0){M-=O}if((M-D)<domTT_screenEdgePadding){M=domTT_screenEdgePadding+D}if((Q=(K-B)+J-(L-domTT_screenEdgePadding))>0){K=H-J-C}if((K-B)<domTT_screenEdgePadding){K=H+domTT_mouseHeight+C}return{x:M,y:K}}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 C=domLib_getElementsByClass("tooltip");for(var A=0;A<C.length;A++){if(C[A].title){var B;if(typeof (D)=="function"){B=D(C[A])}else{B=C[A].title}B=B.replace(new RegExp("'","g"),"\\'");C[A].onmouseover=new Function("in_event","domTT_activate(this, in_event, 'content', '"+B+"')");C[A].title=""}}}function domTT_update(E,C,B){if(typeof (B)=="undefined"){B="content"}var D=domTT_tooltips.get(E);if(!D){return }var F=D.get("node");var A;if(B=="content"){A=F.firstChild;if(A.className!="contents"){A=A.firstChild.firstChild.nextSibling.firstChild.firstChild}}else{A=F.firstChild;if(A.className=="contents"){return }A=A.firstChild.firstChild.firstChild.firstChild}A.innerHTML=C};
