$(document).ready(JT_init);function JT_init(){$("a.jTip").wrap('<span style="position:absolute;"></span>').hover(function(){JT_show(this.href,this.id,this.name);},function(){$("#JT, #JT_arrow_left, #JT_arrow_right").hide().remove();}).click(function(){return false;});}function JT_show(e,a,j){if(j==false){j="&nbsp;";
}var k=document.documentElement;var b=self.innerWidth||(k&&k.clientWidth)||document.body.clientWidth;var h=b-getAbsoluteLeft(a);var g=getAbsoluteTop(a)-3;var d=e.replace(/^[^\?]+\??/,"");var f=parseQuery(d);if(f["width"]===undefined){f["width"]=250;}if(f["link"]!==undefined){$("#"+a).bind("click",function(){window.location=f["link"];
});$("#"+a).css("cursor","pointer");}if(h>((f["width"]*1)+75)){$("body").append("<div id='JT' style='width:"+f["width"]*1+"px'><div id='JT_close_left'>"+j+"</div><div id='JT_copy'><div class='JT_loader'><div></div></div>");$("body").append('<div id="JT_arrow_left"></div>');var c=getElementWidth(a)+11;
var i=getAbsoluteLeft(a)+c;$("#JT_arrow_left").css({left:(i-10)+"px",top:g+"px"});}else{$("body").append("<div id='JT' style='width:"+f["width"]*1+"px'><div id='JT_close_right'>"+j+"</div><div id='JT_copy'><div class='JT_loader'><div></div></div>");$("body").append('<div id="JT_arrow_right"></div>');
var i=getAbsoluteLeft(a)-((f["width"]*1)+20);$("#JT_arrow_right").css({left:(getAbsoluteLeft(a)-20)+"px",top:g+"px"});}$("#JT").css({left:i+"px",top:g+"px"});$("#JT_copy").load(e,function(){if($("#JT_arrow_right")&&i<0){var l=(getAbsoluteLeft(a)-22);$("#JT").css({left:2,width:l});}var m=$("#JT").height();
move_jtip();});$("#JT").show();}function getElementWidth(a){x=document.getElementById(a);return x.offsetWidth;}function getAbsoluteLeft(a){o=document.getElementById(a);oLeft=0;if(o.offsetParent){o=o.offsetParent;}while(o){oLeft+=o.offsetLeft;o=o.offsetParent;}return oLeft;}function getAbsoluteTop(a){o=document.getElementById(a);
oTop=0;if(o.offsetParent){o=o.offsetParent;}while(o){oTop+=o.offsetTop;o=o.offsetParent;}return oTop;}function parseQuery(g){var a=new Object();if(!g){return a;}var d=g.split(/[;&]/);for(var f=0;f<d.length;f++){var c=d[f].split("=");if(!c||c.length!=2){continue;}var e=unescape(c[0]);var b=unescape(c[1]);
b=b.replace(/\+/g," ");a[e]=b;}return a;}function move_jtip(){if(window.innerHeight){scroll_position=window.pageYOffset;window_height=window.innerHeight;}else{if(document.documentElement&&document.documentElement.scrollTop){scroll_position=document.documentElement.scrollTop;window_height=document.documentElement.clientHeight;
}else{if(document.body){scroll_position=document.body.scrollTop;window_height=document.body.clientHeight;}}}}function blockEvents(a){if(a.target){a.preventDefault();}else{a.returnValue=false;}}