$(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(d){var e=new Object();if(!d){return e}var a=d.split(/[;&]/);for(var c=0;c<a.length;c++){var g=a[c].split("=");if(!g||g.length!=2){continue}var b=unescape(g[0]);var f=unescape(g[1]);f=f.replace(/\+/g," ");e[b]=f}return e}function blockEvents(a){if(a.target){a.preventDefault()}else{a.returnValue=false}};
