$(document).ready(JT_init);function JT_init(){$("a.jTip").hover(function(){JT_show(this.href,this.id,this.name)},function(){$("#JT").remove()}).click(function(){return false})}function JT_show(B,I,G){if(G==false){G="&nbsp;"}var H=document.documentElement;var J=self.innerWidth||(H&&H.clientWidth)||document.body.clientWidth;var E=J-getAbsoluteLeft(I);var D=getAbsoluteTop(I)-3;var A=B.replace(/^[^\?]+\??/,"");var C=parseQuery(A);if(C["width"]===undefined){C["width"]=250}if(C["link"]!==undefined){$("#"+I).bind("click",function(){window.location=C["link"]});$("#"+I).css("cursor","pointer")}if(E>((C["width"]*1)+75)){$("body").append("<div id='JT' style='width:"+C["width"]*1+"px'><div id='JT_arrow_left'></div><div id='JT_close_left'>"+G+"</div><div id='JT_copy'><div class='JT_loader'><div></div></div>");var K=getElementWidth(I)+11;var F=getAbsoluteLeft(I)+K}else{$("body").append("<div id='JT' style='width:"+C["width"]*1+"px'><div id='JT_arrow_right' style='left:"+((C["width"]*1)+1)+"px'></div><div id='JT_close_right'>"+G+"</div><div id='JT_copy'><div class='JT_loader'><div></div></div>");var F=getAbsoluteLeft(I)-((C["width"]*1)+15)}$("#JT").css({left:F+"px",top:D+"px"});$("#JT").show();$("#JT_copy").load(B)}function getElementWidth(A){x=document.getElementById(A);return x.offsetWidth}function getAbsoluteLeft(A){o=document.getElementById(A);oLeft=o.offsetLeft;while(o.offsetParent!=null){oParent=o.offsetParent;oLeft+=oParent.offsetLeft;o=oParent}return oLeft}function getAbsoluteTop(A){o=document.getElementById(A);oTop=o.offsetTop;while(o.offsetParent!=null){oParent=o.offsetParent;oTop+=oParent.offsetTop;o=oParent}return oTop}function parseQuery(F){var E=new Object();if(!F){return E}var C=F.split(";");if(C.length>1){var A=C[1];if(A.substring(0,5)=="link="){E["link"]=A.substring(5)}}var H=C[0].split(/[;&]/);for(var D=0;D<H.length;D++){var I=H[D].split("=");if(!I||I.length!=2){continue}var G=unescape(I[0]);var B=unescape(I[1]);B=B.replace(/\+/g," ");E[G]=B}return E}function blockEvents(A){if(A.target){A.preventDefault()}else{A.returnValue=false}}
