window.innerShiv=(function(){var d,r;return function(h,u){if(!d){d=document.createElement("div");r=document.createDocumentFragment();/*@cc_on d.style.display = 'none'@*/}var e=d.cloneNode(true);/*@cc_on document.body.appendChild(e);@*/e.innerHTML=h.replace(/^\s\s*/,"").replace(/\s\s*$/,"");/*@cc_on document.body.removeChild(e);@*/if(u===false){return e.childNodes}var f=r.cloneNode(true),i=e.childNodes.length;while(i--){f.appendChild(e.firstChild)}return f}}());(function(F,D,G){var J=true,T=false,c=null,R,S,B,Q={},K="ui-tooltip",I="ui-widget",E="ui-state-disabled",V="div.qtip."+K,d=K+"-default",N=K+"-focus",C=K+"-hover",U=K+"-fluid",P="-31000px",b="_replacedByqTip",O="oldtitle",M;function H(){H.history=H.history||[];H.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 L(f){var e;if(!f||"object"!==typeof f){return T}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||T;if(!F.isFunction(e)&&((!e&&!e.attr)||e.length<1||("object"===typeof e&&!e.jquery))){f.content.text=T}if("title" in f.content){if("object"!==typeof f.content.title){f.content.title={text:f.content.title}}e=f.content.title.text||T;if(!F.isFunction(e)&&((!e&&!e.attr)||e.length<1||("object"===typeof e&&!e.jquery))){f.content.title.text=T}}}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}}}F.each(S,function(){if(this.sanitize){this.sanitize(f)}});return f}function a(t,n,v,x){var u=this,p=document.body,j=K+"-"+v,o=0,AA=0,l=jQuery(),q=".qtip-"+v,e,s;u.id=v;u.rendered=T;u.elements=e={target:t};u.timers={img:{}};u.options=n;u.checks={};u.plugins={};u.cache=s={event:{},target:jQuery(),disabled:T,attr:x};function k(AE){var AD=0,AF,AC=n,AB=AE.split(".");while(AC=AC[AB[AD++]]){if(AD<AB.length){AF=AC}}return[AF||n,AB.pop()]}function z(){var AB=n.style.widget;l.toggleClass(I,AB).toggleClass(d,!AB);e.content.toggleClass(I+"-content",AB);if(e.titlebar){e.titlebar.toggleClass(I+"-header",AB)}if(e.button){e.button.toggleClass(K+"-icon",!AB)}}function r(AB){if(e.title){e.titlebar.remove();e.titlebar=e.title=e.button=c;if(AB!==T){u.reposition()}}}function y(){var AB=n.content.title.button,AC=typeof AB==="string",AD=AC?AB:"Close tooltip";if(e.button){e.button.remove()}if(AB.jquery){e.button=AB}else{e.button=jQuery("<a />",{"class":"ui-state-default "+(n.style.widget?"":K+"-icon"),"title":AD,"aria-label":AD}).prepend(jQuery("<span />",{"class":"ui-icon ui-icon-close","html":"&times;"}))}e.button.appendTo(e.titlebar).attr("role","button").hover(function(AE){jQuery(this).toggleClass("ui-state-hover",AE.type==="mouseenter")}).click(function(AE){if(!l.hasClass(E)){u.hide(AE)}return T}).bind("mousedown keydown mouseup keyup mouseout",function(AE){jQuery(this).toggleClass("ui-state-active ui-state-focus",AE.type.substr(-4)==="down")});u.redraw()}function i(){var AB=j+"-title";if(e.titlebar){r()}e.titlebar=jQuery("<div />",{"class":K+"-titlebar "+(n.style.widget?"ui-widget-header":"")}).append(e.title=jQuery("<div />",{"id":AB,"class":K+"-title","aria-atomic":J})).insertBefore(e.content);if(n.content.title.button){y()}else{if(u.rendered){u.redraw()}}}function g(AB){var AC=e.button,AD=e.title;if(!u.rendered){return T}if(!AB){AC.remove()}else{if(!AD){i()}y()}}function w(AD,AB){var AC=e.title;if(!u.rendered||!AD){return T}if(F.isFunction(AD)){AD=AD.call(t,s.event,u)}if(AD===T){return r(T)}else{if(AD.jquery&&AD.length>0){AC.empty().append(AD.css({display:"block"}))}else{AC.html(AD)}}u.redraw();if(AB!==T&&u.rendered&&l.is(":visible")){u.reposition(s.event)}}function f(AE,AC){var AD=e.content;if(!u.rendered||!AE){return T}if(F.isFunction(AE)){AE=AE.call(t,s.event,u)||""}if(AE.jquery&&AE.length>0){AD.empty().append(AE.css({display:"block"}))}else{AD.html(AE)}function AB(AF){var AH,AG={};function AI(AJ){if(AJ){delete AG[AJ.src];clearTimeout(u.timers.img[AJ.src]);jQuery(AJ).unbind(q)}if(F.isEmptyObject(AG)){u.redraw();if(AC!==T){u.reposition(s.event)}AF()}}if((AH=AD.find("img:not([height]):not([width])")).length===0){return AI()}AH.each(function(AJ,AK){if(AG[AK.src]!==G){return }(function AL(){if(AK.height||AK.width){return AI(AK)}u.timers.img[AK.src]=setTimeout(AL,700)}());jQuery(AK).bind("error"+q+" load"+q,function(){AI(this)});AG[AK.src]=AK})}if(u.rendered<0){l.queue("fx",AB)}else{AA=0;AB(F.noop)}return u}function h(){var AC=n.position,AF={show:n.show.target,hide:n.hide.target,viewport:jQuery(AC.viewport),document:jQuery(document),window:jQuery(D)},AD={show:F.trim(""+n.show.event).split(" "),hide:F.trim(""+n.hide.event).split(" ")},AB=F.browser.msie&&parseInt(F.browser.version,10)===6;function AG(AJ){if(l.hasClass(E)){return T}AF.show.trigger("qtip-"+v+"-inactive");clearTimeout(u.timers.show);clearTimeout(u.timers.hide);var AK=function(){u.toggle(J,AJ)};if(n.show.delay>0){u.timers.show=setTimeout(AK,n.show.delay)}else{AK()}}function AE(AM){if(l.hasClass(E)||o||AA){return T}var AJ=jQuery(AM.relatedTarget||AM.target),AL=AJ.closest(V)[0]===l[0],AK=AJ[0]===AF.show[0];clearTimeout(u.timers.show);clearTimeout(u.timers.hide);if((AC.target==="mouse"&&AL)||(n.hide.fixed&&((/mouse(out|leave|move)/).test(AM.type)&&(AL||AK)))){AM.preventDefault();AM.stopImmediatePropagation();return }if(n.hide.delay>0){u.timers.hide=setTimeout(function(){u.hide(AM)},n.hide.delay)}else{u.hide(AM)}}function AH(AJ){if(l.hasClass(E)){return T}clearTimeout(u.timers.inactive);u.timers.inactive=setTimeout(function(){u.hide(AJ)},n.hide.inactive)}function AI(AJ){if(l.is(":visible")){u.reposition(AJ)}}l.bind("mouseenter"+q+" mouseleave"+q,function(AJ){var AK=AJ.type==="mouseenter";if(AK){u.focus(AJ)}l.toggleClass(C,AK)});if(n.hide.fixed){AF.hide=AF.hide.add(l);l.bind("mouseover"+q,function(){if(!l.hasClass(E)){clearTimeout(u.timers.hide)}})}if(/mouse(out|leave)/i.test(n.hide.event)){if(n.hide.leave==="window"){AF.window.bind("mouseout"+q,function(AJ){if(/select|option/.test(AJ.target)&&!AJ.relatedTarget){u.hide(AJ)}})}}else{if(/mouse(over|enter)/i.test(n.show.event)){AF.hide.bind("mouseleave"+q,function(AJ){clearTimeout(u.timers.show)})}}if((""+n.hide.event).indexOf("unfocus")>-1){AF.document.bind("mousedown"+q,function(AL){var AJ=jQuery(AL.target),AK=!l.hasClass(E)&&l.is(":visible");if(AJ[0]!==l[0]&&AJ.parents(V).length===0&&AJ.add(t).length>1){u.hide(AL)}})}if("number"===typeof n.hide.inactive){AF.show.bind("qtip-"+v+"-inactive",AH);F.each(R.inactiveEvents,function(AJ,AK){AF.hide.add(e.tooltip).bind(AK+q+"-inactive",AH)})}F.each(AD.hide,function(AJ,AK){var AM=F.inArray(AK,AD.show),AL=jQuery(AF.hide);if((AM>-1&&AL.add(AF.show).length===AL.length)||AK==="unfocus"){AF.show.bind(AK+q,function(AN){if(l.is(":visible")){AE(AN)}else{AG(AN)}});delete AD.show[AM]}else{AF.hide.bind(AK+q,AE)}});F.each(AD.show,function(AJ,AK){AF.show.bind(AK+q,AG)});if("number"===typeof n.hide.distance){AF.show.add(l).bind("mousemove"+q,function(AM){var AL=s.origin||{},AK=n.hide.distance,AJ=Math.abs;if(AJ(AM.pageX-AL.pageX)>=AK||AJ(AM.pageY-AL.pageY)>=AK){u.hide(AM)}})}if(AC.target==="mouse"){AF.show.bind("mousemove"+q,function(AJ){B={pageX:AJ.pageX,pageY:AJ.pageY,type:"mousemove"}});if(AC.adjust.mouse){if(n.hide.event){l.bind("mouseleave"+q,function(AJ){if((AJ.relatedTarget||AJ.target)!==AF.show[0]){u.hide(AJ)}})}AF.document.bind("mousemove"+q,function(AJ){if(!l.hasClass(E)&&l.is(":visible")){u.reposition(AJ||B)}})}}if(AC.adjust.resize||AF.viewport.length){(F.event.special.resize?AF.viewport:AF.window).bind("resize"+q,AI)}if(AF.viewport.length||(AB&&l.css("position")==="fixed")){AF.viewport.bind("scroll"+q,AI)}}function m(){var AB=[n.show.target[0],n.hide.target[0],u.rendered&&e.tooltip[0],n.position.container[0],n.position.viewport[0],D,document];if(u.rendered){jQuery([]).pushStack(F.grep(AB,function(AC){return typeof AC==="object"})).unbind(q)}else{n.show.target.unbind(q+"-create")}}u.checks.builtin={"^id$":function(AC,AD,AB){var AF=AB===J?R.nextid:AB,AE=K+"-"+AF;if(AF!==T&&AF.length>0&&!jQuery("#"+AE).length){l[0].id=AE;e.content[0].id=AE+"-content";e.title[0].id=AE+"-title"}},"^content.text$":function(AC,AD,AB){f(AB)},"^content.title.text$":function(AC,AD,AB){if(!AB){return r()}if(!e.title&&AB){i()}w(AB)},"^content.title.button$":function(AC,AD,AB){g(AB)},"^position.(my|at)$":function(AC,AD,AB){if("string"===typeof AB){AC[AD]=new S.Corner(AB)}},"^position.container$":function(AC,AD,AB){if(u.rendered){l.appendTo(AB)}},"^show.ready$":function(){if(!u.rendered){u.render(1)}else{u.toggle(J)}},"^style.classes$":function(AC,AD,AB){l.attr("class",K+" qtip ui-helper-reset "+AB)},"^style.widget|content.title":z,"^events.(render|show|move|hide|focus|blur)$":function(AC,AD,AB){l[(F.isFunction(AB)?"":"un")+"bind"]("tooltip"+AD,AB)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var AB=n.position;l.attr("tracking",AB.target==="mouse"&&AB.adjust.mouse);m();h()}};F.extend(u,{render:function(AB){if(u.rendered){return u}var AE=n.content.title.text,AC=n.position,AD=F.Event("tooltiprender");F.attr(t[0],"aria-describedby",j);l=e.tooltip=jQuery("<div/>",{"id":j,"class":K+" qtip ui-helper-reset "+d+" "+n.style.classes+" "+K+"-pos-"+n.position.my.abbreviation(),"width":n.style.width||"","height":n.style.height||"","tracking":AC.target==="mouse"&&AC.adjust.mouse,"role":"alert","aria-live":"polite","aria-atomic":T,"aria-describedby":j+"-content","aria-hidden":J}).toggleClass(E,s.disabled).data("qtip",u).appendTo(n.position.container).append(e.content=jQuery("<div />",{"class":K+"-content","id":j+"-content","aria-atomic":J}));u.rendered=-1;AA=1;o=1;if(AE){i();w(AE,T)}f(n.content.text,T);u.rendered=J;z();F.each(n.events,function(AF,AG){if(F.isFunction(AG)){l.bind(AF==="toggle"?"tooltipshow tooltiphide":"tooltip"+AF,AG)}});F.each(S,function(){if(this.initialize==="render"){this(u)}});h();l.queue("fx",function(AF){AD.originalEvent=s.event;l.trigger(AD,[u]);AA=0;o=0;u.redraw();if(n.show.ready||AB){u.toggle(J,s.event)}AF()});return u},get:function(AB){var AC,AD;switch(AB.toLowerCase()){case"dimensions":AC={height:l.outerHeight(),width:l.outerWidth()};break;case"offset":AC=S.offset(l,n.position.container);break;default:AD=k(AB.toLowerCase());AC=AD[0][AD[1]];AC=AC.precedance?AC.string():AC;break}return AC},set:function(AC,AH){var AD=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,AJ=/^content\.(title|attr)|style/i,AI=T,AF=T,AE=u.checks,AB;function AG(AN,AL){var AM,AO,AK;for(AM in AE){for(AO in AE[AM]){if(AK=(new RegExp(AO,"i")).exec(AN)){AL.push(AK);AE[AM][AO].apply(u,AL)}}}}if("string"===typeof AC){AB=AC;AC={};AC[AB]=AH}else{AC=F.extend(J,{},AC)}F.each(AC,function(AL,AM){var AN=k(AL.toLowerCase()),AK;AK=AN[0][AN[1]];AN[0][AN[1]]="object"===typeof AM&&AM.nodeType?jQuery(AM):AM;AC[AL]=[AN[0],AN[1],AM,AK];AI=AD.test(AL)||AI;AF=AJ.test(AL)||AF});L(n);o=AA=1;F.each(AC,AG);o=AA=0;if(l.is(":visible")&&u.rendered){if(AI){u.reposition(n.position.target==="mouse"?c:s.event)}if(AF){u.redraw()}}return u},toggle:function(AE,AD){if(!u.rendered){if(AE){u.render(1)}else{return u}}var AJ=AE?"show":"hide",AB=n[AJ],AF=l.is(":visible"),AI=!AD||n[AJ].target.length<2||s.target[0]===AD.target,AL=n.position,AG=n.content,AH,AK;if((typeof AE).search("boolean|number")){AE=!AF}if(!l.is(":animated")&&AF===AE&&AI){return u}if(AD){if((/over|enter/).test(AD.type)&&(/out|leave/).test(s.event.type)&&AD.target===n.show.target[0]&&l.has(AD.relatedTarget).length){return u}s.event=F.extend({},AD)}AK=F.Event("tooltip"+AJ);AK.originalEvent=AD?s.event:c;l.trigger(AK,[u,90]);if(AK.isDefaultPrevented()){return u}F.attr(l[0],"aria-hidden",!!!AE);if(AE){s.origin=F.extend({},B);u.focus(AD);if(F.isFunction(AG.text)){f(AG.text,T)}if(F.isFunction(AG.title.text)){w(AG.title.text,T)}if(!M&&AL.target==="mouse"&&AL.adjust.mouse){jQuery(document).bind("mousemove.qtip",function(AM){B={pageX:AM.pageX,pageY:AM.pageY,type:"mousemove"}});M=J}u.reposition(AD);if(AB.solo){jQuery(V,AB.solo).not(l).qtip("hide",AK)}}else{clearTimeout(u.timers.show);delete s.origin;if(M&&!jQuery(V+'[tracking="true"]:visible',AB.solo).not(l).length){jQuery(document).unbind("mousemove.qtip");M=T}u.blur(AD)}function AC(){if(AE){if(F.browser.msie){l[0].style.removeAttribute("filter")}l.css("overflow","");if("string"===typeof AB.autofocus){jQuery(AB.autofocus,l).focus()}AK=F.Event("tooltipvisible");AK.originalEvent=AD?s.event:c;l.trigger(AK,[u])}else{l.css({display:"",visibility:"",opacity:"",left:"",top:""})}}if(AI){l.stop(0,1)}if(AB.effect===T){l[AJ]();AC.call(l)}else{if(F.isFunction(AB.effect)){AB.effect.call(l,u);l.queue("fx",function(AM){AC();AM()})}else{l.fadeTo(90,AE?1:0,AC)}}if(AE){AB.target.trigger("qtip-"+v+"-inactive")}return u},show:function(AB){return u.toggle(J,AB)},hide:function(AB){return u.toggle(T,AB)},focus:function(AF){if(!u.rendered){return u}var AG=jQuery(V),AD=parseInt(l[0].style.zIndex,10),AC=R.zindex+AG.length,AE=F.extend({},AF),AB,AH;if(!l.hasClass(N)){AH=F.Event("tooltipfocus");AH.originalEvent=AE;l.trigger(AH,[u,AC]);if(!AH.isDefaultPrevented()){if(AD!==AC){AG.each(function(){if(this.style.zIndex>AD){this.style.zIndex=this.style.zIndex-1}});AG.filter("."+N).qtip("blur",AE)}l.addClass(N)[0].style.zIndex=AC}}return u},blur:function(AC){var AB=F.extend({},AC),AD;l.removeClass(N);AD=F.Event("tooltipblur");AD.originalEvent=AB;l.trigger(AD,[u]);return u},reposition:function(AN,AT){if(!u.rendered||o){return u}o=1;var AL=n.position.target,AM=n.position,AJ=AM.my,AK=AM.at,AQ=AM.adjust,AH=AQ.method.split(" "),AO=l.outerWidth(),AP=l.outerHeight(),AE=0,AD=0,AF=F.Event("tooltipmove"),AC=l.css("position")==="fixed",AR=AM.viewport,AS={left:0,top:0},AB=T,AI=u.plugins.tip,AG={horizontal:AH[0],vertical:(AH[1]=AH[1]||AH[0]),enabled:AR.jquery&&AL[0]!==D&&AL[0]!==p&&AQ.method!=="none",left:function(Ab){var AV=AG.horizontal==="shift",Aa=AR.offset.left+AR.scrollLeft,AW=AJ.x==="left"?AO:AJ.x==="right"?-AO:-AO/2,Ac=AK.x==="left"?AE:AK.x==="right"?-AE:-AE/2,AY=AI&&AI.size?AI.size.width||0:0,Ad=AI&&AI.corner&&AI.corner.precedance==="x"&&!AV?AY:0,Ae=Aa-Ab+Ad,AX=Ab+AO-AR.width-Aa+Ad,AZ=AW-(AJ.precedance==="x"||AJ.x===AJ.y?Ac:0),AU=AJ.x==="center";if(AV){Ad=AI&&AI.corner&&AI.corner.precedance==="y"?AY:0;AZ=(AJ.x==="left"?1:-1)*AW-Ad;AS.left+=Ae>0?Ae:AX>0?-AX:0;AS.left=Math.max(AR.offset.left+(Ad&&AI.corner.x==="center"?AI.offset:0),Ab-AZ,Math.min(Math.max(AR.offset.left+AR.width,Ab+AZ),AS.left))}else{if(Ae>0&&(AJ.x!=="left"||AX>0)){AS.left-=AZ}else{if(AX>0&&(AJ.x!=="right"||Ae>0)){AS.left-=AU?-AZ:AZ}}if(AS.left!==Ab&&AU){AS.left-=AQ.x}if(AS.left<Aa&&-AS.left>AX){AS.left=Ab}}return AS.left-Ab},top:function(AY){var AW=AG.vertical==="shift",Ab=AR.offset.top+AR.scrollTop,Ad=AJ.y==="top"?AP:AJ.y==="bottom"?-AP:-AP/2,AX=AK.y==="top"?AD:AK.y==="bottom"?-AD:-AD/2,AU=AI&&AI.size?AI.size.height||0:0,Ae=AI&&AI.corner&&AI.corner.precedance==="y"&&!AW?AU:0,Ac=Ab-AY+Ae,AZ=AY+AP-AR.height-Ab+Ae,Aa=Ad-(AJ.precedance==="y"||AJ.x===AJ.y?AX:0),AV=AJ.y==="center";if(AW){Ae=AI&&AI.corner&&AI.corner.precedance==="x"?AU:0;Aa=(AJ.y==="top"?1:-1)*Ad-Ae;AS.top+=Ac>0?Ac:AZ>0?-AZ:0;AS.top=Math.max(AR.offset.top+(Ae&&AI.corner.x==="center"?AI.offset:0),AY-Aa,Math.min(Math.max(AR.offset.top+AR.height,AY+Aa),AS.top))}else{if(Ac>0&&(AJ.y!=="top"||AZ>0)){AS.top-=Aa}else{if(AZ>0&&(AJ.y!=="bottom"||Ac>0)){AS.top-=AV?-Aa:Aa}}if(AS.top!==AY&&AV){AS.top-=AQ.y}if(AS.top<0&&-AS.top>AZ){AS.top=AY}}return AS.top-AY}};if(F.isArray(AL)&&AL.length===2){AK={x:"left",y:"top"};AS={left:AL[0],top:AL[1]}}else{if(AL==="mouse"&&((AN&&AN.pageX)||s.event.pageX)){AK={x:"left",y:"top"};AN=(AN&&(AN.type==="resize"||AN.type==="scroll")?s.event:AN&&AN.pageX&&AN.type==="mousemove"?AN:B&&B.pageX&&(AQ.mouse||!AN||!AN.pageX)?{pageX:B.pageX,pageY:B.pageY}:!AQ.mouse&&s.origin&&s.origin.pageX?s.origin:AN)||AN||s.event||B||{};AS={top:AN.pageY,left:AN.pageX}}else{if(AL==="event"){if(AN&&AN.target&&AN.type!=="scroll"&&AN.type!=="resize"){AL=s.target=jQuery(AN.target)}else{AL=s.target}}else{s.target=jQuery(AL)}AL=jQuery(AL).eq(0);if(AL.length===0){return u}else{if(AL[0]===document||AL[0]===D){AE=S.iOS?D.innerWidth:AL.width();AD=S.iOS?D.innerHeight:AL.height();if(AL[0]===D){AS={top:!AC||S.iOS?(AR||AL).scrollTop():0,left:!AC||S.iOS?(AR||AL).scrollLeft():0}}}else{if(AL.is("area")&&S.imagemap){AS=S.imagemap(AL,AK,AG.enabled?AH:T)}else{if(AL[0].namespaceURI==="http://www.w3.org/2000/svg"&&S.svg){AS=S.svg(AL,AK)}else{AE=AL.outerWidth();AD=AL.outerHeight();AS=S.offset(AL,AM.container,AC)}}}}if(AS.offset){AE=AS.width;AD=AS.height;AB=AS.flipoffset;AS=AS.offset}AS.left+=AK.x==="right"?AE:AK.x==="center"?AE/2:0;AS.top+=AK.y==="bottom"?AD:AK.y==="center"?AD/2:0}}AS.left+=AQ.x+(AJ.x==="right"?-AO:AJ.x==="center"?-AO/2:0);AS.top+=AQ.y+(AJ.y==="bottom"?-AP:AJ.y==="center"?-AP/2:0);if(AG.enabled){AR={elem:AR,height:AR[(AR[0]===D?"h":"outerH")+"eight"](),width:AR[(AR[0]===D?"w":"outerW")+"idth"](),scrollLeft:AC?0:AR.scrollLeft(),scrollTop:AC?0:AR.scrollTop(),offset:AR.offset()||{left:0,top:0}};AS.adjusted={left:AG.horizontal!=="none"?AG.left(AS.left):0,top:AG.vertical!=="none"?AG.top(AS.top):0};if(AS.adjusted.left+AS.adjusted.top){l.attr("class",function(AU,AV){return AV.replace(/ui-tooltip-pos-\w+/i,K+"-pos-"+AJ.abbreviation())})}if(AB&&AS.adjusted.left){AS.left+=AB.left}if(AB&&AS.adjusted.top){AS.top+=AB.top}}else{AS.adjusted={left:0,top:0}}AF.originalEvent=F.extend({},AN);l.trigger(AF,[u,AS,AR.elem||AR]);if(AF.isDefaultPrevented()){return u}delete AS.adjusted;if(AT===T||isNaN(AS.left)||isNaN(AS.top)||AL==="mouse"||!F.isFunction(AM.effect)){l.css(AS)}else{if(F.isFunction(AM.effect)){AM.effect.call(l,u,F.extend({},AS));l.queue(function(AU){jQuery(this).css({opacity:"",height:""});if(F.browser.msie){this.style.removeAttribute("filter")}AU()})}}o=0;return u},redraw:function(){if(u.rendered<1||AA){return u}var AF=n.position.container,AD,AE,AB,AC;AA=1;if(n.style.height){l.css("height",n.style.height)}if(n.style.width){l.css("width",n.style.width)}else{l.css("width","").addClass(U);AE=l.width()+1;AB=l.css("max-width")||"";AC=l.css("min-width")||"";AD=(AB+AC).indexOf("%")>-1?AF.width()/100:0;AB=((AB.indexOf("%")>-1?AD:1)*parseInt(AB,10))||AE;AC=((AC.indexOf("%")>-1?AD:1)*parseInt(AC,10))||0;AE=AB+AC?Math.min(Math.max(AE,AC),AB):AE;l.css("width",Math.round(AE)).removeClass(U)}AA=0;return u},disable:function(AB){if("boolean"!==typeof AB){AB=!(l.hasClass(E)||s.disabled)}if(u.rendered){l.toggleClass(E,AB);F.attr(l[0],"aria-disabled",AB)}else{s.disabled=!!AB}return u},enable:function(){return u.disable(T)},destroy:function(){var AB=t[0],AC=F.attr(AB,O);if(u.rendered){l.remove();F.each(u.plugins,function(){if(this.destroy){this.destroy()}})}clearTimeout(u.timers.show);clearTimeout(u.timers.hide);m();F.removeData(AB,"qtip");if(n.suppress&&AC){F.attr(AB,"title",AC);t.removeAttr(O)}t.removeAttr("aria-describedby").unbind(".qtip");delete Q[u.id];return t}})}function W(g,f){var i,p,n,l,o,h=jQuery(this),j=jQuery(document.body),s=this===document?j:h,r=(h.metadata)?h.metadata(f.metadata):c,q=f.metadata.type==="html5"&&r?r[f.metadata.name]:c,k=h.data(f.metadata.name||"qtipopts");try{k=typeof k==="string"?(new Function("return "+k))():k}catch(m){H("Unable to parse HTML5 attribute data: "+k)}l=F.extend(J,{},R.defaults,f,typeof k==="object"?L(k):c,L(q||r));p=l.position;l.id=g;if("boolean"===typeof l.content.text){n=h.attr(l.content.attr);if(l.content.attr!==T&&n){l.content.text=n}else{H("Unable to locate content for tooltip! Aborting render of tooltip on element: ",h);return T}}if(p.container===T){p.container=j}if(p.target===T){p.target=s}if(l.show.target===T){l.show.target=s}if(l.show.solo===J){l.show.solo=j}if(l.hide.target===T){l.hide.target=s}if(l.position.viewport===J){l.position.viewport=p.container}p.at=new S.Corner(p.at);p.my=new S.Corner(p.my);if(F.data(this,"qtip")){if(l.overwrite){h.qtip("destroy")}else{if(l.overwrite===T){return T}}}if(l.suppress&&(o=F.attr(this,"title"))){jQuery(this).removeAttr("title").attr(O,o)}i=new a(h,l,g,!!n);F.data(this,"qtip",i);h.bind("remove.qtip",function(){i.destroy()});return i}R=F.fn.qtip=function(g,j,k){var l=(""+g).toLowerCase(),e=c,f=l==="disable"?[J]:F.makeArray(arguments).slice(1),i=f[f.length-1],h=this[0]?F.data(this[0],"qtip"):c;if((!arguments.length&&h)||l==="api"){return h}else{if("string"===typeof g){this.each(function(){var m=F.data(this,"qtip");if(!m){return J}if(i&&i.timeStamp){m.cache.event=i}if((l==="option"||l==="options")&&j){if(F.isPlainObject(j)||k!==G){m.set(j,k)}else{e=m.get(j);return T}}else{if(m[l]){m[l].apply(m[l],f)}}});return e!==c?e:this}else{if("object"===typeof g||!arguments.length){h=L(F.extend(J,{},g));return R.bind.call(this,h,i)}}}};R.bind=function(f,e){return this.each(function(k){var j,n,h,m,l,o;o=F.isArray(f.id)?f.id[k]:f.id;o=!o||o===T||o.length<1||Q[o]?R.nextid++:(Q[o]=o);m=".qtip-"+o+"-create";l=W.call(this,o,f);if(l===T){return J}j=l.options;F.each(S,function(){if(this.initialize==="initialize"){this(l)}});n={show:j.show.target,hide:j.hide.target};h={show:F.trim(""+j.show.event).replace(/ /g,m+" ")+m,hide:F.trim(""+j.hide.event).replace(/ /g,m+" ")+m};if(/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)){h.hide+=" mouseleave"+m}n.show.bind("mousemove"+m,function(i){B={pageX:i.pageX,pageY:i.pageY,type:"mousemove"}});function g(p){function i(){l.render(typeof p==="object"||j.show.ready);n.show.add(n.hide).unbind(m)}if(l.cache.disabled){return T}l.cache.event=F.extend({},p);l.cache.target=p?jQuery(p.target):[G];if(j.show.delay>0){clearTimeout(l.timers.show);l.timers.show=setTimeout(i,j.show.delay);if(h.show!==h.hide){n.hide.bind(h.hide,function(){clearTimeout(l.timers.show)})}}else{i()}}n.show.bind(h.show,g);if(j.show.ready||j.prerender){g(e)}})};S=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(f,i,g){var j=f.offset(),l=i,k=0,h=document.body,e;function m(o,n){j.left+=n*o.scrollLeft();j.top+=n*o.scrollTop()}if(l){do{if(l.css("position")!=="static"){e=l[0]===h?{left:parseInt(l.css("left"),10)||0,top:parseInt(l.css("top"),10)||0}:l.position();j.left-=e.left+(parseInt(l.css("borderLeftWidth"),10)||0)+(parseInt(l.css("marginLeft"),10)||0);j.top-=e.top+(parseInt(l.css("borderTopWidth"),10)||0);k++}if(l[0]===h){break}}while(l=l.offsetParent());if(i[0]!==h&&k>1){m(i,1)}if((S.iOS<4.1&&S.iOS>3.1)||(!S.iOS&&g)){m(jQuery(D),-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("_","."))||T,fn:{attr:function(e,i){if(this.length){var f=this[0],h="title",g=F.data(f,"qtip");if(e===h&&g&&"object"===typeof g&&g.options.suppress){if(arguments.length<2){return F.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 F.fn["attr"+b].apply(this,arguments)},clone:function(e){var h=jQuery([]),g="title",f=F.fn["clone"+b].apply(this,arguments);if(!e){f.filter("["+O+"]").attr("title",function(){return F.attr(this,O)}).removeAttr(O)}return f},remove:F.ui?c:function(f,e){jQuery(this).each(function(){if(!e){if(!f||F.filter(f,[this]).length){jQuery("*",this).add(this).each(function(){jQuery(this).triggerHandler("remove")})}}})}}};F.each(S.fn,function(f,g){if(!g||F.fn[f+b]){return J}var e=F.fn[f+b]=F.fn[f];F.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:T,id:T,overwrite:J,suppress:J,content:{text:J,attr:"title",title:{text:T,button:T}},position:{my:"top left",at:"bottom right",target:T,container:T,viewport:T,adjust:{x:0,y:0,mouse:J,resize:J,method:"flip flip"},effect:function(f,g,e){jQuery(this).animate(g,{duration:200,queue:T})}},show:{target:T,event:"mouseenter",effect:J,delay:90,solo:T,ready:T,autofocus:T},hide:{target:T,event:"mouseleave",effect:J,delay:0,fixed:T,inactive:T,leave:"window",distance:T},style:{classes:"",widget:T,width:T,height:T},events:{render:c,move:c,show:c,hide:c,toggle:c,visible:c,focus:c,blur:c}};function X(i){var f=this,e=i.elements.tooltip,j=i.options.content.ajax,h=".qtip-ajax",g=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,k=J;i.checks.ajax={"^content.ajax":function(n,m,l){if(m==="ajax"){j=l}if(m==="once"){f.init()}else{if(j&&j.url){f.load()}else{e.unbind(h)}}}};F.extend(f,{init:function(){if(j&&j.url){e.unbind(h)[j.once?"one":"bind"]("tooltipshow"+h,f.load)}return f},load:function(m,q){if(m&&m.isDefaultPrevented()){return f}var p=j.url.indexOf(" "),l=j.url,o,t=j.once&&!j.loading&&q;if(t){e.css("visibility","hidden")}if(p>-1){o=l.substr(p);l=l.substr(0,p)}function n(){if(t){e.css("visibility","");q=T}if(F.isFunction(j.complete)){j.complete.apply(this,arguments)}}function s(u){if(o){u=jQuery("<div/>").append(u.replace(g,"")).find(o)}i.set("content.text",u)}function r(v,w,u){i.set("content.text",w+": "+u)}F.ajax(F.extend({success:s,error:r,context:i},j,{url:l,complete:n}));return f}});f.init()}S.ajax=function(f){var e=f.plugins.ajax;return"object"===typeof e?e:(f.plugins.ajax=new X(f))};S.ajax.initialize="render";S.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}}};F.extend(J,R.defaults,{content:{ajax:{loading:J,once:J}}});function Y(f,h,j){var g=Math.ceil(h/2),i=Math.ceil(j/2),e={bottomright:[[0,0],[h,j],[h,0]],bottomleft:[[0,0],[h,0],[0,j]],topright:[[0,j],[h,0],[h,j]],topleft:[[0,0],[0,j],[h,j]],topcenter:[[0,j],[g,0],[h,j]],bottomcenter:[[0,0],[h,0],[g,j]],rightcenter:[[0,0],[h,i],[0,j]],leftcenter:[[h,0],[h,j],[0,i]]};e.lefttop=e.bottomright;e.righttop=e.bottomleft;e.leftbottom=e.topright;e.rightbottom=e.topleft;return e[f.string()]}function Z(n,l){var s=this,g=n.options.style.tip,h=n.elements,q=h.tooltip,f={top:0,left:0,corner:""},t={width:g.width,height:g.height},k={},m=g.border||0,j=".qtip-tip",o=!!(jQuery("<canvas />")[0]||{}).getContext;s.corner=c;s.mimic=c;s.border=m;s.offset=g.offset;s.size=t;n.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){if(!s.init()){s.destroy()}n.reposition()},"^style.tip.(height|width)$":function(){t={width:g.width,height:g.height};s.create();s.update();n.reposition()},"^content.title.text|style.(classes|widget)$":function(){if(h.tip){s.update()}}};function r(v,AA,AE,AB){if(!h.tip){return }var AF=F.extend({},s.corner),AG=AE.adjusted,AD=n.options.position.adjust.method.split(" "),u=AD[0],y=AD[1]||AD[0],w={left:T,top:T,x:0,y:0},x,z={},AC;if(s.corner.fixed!==J){if(u==="shift"&&AF.precedance==="x"&&AG.left&&AF.y!=="center"){AF.precedance=AF.precedance==="x"?"y":"x"}else{if(u==="flip"&&AG.left){AF.x=AF.x==="center"?(AG.left>0?"left":"right"):(AF.x==="left"?"right":"left")}}if(y==="shift"&&AF.precedance==="y"&&AG.top&&AF.x!=="center"){AF.precedance=AF.precedance==="y"?"x":"y"}else{if(y==="flip"&&AG.top){AF.y=AF.y==="center"?(AG.top>0?"top":"bottom"):(AF.y==="top"?"bottom":"top")}}if(AF.string()!==f.corner&&(f.top!==AG.top||f.left!==AG.left)){s.update(AF,T)}}x=s.position(AF,AG);if(x.right!==G){x.left=-x.right}if(x.bottom!==G){x.top=-x.bottom}x.user=Math.max(0,g.offset);if(w.left=(u==="shift"&&!!AG.left)){if(AF.x==="center"){z["margin-left"]=w.x=x["margin-left"]-AG.left}else{AC=x.right!==G?[AG.left,-x.left]:[-AG.left,x.left];if((w.x=Math.max(AC[0],AC[1]))>AC[0]){AE.left-=AG.left;w.left=T}z[x.right!==G?"right":"left"]=w.x}}if(w.top=(y==="shift"&&!!AG.top)){if(AF.y==="center"){z["margin-top"]=w.y=x["margin-top"]-AG.top}else{AC=x.bottom!==G?[AG.top,-x.top]:[-AG.top,x.top];if((w.y=Math.max(AC[0],AC[1]))>AC[0]){AE.top-=AG.top;w.top=T}z[x.bottom!==G?"bottom":"top"]=w.y}}h.tip.css(z).toggle(!((w.x&&w.y)||(AF.x==="center"&&w.y)||(AF.y==="center"&&w.x)));AE.left-=x.left.charAt?x.user:u!=="shift"||w.top||!w.left&&!w.top?x.left:0;AE.top-=x.top.charAt?x.user:y!=="shift"||w.left||!w.left&&!w.top?x.top:0;f.left=AG.left;f.top=AG.top;f.corner=AF.string()}function e(v,y,x){y=!y?v[v.precedance]:y;var AA=q.hasClass(U),u=h.titlebar&&v.y==="top",z=u?h.titlebar:h.content,w="border-"+y+"-width",AB;q.addClass(U);AB=parseInt(z.css(w),10);AB=(x?AB||parseInt(q.css(w),10):AB)||0;q.toggleClass(U,AA);return AB}function i(w){var v=h.titlebar&&w.y==="top",AA=v?h.titlebar:h.content,z=F.browser.mozilla,u=z?"-moz-":F.browser.webkit?"-webkit-":"",y=w.y+(z?"":"-")+w.x,x=u+(z?"border-radius-"+y:"border-"+y+"-radius");return parseInt(AA.css(x),10)||parseInt(q.css(x),10)||0}function p(AF){var AD=AF.precedance==="y",v=t[AD?"width":"height"],AE=t[AD?"height":"width"],u=AF.string().indexOf("center")>-1,w=v*(u?0.5:1),z=Math.pow,AH=Math.round,AG,AB,AC,x=Math.sqrt(z(w,2)+z(AE,2)),AA=[(m/w)*x,(m/AE)*x];AA[2]=Math.sqrt(z(AA[0],2)-z(m,2));AA[3]=Math.sqrt(z(AA[1],2)-z(m,2));AG=x+AA[2]+AA[3]+(u?0:AA[0]);AB=AG/x;AC=[AH(AB*AE),AH(AB*v)];return{height:AC[AD?0:1],width:AC[AD?1:0]}}F.extend(s,{init:function(){var u=s.detectCorner()&&(o||F.browser.msie);if(u){s.create();s.update();q.unbind(j).bind("tooltipmove"+j,r)}return u},detectCorner:function(){var v=g.corner,w=n.options.position,u=w.at,x=w.my.string?w.my.string():w.my;if(v===T||(x===T&&u===T)){return T}else{if(v===J){s.corner=new S.Corner(x)}else{if(!v.string){s.corner=new S.Corner(v);s.corner.fixed=J}}}return s.corner.string()!=="centercenter"},detectColours:function(){var z,AI,y,AF=h.tip.css({backgroundColor:"",border:""}),AH=s.corner,v=AH[AH.precedance],u="border-"+v+"-color",AA="border"+v.charAt(0)+v.substr(1)+"Color",AB=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,AE="background-color",AC="transparent",x=jQuery(document.body).css("color"),AD=n.elements.content.css("color"),AG=h.titlebar&&(AH.y==="top"||(AH.y==="center"&&AF.position().top+(t.height/2)+g.offset<h.titlebar.outerHeight(1))),w=AG?h.titlebar:h.content;q.addClass(U);k.fill=AI=AF.css(AE);k.border=y=AF[0].style[AA]||AF.css(u)||q.css(u);if(!AI||AB.test(AI)){k.fill=w.css(AE)||AC;if(AB.test(k.fill)){k.fill=q.css(AE)||AI}}if(!y||AB.test(y)||y===x){k.border=w.css(u)||AC;if(AB.test(k.border)||k.border===AD){k.border=y}}jQuery("*",AF).add(AF).css(AE,AC).css("border","");q.removeClass(U)},create:function(){var v=t.width,w=t.height,u;if(h.tip){h.tip.remove()}h.tip=jQuery("<div />",{"class":"ui-tooltip-tip"}).css({width:v,height:w}).prependTo(q);if(o){jQuery("<canvas />").appendTo(h.tip)[0].getContext("2d").save()}else{u='<vml:shape coordorigin="0,0" style="display:inline-block; position:absolute; behavior:url(#default#VML);"></vml:shape>';h.tip.html(u+u)}},update:function(AE,z){var AD=h.tip,AI=AD.children(),x=t.width,AC=t.height,w="px solid ",AB="px dashed transparent",AH=g.mimic,AG=Math.round,u,v,AF,y,AA;if(!AE){AE=s.corner}if(AH===T){AH=AE}else{AH=new S.Corner(AH);AH.precedance=AE.precedance;if(AH.x==="inherit"){AH.x=AE.x}else{if(AH.y==="inherit"){AH.y=AE.y}else{if(AH.x===AH.y){AH[AE.precedance]=AE[AE.precedance]}}}}u=AH.precedance;s.detectColours();if(k.border!=="transparent"&&k.border!=="#123456"){m=e(AE,c,J);if(g.border===0&&m>0){k.fill=k.border}s.border=m=g.border!==J?g.border:m}else{s.border=m=0}AF=Y(AH,x,AC);s.size=AA=p(AE);AD.css(AA);if(AE.precedance==="y"){y=[AG(AH.x==="left"?m:AH.x==="right"?AA.width-x-m:(AA.width-x)/2),AG(AH.y==="top"?AA.height-AC:0)]}else{y=[AG(AH.x==="left"?AA.width-x:0),AG(AH.y==="top"?m:AH.y==="bottom"?AA.height-AC-m:(AA.height-AC)/2)]}if(o){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(AF[0][0],AF[0][1]);v.lineTo(AF[1][0],AF[1][1]);v.lineTo(AF[2][0],AF[2][1]);v.closePath();v.fillStyle=k.fill;v.strokeStyle=k.border;v.lineWidth=m*2;v.lineJoin="miter";v.miterLimit=100;if(m){v.stroke()}v.fill()}else{AF="m"+AF[0][0]+","+AF[0][1]+" l"+AF[1][0]+","+AF[1][1]+" "+AF[2][0]+","+AF[2][1]+" xe";y[2]=m&&/^(r|b)/i.test(AE.string())?parseFloat(F.browser.version,10)===8?2:1:0;AI.css({antialias:""+(AH.string().indexOf("center")>-1),left:y[0]-(y[2]*Number(u==="x")),top:y[1]-(y[2]*Number(u==="y")),width:x+m,height:AC+m}).each(function(AJ){var AK=jQuery(this);AK[AK.prop?"prop":"attr"]({coordsize:(x+m)+" "+(AC+m),path:AF,fillcolor:k.fill,filled:!!AJ,stroked:!!!AJ}).css({display:m||AJ?"block":"none"});if(!AJ&&AK.html()===""){AK.html('<vml:stroke weight="'+(m*2)+'px" color="'+k.border+'" miterlimit="1000" joinstyle="miter" '+' style="behavior:url(#default#VML); display:inline-block;" />')}})}if(z!==T){s.position(AE)}},position:function(x){var AA=h.tip,v={},u=Math.max(0,g.offset),w,z,y;if(g.corner===T||!AA){return T}x=x||s.corner;w=x.precedance;z=p(x);y=[x.x,x.y];if(w==="x"){y.reverse()}F.each(y,function(AE,AD){var AB,AC;if(AD==="center"){AB=w==="y"?"left":"top";v[AB]="50%";v["margin-"+AB]=-Math.round(z[w==="y"?"width":"height"]/2)+u}else{AB=e(x,AD,J);AC=i(x);v[AD]=AE?m?e(x,AD):0:u+(AC>AB?AC:0)}});v[x[w]]-=z[w==="x"?"width":"height"];AA.css({top:"",bottom:"",left:"",right:"",margin:""}).css(v);return v},destroy:function(){if(h.tip){h.tip.remove()}q.unbind(j)}});s.init()}S.tip=function(f){var e=f.plugins.tip;return"object"===typeof e?e:(f.plugins.tip=new Z(f))};S.tip.initialize="render";S.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}}};F.extend(J,R.defaults,{style:{tip:{corner:J,mimic:T,width:6,height:6,border:J,offset:0}}});function A(k){var o=this,n=k.options.show.modal,e=k.elements,m=e.tooltip,h="#qtip-overlay",f=".qtipmodal",g=f+k.id,l="is-modal-qtip",j=jQuery(document.body),i;k.checks.modal={"^show.modal.(on|blur)$":function(){o.init();e.overlay.toggle(m.is(":visible"))}};F.extend(o,{init:function(){if(!n.on){return o}i=o.create();m.attr(l,J).css("z-index",S.modal.zindex+jQuery(V+"["+l+"]").length).unbind(f).unbind(g).bind("tooltipshow"+f+" tooltiphide"+f,function(r,q,s){var p=r.originalEvent;if(p&&r.type==="tooltiphide"&&/mouse(leave|enter)/.test(p.type)&&jQuery(p.relatedTarget).closest(i[0]).length){r.preventDefault()}else{o[r.type.replace("tooltip","")](r,s)}}).bind("tooltipfocus"+f,function(r){if(r.isDefaultPrevented()){return }var s=jQuery(V).filter("["+l+"]"),q=S.modal.zindex+s.length,p=parseInt(m[0].style.zIndex,10);i[0].style.zIndex=q;s.each(function(){if(this.style.zIndex>p){this.style.zIndex-=1}});s.end().filter("."+N).qtip("blur",r.originalEvent);m.addClass(N)[0].style.zIndex=q;try{r.preventDefault()}catch(t){}}).bind("tooltiphide"+f,function(p){jQuery("["+l+"]").filter(":visible").not(m).last().qtip("focus",p)});if(n.escape){jQuery(D).unbind(g).bind("keydown"+g,function(p){if(p.keyCode===27&&m.hasClass(N)){k.hide(p)}})}if(n.blur){e.overlay.unbind(g).bind("click"+g,function(p){if(m.hasClass(N)){k.hide(p)}})}return o},create:function(){var p=jQuery(h);if(p.length){e.overlay=p;return p}i=e.overlay=jQuery("<div />",{id:h.substr(1),html:"<div></div>",mousedown:function(){return T}}).insertBefore(jQuery(V).first());jQuery(D).unbind(f).bind("resize"+f,function(){i.css({height:jQuery(D).height(),width:jQuery(D).width()})}).triggerHandler("resize");return i},toggle:function(t,u,w){if(t&&t.isDefaultPrevented()){return o}var p=n.effect,s=u?"show":"hide",v=i.is(":visible"),r=jQuery("["+l+"]").filter(":visible").not(m),q;if(!i){i=o.create()}if((i.is(":animated")&&v===u)||(!u&&r.length)){return o}if(u){i.css({left:0,top:0});i.toggleClass("blurs",n.blur);j.delegate("*","focusin"+g,function(x){if(jQuery(x.target).closest(V)[0]!==m[0]){jQuery("a, :input, img",m).add(m).focus()}})}else{j.undelegate("*","focusin"+g)}i.stop(J,T);if(F.isFunction(p)){p.call(i,u)}else{if(p===T){i[s]()}else{i.fadeTo(parseInt(w,10)||90,u?1:0,function(){if(!u){jQuery(this).hide()}})}}if(!u){i.queue(function(x){i.css({left:"",top:""});x()})}return o},show:function(p,q){return o.toggle(p,J,q)},hide:function(p,q){return o.toggle(p,T,q)},destroy:function(){var p=i;if(p){p=jQuery("["+l+"]").not(m).length<1;if(p){e.overlay.remove();jQuery(D).unbind(f)}else{e.overlay.unbind(f+k.id)}j.undelegate("*","focusin"+g)}return m.removeAttr(l).unbind(f)}});o.init()}S.modal=function(f){var e=f.plugins.modal;return"object"===typeof e?e:(f.plugins.modal=new A(f))};S.modal.initialize="render";S.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}}}};S.modal.zindex=R.zindex-=200;F.extend(J,R.defaults,{show:{modal:{on:T,effect:J,blur:J,escape:J}}})}(jQuery,window));jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(E,D,A,B,C){return jQuery.easing[jQuery.easing.def](E,D,A,B,C)},easeInQuad:function(E,D,A,B,C){return B*(D/=C)*D+A},easeOutQuad:function(E,D,A,B,C){return -B*(D/=C)*(D-2)+A},easeInOutQuad:function(E,D,A,B,C){if((D/=C/2)<1){return B/2*D*D+A}return -B/2*((--D)*(D-2)-1)+A},easeInCubic:function(E,D,A,B,C){return B*(D/=C)*D*D+A},easeOutCubic:function(E,D,A,B,C){return B*((D=D/C-1)*D*D+1)+A},easeInOutCubic:function(E,D,A,B,C){if((D/=C/2)<1){return B/2*D*D*D+A}return B/2*((D-=2)*D*D+2)+A},easeInQuart:function(E,D,A,B,C){return B*(D/=C)*D*D*D+A},easeOutQuart:function(E,D,A,B,C){return -B*((D=D/C-1)*D*D*D-1)+A},easeInOutQuart:function(E,D,A,B,C){if((D/=C/2)<1){return B/2*D*D*D*D+A}return -B/2*((D-=2)*D*D*D-2)+A},easeInQuint:function(E,D,A,B,C){return B*(D/=C)*D*D*D*D+A},easeOutQuint:function(E,D,A,B,C){return B*((D=D/C-1)*D*D*D*D+1)+A},easeInOutQuint:function(E,D,A,B,C){if((D/=C/2)<1){return B/2*D*D*D*D*D+A}return B/2*((D-=2)*D*D*D*D+2)+A},easeInSine:function(E,D,A,B,C){return -B*Math.cos(D/C*(Math.PI/2))+B+A},easeOutSine:function(E,D,A,B,C){return B*Math.sin(D/C*(Math.PI/2))+A},easeInOutSine:function(E,D,A,B,C){return -B/2*(Math.cos(Math.PI*D/C)-1)+A},easeInExpo:function(E,D,A,B,C){return(D==0)?A:B*Math.pow(2,10*(D/C-1))+A},easeOutExpo:function(E,D,A,B,C){return(D==C)?A+B:B*(-Math.pow(2,-10*D/C)+1)+A},easeInOutExpo:function(E,D,A,B,C){if(D==0){return A}if(D==C){return A+B}if((D/=C/2)<1){return B/2*Math.pow(2,10*(D-1))+A}return B/2*(-Math.pow(2,-10*--D)+2)+A},easeInCirc:function(E,D,A,B,C){return -B*(Math.sqrt(1-(D/=C)*D)-1)+A},easeOutCirc:function(E,D,A,B,C){return B*Math.sqrt(1-(D=D/C-1)*D)+A},easeInOutCirc:function(E,D,A,B,C){if((D/=C/2)<1){return -B/2*(Math.sqrt(1-D*D)-1)+A}return B/2*(Math.sqrt(1-(D-=2)*D)+1)+A},easeInElastic:function(G,E,H,A,B){var D=1.70158;var C=0;var F=A;if(E==0){return H}if((E/=B)==1){return H+A}if(!C){C=B*0.3}if(F<Math.abs(A)){F=A;var D=C/4}else{var D=C/(2*Math.PI)*Math.asin(A/F)}return -(F*Math.pow(2,10*(E-=1))*Math.sin((E*B-D)*(2*Math.PI)/C))+H},easeOutElastic:function(G,E,H,A,B){var D=1.70158;var C=0;var F=A;if(E==0){return H}if((E/=B)==1){return H+A}if(!C){C=B*0.3}if(F<Math.abs(A)){F=A;var D=C/4}else{var D=C/(2*Math.PI)*Math.asin(A/F)}return F*Math.pow(2,-10*E)*Math.sin((E*B-D)*(2*Math.PI)/C)+A+H},easeInOutElastic:function(G,E,H,A,B){var D=1.70158;var C=0;var F=A;if(E==0){return H}if((E/=B/2)==2){return H+A}if(!C){C=B*(0.3*1.5)}if(F<Math.abs(A)){F=A;var D=C/4}else{var D=C/(2*Math.PI)*Math.asin(A/F)}if(E<1){return -0.5*(F*Math.pow(2,10*(E-=1))*Math.sin((E*B-D)*(2*Math.PI)/C))+H}return F*Math.pow(2,-10*(E-=1))*Math.sin((E*B-D)*(2*Math.PI)/C)*0.5+A+H},easeInBack:function(F,E,A,B,C,D){if(D==undefined){D=1.70158}return B*(E/=C)*E*((D+1)*E-D)+A},easeOutBack:function(F,E,A,B,C,D){if(D==undefined){D=1.70158}return B*((E=E/C-1)*E*((D+1)*E+D)+1)+A},easeInOutBack:function(F,E,A,B,C,D){if(D==undefined){D=1.70158}if((E/=C/2)<1){return B/2*(E*E*(((D*=(1.525))+1)*E-D))+A}return B/2*((E-=2)*E*(((D*=(1.525))+1)*E+D)+2)+A},easeInBounce:function(E,D,A,B,C){return B-jQuery.easing.easeOutBounce(E,C-D,0,B,C)+A},easeOutBounce:function(E,D,A,B,C){if((D/=C)<(1/2.75)){return B*(7.5625*D*D)+A}else{if(D<(2/2.75)){return B*(7.5625*(D-=(1.5/2.75))*D+0.75)+A}else{if(D<(2.5/2.75)){return B*(7.5625*(D-=(2.25/2.75))*D+0.9375)+A}else{return B*(7.5625*(D-=(2.625/2.75))*D+0.984375)+A}}}},easeInOutBounce:function(E,D,A,B,C){if(D<C/2){return jQuery.easing.easeInBounce(E,D*2,0,B,C)*0.5+A}return jQuery.easing.easeOutBounce(E,D*2-C,0,B,C)*0.5+B*0.5+A}});(function(A){A.fn.expandCollapse=function(B){var C={duration:1000,easing:"swing",expandedClass:"expanded",startHidden:true},D=A.extend(C,B);return this.each(function(){var E=A(this),F=E.prev();if(D.startHidden&&!F.is("."+D.expandedClass)){E.hide()}F.click(function(G){G.preventDefault();if(!F.is(D.openedClass)){F.toggleClass(D.expandedClass);E.slideToggle(D.duration,D.easing)}})})}})(jQuery);(function(A){function C(D){this.input=D;D.attr("type")=="password"&&this.handlePassword();A(D[0].form).submit(function(){if(D.hasClass("placeholder")&&D[0].value==D.attr("placeholder")){D[0].value=""}})}C.prototype={show:function(E){if(this.input[0].value===""||E&&this.valueIsPlaceholder()){if(this.isPassword){try{this.input[0].setAttribute("type","text")}catch(D){this.input.before(this.fakePassword.show()).hide()}}this.input.addClass("placeholder");this.input[0].value=this.input.attr("placeholder")}},hide:function(){if(this.valueIsPlaceholder()&&this.input.hasClass("placeholder")&&(this.input.removeClass("placeholder"),this.input[0].value="",this.isPassword)){try{this.input[0].setAttribute("type","password")}catch(D){}this.input.show();this.input[0].focus()}},valueIsPlaceholder:function(){return this.input[0].value==this.input.attr("placeholder")},handlePassword:function(){var D=this.input;D.attr("realType","password");this.isPassword=!0;if(A.browser.msie&&D[0].outerHTML){var E=A(D[0].outerHTML.replace(/type=(['"])?password\1/gi,"type=$1text$1"));this.fakePassword=E.val(D.attr("placeholder")).addClass("placeholder").focus(function(){D.trigger("focus");A(this).hide()});A(D[0].form).submit(function(){E.remove();D.show()})}}};var B=!!("placeholder" in document.createElement("input"));A.fn.placeholder=function(){return B?this:this.each(function(){var D=A(this),E=new C(D);E.show(!0);D.focus(function(){E.hide()});D.blur(function(){E.show(!1)});A.browser.msie&&(A(window).load(function(){D.val()&&D.removeClass("placeholder");E.show(!0)}),D.focus(function(){if(this.value==""){var F=this.createTextRange();F.collapse(!0);F.moveStart("character",0);F.select()}}))})}})(jQuery);jQuery("input[placeholder], textarea[placeholder]").placeholder();jQuery(document).ready(function(){jQuery(".moodlist .playbutton").bind("click",function(B){B.preventDefault();var A=jQuery(this);if(A.hasClass("playing")){A.closest(".moodlist").find(".playbutton").removeClass("playing")}else{A.closest(".moodlist").find(".playbutton").removeClass("playing");A.addClass("playing")}})});jQuery(document).ready(function(){jQuery("#project").change(function(B){jQuery("#project-selector").children(".option").css("display","none");var E=jQuery(this).val();if(E){var D={"nature":jQuery(this).val()};jQuery(".option_for_"+jQuery(this).val()).each(function(){if(jQuery(this).attr("name")=="duration"){jQuery(this).val("unlimited")}if(jQuery(this).val()!=""){D[jQuery(this).attr("name")]=jQuery(this).val()}});var C={"currency":jQuery("#currency").html(),"nb_tracks":"1"};jQuery.extend(C,D);var A=Jamendo.writeApi("jscached cached pro_pricing",["licensing","get_minimum_pricing",C],function(F){jQuery("#price_header").html(F.subscription.sym);jQuery(".price_by_track").html(F.subscription.sym).show();Jamendo.Pro.Cart.reloadSidebarBlockWithParams(C);Jamendo.writeApi("pro_fixproject",[C],function(G){if(!G.project_ready){jQuery(".add2cart").each(function(){})}else{jQuery(".add2cart_disabled").each(function(){if(jQuery(this).is(":visible")){jQuery(this).hide();jQuery("#add2cart_"+jQuery(this).attr("relateditem")).show()}})}Jamendo.Pro.Cart.reloadCartData();Jamendo.Pro.Cart.pricePerTrack=G.price_per_track})});jQuery("#project-selector .selector label").html(jQuery("#project-selector .selector label").attr("data-label-compact"));jQuery("#project-selector").addClass("selected").children(".option").siblings(".price").hide().fadeIn("slow","easeOutCubic");jQuery("#project-selector").children(".option_"+E).css("display","block")}else{jQuery("#project-selector .selector label").html(jQuery("#project-selector .selector label").attr("data-label-long"));jQuery("#project-selector").removeClass("selected").children(".option").siblings(".price").hide()}});jQuery(".project_option").change(function(B){if(jQuery(this).hasClass("option_for_website")){if(jQuery(this).attr("name")=="project_type"){if(jQuery(this).attr("value")=="multiple"){jQuery(".option_for_website[name=duration] option[value=1_year]").attr("disabled","disabled");jQuery(".option_for_website[name=duration] option[value=3_year]").attr("disabled","disabled");jQuery(".option_for_website[name=duration] option[value=1_year]").css("color","#ccc");jQuery(".option_for_website[name=duration] option[value=3_year]").css("color","#ccc")}else{jQuery(".option_for_website[name=duration] option[value=1_year]").removeAttr("disabled");jQuery(".option_for_website[name=duration] option[value=3_year]").removeAttr("disabled");jQuery(".option_for_website[name=duration] option[value=1_year]").css("color","#000");jQuery(".option_for_website[name=duration] option[value=3_year]").css("color","#000")}}if(jQuery(".option_for_website[name=project_type]").attr("value")=="multiple"){jQuery(".option_for_website[name=duration]").attr("value","unlimited")}}if(jQuery(this).hasClass("option_for_ads")){if(jQuery(this).attr("name")=="territory"){if(jQuery(this).attr("value")=="internet"){jQuery(".option_for_ads[name=duration] option[value=1_year]").attr("disabled","disabled");jQuery(".option_for_ads[name=duration] option[value=3_year]").attr("disabled","disabled");jQuery(".option_for_ads[name=duration] option[value=1_year]").css("color","#ccc");jQuery(".option_for_ads[name=duration] option[value=3_year]").css("color","#ccc")}else{jQuery(".option_for_ads[name=duration] option[value=1_year]").removeAttr("disabled");jQuery(".option_for_ads[name=duration] option[value=3_year]").removeAttr("disabled");jQuery(".option_for_ads[name=duration] option[value=1_year]").css("color","#000");jQuery(".option_for_ads[name=duration] option[value=3_year]").css("color","#000")}}if(jQuery(".option_for_ads[name=territory]").attr("value")=="internet"){jQuery(".option_for_ads[name=duration]").attr("value","unlimited")}}var D={"nature":jQuery("#project").val()};jQuery(".option_for_"+jQuery(this).attr("parent")).each(function(){if(jQuery(this).val()!=""){D[jQuery(this).attr("name")]=jQuery(this).val()}});var C={"currency":jQuery("#currency").html(),"nb_tracks":"1"};jQuery.extend(C,D);var A=Jamendo.writeApi("jscached cached pro_pricing",["licensing","get_minimum_pricing",C],function(E){jQuery("#price_header").html(E.subscription.sym);jQuery(".price_by_track").html(E.subscription.sym).show();Jamendo.Pro.Cart.reloadSidebarBlockWithParams(C);Jamendo.writeApi("pro_fixproject",[C],function(F){if(!F.project_ready){jQuery(".add2cart").each(function(){})}else{jQuery(".add2cart_disabled").each(function(){if(jQuery(this).is(":visible")){jQuery(this).hide();jQuery("#add2cart_"+jQuery(this).attr("relateditem")).show()}})}Jamendo.Pro.Cart.reloadCartData();Jamendo.Pro.Cart.pricePerTrack=F.price_per_track})})});jQuery("#project-selector a.info").bind("click",function(A){A.preventDefault()});if(jQuery("#project-selector a.info").qtip){jQuery("#project-selector a.info").qtip({id:"projectSelectorInfoPopover",content:{text:'<span class="ajax-loading">Loading...</span>',title:{text:Jamendo.getStr("PRO_TARIF_LICENCE")+'  “<span class="project-type">xxxxxxx</span>”'}},position:{target:"event",my:"top center",at:"bottom center",viewport:jQuery(window),adjust:{y:2}},style:{classes:"ui-popover rates-popover ui-tooltip-shadow",tip:{corner:"top center",mimic:"top center",border:false,width:20,height:8}},show:{solo:true,event:"click"},hide:{fixed:true,event:"unfocus click"},events:{show:function(D,B){var E=jQuery("#project-selector .selector select");var A=E.val();var C=jQuery("#project-selector .selector select option[value="+A+"]").text();if(!A){D.preventDefault();document.location.href=jQuery("#project-selector .selector .info").attr("href")}jQuery(".ui-tooltip-title .project-type",this).text(C);jQuery(".ui-tooltip-content",this).load(Jamendo.getEnv("HTTPHOSTI18N")+"product/licensing/prices "+"#content_rates_"+A,function(){jQuery("#content_rates_"+A).show()})}}})}});jQuery(document).ready(function(){jQuery("#advanced-search fieldset > div").expandCollapse({duration:"fast",easing:"easeOutCubic"});jQuery(".expand .content").expandCollapse({duration:"fast",easing:"easeOutCubic"});jQuery(".show").show();jQuery("#search-starred .legend").click(function(){Jamendo.classes.trackSearch.profavorites_click(1)});jQuery("#search-starred .reset").click(function(){Jamendo.classes.trackSearch.profavorites_reset()})});jQuery(document).ready(function(A){jQuery(".results .playbutton").bind("click",function(C){C.preventDefault();var B=jQuery(this);if(B.hasClass("playing")){B.closest(".results").find(".playbutton").removeClass("playing");hidePlayer("cut")}else{B.closest(".results").find(".playbutton").removeClass("playing");B.addClass("playing");showPlayer("cut")}});jQuery(".section-nav li").bind("click",function(){jQuery(".section-nav li").each(function(){jQuery(this).removeClass("current")});jQuery(this).addClass("current");jQuery(".content_rates").hide();jQuery("#content_rates_"+jQuery(this).attr("nature")).show();return false});jQuery(".input_for_advantage").bind("click",function(){window.location=jQuery(this).parent().attr("href")});jQuery(".input_for_advantage2").bind("click",function(){window.location=jQuery(this).parent().parent().parent().attr("href")});jQuery(".remove_track").bind("click",function(){jQuery.ajax({url:jQuery(this).attr("href"),success:function(B){window.location.reload();return false}});return false});jQuery("#addcouponlink").bind("click",function(){jQuery(this).hide();jQuery(".add").show();jQuery("#addcoupon > .add input[type=text]").focus()});jQuery(".cancel_couponcode").bind("click",function(){jQuery("#addcouponlink").show();jQuery(".addcouponform").hide();jQuery("#Jamform_pro_order_licensing_promotion_code").val("");return false});jQuery("#validation_command_button").bind("click",function(){if(jQuery("#license").attr("checked")){return true}jQuery("#licence_error").show();return false});jQuery("#license").bind("click",function(){jQuery("#licence_error").hide()})});jQuery(document).ready(function(){jQuery(".advanced-toggle").bind("click",function(C){C.preventDefault();var D=jQuery(jQuery(this).attr("href"));if(D.is(":visible")){D.hide();jQuery(this).text(jQuery(this).attr("data-str-hidden"))}else{D.show();jQuery(this).text(jQuery(this).attr("data-str-visible"))}});jQuery("#advanced-search .reset").bind("click",function(C){C.preventDefault();C.stopPropagation()});jQuery(".track_tag").bind("click",function(){var C=false;jQuery(".track_tag").each(function(){if(jQuery(this).attr("checked")&&jQuery(this).attr("value")!=""){C=true}});if(C){jQuery("#reset_track_tag").show()}else{jQuery("#reset_track_tag").hide()}});jQuery("#reset_track_tag").bind("click",function(){jQuery(".track_tag").each(function(){jQuery(this).removeAttr("checked")});jQuery("#track_tag_2_refresh").click();jQuery("#genres-list-advanced").hide();jQuery("#reset_track_tag").hide()});var B=function(){if(jQuery("#genres-list-advanced li:visible").length>0){jQuery("#genres-list-advanced-title").show()}else{jQuery("#genres-list-advanced-title").hide()}};var A=function(){jQuery("#genres-list-main li input.track_tag:checked").each(function(){jQuery("#genres-list-advanced li[subgenreof='"+jQuery(this).val()+"']").show()});jQuery("#genres-list-main li input.track_tag:not(:checked)").each(function(){jQuery("#genres-list-advanced li[subgenreof='"+jQuery(this).val()+"'] input").removeAttr("checked");jQuery("#genres-list-advanced li[subgenreof='"+jQuery(this).val()+"']").hide()});jQuery("#genres-list-advanced li input.track_tag:checked").each(function(){var C=jQuery(this).attr("subgenreof");jQuery("#maingenre_"+C).attr("checked","checked")});if(jQuery("#genres-list-advanced li:visible").length>0){jQuery("#genres-list-advanced-title").show()}else{jQuery("#genres-list-advanced-title").hide()}};A();jQuery("#genres-list-main li input.track_tag").bind("click genrecheck",function(){var C=jQuery(this).val();if(jQuery(this).is(":checked")){jQuery("#genres-list-advanced li[subgenreof='"+C+"']").delay(100).fadeIn(200,B)}else{jQuery("#genres-list-advanced li input.track_tag[subgenreof='"+C+"']").removeAttr("checked");jQuery("#genres-list-advanced li[subgenreof='"+C+"']").delay(400).fadeOut(600,B)}});jQuery("#genres-list-advanced li input.track_tag").bind("click genrecheck",function(){var C=jQuery(this).attr("subgenreof");if(jQuery(this).is(":checked")){jQuery("#maingenre_"+C).attr("checked","checked")}});jQuery("#track_lang,#track_sound,#track_voice_gender").bind("change",function(){if(jQuery("#track_lang").val()==""&&jQuery("#track_sound").val()==""&&jQuery("#track_voice_gender").val()==""){jQuery("#reset_track_voicestyle").hide()}else{jQuery("#reset_track_voicestyle").show()}});jQuery("#reset_track_voicestyle").bind("click",function(){Jamendo.classes.trackSearch.history_navigate({"voicegender":"","sound":"","lang":""});jQuery("#track_sound").val("");jQuery("#track_voicegender").val("");jQuery("#track_lang").val("");jQuery("#track_lang").hide();jQuery("#search-style-2display").hide();jQuery("#reset_track_voicestyle").hide();jQuery("#search-style .advanced-toggle").html(jQuery("#search-style .advanced-toggle").attr("data-str-hidden"))});jQuery(".track_theme").bind("click",function(){var C=false;jQuery(".track_theme").each(function(){if(jQuery(this).attr("checked")&&jQuery(this).attr("value")!=""){C=true}});if(C){jQuery("#reset_track_theme").show()}else{jQuery("#reset_track_theme").hide()}});jQuery("#reset_track_theme").bind("click",function(){jQuery(".track_theme").each(function(){jQuery(this).removeAttr("checked")});jQuery("#track_theme_2_refresh").click();jQuery("#reset_track_theme").hide();jQuery("#search-themes-2display").hide();jQuery("#search-themes .legend").removeClass("expanded")});jQuery(".track_instrument1").bind("click",function(){var C=false;jQuery(".track_instrument1").each(function(){if(jQuery(this).attr("checked")&&jQuery(this).attr("value")!=""){C=true}});if(C){jQuery("#reset_track_instrument1").show()}else{jQuery("#reset_track_instrument1").hide()}});jQuery("#reset_track_instrument1").bind("click",function(){jQuery(".track_instrument1").each(function(){jQuery(this).removeAttr("checked")});jQuery("#track_instrument1_2_refresh").click();jQuery("#reset_track_instrument1").hide();jQuery("#search-instruments-2display").hide();jQuery("#search-instruments .legend").removeClass("expanded")});jQuery("#durationTrack").bind("change",function(){if(jQuery(this).val()==""){jQuery("#reset_track_tempo").hide()}else{jQuery("#reset_track_tempo").show()}});jQuery("#reset_track_tempo").bind("click",function(){jQuery("#durationTrack option:first").attr("selected","selected");Jamendo.DualRangeSlider.reset();jQuery("#reset_track_tempo").hide();jQuery("#search-beat-2display").hide();jQuery("#search-beat .legend").removeClass("expanded")});jQuery("#track_country").bind("change",function(){if(jQuery(this).val()==""){jQuery("#reset_track_country").hide()}else{jQuery("#reset_track_country").show()}});jQuery("#reset_track_country").bind("click",function(){jQuery("#track_country").val("");jQuery("#track_country").change();jQuery("#reset_track_country").hide();jQuery("#artist-country-2display").hide();jQuery("#search-country .legend").removeClass("expanded")});jQuery(".link_to_select_nature").live("click",function(){jQuery("#project").attr("value",jQuery(this).attr("value"));jQuery("#project").change();jQuery("#ui-tooltip-project-selector").hide()})});function ma_super_fonction(B,C){var D=jQuery("#project"),A=B;if(A.parents("#player").length){A.qtip({id:"project-selector",position:{my:"bottom center",at:"top center"},content:{title:{text:Jamendo.getStr("PRO_CUT_CATALOG_what_is_your_project")},text:function(F){var E=jQuery("<ul>");jQuery("#project").find("option:not(:first)").each(function(G){E.append('<li><a style="cursor:pointer;text-decoration:underline;" class="link_to_select_nature" value="'+jQuery(this).val()+'">'+jQuery(this).text()+"</a></li>")});return E}},show:{event:false,solo:true},hide:{event:"unfocus"},style:{classes:"ui-popover small-popover ui-tooltip-shadow fixed",tip:{corner:"bottom center",mimic:"bottom center"}}})}else{A.qtip({id:"project-selector",position:{my:"top center",at:"bottom center"},content:{title:{text:Jamendo.getStr("PRO_CUT_CATALOG_what_is_your_project")},text:function(F){var E=jQuery("<ul>");jQuery("#project").find("option:not(:first)").each(function(G){E.append('<li><a style="cursor:pointer;text-decoration:underline;" class="link_to_select_nature" value="'+jQuery(this).val()+'">'+jQuery(this).text()+"</a></li>")});return E}},show:{event:false,solo:true},hide:{event:"unfocus"},style:{classes:"ui-popover small-popover ui-tooltip-shadow",tip:{corner:"top center",mimic:"top center",border:false,height:4,width:7}}})}A.qtip("show",C);return false}
