var PLTT_tooltip=new Array();var PLTT=new Object();PLTT.browser=function(){var A=navigator.userAgent.toLowerCase();this.dom=document.getElementById?1:0;this.opera=A.indexOf("opera")>=0;this.safari=A.indexOf("safari")>=0;this.ie=(document.all&&!this.opera?true:false);this.macie=this.ie&&A.indexOf("mac")>=0;this.winie=this.ie&&!this.macie;this.ieCanvas=(this.ie&&document.compatMode=="CSS1Compat")?document.documentElement:document.body;this.ns4=document.layers?1:0;this.ns6=(this.dom&&!this.ie)?1:0;return this};PLTT.getTop=function(C){var B=0;var A=false;while(C&&((C.tagName!="BODY")||!A)){if(C.style.position=="absolute"){A=true}B+=C.offsetTop;C=C.offsetParent}return B};PLTT.getLeft=function(C){var B=0;var A=false;while(C&&((C.tagName!="BODY")||!A)){if(C.style.position=="absolute"){A=true}B+=C.offsetLeft;C=C.offsetParent}return B};PLTT.getWidth=function(A){if((A.offsetWidth)||(A.offsetWidth==0)){result=A.offsetWidth}else{if(A.clip&&A.clip.width){result=A.clip.width}else{if(A.style&&A.style.pixelWidth){result=A.style.pixelWidth}}}return parseInt(result)};PLTT.getHeight=function(A){if((A.offsetHeight)||(A.offsetHeight==0)){result=A.offsetHeight}else{if(A.clip&&A.clip.height){result=A.clip.height}else{if(A.style&&A.style.pixelHeight){result=A.style.pixelHeight}}}return parseInt(result)};PLTT.getInsideWindowsWidth=function(){if(window.innerWidth){return window.innerWidth}else{if(document.body&&document.body.clientWidth){return document.body.clientWidth}}return 0};PLTT.getInsideWindowsHeight=function(){if(window.innerHeight){return window.innerHeight}else{if(document.body&&document.body.clientHeight){return document.body.clientHeight}}return 0}
/* Begin Effect Ajax */
;PLTT.ajaxObject=null;PLTT.ajax_loadContent=function(B){var A=B.id.replace(/[^\d]+/,"");if(PLTT_tooltip[A].ajaxurl!=""){if(PLTT.ajaxObject==null){PLTT.ajaxObject=new PLTTajaxObject(PLTT_tooltip[A].ajaxurl)}if(PLTT.ajaxObject.ImReady==true){PLTT.ajaxObject.ImReady=false;PLTT.ajaxObject.elementId="tooltip-content"+A;PLTT.ajaxObject.requestFile=PLTT_tooltip[A].ajaxurl;PLTT.ajaxObject.targetObj=B;PLTT.ajaxObject.onCompletion=function(){PLTT_tooltip[A].ajaxurl=""};PLTT.ajaxObject.onWaiting=function(){PLTT.ajaxObject.ImReady=true;PLTT.ajaxObject.httpRequest.abort();if(PLTT.ajaxObject.elementObj){PLTT.ajaxObject.ClearPreload(PLTT.ajaxObject);PLTT.ajaxObject.elementObj.innerHTML="Time over"}};PLTT.ajaxObject.runAJAX()}}};PLTT.ajaxLoaded=function(){if(PLTT.ajaxObject==null){return true}return PLTT.ajaxObject.ImReady};function PLTTajaxObject(file){this.AjaxFailedAlert="Your browser does not support the enhanced functionality of this website, and therefore you will have an experience that differs from the intended one.\n";this.requestFile=file;this.method="get";this.httpRequest=null;this.elementObj=null;this.ImReady=true;this.AjaxPreloadShower=null;this.targetObj=null;this.elementPreload=null;this.timeout=null;this.onCompletion=function(){};this.onWaiting=function(){};this.createAJAX=function(){try{this.httpRequest=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{this.httpRequest=new ActiveXObject("Microsoft.XMLHTTP")}catch(err){this.httpRequest=false}}if(!this.httpRequest&&typeof XMLHttpRequest!="undefined"){this.httpRequest=new XMLHttpRequest()}if(!this.httpRequest){this.failed=true}};this.CreatePreloadDiv=function(){if(this.elementPreload){return }if(this.elementObj==null){if(this.elementId){this.elementObj=document.getElementById(this.elementId)}}if(this.elementObj==null){return }var id=this.targetObj.id.replace(/[^\d]+/,"");this.elementPreload=document.createElement("DIV");this.elementPreload.style.position="absolute";this.elementPreload.style.left="-1000px";this.elementPreload.style.top="-1000px";this.elementPreload.style.zIndex=200;this.elementPreload.id="_PLTT"+id+"Ajax";this.elementPreload.className=PLTT_tooltip[id].clas;this.elementPreload.style.display="none";if(PLTT_tooltip[id].position.replace(/\(.+/g,"")=="Absolute"){this.elementPreload.style.left=this.elementObj.style.left;this.elementPreload.style.top=this.elementObj.style.top}html='<table class="'+PLTT_tooltip[id].clas+'_default" cellspacing="0" cellpadding="0" border="0">';html+="<tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-left"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-top"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-right"></td>';html+="</tr><tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-left"></td>';html+='<td style="text-align:center;" class="'+PLTT_tooltip[id].clas+'_tooltip-content">';html+='<img src="'+PLTT_AJAX_IMAGE+'"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-right"></td>';html+="</tr><tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-left"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-bottom"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-right"></td>';html+="</tr>";html+="</table>";this.elementPreload.innerHTML=html;document.body.appendChild(this.elementPreload)};this.ClearPreload=function(t){if(t.AjaxPreloadShower){t.AjaxPreloadShower=null;if(t.elementPreload){document.body.removeChild(t.elementPreload)}t.elementPreload=null}};this.runAJAX=function(){this.responseStatus=new Array(2);if(this.failed&&this.AjaxFailedAlert){alert(this.AjaxFailedAlert)}else{if(this.elementId){this.elementObj=document.getElementById(this.elementId)}if(PLTT_AJAX_PRELOAD==true&&PLTT_AJAX_IMAGE){this.CreatePreloadDiv();if(this.elementPreload){var id=this.targetObj.id.replace(/[^\d]+/,"");this.AjaxPreloadShower=eval("new Preload"+PLTT_tooltip[id].position+"(id)");this.AjaxPreloadShower.open(this.targetObj)}}if(this.httpRequest){var self=this;if(this.method=="get"){this.httpRequest.open(this.method,this.requestFile,true)}this.httpRequest.onreadystatechange=function(){switch(self.httpRequest.readyState){case 4:clearTimeout(self.timeout);self.response=self.httpRequest.responseText;self.responseXML=self.httpRequest.responseXML;self.responseStatus[0]=self.httpRequest.status;self.responseStatus[1]=self.httpRequest.statusText;if(self.elementObj){self.ClearPreload(self);if(self.responseStatus[0]==200){self.elementObj.innerHTML=self.response;self.onCompletion()}else{self.elementObj.innerHTML=self.responseStatus[1]}}self.ImReady=true;break}};this.httpRequest.send(null);this.timeout=setTimeout(this.onWaiting,10000)}}};this.createAJAX()}
/* End Effect Ajax */
PLTT.tooltipTarget=function(A){while(A&&(A.tagName!="BODY")){if(A.id.search(/_PLTT.*/)>-1){return true}A=A.offsetParent}return false};PLTT.arrowHidden=function(A){document.getElementById("tooltip-arrow-top-"+A).style.visibility="hidden";document.getElementById("tooltip-arrow-right-"+A).style.visibility="hidden";document.getElementById("tooltip-arrow-left-"+A).style.visibility="hidden";document.getElementById("tooltip-arrow-bottom-"+A).style.visibility="hidden"};PLTT.arrowNone=function(A){document.getElementById("tooltip-arrow-top-"+A).style.display="none";document.getElementById("tooltip-arrow-right-"+A).style.display="none";document.getElementById("tooltip-arrow-left-"+A).style.display="none";document.getElementById("tooltip-arrow-bottom-"+A).style.display="none"};PLTT.arrowLeft=function(G,B){if(PLTT_tooltip[G].type=="balloon"){PLTT.arrowHidden(G);var F=document.getElementById("tooltip-arrow-left-"+G);var D=document.getElementById("tooltip-arrow-top-"+G);D.style.display="block";F.style.visibility="visible";F.style.display="block";var C=PLTT.getHeight(F);var A=PLTT.getHeight(D);D.style.display="none";if(B<(C+A)){var E=A+C/2-B/2;return E}}return 0};PLTT.arrowRight=function(G,B){if(PLTT_tooltip[G].type=="balloon"){PLTT.arrowHidden(G);var C=document.getElementById("tooltip-arrow-right-"+G);var D=document.getElementById("tooltip-arrow-top-"+G);C.style.visibility="visible";D.style.display="block";C.style.display="block";var F=PLTT.getHeight(C);var A=PLTT.getHeight(D);D.style.display="none";if(B<(F+A)){var E=A+F/2-B/2;return E}}return 0};PLTT.arrowTop=function(C,A){if(PLTT_tooltip[C].type=="balloon"){PLTT.arrowHidden(C);var B=document.getElementById("tooltip-arrow-top-"+C);B.style.visibility="visible";B.style.display="block"}return A};PLTT.arrowBottom=function(C,A){if(PLTT_tooltip[C].type=="balloon"){PLTT.arrowHidden(C);var B=document.getElementById("tooltip-arrow-bottom-"+C);B.style.visibility="visible";B.style.display="block"}return A}
/* Begin Effect Ajax */
;function PreloadBasis(){}PreloadBasis.prototype={id:"",tooltipWidth:0,tooltipHeight:0,dx:10,dy:0,positionTop:0,positionLeft:0,ini:function(){},openBegin:function(B){var A=document.getElementById("_PLTT"+this.id+"Ajax");this.positionTop=PLTT.getTop(B);this.positionLeft=PLTT.getLeft(B);this.tooltipHeight=PLTT.getHeight(A);this.tooltipWidth=PLTT.getWidth(A);A.style.display="block"},openEnd:function(B){var A=document.getElementById("_"+B.id+"Ajax");A.style.left=this.positionLeft+"px";A.style.top=this.positionTop+"px"}};function PreloadLeft(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D);B.positionLeft-=B.tooltipWidth;B.openEnd(D)};this.open=function(D){A(D)}}function PreloadRight(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D);B.positionLeft+=PLTT.getWidth(D);B.openEnd(D)};this.open=function(D){A(D)}}function PreloadBottom(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D);B.positionTop+=PLTT.getHeight(D);B.openEnd(D)};this.open=function(D){A(D)}}function PreloadTop(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D);B.positionTop-=B.tooltipHeight;B.openEnd(D)};this.open=function(D){A(D)}}function PreloadAuto(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D);if(PLTT.getInsideWindowsWidth()>(B.positionLeft+B.tooltipWidth+PLTT.getWidth(D))){B.positionLeft+=PLTT.getWidth(D)}else{if(B.positionLeft>B.tooltipWidth){B.positionLeft-=B.tooltipWidth}else{if(PLTT.getInsideWindowsHeight()>(B.positionTop+B.tooltipHeight+PLTT.getHeight(D))){B.positionTop+=PLTT.getHeight(D)}else{B.positionTop-=B.tooltipHeight}}}B.openEnd(D)};this.open=function(D){A(D)}}function PreloadAbsolute(C){var B=new PreloadBasis();B.id=C;var A=function(D){B.openBegin(D)};this.open=function(D){A(D)}}
/* End Effect Ajax */



/* Begin Effect Snap */
function SnapBasis(){}SnapBasis.prototype={id:"",tooltipWidth:0,tooltipHeight:0,dx:10,dy:0,positionTop:0,positionLeft:0,clickTriger:true,timeTriger:false,time:"",ini:function(){},openBegin:function(B){var A=document.getElementById("_PLTT"+this.id);A.style.display="block";this.positionTop=PLTT.getTop(B);this.positionLeft=PLTT.getLeft(B);this.tooltipHeight=PLTT.getHeight(A);this.tooltipWidth=PLTT.getWidth(A)},openEnd:function(B){var A=document.getElementById("_"+B.id);A.style.left=this.positionLeft+"px";A.style.top=this.positionTop+"px";this.clickTriger=false},close:function(){var A=document.getElementById("_PLTT"+this.id);A.style.display="none";this.clickTriger=true}};function SnapLeft(C){var B=new SnapBasis();B.id=C;var A=function(D){if(!B.clickTriger){return }B.openBegin(D);B.positionLeft-=B.tooltipWidth;B.positionTop-=PLTT.arrowRight(C,PLTT.getHeight(D));B.openEnd(D)};this.ini=function(){B.ini()};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}function SnapRight(C){var B=new SnapBasis();B.id=C;var A=function(D){if(!B.clickTriger){return }B.openBegin(D);B.positionLeft+=PLTT.getWidth(D);B.positionTop-=PLTT.arrowLeft(C,PLTT.getHeight(D));B.openEnd(D)};this.ini=function(){B.ini()};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}function SnapBottom(C){var B=new SnapBasis();B.id=C;var A=function(D){if(!B.clickTriger){return }B.openBegin(D);B.positionTop+=PLTT.arrowTop(B.id,PLTT.getHeight(D));B.openEnd(D)};this.ini=function(){B.ini()};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}function SnapTop(C){var B=new SnapBasis();B.id=C;var A=function(D){if(!B.clickTriger){return }B.openBegin(D);B.positionTop-=PLTT.arrowBottom(B.id,B.tooltipHeight);B.openEnd(D)};this.ini=function(){B.ini()};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}function SnapAuto(C){var B=new SnapBasis();B.id=C;var A=function(D){if(!B.clickTriger){return }B.openBegin(D);if(PLTT.getInsideWindowsWidth()>(B.positionLeft+B.tooltipWidth+PLTT.getWidth(D))){B.positionLeft+=PLTT.getWidth(D);B.positionTop-=PLTT.arrowLeft(C,PLTT.getHeight(D))}else{if(B.positionLeft>B.tooltipWidth){B.positionLeft-=B.tooltipWidth;B.positionTop-=PLTT.arrowRight(C,PLTT.getHeight(D))}else{if(PLTT.getInsideWindowsHeight()>(B.positionTop+B.tooltipHeight+PLTT.getHeight(D))){B.positionTop+=PLTT.arrowTop(B.id,PLTT.getHeight(D))}else{B.positionTop-=PLTT.arrowBottom(B.id,B.tooltipHeight)}}}B.openEnd(D);B.clickTriger=false};this.ini=function(){B.ini()};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){if(B.clickTriger){return }B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}function SnapAbsolute(C){var B=new SnapBasis();B.id=C;var A=function(E){if(!B.clickTriger){return }B.openBegin(E);var D=document.getElementById("_"+E.id);B.clickTriger=false};this.ini=function(){B.ini();var D=document.getElementById("_PLTT"+B.id).style.display="none"};this.open=function(){if(PLTT_tooltip[C].ajaxurl!=""){if(PLTT.ajaxLoaded){if(PLTT.ajaxLoaded()==false){window.setTimeout("PLTT.EffectClass["+C+"].open()",50);return }}}A(B.obj)};this.directOpen=function(){B.obj=this;PLTT.EffectClass[C].open()};this.ajaxOpen=function(){B.obj=this;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.close=function(){B.close()};this.directClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.EffectClass[C].open()};this.ajaxClickOpen=function(D){B.obj=this;if(!B.clickTriger){return }var D=(D)?D:event;D.cancelBubble=true;PLTT.ajax_loadContent(this);PLTT.EffectClass[C].open()};this.clickClose=function(D){if(B.clickTriger){return }var D=(D)?D:event;var E=(D.target)?D.target:D.srcElement;D.cancelBubble=true;B.close(this)}}
/* End Effect Snap */


PLTT.EffectClass=new Array();PLTT.closeAll=function(A){var A=(A)?A:event;var C=(A.target)?A.target:A.srcElement;if(C.className.search(/.*_tooltip-icon/)>-1){var D=C.id.replace(/[^\d]*/g,"");PLTT.EffectClass[D].clickClose(A)}else{for(var B=0;B<PLTT_tooltip.length;B++){if(PLTT_tooltip[B].close=="click"){if(PLTT.tooltipTarget(C)){continue}PLTT.EffectClass[B].clickClose(A)}}}};PLTT.addClickEvent=function(A){var B=document.documentElement;if(typeof B.onclick!="function"){B.onclick=A}else{B.oldclick=B.onclick;B.onclick=function(C){this.oldclick(C);A(C)}}};PLTT.preiniTooltip=function(){for(var A=0;A<PLTT_setting.length;A++){var B=new Object();B.clas=PLTT_setting[A][0];B.open=PLTT_setting[A][1];B.close=PLTT_setting[A][2];B.effect=PLTT_setting[A][3];B.position=PLTT_setting[A][4];B.type=PLTT_setting[A][5];B.ajaxurl="";if(PLTT_setting[A][6]!="no"&&PLTT_setting[A][6]!="yes"){B.ajaxurl=PLTT_setting[A][6]}B.header=PLTT_setting[A][7];B.text="";B.header_text="";PLTT_tooltip.push(B)}};PLTT.iniTooltip=function(){PLTT.preiniTooltip();PLTT.browser();var obj=document.getElementsByTagName("span");for(var i=0;i<obj.length;i++){if(obj[i].className=="PLTT"){var id=obj[i].id.replace(/[^\d]+/,"");var coord=Array();var text=document.getElementById(obj[i].id+"_text");var header=document.getElementById(obj[i].id+"_header");if(text!=null){PLTT_tooltip[id].text=text.innerHTML;text.innerHTML=""}if(header!=null){PLTT_tooltip[id].header_text=header.innerHTML;header.innerHTML=""}coord=PLTT_tooltip[id].position.match(/[\d-]+/g);PLTT_tooltip[id].position=PLTT_tooltip[id].position.replace(/\(.+/g,"");PLTT.EffectClass[id]=eval("new "+PLTT_tooltip[id].effect+PLTT_tooltip[id].position+"(id)");div=document.createElement("DIV");div.style.position="absolute";div.style.left="-1000px";div.style.top="-1000px";div.style.zIndex=190;div.id="_PLTT"+id;div.className=PLTT_tooltip[id].clas;switch(PLTT_tooltip[id].open){case"mouseover":if(PLTT_tooltip[id].ajaxurl==""){obj[i].onmouseover=PLTT.EffectClass[id].directOpen}else{obj[i].onmouseover=PLTT.EffectClass[id].ajaxOpen}break;case"click":if(PLTT_tooltip[id].ajaxurl==""){obj[i].onclick=PLTT.EffectClass[id].directClickOpen}else{obj[i].onclick=PLTT.EffectClass[id].ajaxClickOpen}break}var icon_close="";switch(PLTT_tooltip[id].close){case"mouseout":obj[i].onmouseout=PLTT.EffectClass[id].close;break;case"icon":icon_close='<a href="#" id="tooltip-icon-'+id+'" class="'+PLTT_tooltip[id].clas+'_tooltip-icon"></a>';break;case"click":break}switch(PLTT_tooltip[id].effect){case"Cursor":obj[i].onmousemove=PLTT.EffectClass[id].move;break}switch(PLTT_tooltip[id].position.replace(/\(.+/g,"")){case"Absolute":div.style.left=coord[0]+"px";div.style.top=coord[1]+"px";break}if(PLTT_tooltip[id].header=="no"){var style_header="display: none"}else{var style_header="display: block"}html='<table class="'+PLTT_tooltip[id].clas+'_default" cellspacing="0" cellpadding="0" border="0">';html+="<tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-left"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-top"><div class="'+PLTT_tooltip[id].clas+'_tooltip-arrow-top" id="tooltip-arrow-top-'+id+'"></div></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-top-right"></td>';html+="</tr><tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-left"><div class="'+PLTT_tooltip[id].clas+'_tooltip-arrow-left" id="tooltip-arrow-left-'+id+'"></div></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-content">';html+='<div class="'+PLTT_tooltip[id].clas+'_tooltip-middle" id="tooltip-arrow-middle-'+id+'">';html+='<div style="'+style_header+'" class="'+PLTT_tooltip[id].clas+'_tooltip-header">'+icon_close+PLTT_tooltip[id].header_text+"</div>";html+='<div class="'+PLTT_tooltip[id].clas+'_tooltip-text" id="tooltip-content'+id+'">'+PLTT_tooltip[id].text+"</div>";html+="</div>";html+="</td>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-right"><div class="'+PLTT_tooltip[id].clas+'_tooltip-arrow-right" id="tooltip-arrow-right-'+id+'"></div></td>';html+="</tr><tr>";html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-left"></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-bottom"><div class="'+PLTT_tooltip[id].clas+'_tooltip-arrow-bottom" id="tooltip-arrow-bottom-'+id+'"></div></td>';html+='<td class="'+PLTT_tooltip[id].clas+'_tooltip-bottom-right"></td>';html+="</tr>";html+="</table>";div.innerHTML=html;document.body.appendChild(div);if(PLTT_tooltip[id].effect!="Cursor"){PLTT.EffectClass[id].ini()}}}PLTT.addClickEvent(PLTT.closeAll)};function addLoadEvent(A){var B=window.onload;if(typeof window.onload!="function"){window.onload=A}else{window.onload=function(){B();A()}}}addLoadEvent(PLTT.iniTooltip);