(function(b){b.cluetip={version:"1.2.10",template:'
',setup:{insertionType:"appendTo",insertionElement:"body"},defaults:{multiple:!0,width:320,height:"auto",cluezIndex:97,positionBy:"fixed",topOffset:6,leftOffset:0,snapToEdge:!1,local:!0,localPrefix:null,localIdSuffix:null,hideLocal:!0,attribute:"data-jtip",
titleAttribute:"title",splitTitle:"",escapeTitle:!1,showTitle:!0,cluetipClass:"default",hoverClass:"",waitImage:!1,cursor:"help",arrows:!0,dropShadow:!0,dropShadowSteps:6,sticky:!0,mouseOutClose:"both",delayedClose:0,activation:"hover",clickThrough:!0,tracking:!1,closePosition:"top",closeText:"",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(b){return!0},onShow:function(b,g){},onHide:function(b,g){},ajaxCache:!0,ajaxProcess:function(b){return b=
b.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,"").replace(/<(link|meta)[^>]+>/g,"")},ajaxSettings:{dataType:"html"},debug:!1}};var v,A={},Z=0,R=0;b.fn.attrProp=b.fn.prop||b.fn.attr;b.fn.cluetip=function(u,g){function la(c,d){var h=c||"";d=d||"";"object"==typeof d?b.each(d,function(b,c){h+="-"+b+"-"+c}):"string"==typeof d&&(h+=d);return h}function ma(c,d,h){h="";d=d.dropShadow&&d.dropShadowSteps?+d.dropShadowSteps:0;if(b.cluetip.boxShadow)return d&&(h="1px 1px "+d+"px rgba(0,0,0,0.5)"),
c.css(b.cluetip.boxShadow,h),!1;h=c.find(".cluetip-drop-shadow");if(d==h.length)return h;h.remove();h=[];for(var g=0;g';return h=b(h.join("")).css({position:"absolute",backgroundColor:"#000",zIndex:S-1,opacity:.1}).addClass("cluetip-drop-shadow").prependTo(c)}var c,d,H,B,I,T;"object"==typeof u&&(g=u,u=null);if("destroy"==u)return this.each(function(c){c=b(this);var d=c.data("cluetip");d&&(b(d.selector).remove(),b.removeData(this,"title"),b.removeData(this,
"cluetip"));d.title&&c.attrProp("title",d.title);c.unbind(".cluetip").unbind("cluetipMoc")}),b('[id^="cluetip"]').length||b(document).unbind(".cluetip"),this;g=b.extend(!0,{},b.cluetip.defaults,g||{});Z++;var S,U=b.cluetip.backCompat||!g.multiple?"cluetip":"cluetip-"+Z,ca="#"+U,D=b.cluetip.backCompat?"#":".",N=b.cluetip.setup.insertionType,da=b.cluetip.setup.insertionElement||"body",N=/appendTo|prependTo|insertBefore|insertAfter/.test(N)?N:"appendTo";c=b(ca);c.length||(c=b(b.cluetip.template)[N](da).attr("id",
U).css({position:"absolute",display:"none"}),S=+g.cluezIndex,H=c.find(D+"cluetip-outer").css({position:"relative",zIndex:S}),d=c.find(D+"cluetip-inner"),B=c.find(D+"cluetip-title"),c.bind("mouseenter mouseleave",function(c){b(this).data("entered","mouseenter"===c.type)}));v=b("#cluetip-waitimage");!v.length&&g.waitImage&&(v=b("").attr("id","cluetip-waitimage").css({position:"absolute"}),v.insertBefore(c).hide());var na=(parseInt(c.css("paddingLeft"),10)||0)+(parseInt(c.css("paddingRight"),
10)||0);this.each(function(N){function Z(){return!1}function h(a,b){var c=a.status;b.beforeSend(a.xhr,b);if("error"==c)b[c](a.xhr,a.textStatus);else if("success"==c)b[c](a.data,a.textStatus,a.xhr);b.complete(a.xhr,b.textStatus)}var U,t=this,e=b(this),a=b.extend(!0,{},g,b.metadata?e.metadata():b.meta?e.data():e.data("cluetip")||{}),J=!1,O=!1,w=null,n=a[a.attribute]||("href"==a.attribute?e.attr(a.attribute):e.attrProp(a.attribute)||e.attr(a.attribute)),V=a.cluetipClass;S=+a.cluezIndex;e.data("cluetip",
{title:t.title,zIndex:S,selector:ca,cursor:t.style.cursor||""});a.arrows&&!c.find(".cluetip-arrows").length&&c.append('');if(!n&&!a.splitTitle&&!u)return!0;a.local&&a.localPrefix&&(n=a.localPrefix+n);a.local&&a.hideLocal&&n&&b(n+":first").hide();var p=parseInt(a.topOffset,10),G=parseInt(a.leftOffset,10),q,ea,aa=isNaN(parseInt(a.height,10))?"auto":/\D/g.test(a.height)?a.height:a.height+"px",W,fa,ia,C,r,K,X,ga=parseInt(a.width,10)||275,x=ga+na+a.dropShadowSteps,
L=this.offsetWidth,y,m,z,P,M,E="title"!=a.attribute?e.attr(a.titleAttribute)||"":"";a.escapeTitle&&(E=E.replace(/&/g,"&").replace(/>/g,">").replace(/y&&y>x||y+L+x+G>P?y-x-G:L+y+G;if("area"==t.tagName.toLowerCase()||"mouse"==a.positionBy||L+x>P)z+20+x>P?(c.addClass("cluetip-"+V),m=0<=z-x-G?z-x-G-parseInt(c.css("marginLeft"),10)+parseInt(d.css("marginRight"),10):z-x/2):m=z+G;l=0>m?k.pageY+p:k.pageY;if(0>m||"bottomTop"==a.positionBy||"topBottom"==a.positionBy)m=z+x/2>P?P/2-x/2:
Math.max(z-x/2,0)}I.css({zIndex:e.data("cluetip").zIndex+1});c.css({left:m,zIndex:e.data("cluetip").zIndex});ea=b(window).height();if(u)U="function"==typeof u?u.call(t):u,d.html(U),Q(l);else if(M){k=M.length;d.html(k?M[0]:"");if(1'+M[ha]+"");Q(l)}else if(a.local||0===n.indexOf("#"))a.local&&(k=b(n+(/^#\S+$/.test(n)?"":":eq("+N+")")).clone(!0).show(),a.localIdSuffix&&k.attr("id",k[0].id+a.localIdSuffix),d.html(k),Q(l));else if(/\.(jpe?g|tiff?|gif|png)(?:\?.*)?$/i.test(n))d.html('
'),Q(l);else{var q=a.ajaxSettings.beforeSend,r=a.ajaxSettings.error,w=a.ajaxSettings.success,F=a.ajaxSettings.complete;f=la(n,a.ajaxSettings.data);k=b.extend(!0,{},a.ajaxSettings,{cache:a.ajaxCache,url:n,beforeSend:function(b,k){q&&q.call(t,b,c,d,k);H.children().empty();a.waitImage&&v.css({top:K+20,left:z+20,zIndex:e.data("cluetip").zIndex-1}).show()},error:function(a,b){g.ajaxCache&&!A[f]&&(A[f]={status:"error",textStatus:b,xhr:a});O&&(r?r.call(t,a,b,c,d):d.html("sorry, the contents could not be loaded"))},
success:function(b,k,e){g.ajaxCache&&!A[f]&&(A[f]={status:"success",data:b,textStatus:k,xhr:e});J=a.ajaxProcess.call(t,b);"object"==typeof J&&null!==J&&(E=J.title,J=J.content);O&&(w&&w.call(t,b,k,c,d),d.html(J))},complete:function(a,k){F&&F.call(t,a,k,c,d);var e=d[0].getElementsByTagName("img");R=e.length;for(var f=0,g=e.length;f'+a.closeText+""),h[a.closePosition](l),l.bind("click.cluetip",function(){Y();return!1})),
a.mouseOutClose&&(e.unbind("mouseleave.cluetipMoc"),c.unbind("mouseleave.cluetipMoc"),"both"!=a.mouseOutClose&&"cluetip"!=a.mouseOutClose&&!0!==a.mouseOutClose||c.bind("mouseleave.cluetipMoc",ja),"both"!=a.mouseOutClose&&"link"!=a.mouseOutClose||e.bind("mouseleave.cluetipMoc",ja)));H.css({zIndex:e.data("cluetip").zIndex,overflow:"auto"==aa?"visible":"auto",height:aa});q="auto"==aa?Math.max(c.outerHeight(),c.height()):parseInt(aa,10);r=C;X=W+ea;h=mz;if("fixed"==a.positionBy)r=C-
a.dropShadowSteps+p;else if("topBottom"==a.positionBy||"bottomTop"==a.positionBy||h){if("topBottom"==a.positionBy)f=C+q+pX&&K-W>q+p?"top":"bottom";a.snapToEdge?"top"==f?r=fa-q-p:"bottom"==f&&(r=ia+p):"top"==f?r=K-q-p:"bottom"==f&&(r=K+p)}else r=C+q+p>X?q>=ea?W:X-q-p:"block"==e.css("display")||"area"==t.tagName.toLowerCase()||"mouse"==a.positionBy?k-p:C-a.dropShadowSteps;""===f&&(f=mg?g:f)+"px"),I.css({top:g}).show()):I.hide();(T=ma(c,a))&&T.length&&T.hide().css({height:q,width:ga,zIndex:e.data("cluetip").zIndex-1}).show();w||c.hide();clearTimeout(w);w=null;c[a.fx.open](a.fx.openSpeed||0);b.fn.bgiframe&&c.bgiframe();a.onShow.call(t,c,d)},ba=function(b){O=
!1;v.hide();if(!a.sticky||/click|toggle/.test(a.activation))0