(function(g,k,h){var j=true,s=false,C=null,r,q,c,B={},l="ui-tooltip",e="ui-widget",f="ui-state-disabled",t="div.qtip."+l,m=l+"-default",D=l+"-focus",d=l+"-hover",y=l+"-fluid",p="-31000px",A="_replacedByqTip",o="oldtitle",n;function i(){i.history=i.history||[];i.history.push(arguments);if("object"===typeof console){var G=console[console.warn?"warn":"log"],F=Array.prototype.slice.call(arguments),E;if(typeof arguments[0]==="string"){F[0]="qTip2: "+F[0]}E=G.apply?G.apply(console,F):G(F)}}function a(F){var E;if(!F||"object"!==typeof F){return s}if("object"!==typeof F.metadata){F.metadata={type:F.metadata}}if("content" in F){if("object"!==typeof F.content||F.content.jquery){F.content={text:F.content}}E=F.content.text||s;if(!g.isFunction(E)&&((!E&&!E.attr)||E.length<1||("object"===typeof E&&!E.jquery))){F.content.text=s}if("title" in F.content){if("object"!==typeof F.content.title){F.content.title={text:F.content.title}}E=F.content.title.text||s;if(!g.isFunction(E)&&((!E&&!E.attr)||E.length<1||("object"===typeof E&&!E.jquery))){F.content.title.text=s}}}if("position" in F){if("object"!==typeof F.position){F.position={my:F.position,at:F.position}}}if("show" in F){if("object"!==typeof F.show){if(F.show.jquery){F.show={target:F.show}}else{F.show={event:F.show}}}}if("hide" in F){if("object"!==typeof F.hide){if(F.hide.jquery){F.hide={target:F.hide}}else{F.hide={event:F.hide}}}}if("style" in F){if("object"!==typeof F.style){F.style={classes:F.style}}}g.each(q,function(){if(this.sanitize){this.sanitize(F)}});return F}function z(aa,G,U,V){var T=this,P=document.body,M=l+"-"+U,H=0,Z=0,I=g(),Q=".qtip-"+U,R,S;T.id=U;T.rendered=s;T.elements=R={target:aa};T.timers={img:{}};T.options=G;T.checks={};T.plugins={};T.cache=S={event:{},target:g(),disabled:s,attr:V};function J(ad){var ab=0,af,ac=G,ae=ad.split(".");while(ac=ac[ae[ab++]]){if(ab<ae.length){af=ac}}return[af||G,ae.pop()]}function Y(){var ab=G.style.widget;I.toggleClass(e,ab).toggleClass(m,!ab);R.content.toggleClass(e+"-content",ab);if(R.titlebar){R.titlebar.toggleClass(e+"-header",ab)}if(R.button){R.button.toggleClass(l+"-icon",!ab)}}function E(ab){if(R.title){R.titlebar.remove();R.titlebar=R.title=R.button=C;if(ab!==s){T.reposition()}}}function W(){var ac=G.content.title.button,ab=typeof ac==="string",ad=ab?ac:"Close tooltip";if(R.button){R.button.remove()}if(ac.jquery){R.button=ac}else{R.button=g("<a />",{"class":"ui-state-default "+(G.style.widget?"":l+"-icon"),title:ad,"aria-label":ad}).prepend(g("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"}))}R.button.appendTo(R.titlebar).attr("role","button").hover(function(ae){g(this).toggleClass("ui-state-hover",ae.type==="mouseenter")}).click(function(ae){if(!I.hasClass(f)){T.hide(ae)}return s}).bind("mousedown keydown mouseup keyup mouseout",function(ae){g(this).toggleClass("ui-state-active ui-state-focus",ae.type.substr(-4)==="down")});T.redraw()}function L(){var ab=M+"-title";if(R.titlebar){E()}R.titlebar=g("<div />",{"class":l+"-titlebar "+(G.style.widget?"ui-widget-header":"")}).append(R.title=g("<div />",{id:ab,"class":l+"-title","aria-atomic":j})).insertBefore(R.content);if(G.content.title.button){W()}else{if(T.rendered){T.redraw()}}}function O(ab){var ac=R.button,ad=R.title;if(!T.rendered){return s}if(!ab){ac.remove()}else{if(!ad){L()}W()}}function X(ad,ab){var ac=R.title;if(!T.rendered||!ad){return s}if(g.isFunction(ad)){ad=ad.call(aa,S.event,T)}if(ad===s){return E(s)}else{if(ad.jquery&&ad.length>0){ac.empty().append(ad.css({display:"block"}))}else{ac.html(ad)}}T.redraw();if(ab!==s&&T.rendered&&I.is(":visible")){T.reposition(S.event)}}function N(ad,ab){var ac=R.content;if(!T.rendered||!ad){return s}if(g.isFunction(ad)){ad=ad.call(aa,S.event,T)||""}if(ad.jquery&&ad.length>0){ac.empty().append(ad.css({display:"block"}))}else{ac.html(ad)}function ae(ag){var af,ah={};function ai(aj){if(aj){delete ah[aj.src];clearTimeout(T.timers.img[aj.src]);g(aj).unbind(Q)}if(g.isEmptyObject(ah)){T.redraw();if(ab!==s){T.reposition(S.event)}ag()}}if((af=ac.find("img:not([height]):not([width])")).length===0){return ai()}af.each(function(aj,ak){if(ah[ak.src]!==h){return}(function al(){if(ak.height||ak.width){return ai(ak)}T.timers.img[ak.src]=setTimeout(al,700)}());g(ak).bind("error"+Q+" load"+Q,function(){ai(this)});ah[ak.src]=ak})}if(T.rendered<0){I.queue("fx",ae)}else{Z=0;ae(g.noop)}return T}function F(){var ae=G.position,ac={show:G.show.target,hide:G.hide.target,viewport:g(ae.viewport),document:g(document),window:g(k)},ad={show:g.trim(""+G.show.event).split(" "),hide:g.trim(""+G.hide.event).split(" ")},ab=g.browser.msie&&parseInt(g.browser.version,10)===6;function ag(aj){if(I.hasClass(f)){return s}ac.show.trigger("qtip-"+U+"-inactive");clearTimeout(T.timers.show);clearTimeout(T.timers.hide);var ak=function(){T.toggle(j,aj)};if(G.show.delay>0){T.timers.show=setTimeout(ak,G.show.delay)}else{ak()}}function af(am){if(I.hasClass(f)||H||Z){return s}var ak=g(am.relatedTarget||am.target),aj=ak.closest(t)[0]===I[0],al=ak[0]===ac.show[0];clearTimeout(T.timers.show);clearTimeout(T.timers.hide);if((ae.target==="mouse"&&aj)||(G.hide.fixed&&((/mouse(out|leave|move)/).test(am.type)&&(aj||al)))){am.preventDefault();am.stopImmediatePropagation();return}if(G.hide.delay>0){T.timers.hide=setTimeout(function(){T.hide(am)},G.hide.delay)}else{T.hide(am)}}function ah(aj){if(I.hasClass(f)){return s}clearTimeout(T.timers.inactive);T.timers.inactive=setTimeout(function(){T.hide(aj)},G.hide.inactive)}function ai(aj){if(I.is(":visible")){T.reposition(aj)}}I.bind("mouseenter"+Q+" mouseleave"+Q,function(aj){var ak=aj.type==="mouseenter";if(ak){T.focus(aj)}I.toggleClass(d,ak)});if(G.hide.fixed){ac.hide=ac.hide.add(I);I.bind("mouseover"+Q,function(){if(!I.hasClass(f)){clearTimeout(T.timers.hide)}})}if(/mouse(out|leave)/i.test(G.hide.event)){if(G.hide.leave==="window"){ac.window.bind("mouseout"+Q,function(aj){if(/select|option/.test(aj.target)&&!aj.relatedTarget){T.hide(aj)}})}}else{if(/mouse(over|enter)/i.test(G.show.event)){ac.hide.bind("mouseleave"+Q,function(aj){clearTimeout(T.timers.show)})}}if((""+G.hide.event).indexOf("unfocus")>-1){ac.document.bind("mousedown"+Q,function(al){var aj=g(al.target),ak=!I.hasClass(f)&&I.is(":visible");if(aj[0]!==I[0]&&aj.parents(t).length===0&&aj.add(aa).length>1){T.hide(al)}})}if("number"===typeof G.hide.inactive){ac.show.bind("qtip-"+U+"-inactive",ah);g.each(r.inactiveEvents,function(aj,ak){ac.hide.add(R.tooltip).bind(ak+Q+"-inactive",ah)})}g.each(ad.hide,function(ak,al){var aj=g.inArray(al,ad.show),am=g(ac.hide);if((aj>-1&&am.add(ac.show).length===am.length)||al==="unfocus"){ac.show.bind(al+Q,function(an){if(I.is(":visible")){af(an)}else{ag(an)}});delete ad.show[aj]}else{ac.hide.bind(al+Q,af)}});g.each(ad.show,function(aj,ak){ac.show.bind(ak+Q,ag)});if("number"===typeof G.hide.distance){ac.show.add(I).bind("mousemove"+Q,function(am){var al=S.origin||{},ak=G.hide.distance,aj=Math.abs;if(aj(am.pageX-al.pageX)>=ak||aj(am.pageY-al.pageY)>=ak){T.hide(am)}})}if(ae.target==="mouse"){ac.show.bind("mousemove"+Q,function(aj){c={pageX:aj.pageX,pageY:aj.pageY,type:"mousemove"}});if(ae.adjust.mouse){if(G.hide.event){I.bind("mouseleave"+Q,function(aj){if((aj.relatedTarget||aj.target)!==ac.show[0]){T.hide(aj)}})}ac.document.bind("mousemove"+Q,function(aj){if(!I.hasClass(f)&&I.is(":visible")){T.reposition(aj||c)}})}}if(ae.adjust.resize||ac.viewport.length){(g.event.special.resize?ac.viewport:ac.window).bind("resize"+Q,ai)}if(ac.viewport.length||(ab&&I.css("position")==="fixed")){ac.viewport.bind("scroll"+Q,ai)}}function K(){var ab=[G.show.target[0],G.hide.target[0],T.rendered&&R.tooltip[0],G.position.container[0],G.position.viewport[0],k,document];if(T.rendered){g([]).pushStack(g.grep(ab,function(ac){return typeof ac==="object"})).unbind(Q)}else{G.show.target.unbind(Q+"-create")}}T.checks.builtin={"^id$":function(ad,ae,ab){var af=ab===j?r.nextid:ab,ac=l+"-"+af;if(af!==s&&af.length>0&&!g("#"+ac).length){I[0].id=ac;R.content[0].id=ac+"-content";R.title[0].id=ac+"-title"}},"^content.text$":function(ac,ad,ab){N(ab)},"^content.title.text$":function(ac,ad,ab){if(!ab){return E()}if(!R.title&&ab){L()}X(ab)},"^content.title.button$":function(ac,ad,ab){O(ab)},"^position.(my|at)$":function(ac,ad,ab){if("string"===typeof ab){ac[ad]=new q.Corner(ab)}},"^position.container$":function(ac,ad,ab){if(T.rendered){I.appendTo(ab)}},"^show.ready$":function(){if(!T.rendered){T.render(1)}else{T.toggle(j)}},"^style.classes$":function(ac,ad,ab){I.attr("class",l+" qtip ui-helper-reset "+ab)},"^style.widget|content.title":Y,"^events.(render|show|move|hide|focus|blur)$":function(ac,ad,ab){I[(g.isFunction(ab)?"":"un")+"bind"]("tooltip"+ad,ab)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var ab=G.position;I.attr("tracking",ab.target==="mouse"&&ab.adjust.mouse);K();F()}};g.extend(T,{render:function(ab){if(T.rendered){return T}var ad=G.content.title.text,ac=G.position,ae=g.Event("tooltiprender");g.attr(aa[0],"aria-describedby",M);I=R.tooltip=g("<div/>",{id:M,"class":l+" qtip ui-helper-reset "+m+" "+G.style.classes,width:G.style.width||"",height:G.style.height||"",tracking:ac.target==="mouse"&&ac.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":s,"aria-describedby":M+"-content","aria-hidden":j}).toggleClass(f,S.disabled).data("qtip",T).appendTo(G.position.container).append(R.content=g("<div />",{"class":l+"-content",id:M+"-content","aria-atomic":j}));T.rendered=-1;Z=1;H=1;if(ad){L();X(ad,s)}N(G.content.text,s);T.rendered=j;Y();g.each(G.events,function(af,ag){if(g.isFunction(ag)){I.bind(af==="toggle"?"tooltipshow tooltiphide":"tooltip"+af,ag)}});g.each(q,function(){if(this.initialize==="render"){this(T)}});F();I.queue("fx",function(af){ae.originalEvent=S.event;I.trigger(ae,[T]);Z=0;H=0;T.redraw();if(G.show.ready||ab){T.toggle(j,S.event)}af()});return T},get:function(ac){var ab,ad;switch(ac.toLowerCase()){case"dimensions":ab={height:I.outerHeight(),width:I.outerWidth()};break;case"offset":ab=q.offset(I,G.position.container);break;default:ad=J(ac.toLowerCase());ab=ad[0][ad[1]];ab=ab.precedance?ab.string():ab;break}return ab},set:function(ae,af){var ad=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,ag=/^content\.(title|attr)|style/i,ah=s,aj=s,ac=T.checks,ab;function ai(an,al){var am,ao,ak;for(am in ac){for(ao in ac[am]){if(ak=(new RegExp(ao,"i")).exec(an)){al.push(ak);ac[am][ao].apply(T,al)}}}}if("string"===typeof ae){ab=ae;ae={};ae[ab]=af}else{ae=g.extend(j,{},ae)}g.each(ae,function(al,am){var an=J(al.toLowerCase()),ak;ak=an[0][an[1]];an[0][an[1]]="object"===typeof am&&am.nodeType?g(am):am;ae[al]=[an[0],an[1],am,ak];ah=ad.test(al)||ah;aj=ag.test(al)||aj});a(G);H=Z=1;g.each(ae,ai);H=Z=0;if(I.is(":visible")&&T.rendered){if(ah){T.reposition(G.position.target==="mouse"?C:S.event)}if(aj){T.redraw()}}return T},toggle:function(ad,ae){if(!T.rendered){if(ad){T.render(1)}else{return T}}var aj=ad?"show":"hide",ab=G[aj],af=I.is(":visible"),ag=!ae||G[aj].target.length<2||S.target[0]===ae.target,al=G.position,ah=G.content,ai,ak;if((typeof ad).search("boolean|number")){ad=!af}if(!I.is(":animated")&&af===ad&&ag){return T}if(ae){if((/over|enter/).test(ae.type)&&(/out|leave/).test(S.event.type)&&ae.target===G.show.target[0]&&I.has(ae.relatedTarget).length){return T}S.event=g.extend({},ae)}ak=g.Event("tooltip"+aj);ak.originalEvent=ae?S.event:C;I.trigger(ak,[T,90]);if(ak.isDefaultPrevented()){return T}g.attr(I[0],"aria-hidden",!!!ad);if(ad){S.origin=g.extend({},c);T.focus(ae);if(g.isFunction(ah.text)){N(ah.text,s)}if(g.isFunction(ah.title.text)){X(ah.title.text,s)}if(!n&&al.target==="mouse"&&al.adjust.mouse){g(document).bind("mousemove.qtip",function(am){c={pageX:am.pageX,pageY:am.pageY,type:"mousemove"}});n=j}T.reposition(ae);if(ab.solo){g(t,ab.solo).not(I).qtip("hide",ak)}}else{clearTimeout(T.timers.show);delete S.origin;if(n&&!g(t+'[tracking="true"]:visible',ab.solo).not(I).length){g(document).unbind("mousemove.qtip");n=s}T.blur(ae)}function ac(){if(ad){if(g.browser.msie){I[0].style.removeAttribute("filter")}I.css("overflow","");if("string"===typeof ab.autofocus){g(ab.autofocus,I).focus()}ak=g.Event("tooltipvisible");ak.originalEvent=ae?S.event:C;I.trigger(ak,[T])}else{I.css({display:"",visibility:"",opacity:"",left:"",top:""})}}if(ag){I.stop(0,1)}if(ab.effect===s){I[aj]();ac.call(I)}else{if(g.isFunction(ab.effect)){ab.effect.call(I,T);I.queue("fx",function(am){ac();am()})}else{I.fadeTo(90,ad?1:0,ac)}}if(ad){ab.target.trigger("qtip-"+U+"-inactive")}return T},show:function(ab){return T.toggle(j,ab)},hide:function(ab){return T.toggle(s,ab)},focus:function(af){if(!T.rendered){return T}var ag=g(t),ad=parseInt(I[0].style.zIndex,10),ac=r.zindex+ag.length,ae=g.extend({},af),ab,ah;if(!I.hasClass(D)){ah=g.Event("tooltipfocus");ah.originalEvent=ae;I.trigger(ah,[T,ac]);if(!ah.isDefaultPrevented()){if(ad!==ac){ag.each(function(){if(this.style.zIndex>ad){this.style.zIndex=this.style.zIndex-1}});ag.filter("."+D).qtip("blur",ae)}I.addClass(D)[0].style.zIndex=ac}}return T},blur:function(ac){var ab=g.extend({},ac),ad;I.removeClass(D);ad=g.Event("tooltipblur");ad.originalEvent=ab;I.trigger(ad,[T]);return T},reposition:function(an,ak){if(!T.rendered||H){return T}H=1;var ar=G.position.target,aq=G.position,ah=aq.my,aj=aq.at,al=aq.adjust,ac=al.method.split(" "),ao=I.outerWidth(),am=I.outerHeight(),af=0,ag=0,ae=g.Event("tooltipmove"),ad=I.css("position")==="fixed",ap=aq.viewport,au={left:0,top:0},ai=T.plugins.tip,ab={horizontal:ac[0],vertical:ac[1]||ac[0],left:function(az){var av=ab.horizontal==="shift",ay=ap.offset.left+ap.scrollLeft,aw=ah.x==="left"?ao:ah.x==="right"?-ao:-ao/2,at=aj.x==="left"?af:aj.x==="right"?-af:-af/2,aB=ai&&ai.size?ai.size.width||0:0,aE=ai&&ai.corner&&ai.corner.precedance==="x"&&!av?aB:0,aD=ay-az+aE,ax=az+ao-ap.width-ay+aE,aA=aw-(ah.precedance==="x"||ah.x===ah.y?at:0),aC=ah.x==="center";if(av){aE=ai&&ai.corner&&ai.corner.precedance==="y"?aB:0;aA=(ah.x==="left"?1:-1)*aw-aE;au.left+=aD>0?aD:ax>0?-ax:0;au.left=Math.max(ap.offset.left+(aE&&ai.corner.x==="center"?ai.offset:0),az-aA,Math.min(Math.max(ap.offset.left+ap.width,az+aA),au.left))}else{if(aD>0&&(ah.x!=="left"||ax>0)){au.left-=aA+(aC?0:2*al.x)}else{if(ax>0&&(ah.x!=="right"||aD>0)){au.left-=aC?-aA:aA+(2*al.x)}}if(au.left!==az&&aC){au.left-=al.x}if(au.left<ay&&-au.left>ax){au.left=az}}return au.left-az},top:function(aB){var av=ab.vertical==="shift",az=ap.offset.top+ap.scrollTop,aw=ah.y==="top"?am:ah.y==="bottom"?-am:-am/2,aC=aj.y==="top"?ag:aj.y==="bottom"?-ag:-ag/2,at=ai&&ai.size?ai.size.height||0:0,aE=ai&&ai.corner&&ai.corner.precedance==="y"&&!av?at:0,ax=az-aB+aE,ay=aB+am-ap.height-az+aE,aA=aw-(ah.precedance==="y"||ah.x===ah.y?aC:0),aD=ah.y==="center";if(av){aE=ai&&ai.corner&&ai.corner.precedance==="x"?at:0;aA=(ah.y==="top"?1:-1)*aw-aE;au.top+=ax>0?ax:ay>0?-ay:0;au.top=Math.max(ap.offset.top+(aE&&ai.corner.x==="center"?ai.offset:0),aB-aA,Math.min(Math.max(ap.offset.top+ap.height,aB+aA),au.top))}else{if(ax>0&&(ah.y!=="top"||ay>0)){au.top-=aA+(aD?0:2*al.y)}else{if(ay>0&&(ah.y!=="bottom"||ax>0)){au.top-=aD?-aA:aA+(2*al.y)}}if(au.top!==aB&&aD){au.top-=al.y}if(au.top<0&&-au.top>ay){au.top=aB}}return au.top-aB}};if(g.isArray(ar)&&ar.length===2){aj={x:"left",y:"top"};au={left:ar[0],top:ar[1]}}else{if(ar==="mouse"&&((an&&an.pageX)||S.event.pageX)){aj={x:"left",y:"top"};an=(an&&(an.type==="resize"||an.type==="scroll")?S.event:an&&an.pageX&&an.type==="mousemove"?an:c&&c.pageX&&(al.mouse||!an||!an.pageX)?{pageX:c.pageX,pageY:c.pageY}:!al.mouse&&S.origin&&S.origin.pageX?S.origin:an)||an||S.event||c||{};au={top:an.pageY,left:an.pageX}}else{if(ar==="event"){if(an&&an.target&&an.type!=="scroll"&&an.type!=="resize"){ar=S.target=g(an.target)}else{ar=S.target}}else{S.target=g(ar)}ar=g(ar).eq(0);if(ar.length===0){return T}else{if(ar[0]===document||ar[0]===k){af=q.iOS?k.innerWidth:ar.width();ag=q.iOS?k.innerHeight:ar.height();if(ar[0]===k){au={top:!ad||q.iOS?(ap||ar).scrollTop():0,left:!ad||q.iOS?(ap||ar).scrollLeft():0}}}else{if(ar.is("area")&&q.imagemap){au=q.imagemap(ar,aj)}else{if(ar[0].namespaceURI==="http://www.w3.org/2000/svg"&&q.svg){au=q.svg(ar,aj)}else{af=ar.outerWidth();ag=ar.outerHeight();au=q.offset(ar,aq.container,ad)}}}}if(au.offset){af=au.width;ag=au.height;au=au.offset}au.left+=aj.x==="right"?af:aj.x==="center"?af/2:0;au.top+=aj.y==="bottom"?ag:aj.y==="center"?ag/2:0}}au.left+=al.x+(ah.x==="right"?-ao:ah.x==="center"?-ao/2:0);au.top+=al.y+(ah.y==="bottom"?-am:ah.y==="center"?-am/2:0);if(ap.jquery&&ar[0]!==k&&ar[0]!==P&&ab.vertical+ab.horizontal!=="nonenone"){ap={elem:ap,height:ap[(ap[0]===k?"h":"outerH")+"eight"](),width:ap[(ap[0]===k?"w":"outerW")+"idth"](),scrollLeft:ad?0:ap.scrollLeft(),scrollTop:ad?0:ap.scrollTop(),offset:ap.offset()||{left:0,top:0}};au.adjusted={left:ab.horizontal!=="none"?ab.left(au.left):0,top:ab.vertical!=="none"?ab.top(au.top):0}}else{au.adjusted={left:0,top:0}}I.attr("class",function(at,av){return g.attr(this,"class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(l+"-pos-"+ah.abbreviation());ae.originalEvent=g.extend({},an);I.trigger(ae,[T,au,ap.elem||ap]);if(ae.isDefaultPrevented()){return T}delete au.adjusted;if(ak===s||isNaN(au.left)||isNaN(au.top)||ar==="mouse"||!g.isFunction(aq.effect)){I.css(au)}else{if(g.isFunction(aq.effect)){aq.effect.call(I,T,g.extend({},au));I.queue(function(at){g(this).css({opacity:"",height:""});if(g.browser.msie){this.style.removeAttribute("filter")}at()})}}H=0;return T},redraw:function(){if(T.rendered<1||Z){return T}var ac=G.position.container,ae,af,ab,ad;Z=1;if(G.style.height){I.css("height",G.style.height)}if(G.style.width){I.css("width",G.style.width)}else{I.css("width","").addClass(y);af=I.width()+1;ab=I.css("max-width")||"";ad=I.css("min-width")||"";ae=(ab+ad).indexOf("%")>-1?ac.width()/100:0;ab=((ab.indexOf("%")>-1?ae:1)*parseInt(ab,10))||af;ad=((ad.indexOf("%")>-1?ae:1)*parseInt(ad,10))||0;af=ab+ad?Math.min(Math.max(af,ad),ab):af;I.css("width",Math.round(af)).removeClass(y)}Z=0;return T},disable:function(ab){if("boolean"!==typeof ab){ab=!(I.hasClass(f)||S.disabled)}if(T.rendered){I.toggleClass(f,ab);g.attr(I[0],"aria-disabled",ab)}else{S.disabled=!!ab}return T},enable:function(){return T.disable(s)},destroy:function(){var ab=aa[0],ac=g.attr(ab,o);if(T.rendered){I.remove();g.each(T.plugins,function(){if(this.destroy){this.destroy()}})}clearTimeout(T.timers.show);clearTimeout(T.timers.hide);K();g.removeData(ab,"qtip");if(G.suppress&&ac){g.attr(ab,"title",ac);aa.removeAttr(o)}aa.removeAttr("aria-describedby").unbind(".qtip");delete B[T.id];return aa}})}function u(F,E){var I,R,M,G,P,H=g(this),J=g(document.body),O=this===document?J:H,N=(H.metadata)?H.metadata(E.metadata):C,Q=E.metadata.type==="html5"&&N?N[E.metadata.name]:C,K=H.data(E.metadata.name||"qtipopts");try{K=typeof K==="string"?(new Function("return "+K))():K}catch(L){i("Unable to parse HTML5 attribute data: "+K)}G=g.extend(j,{},r.defaults,E,typeof K==="object"?a(K):C,a(Q||N));R=G.position;G.id=F;if("boolean"===typeof G.content.text){M=H.attr(G.content.attr);if(G.content.attr!==s&&M){G.content.text=M}else{i("Unable to locate content for tooltip! Aborting render of tooltip on element: ",H);return s}}if(R.container===s){R.container=J}if(R.target===s){R.target=O}if(G.show.target===s){G.show.target=O}if(G.show.solo===j){G.show.solo=J}if(G.hide.target===s){G.hide.target=O}if(G.position.viewport===j){G.position.viewport=R.container}R.at=new q.Corner(R.at);R.my=new q.Corner(R.my);if(g.data(this,"qtip")){if(G.overwrite){H.qtip("destroy")}else{if(G.overwrite===s){return s}}}if(G.suppress&&(P=g.attr(this,"title"))){g(this).removeAttr("title").attr(o,P)}I=new z(H,G,F,!!M);g.data(this,"qtip",I);H.bind("remove.qtip",function(){I.destroy()});return I}r=g.fn.qtip=function(F,J,K){var L=(""+F).toLowerCase(),I=C,E=L==="disable"?[j]:g.makeArray(arguments).slice(1),H=E[E.length-1],G=this[0]?g.data(this[0],"qtip"):C;if((!arguments.length&&G)||L==="api"){return G}else{if("string"===typeof F){this.each(function(){var M=g.data(this,"qtip");if(!M){return j}if(H&&H.timeStamp){M.cache.event=H}if((L==="option"||L==="options")&&J){if(g.isPlainObject(J)||K!==h){M.set(J,K)}else{I=M.get(J);return s}}else{if(M[L]){M[L].apply(M[L],E)}}});return I!==C?I:this}else{if("object"===typeof F||!arguments.length){G=a(g.extend(j,{},F));return r.bind.call(this,G,H)}}}};r.bind=function(F,E){return this.each(function(J){var H,G,I,L,K,N;N=g.isArray(F.id)?F.id[J]:F.id;N=!N||N===s||N.length<1||B[N]?r.nextid++:(B[N]=N);L=".qtip-"+N+"-create";K=u.call(this,N,F);if(K===s){return j}H=K.options;g.each(q,function(){if(this.initialize==="initialize"){this(K)}});G={show:H.show.target,hide:H.hide.target};I={show:g.trim(""+H.show.event).replace(/ /g,L+" ")+L,hide:g.trim(""+H.hide.event).replace(/ /g,L+" ")+L};if(/mouse(over|enter)/i.test(I.show)&&!/mouse(out|leave)/i.test(I.hide)){I.hide+=" mouseleave"+L}G.show.bind("mousemove"+L,function(O){c={pageX:O.pageX,pageY:O.pageY,type:"mousemove"}});function M(P){function O(){K.render(typeof P==="object"||H.show.ready);G.show.add(G.hide).unbind(L)}if(K.cache.disabled){return s}K.cache.event=g.extend({},P);K.cache.target=P?g(P.target):[h];if(H.show.delay>0){clearTimeout(K.timers.show);K.timers.show=setTimeout(O,H.show.delay);if(I.show!==I.hide){G.hide.bind(I.hide,function(){clearTimeout(K.timers.show)})}}else{O()}}G.show.bind(I.show,M);if(H.show.ready||H.prerender){M(E)}})};q=r.plugins={Corner:function(E){E=(""+E).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase();this.x=(E.match(/left|right/i)||E.match(/center/)||["inherit"])[0].toLowerCase();this.y=(E.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.precedance=(E.charAt(0).search(/^(t|b)/)>-1)?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y};this.abbreviation=function(){var F=this.x.substr(0,1),G=this.y.substr(0,1);return F===G?F:(F==="c"||(F!=="c"&&G!=="c"))?G+F:F+G}},offset:function(G,E,H){var J=G.offset(),L=E,M=0,I=document.body,F;function K(O,N){J.left+=N*O.scrollLeft();J.top+=N*O.scrollTop()}if(L){do{if(L.css("position")!=="static"){F=L[0]===I?{left:parseInt(L.css("left"),10)||0,top:parseInt(L.css("top"),10)||0}:L.position();J.left-=F.left+(parseInt(L.css("borderLeftWidth"),10)||0)+(parseInt(L.css("marginLeft"),10)||0);J.top-=F.top+(parseInt(L.css("borderTopWidth"),10)||0);M++}if(L[0]===I){break}}while(L=L.offsetParent());if(E[0]!==I&&M>1){K(E,1)}if((q.iOS<4.1&&q.iOS>3.1)||(!q.iOS&&H)){K(g(k),-1)}}return J},iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,3})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_","."))||s,fn:{attr:function(E,I){if(this.length){var F=this[0],H="title",G=g.data(F,"qtip");if(E===H&&"object"===typeof G&&G.options.suppress){if(arguments.length<2){return g.attr(F,o)}else{if(G&&G.options.content.attr===H&&G.cache.attr){G.set("content.text",I)}return this.attr(o,I)}}}return g.fn["attr"+A].apply(this,arguments)},clone:function(F){var H=g([]),G="title",E=g.fn["clone"+A].apply(this,arguments);if(!F){E.filter("["+o+"]").attr("title",function(){return g.attr(this,o)}).removeAttr(o)}return E},remove:g.ui?C:function(E,F){g(this).each(function(){if(!F){if(!E||g.filter(E,[this]).length){g("*",this).add(this).each(function(){g(this).triggerHandler("remove")})}}})}}};g.each(q.fn,function(F,G){if(!G){return j}var E=g.fn[F+A]=g.fn[F];g.fn[F]=function(){return G.apply(this,arguments)||E.apply(this,arguments)}});r.version="nightly";r.nextid=0;r.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");r.zindex=15000;r.defaults={prerender:s,id:s,overwrite:j,suppress:j,content:{text:j,attr:"title",title:{text:s,button:s}},position:{my:"top left",at:"bottom right",target:s,container:s,viewport:s,adjust:{x:0,y:0,mouse:j,resize:j,method:"flip flip"},effect:function(F,G,E){g(this).animate(G,{duration:200,queue:s})}},show:{target:s,event:"mouseenter",effect:j,delay:90,solo:s,ready:s,autofocus:s},hide:{target:s,event:"mouseleave",effect:j,delay:0,fixed:s,inactive:s,leave:"window",distance:s},style:{classes:"",widget:s,width:s,height:s},events:{render:C,move:C,show:C,hide:C,toggle:C,visible:C,focus:C,blur:C}};function v(H){var E=this,J=H.elements.tooltip,I=H.options.content.ajax,G=".qtip-ajax",F=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,K=j;H.checks.ajax={"^content.ajax":function(N,M,L){if(M==="ajax"){I=L}if(M==="once"){E.init()}else{if(I&&I.url){E.load()}else{J.unbind(G)}}}};g.extend(E,{init:function(){if(I&&I.url){J.unbind(G)[I.once?"one":"bind"]("tooltipshow"+G,E.load)}return E},load:function(M,Q){if(M&&M.isDefaultPrevented()){return E}var P=I.url.indexOf(" "),N=I.url,O,T=I.once&&!I.loading&&Q;if(T){J.css("visibility","hidden")}if(P>-1){O=N.substr(P);N=N.substr(0,P)}function L(){if(T){J.css("visibility","");Q=s}if(g.isFunction(I.complete)){I.complete.apply(this,arguments)}}function S(U){if(O){U=g("<div/>").append(U.replace(F,"")).find(O)}H.set("content.text",U)}function R(W,U,V){H.set("content.text",U+": "+V)}g.ajax(g.extend({success:S,error:R,context:H},I,{url:N,complete:L}));return E}});E.init()}q.ajax=function(F){var E=F.plugins.ajax;return"object"===typeof E?E:(F.plugins.ajax=new v(F))};q.ajax.initialize="render";q.ajax.sanitize=function(E){var G=E.content,F;if(G&&"ajax" in G){F=G.ajax;if(typeof F!=="object"){F=E.content.ajax={url:F}}if("boolean"!==typeof F.once&&F.once){F.once=!!F.once}}};g.extend(j,r.defaults,{content:{ajax:{loading:j,once:j}}});function w(J,H,F){var G=Math.ceil(H/2),I=Math.ceil(F/2),E={bottomright:[[0,0],[H,F],[H,0]],bottomleft:[[0,0],[H,0],[0,F]],topright:[[0,F],[H,0],[H,F]],topleft:[[0,0],[0,F],[H,F]],topcenter:[[0,F],[G,0],[H,F]],bottomcenter:[[0,0],[H,0],[G,F]],rightcenter:[[0,0],[H,I],[0,F]],leftcenter:[[H,0],[H,F],[0,I]]};E.lefttop=E.bottomright;E.righttop=E.bottomleft;E.leftbottom=E.topright;E.rightbottom=E.topleft;return E[J.string()]}function x(P,O){var R=this,G=P.options.style.tip,I=P.elements,S=I.tooltip,H={top:0,left:0,corner:""},T={width:G.width,height:G.height},N={},M=G.border||0,L=".qtip-tip",K=!!(g("<canvas />")[0]||{}).getContext;R.corner=C;R.mimic=C;R.border=M;R.offset=G.offset;R.size=T;P.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){if(!R.init()){R.destroy()}P.reposition()},"^style.tip.(height|width)$":function(){T={width:G.width,height:G.height};R.create();R.update();P.reposition()},"^content.title.text|style.(classes|widget)$":function(){if(I.tip){R.update()}}};function Q(V,ab,ae,ac){if(!I.tip){return}var ag=g.extend({},R.corner),af=ae.adjusted,U=P.options.position.adjust.method.split(" "),W=U[0],Y=U[1]||U[0],X={left:s,top:s,x:0,y:0},Z,aa={},ad;if(R.corner.fixed!==j){if(W==="shift"&&ag.precedance==="x"&&af.left&&ag.y!=="center"){ag.precedance=ag.precedance==="x"?"y":"x"}else{if(W==="flip"&&af.left){ag.x=ag.x==="center"?(af.left>0?"left":"right"):(ag.x==="left"?"right":"left")}}if(Y==="shift"&&ag.precedance==="y"&&af.top&&ag.x!=="center"){ag.precedance=ag.precedance==="y"?"x":"y"}else{if(Y==="flip"&&af.top){ag.y=ag.y==="center"?(af.top>0?"top":"bottom"):(ag.y==="top"?"bottom":"top")}}if(ag.string()!==H.corner&&(H.top!==af.top||H.left!==af.left)){R.update(ag,s)}}Z=R.position(ag,af);if(Z.right!==h){Z.left=-Z.right}if(Z.bottom!==h){Z.top=-Z.bottom}Z.user=Math.max(0,G.offset);if(X.left=(W==="shift"&&!!af.left)){if(ag.x==="center"){aa["margin-left"]=X.x=Z["margin-left"]-af.left}else{ad=Z.right!==h?[af.left,-Z.left]:[-af.left,Z.left];if((X.x=Math.max(ad[0],ad[1]))>ad[0]){ae.left-=af.left;X.left=s}aa[Z.right!==h?"right":"left"]=X.x}}if(X.top=(Y==="shift"&&!!af.top)){if(ag.y==="center"){aa["margin-top"]=X.y=Z["margin-top"]-af.top}else{ad=Z.bottom!==h?[af.top,-Z.top]:[-af.top,Z.top];if((X.y=Math.max(ad[0],ad[1]))>ad[0]){ae.top-=af.top;X.top=s}aa[Z.bottom!==h?"bottom":"top"]=X.y}}I.tip.css(aa).toggle(!((X.x&&X.y)||(ag.x==="center"&&X.y)||(ag.y==="center"&&X.x)));ae.left-=Z.left.charAt?Z.user:W!=="shift"||X.top||!X.left&&!X.top?Z.left:0;ae.top-=Z.top.charAt?Z.user:Y!=="shift"||X.left||!X.left&&!X.top?Z.top:0;H.left=af.left;H.top=af.top;H.corner=ag.string()}function F(Z,X,V){X=!X?Z[Z.precedance]:X;var aa=S.hasClass(y),U=I.titlebar&&Z.y==="top",Y=U?I.titlebar:I.content,W="border-"+X+"-width",ab;S.addClass(y);ab=parseInt(Y.css(W),10);ab=(V?ab||parseInt(S.css(W),10):ab)||0;S.toggleClass(y,aa);return ab}function J(Z){var U=I.titlebar&&Z.y==="top",Y=U?I.titlebar:I.content,X=g.browser.mozilla,aa=X?"-moz-":g.browser.webkit?"-webkit-":"",W=Z.y+(X?"":"-")+Z.x,V=aa+(X?"border-radius-"+W:"border-"+W+"-radius");return parseInt(Y.css(V),10)||parseInt(S.css(V),10)||0}function E(ad){var ab=ad.precedance==="y",V=T[ab?"width":"height"],ae=T[ab?"height":"width"],aa=ad.string().indexOf("center")>-1,U=V*(aa?0.5:1),X=Math.pow,af=Math.round,ac,Z,ag,W=Math.sqrt(X(U,2)+X(ae,2)),Y=[(M/U)*W,(M/ae)*W];Y[2]=Math.sqrt(X(Y[0],2)-X(M,2));Y[3]=Math.sqrt(X(Y[1],2)-X(M,2));ac=W+Y[2]+Y[3]+(aa?0:Y[0]);Z=ac/W;ag=[af(Z*ae),af(Z*V)];return{height:ag[ab?0:1],width:ag[ab?1:0]}}g.extend(R,{init:function(){var U=R.detectCorner()&&(K||g.browser.msie);if(U){R.create();R.update();S.unbind(L).bind("tooltipmove"+L,Q)}return U},detectCorner:function(){var W=G.corner,V=P.options.position,U=V.at,X=V.my.string?V.my.string():V.my;if(W===s||(X===s&&U===s)){return s}else{if(W===j){R.corner=new q.Corner(X)}else{if(!W.string){R.corner=new q.Corner(W);R.corner.fixed=j}}}return R.corner.string()!=="centercenter"},detectColours:function(){var Z,ah,X,ae=I.tip.css({backgroundColor:"",border:""}),af=R.corner,V=af[af.precedance],U="border-"+V+"-color",aa="border"+V.charAt(0)+V.substr(1)+"Color",ab=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,ad="background-color",ai="transparent",Y=g(document.body).css("color"),ag=P.elements.content.css("color"),ac=I.titlebar&&(af.y==="top"||(af.y==="center"&&ae.position().top+(T.height/2)+G.offset<I.titlebar.outerHeight(1))),W=ac?I.titlebar:I.content;S.addClass(y);N.fill=ah=ae.css(ad);N.border=X=ae[0].style[aa]||ae.css(U)||S.css(U);if(!ah||ab.test(ah)){N.fill=W.css(ad)||ai;if(ab.test(N.fill)){N.fill=S.css(ad)||ah}}if(!X||ab.test(X)||X===Y){N.border=W.css(U)||ai;if(ab.test(N.border)||N.border===ag){N.border=X}}g("*",ae).add(ae).css(ad,ai).css("border","");S.removeClass(y)},create:function(){var W=T.width,V=T.height,U;if(I.tip){I.tip.remove()}I.tip=g("<div />",{"class":"ui-tooltip-tip"}).css({width:W,height:V}).prependTo(S);if(K){g("<canvas />").appendTo(I.tip)[0].getContext("2d").save()}else{U='<vml:shape coordorigin="0,0" style="display:inline-block; position:absolute; behavior:url(#default#VML);"></vml:shape>';I.tip.html(U+U)}},update:function(ad,Z){var ac=I.tip,ai=ac.children(),W=T.width,ae=T.height,X="px solid ",ah="px dashed transparent",ag=G.mimic,af=Math.round,U,V,ab,Y,aa;if(!ad){ad=R.corner}if(ag===s){ag=ad}else{ag=new q.Corner(ag);ag.precedance=ad.precedance;if(ag.x==="inherit"){ag.x=ad.x}else{if(ag.y==="inherit"){ag.y=ad.y}else{if(ag.x===ag.y){ag[ad.precedance]=ad[ad.precedance]}}}}U=ag.precedance;R.detectColours();if(N.border!=="transparent"&&N.border!=="#123456"){M=F(ad,C,j);if(G.border===0&&M>0){N.fill=N.border}R.border=M=G.border!==j?G.border:M}else{R.border=M=0}ab=w(ag,W,ae);R.size=aa=E(ad);ac.css(aa);if(ad.precedance==="y"){Y=[af(ag.x==="left"?M:ag.x==="right"?aa.width-W-M:(aa.width-W)/2),af(ag.y==="top"?aa.height-ae:0)]}else{Y=[af(ag.x==="left"?aa.width-W:0),af(ag.y==="top"?M:ag.y==="bottom"?aa.height-ae-M:(aa.height-ae)/2)]}if(K){ai.attr(aa);V=ai[0].getContext("2d");V.restore();V.save();V.clearRect(0,0,3000,3000);V.translate(Y[0],Y[1]);V.beginPath();V.moveTo(ab[0][0],ab[0][1]);V.lineTo(ab[1][0],ab[1][1]);V.lineTo(ab[2][0],ab[2][1]);V.closePath();V.fillStyle=N.fill;V.strokeStyle=N.border;V.lineWidth=M*2;V.lineJoin="miter";V.miterLimit=100;if(M){V.stroke()}V.fill()}else{ab="m"+ab[0][0]+","+ab[0][1]+" l"+ab[1][0]+","+ab[1][1]+" "+ab[2][0]+","+ab[2][1]+" xe";Y[2]=M&&/^(r|b)/i.test(ad.string())?parseFloat(g.browser.version,10)===8?2:1:0;ai.css({antialias:""+(ag.string().indexOf("center")>-1),left:Y[0]-(Y[2]*Number(U==="x")),top:Y[1]-(Y[2]*Number(U==="y")),width:W+M,height:ae+M}).each(function(aj){var ak=g(this);ak[ak.prop?"prop":"attr"]({coordsize:(W+M)+" "+(ae+M),path:ab,fillcolor:N.fill,filled:!!aj,stroked:!!!aj}).css({display:M||aj?"block":"none"});if(!aj&&ak.html()===""){ak.html('<vml:stroke weight="'+(M*2)+'px" color="'+N.border+'" miterlimit="1000" joinstyle="miter"  style="behavior:url(#default#VML); display:inline-block;" />')}})}if(Z!==s){R.position(ad)}},position:function(Z){var aa=I.tip,V={},U=Math.max(0,G.offset),W,Y,X;if(G.corner===s||!aa){return s}Z=Z||R.corner;W=Z.precedance;Y=E(Z);X=[Z.x,Z.y];if(W==="x"){X.reverse()}g.each(X,function(ae,ad){var ab,ac;if(ad==="center"){ab=W==="y"?"left":"top";V[ab]="50%";V["margin-"+ab]=-Math.round(Y[W==="y"?"width":"height"]/2)+U}else{ab=F(Z,ad,j);ac=J(Z);V[ad]=ae?M?F(Z,ad):0:U+(ac>ab?ac:0)}});V[Z[W]]-=Y[W==="x"?"width":"height"];aa.css({top:"",bottom:"",left:"",right:"",margin:""}).css(V);return V},destroy:function(){if(I.tip){I.tip.remove()}S.unbind(L)}});R.init()}q.tip=function(F){var E=F.plugins.tip;return"object"===typeof E?E:(F.plugins.tip=new x(F))};q.tip.initialize="render";q.tip.sanitize=function(E){var F=E.style,G;if(F&&"tip" in F){G=E.style.tip;if(typeof G!=="object"){E.style.tip={corner:G}}if(!(/string|boolean/i).test(typeof G.corner)){G.corner=j}if(typeof G.width!=="number"){delete G.width}if(typeof G.height!=="number"){delete G.height}if(typeof G.border!=="number"&&G.border!==j){delete G.border}if(typeof G.offset!=="number"){delete G.offset}}};g.extend(j,r.defaults,{style:{tip:{corner:j,mimic:s,width:6,height:6,border:j,offset:0}}});q.svg=function(I,M){var L=g(document),G=I[0],N={width:0,height:0,offset:{top:10000000000,left:10000000000}},H,E,J,K,F;if(G.getBBox&&G.parentNode){H=G.getBBox();E=G.getScreenCTM();J=G.farthestViewportElement||G;if(!J.createSVGPoint){return N}K=J.createSVGPoint();K.x=H.x;K.y=H.y;F=K.matrixTransform(E);N.offset.left=F.x;N.offset.top=F.y;K.x+=H.width;K.y+=H.height;F=K.matrixTransform(E);N.width=F.x-N.offset.left;N.height=F.y-N.offset.top;N.offset.left+=L.scrollLeft();N.offset.top+=L.scrollTop()}return N};function b(K){var M=this,O=K.options.show.modal,E=K.elements,N=E.tooltip,G="#qtip-overlay",F=".qtipmodal",H=F+K.id,L="is-modal-qtip",J=g(document.body),I;K.checks.modal={"^show.modal.(on|blur)$":function(){M.init();E.overlay.toggle(N.is(":visible"))}};g.extend(M,{init:function(){if(!O.on){return M}I=M.create();N.attr(L,j).css("z-index",q.modal.zindex+g(t+"["+L+"]").length).unbind(F).unbind(H).bind("tooltipshow"+F+" tooltiphide"+F,function(R,Q,S){var P=R.originalEvent;if(P&&R.type==="tooltiphide"&&/mouse(leave|enter)/.test(P.type)&&g(P.relatedTarget).closest(I[0]).length){R.preventDefault()}else{M[R.type.replace("tooltip","")](R,S)}}).bind("tooltipfocus"+F,function(R){if(R.isDefaultPrevented()){return}var S=g(t).filter("["+L+"]"),Q=q.modal.zindex+S.length,P=parseInt(N[0].style.zIndex,10);I[0].style.zIndex=Q;S.each(function(){if(this.style.zIndex>P){this.style.zIndex-=1}});S.end().filter("."+D).qtip("blur",R.originalEvent);N.addClass(D)[0].style.zIndex=Q;R.preventDefault()}).bind("tooltiphide"+F,function(P){g("["+L+"]:visible").not(N).last().qtip("focus",P)});if(O.escape){g(k).unbind(H).bind("keydown"+H,function(P){if(P.keyCode===27&&N.hasClass(D)){K.hide(P)}})}if(O.blur){E.overlay.unbind(H).bind("click"+H,function(P){if(N.hasClass(D)){K.hide(P)}})}return M},create:function(){var P=g(G);if(P.length){E.overlay=P;return P}I=E.overlay=g("<div />",{id:G.substr(1),html:"<div></div>",mousedown:function(){return s}}).insertBefore(g(t).first());g(k).unbind(F).bind("resize"+F,function(){I.css({height:g(k).height(),width:g(k).width()})}).triggerHandler("resize");return I},toggle:function(T,U,V){if(T&&T.isDefaultPrevented()){return M}var S=O.effect,R=U?"show":"hide",W=I.is(":visible"),Q=g("["+L+"]:visible").not(N),P;if(!I){I=M.create()}if((I.is(":animated")&&W===U)||(!U&&Q.length)){return M}if(U){I.css({left:0,top:0});I.toggleClass("blurs",O.blur);J.delegate("*","focusin"+H,function(X){if(g(X.target).closest(t)[0]!==N[0]){g("a, :input, img",N).add(N).focus()}})}else{J.undelegate("*","focusin"+H)}I.stop(j,s);if(g.isFunction(S)){S.call(I,U)}else{if(S===s){I[R]()}else{I.fadeTo(parseInt(V,10)||90,U?1:0,function(){if(!U){g(this).hide()}})}}if(!U){I.queue(function(X){I.css({left:"",top:""});X()})}return M},show:function(P,Q){return M.toggle(P,j,Q)},hide:function(P,Q){return M.toggle(P,s,Q)},destroy:function(){var P=I;if(P){P=g("["+L+"]").not(N).length<1;if(P){E.overlay.remove();g(k).unbind(F)}else{E.overlay.unbind(F+K.id)}J.undelegate("*","focusin"+H)}return N.removeAttr(L).unbind(F)}});M.init()}q.modal=function(F){var E=F.plugins.modal;return"object"===typeof E?E:(F.plugins.modal=new b(F))};q.modal.initialize="render";q.modal.sanitize=function(E){if(E.show){if(typeof E.show.modal!=="object"){E.show.modal={on:!!E.show.modal}}else{if(typeof E.show.modal.on==="undefined"){E.show.modal.on=j}}}};q.modal.zindex=r.zindex-=200;g.extend(j,r.defaults,{show:{modal:{on:s,effect:j,blur:j,escape:j}}})}(jQuery,window));$(document).ready(function(){$(".tip").qtip({content:{text:function(a){return $(this).attr("title").split(" :: ")[1]},title:{text:function(a){return $(this).attr("title").split(" :: ")[0]}}},position:{my:"top left",target:"mouse",viewport:$(window),adjust:{x:10,y:10}},hide:{fixed:true},style:"ui-tooltip-youtube"});$(".tip.sfx-menu").qtip({content:{text:function(a){return $(this).attr("title").split(" :: ")[1]},title:{text:function(a){return $(this).attr("title").split(" :: ")[0]}}},position:{my:"top left",target:"mouse",viewport:$(window),adjust:{x:0,y:10}},hide:{fixed:true},style:"ui-tooltip-youtube sfx-menu"})});
