var swfobject=function(){function b(){if(!G){try{var a=o.getElementsByTagName("body")[0].appendChild(o.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}G=!0;for(var a=D.length,c=0;c<a;c++)D[c]()}}function p(a){G?a():D[D.length]=a}function k(a){if(typeof t.addEventListener!=e)t.addEventListener("load",a,!1);else if(typeof o.addEventListener!=e)o.addEventListener("load",a,!1);else if(typeof t.attachEvent!=e)z(t,"onload",a);else if("function"==typeof t.onload){var b=t.onload;t.onload=
function(){b();a()}}else t.onload=a}function j(){var b=o.getElementsByTagName("body")[0],c=o.createElement(d);c.setAttribute("type",a);var q=b.appendChild(c);if(q){var h=0;(function(){if(typeof q.GetVariable!=e){var a=q.GetVariable("$version");if(a)a=a.split(" ")[1].split(","),m.pv=[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]}else if(10>h){h++;setTimeout(arguments.callee,10);return}b.removeChild(c);q=null;s()})()}else s()}function s(){var a=r.length;if(0<a)for(var b=0;b<a;b++){var c=r[b].id,
d=r[b].callbackFn,q={success:!1,id:c};if(0<m.pv[0]){var h=v(c);if(h)if(C(r[b].swfVersion)&&!(m.wk&&312>m.wk)){if(A(c,!0),d)q.success=!0,q.ref=f(c),d(q)}else if(r[b].expressInstall&&g()){q={};q.data=r[b].expressInstall;q.width=h.getAttribute("width")||"0";q.height=h.getAttribute("height")||"0";if(h.getAttribute("class"))q.styleclass=h.getAttribute("class");if(h.getAttribute("align"))q.align=h.getAttribute("align");for(var o={},h=h.getElementsByTagName("param"),t=h.length,n=0;n<t;n++)"movie"!=h[n].getAttribute("name").toLowerCase()&&
(o[h[n].getAttribute("name")]=h[n].getAttribute("value"));B(q,o,c,d)}else w(h),d&&d(q)}else if(A(c,!0),d){if((c=f(c))&&typeof c.SetVariable!=e)q.success=!0,q.ref=c;d(q)}}}function f(a){var b=null;if((a=v(a))&&"OBJECT"==a.nodeName)typeof a.SetVariable!=e?b=a:(a=a.getElementsByTagName(d)[0])&&(b=a);return b}function g(){return!J&&C("6.0.65")&&(m.win||m.mac)&&!(m.wk&&312>m.wk)}function B(a,b,c,d){J=!0;L=d||null;N={success:!1,id:c};var h=v(c);if(h){"OBJECT"==h.nodeName?(I=u(h),K=null):(I=h,K=c);a.id=
q;if(typeof a.width==e||!/%$/.test(a.width)&&310>parseInt(a.width,10))a.width="310";if(typeof a.height==e||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height="137";o.title=o.title.slice(0,47)+" - Flash Player Installation";d=m.ie&&m.win?"ActiveX":"PlugIn";d="MMredirectURL="+t.location.toString().replace(/&/g,"%26")+"&MMplayerType="+d+"&MMdoctitle="+o.title;b.flashvars=typeof b.flashvars!=e?b.flashvars+("&"+d):d;if(m.ie&&m.win&&4!=h.readyState)d=o.createElement("div"),c+="SWFObjectNew",d.setAttribute("id",
c),h.parentNode.insertBefore(d,h),h.style.display="none",function(){4==h.readyState?h.parentNode.removeChild(h):setTimeout(arguments.callee,10)}();x(a,b,c)}}function w(a){if(m.ie&&m.win&&4!=a.readyState){var b=o.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(u(a),b);a.style.display="none";(function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(u(a),a)}function u(a){var b=o.createElement("div");if(m.win&&
m.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(d)[0])if(a=a.childNodes)for(var c=a.length,e=0;e<c;e++)!(1==a[e].nodeType&&"PARAM"==a[e].nodeName)&&8!=a[e].nodeType&&b.appendChild(a[e].cloneNode(!0));return b}function x(b,c,h){var q,t=v(h);if(m.wk&&312>m.wk)return q;if(t){if(typeof b.id==e)b.id=h;if(m.ie&&m.win){var n="",f;for(f in b)if(b[f]!=Object.prototype[f])"data"==f.toLowerCase()?c.movie=b[f]:"styleclass"==f.toLowerCase()?n+=' class="'+b[f]+'"':"classid"!=f.toLowerCase()&&(n+=
" "+f+'="'+b[f]+'"');f="";for(var g in c)c[g]!=Object.prototype[g]&&(f+='<param name="'+g+'" value="'+c[g]+'" />');t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+n+">"+f+"</object>";l[l.length]=b.id;q=v(b.id)}else{g=o.createElement(d);g.setAttribute("type",a);for(var j in b)b[j]!=Object.prototype[j]&&("styleclass"==j.toLowerCase()?g.setAttribute("class",b[j]):"classid"!=j.toLowerCase()&&g.setAttribute(j,b[j]));for(n in c)c[n]!=Object.prototype[n]&&"movie"!=n.toLowerCase()&&
(b=g,f=n,j=c[n],h=o.createElement("param"),h.setAttribute("name",f),h.setAttribute("value",j),b.appendChild(h));t.parentNode.replaceChild(g,t);q=g}}return q}function y(a){var b=v(a);if(b&&"OBJECT"==b.nodeName)m.ie&&m.win?(b.style.display="none",function(){if(4==b.readyState){var c=v(a);if(c){for(var d in c)"function"==typeof c[d]&&(c[d]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b)}function v(a){var b=null;try{b=o.getElementById(a)}catch(c){}return b}
function z(a,b,c){a.attachEvent(b,c);H[H.length]=[a,b,c]}function C(a){var b=m.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function F(a,b,c,h){if(!m.ie||!m.mac){var q=o.getElementsByTagName("head")[0];if(q){c=c&&"string"==typeof c?c:"screen";h&&(M=E=null);if(!E||M!=c)h=o.createElement("style"),h.setAttribute("type","text/css"),h.setAttribute("media",c),E=q.appendChild(h),
m.ie&&m.win&&typeof o.styleSheets!=e&&0<o.styleSheets.length&&(E=o.styleSheets[o.styleSheets.length-1]),M=c;m.ie&&m.win?E&&typeof E.addRule==d&&E.addRule(a,b):E&&typeof o.createTextNode!=e&&E.appendChild(o.createTextNode(a+" {"+b+"}"))}}}function A(a,b){if(O){var c=b?"visible":"hidden";G&&v(a)?v(a).style.visibility=c:F("#"+a,"visibility:"+c)}}function c(a){return null!=/[\\\"<>\.;]/.exec(a)&&typeof encodeURIComponent!=e?encodeURIComponent(a):a}var e="undefined",d="object",a="application/x-shockwave-flash",
q="SWFObjectExprInst",t=window,o=document,h=navigator,n=!1,D=[function(){n?j():s()}],r=[],l=[],H=[],I,K,L,N,G=!1,J=!1,E,M,O=!0,m=function(){var b=typeof o.getElementById!=e&&typeof o.getElementsByTagName!=e&&typeof o.createElement!=e,c=h.userAgent.toLowerCase(),q=h.platform.toLowerCase(),f=q?/win/.test(q):/win/.test(c),q=q?/mac/.test(q):/mac/.test(c),c=/webkit/.test(c)?parseFloat(c.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\u000b1",j=[0,0,0],l=null;if(typeof h.plugins!=e&&typeof h.plugins["Shockwave Flash"]==
d){if((l=h.plugins["Shockwave Flash"].description)&&!(typeof h.mimeTypes!=e&&h.mimeTypes[a]&&!h.mimeTypes[a].enabledPlugin))n=!0,g=!1,l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),j[0]=parseInt(l.replace(/^(.*)\..*$/,"$1"),10),j[1]=parseInt(l.replace(/^.*\.(.*)\s.*$/,"$1"),10),j[2]=/[a-zA-Z]/.test(l)?parseInt(l.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof t.ActiveXObject!=e)try{var k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(k&&(l=k.GetVariable("$version")))g=!0,l=l.split(" ")[1].split(","),
j=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)]}catch(m){}return{w3:b,pv:j,wk:c,ie:g,win:f,mac:q}}();(function(){m.w3&&((typeof o.readyState!=e&&"complete"==o.readyState||typeof o.readyState==e&&(o.getElementsByTagName("body")[0]||o.body))&&b(),G||(typeof o.addEventListener!=e&&o.addEventListener("DOMContentLoaded",b,!1),m.ie&&m.win&&(o.attachEvent("onreadystatechange",function(){"complete"==o.readyState&&(o.detachEvent("onreadystatechange",arguments.callee),b())}),t==top&&function(){if(!G){try{o.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,
0);return}b()}}()),m.wk&&function(){G||(/loaded|complete/.test(o.readyState)?b():setTimeout(arguments.callee,0))}(),k(b)))})();(function(){m.ie&&m.win&&window.attachEvent("onunload",function(){for(var a=H.length,b=0;b<a;b++)H[b][0].detachEvent(H[b][1],H[b][2]);a=l.length;for(b=0;b<a;b++)y(l[b]);for(var c in m)m[c]=null;m=null;for(var d in swfobject)swfobject[d]=null;swfobject=null})})();return{registerObject:function(a,b,c,d){if(m.w3&&a&&b){var e={};e.id=a;e.swfVersion=b;e.expressInstall=c;e.callbackFn=
d;r[r.length]=e;A(a,!1)}else d&&d({success:!1,id:a})},getObjectById:function(a){if(m.w3)return f(a)},embedSWF:function(a,b,c,h,q,o,t,f,n,j){var l={success:!1,id:b};m.w3&&!(m.wk&&312>m.wk)&&a&&b&&c&&h&&q?(A(b,!1),p(function(){c+="";h+="";var k={};if(n&&typeof n===d)for(var m in n)k[m]=n[m];k.data=a;k.width=c;k.height=h;m={};if(f&&typeof f===d)for(var D in f)m[D]=f[D];if(t&&typeof t===d)for(var r in t)m.flashvars=typeof m.flashvars!=e?m.flashvars+("&"+r+"="+t[r]):r+"="+t[r];if(C(q))D=x(k,m,b),k.id==
b&&A(b,!0),l.success=!0,l.ref=D;else{if(o&&g()){k.data=o;B(k,m,b,j);return}A(b,!0)}j&&j(l)})):j&&j(l)},switchOffAutoHideShow:function(){O=!1},ua:m,getFlashPlayerVersion:function(){return{major:m.pv[0],minor:m.pv[1],release:m.pv[2]}},hasFlashPlayerVersion:C,createSWF:function(a,b,c){if(m.w3)return x(a,b,c)},showExpressInstall:function(a,b,c,d){m.w3&&g()&&B(a,b,c,d)},removeSWF:function(a){m.w3&&y(a)},createCSS:function(a,b,c,d){m.w3&&F(a,b,c,d)},addDomLoadEvent:p,addLoadEvent:k,getQueryParamValue:function(a){var b=
o.location.search||o.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(null==a)return c(b);for(var b=b.split("&"),d=0;d<b.length;d++)if(b[d].substring(0,b[d].indexOf("="))==a)return c(b[d].substring(b[d].indexOf("=")+1))}return""},expressInstallCallback:function(){if(J){var a=v(q);if(a&&I){a.parentNode.replaceChild(I,a);if(K&&(A(K,!0),m.ie&&m.win))I.style.display="block";L&&L(N)}J=!1}}}}();(function(b){function p(c,e,d){var a=this;a.id=d;a.options=e;a.status={animated:!1,rendered:!1,disabled:!1,focused:!1};a.elements={target:c.addClass(a.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};a.cache={mouse:{},position:{},toggle:0};a.timers={};b.extend(a,a.options.api,{show:function(c){function d(){b(this).css({opacity:""});"static"!==a.options.position.type&&a.focus();a.onShow.call(a,c);b.browser.msie&&
a.elements.tooltip.get(0).style.removeAttribute("filter")}var e;if(!a.status.rendered)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show");if("none"!==a.elements.tooltip.css("display"))return a;a.elements.tooltip.stop(!0,!1);if(!1===a.beforeShow.call(a,c))return a;a.cache.toggle=1;"static"!==a.options.position.type&&a.updatePosition(c,0<a.options.show.effect.length);"object"==typeof a.options.show.solo?e=b(a.options.show.solo):!0===a.options.show.solo&&(e=b("div.qtip").not(a.elements.tooltip));
e&&e.each(function(){!0===b(this).qtip("api").status.rendered&&b(this).qtip("api").hide()});if("function"==typeof a.options.show.effect.type)a.options.show.effect.type.call(a.elements.tooltip,a.options.show.effect.length),a.elements.tooltip.queue(function(){d();b(this).dequeue()});else{switch(a.options.show.effect.type.toLowerCase()){case "fade":a.elements.tooltip.fadeIn(a.options.show.effect.length,d);break;case "slide":a.elements.tooltip.slideDown(a.options.show.effect.length,function(){d();"static"!==
a.options.position.type&&a.updatePosition(c,!0)});break;case "grow":a.elements.tooltip.show(a.options.show.effect.length,d);break;default:a.elements.tooltip.show(null,d),a.elements.tooltip.css({opacity:""})}a.elements.tooltip.addClass(a.options.style.classes.active)}return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(c){function d(){a.onHide.call(a,c)}if(a.status.rendered){if("none"===a.elements.tooltip.css("display"))return a}else return b.fn.qtip.log.error.call(a,
2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide");clearTimeout(a.timers.show);a.elements.tooltip.stop(!0,!1);if(!1===a.beforeHide.call(a,c))return a;a.cache.toggle=0;if("function"==typeof a.options.hide.effect.type)a.options.hide.effect.type.call(a.elements.tooltip,a.options.hide.effect.length),a.elements.tooltip.queue(function(){d();b(this).dequeue()});else{switch(a.options.hide.effect.type.toLowerCase()){case "fade":a.elements.tooltip.fadeOut(a.options.hide.effect.length,d);break;case "slide":a.elements.tooltip.slideUp(a.options.hide.effect.length,
d);break;case "grow":a.elements.tooltip.hide(a.options.hide.effect.length,d);break;default:a.elements.tooltip.hide(null,d)}a.elements.tooltip.removeClass(a.options.style.classes.active)}return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(c,d){var e,h,f,g,j,l,k;if(a.status.rendered){if("static"==a.options.position.type)return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}else return b.fn.qtip.log.error.call(a,
2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition");h={position:{left:0,top:0},dimensions:{height:0,width:0},corner:a.options.position.corner.target};f={position:a.getPosition(),dimensions:a.getDimensions(),corner:a.options.position.corner.tooltip};if("mouse"!==a.options.position.target){if("area"==a.options.position.target.get(0).nodeName.toLowerCase()){g=a.options.position.target.attr("coords").split(",");for(e=0;e<g.length;e++)g[e]=parseInt(g[e]);e=a.options.position.target.parent("map").attr("name");
j=b('img[usemap="#'+e+'"]:first').offset();h.position={left:Math.floor(j.left+g[0]),top:Math.floor(j.top+g[1])};switch(a.options.position.target.attr("shape").toLowerCase()){case "rect":h.dimensions={width:Math.ceil(Math.abs(g[2]-g[0])),height:Math.ceil(Math.abs(g[3]-g[1]))};break;case "circle":h.dimensions={width:g[2]+1,height:g[2]+1};break;case "poly":h.dimensions={width:g[0],height:g[1]};for(e=0;e<g.length;e++)if(0==e%2){if(g[e]>h.dimensions.width)h.dimensions.width=g[e];if(g[e]<g[0])h.position.left=
Math.floor(j.left+g[e])}else{if(g[e]>h.dimensions.height)h.dimensions.height=g[e];if(g[e]<g[1])h.position.top=Math.floor(j.top+g[e])}h.dimensions.width-=h.position.left-j.left;h.dimensions.height-=h.position.top-j.top;break;default:return b.fn.qtip.log.error.call(a,4,b.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition")}h.dimensions.width-=2;h.dimensions.height-=2}else 1===a.options.position.target.add(document.body).length?(h.position={left:b(document).scrollLeft(),top:b(document).scrollTop()},
h.dimensions={height:b(window).height(),width:b(window).width()}):(h.position="undefined"!==typeof a.options.position.target.attr("qtip")?a.options.position.target.qtip("api").cache.position:a.options.position.target.offset(),h.dimensions={height:a.options.position.target.outerHeight(),width:a.options.position.target.outerWidth()});l=b.extend({},h.position);/right/i.test(h.corner)&&(l.left+=h.dimensions.width);/bottom/i.test(h.corner)&&(l.top+=h.dimensions.height);/((top|bottom)Middle)|center/.test(h.corner)&&
(l.left+=h.dimensions.width/2);/((left|right)Middle)|center/.test(h.corner)&&(l.top+=h.dimensions.height/2)}else h.position=l={left:a.cache.mouse.x,top:a.cache.mouse.y},h.dimensions={height:1,width:1};/right/i.test(f.corner)&&(l.left-=f.dimensions.width);/bottom/i.test(f.corner)&&(l.top-=f.dimensions.height);/((top|bottom)Middle)|center/.test(f.corner)&&(l.left-=f.dimensions.width/2);/((left|right)Middle)|center/.test(f.corner)&&(l.top-=f.dimensions.height/2);g=b.browser.msie?1:0;b.browser.msie&&
parseInt(b.browser.version.charAt(0));0<a.options.style.border.radius&&(/Left/i.test(f.corner)?l.left-=a.options.style.border.radius:/Right/i.test(f.corner)&&(l.left+=a.options.style.border.radius),/Top/i.test(f.corner)?l.top-=a.options.style.border.radius:/Bottom/i.test(f.corner)&&(l.top+=a.options.style.border.radius));g&&(/top/i.test(f.corner)?l.top-=g:/bottom/i.test(f.corner)&&(l.top+=g),/left/i.test(f.corner)?l.left-=g:/right/i.test(f.corner)&&(l.left+=g),/leftMiddle|rightMiddle/.test(f.corner)&&
(l.top-=1));!0===a.options.position.adjust.screen&&(l=x.call(a,l,h,f));"mouse"===a.options.position.target&&!0===a.options.position.adjust.mouse&&(h=!0===a.options.position.adjust.screen&&a.elements.tip?a.elements.tip.attr("rel"):a.options.position.corner.tooltip,l.left+=/right/i.test(h)?-6:6,l.top+=/bottom/i.test(h)?-6:6);!a.elements.bgiframe&&b.browser.msie&&6==parseInt(b.browser.version.charAt(0))&&b("select, object").each(function(){k=b(this).offset();k.bottom=k.top+b(this).height();k.right=k.left+
b(this).width();l.top+f.dimensions.height>=k.top&&l.left+f.dimensions.width>=k.left&&A.call(a)});l.left+=a.options.position.adjust.x;l.top+=a.options.position.adjust.y;h=a.getPosition();if(l.left!=h.left||l.top!=h.top){h=a.beforePositionUpdate.call(a,c);if(!1===h)return a;a.cache.position=l;!0===d?(a.status.animated=!0,a.elements.tooltip.animate(l,200,"swing",function(){a.status.animated=!1})):a.elements.tooltip.css(l);a.onPositionUpdate.call(a,c);"undefined"!==typeof c&&c.type&&"mousemove"!==c.type&&
b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}return a},updateWidth:function(c){if(a.status.rendered){if(void 0!=c&&"number"!==typeof c)return b.fn.qtip.log.error.call(a,2,"newWidth must be of type number","updateWidth")}else return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth");var d=a.elements.contentWrapper.siblings().add(a.elements.tip).add(a.elements.button),e=a.elements.wrapper.add(a.elements.contentWrapper.children()),
h=a.options.style.width.max,f=a.options.style.width.min;if(!c)"number"===typeof a.options.style.width.value?c=a.options.style.width.value:(a.elements.tooltip.css({width:"auto"}),d.hide(),b.browser.msie&&e.css({zoom:""}),c=a.getDimensions().width,a.options.style.width.value||(c=Math.min(Math.max(c,f),h)));c%2&&(c-=1);a.elements.tooltip.width(c);d.show();a.options.style.border.radius&&a.elements.tooltip.find(".qtip-betweenCorners").each(function(){b(this).width(c-2*a.options.style.border.radius)});
b.browser.msie&&(e.css({zoom:1}),a.elements.bgiframe&&a.elements.bgiframe.width(c).height(a.getDimensions.height));return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(c){var d,e,h,f;if(a.status.rendered){if("string"!==typeof c||!b.fn.qtip.styles[c])return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}else return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle");a.options.style=
z.call(a,b.fn.qtip.styles[c],a.options.user.style);a.elements.content.css(y(a.options.style));!1!==a.options.content.title.text&&a.elements.title.css(y(a.options.style.title,!0));a.elements.contentWrapper.css({borderColor:a.options.style.border.color});!1!==a.options.style.tip.corner&&(b("<canvas>").get(0).getContext?(c=a.elements.tooltip.find(".qtip-tip canvas:first"),e=c.get(0).getContext("2d"),e.clearRect(0,0,300,300),h=c.parent("div[rel]:first").attr("rel"),f=C(h,a.options.style.tip.size.width,
a.options.style.tip.size.height),g.call(a,c,f,a.options.style.tip.color||a.options.style.border.color)):b.browser.msie&&(c=a.elements.tooltip.find('.qtip-tip [nodeName="shape"]'),c.attr("fillcolor",a.options.style.tip.color||a.options.style.border.color)));0<a.options.style.border.radius&&(a.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:a.options.style.border.color}),b("<canvas>").get(0).getContext?(d=F(a.options.style.border.radius),a.elements.tooltip.find(".qtip-wrapper canvas").each(function(){e=
b(this).get(0).getContext("2d");e.clearRect(0,0,300,300);h=b(this).parent("div[rel]:first").attr("rel");s.call(a,b(this),d[h],a.options.style.border.radius,a.options.style.border.color)})):b.browser.msie&&a.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){b(this).attr("fillcolor",a.options.style.border.color)}));return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(c,d){function e(){a.updateWidth();!1!==d&&("static"!==
a.options.position.type&&a.updatePosition(a.elements.tooltip.is(":visible"),!0),!1!==a.options.style.tip.corner&&B.call(a))}var h,f,g;if(a.status.rendered){if(!c)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}else return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent");h=a.beforeContentUpdate.call(a,c);if("string"==typeof h)c=h;else if(!1===h)return;b.browser.msie&&a.elements.contentWrapper.children().css({zoom:"normal"});
c.jquery&&0<c.length?c.clone(!0).appendTo(a.elements.content).show():a.elements.content.html(c);g=0;f=a.elements.content.find("img");f.length?b.fn.qtip.preload?(f.each(function(){preloaded=b('body > img[src="'+b(this).attr("src")+'"]:first');0<preloaded.length&&b(this).attr("width",preloaded.innerWidth()).attr("height",preloaded.innerHeight())}),e()):f.bind("load error",function(){++g===f.length&&e()}):e();a.updateWidth();!1!==d&&("static"!==a.options.position.type&&a.updatePosition(a.elements.tooltip.is(":visible"),
!0),!1!==a.options.style.tip.corner&&B.call(a));a.onContentUpdate.call(a);return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(c,d,e){function h(c){a.onContentLoad.call(a);b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");a.updateContent(c)}if(!a.status.rendered)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent");if(!1===a.beforeContentLoad.call(a))return a;"post"==
e?b.post(c,d,h):b.get(c,d,h);return a},updateTitle:function(c){if(a.status.rendered){if(!c)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}else return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle");returned=a.beforeTitleUpdate.call(a);if(!1===returned)return a;if(a.elements.button)a.elements.button=a.elements.button.clone(!0);a.elements.title.html(c);a.elements.button&&a.elements.title.prepend(a.elements.button);a.onTitleUpdate.call(a);
return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(c){var d,e,h;if(a.status.rendered){if("static"==a.options.position.type)return b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}else return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus");d=parseInt(a.elements.tooltip.css("z-index"));e=32001+b("div.qtip[qtip]").length-1;if(!a.status.focused&&d!==e){d=a.beforeFocus.call(a,c);if(!1===
d)return a;b("div.qtip[qtip]").not(a.elements.tooltip).each(function(){if(!0===b(this).qtip("api").status.rendered)h=parseInt(b(this).css("z-index")),"number"==typeof h&&-1<h&&b(this).css({zIndex:parseInt(b(this).css("z-index"))-1}),b(this).qtip("api").status.focused=!1});a.elements.tooltip.css({zIndex:e});a.status.focused=!0;a.onFocus.call(a,c);b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_FOCUSED,"focus")}return a},disable:function(c){if(!a.status.rendered)return b.fn.qtip.log.error.call(a,
2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable");c?a.status.disabled?b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable"):(a.status.disabled=!0,b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_DISABLED,"disable")):a.status.disabled?(a.status.disabled=!1,b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_ENABLED,"disable")):b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable");return a},destroy:function(){var c,d;if(!1===
a.beforeDestroy.call(a))return a;a.status.rendered?(a.options.show.when.target.unbind("mousemove.qtip",a.updatePosition),a.options.show.when.target.unbind("mouseout.qtip",a.hide),a.options.show.when.target.unbind(a.options.show.when.event+".qtip"),a.options.hide.when.target.unbind(a.options.hide.when.event+".qtip"),a.elements.tooltip.unbind(a.options.hide.when.event+".qtip"),a.elements.tooltip.unbind("mouseover.qtip",a.focus),a.elements.tooltip.remove()):a.options.show.when.target.unbind(a.options.show.when.event+
".qtip-create");if("object"==typeof a.elements.target.data("qtip")&&(d=a.elements.target.data("qtip").interfaces,"object"==typeof d&&0<d.length))for(c=0;c<d.length-1;c++)d[c].id==a.id&&d.splice(c,1);b.fn.qtip.interfaces.splice(a.id,1);"object"==typeof d&&0<d.length?a.elements.target.data("qtip").current=d.length-1:a.elements.target.removeData("qtip");a.onDestroy.call(a);b.fn.qtip.log.error.call(a,1,b.fn.qtip.constants.EVENT_DESTROYED,"destroy");return a.elements.target},getPosition:function(){var c,
d;if(!a.status.rendered)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition");(c="none"!==a.elements.tooltip.css("display")?!1:!0)&&a.elements.tooltip.css({visiblity:"hidden"}).show();d=a.elements.tooltip.offset();c&&a.elements.tooltip.css({visiblity:"visible"}).hide();return d},getDimensions:function(){var c,d;if(!a.status.rendered)return b.fn.qtip.log.error.call(a,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions");(c=!a.elements.tooltip.is(":visible")?
!0:!1)&&a.elements.tooltip.css({visiblity:"hidden"}).show();d={height:a.elements.tooltip.outerHeight(),width:a.elements.tooltip.outerWidth()};c&&a.elements.tooltip.css({visiblity:"visible"}).hide();return d}})}function k(){var c,e,d;this.beforeRender.call(this);this.status.rendered=!0;this.elements.tooltip='<div qtip="'+this.id+'" class="qtip '+(this.options.style.classes.tooltip||this.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+
this.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+this.options.style.classes.content+'"></div></div></div></div>';this.elements.tooltip=b(this.elements.tooltip);this.elements.tooltip.appendTo(this.options.position.container);this.elements.tooltip.data("qtip",{current:0,interfaces:[this]});this.elements.wrapper=this.elements.tooltip.children("div:first");
this.elements.contentWrapper=this.elements.wrapper.children("div:first").css({background:this.options.style.background});this.elements.content=this.elements.contentWrapper.children("div:first").css(y(this.options.style));b.browser.msie&&this.elements.wrapper.add(this.elements.content).css({zoom:1});/unfocus/i.test(this.options.hide.when.event)&&this.elements.tooltip.attr("unfocus",!0);"number"==typeof this.options.style.width.value&&this.updateWidth();b("<canvas>").get(0).getContext||b.browser.msie?
(0<this.options.style.border.radius?j.call(this):this.elements.contentWrapper.css({border:this.options.style.border.width+"px solid "+this.options.style.border.color}),!1!==this.options.style.tip.corner&&f.call(this)):(this.elements.contentWrapper.css({border:this.options.style.border.width+"px solid "+this.options.style.border.color}),this.options.style.border.radius=0,this.options.style.tip.corner=!1,b.fn.qtip.log.error.call(this,2,b.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render"));"string"==
typeof this.options.content.text&&0<this.options.content.text.length||this.options.content.text.jquery&&0<this.options.content.text.length?c=this.options.content.text:"string"==typeof this.elements.target.attr("title")&&0<this.elements.target.attr("title").length?(c=this.elements.target.attr("title").replace("\\n","<br />"),this.elements.target.attr("title","")):"string"==typeof this.elements.target.attr("alt")&&0<this.elements.target.attr("alt").length?(c=this.elements.target.attr("alt").replace("\\n",
"<br />"),this.elements.target.attr("alt","")):(c=" ",b.fn.qtip.log.error.call(this,1,b.fn.qtip.constants.NO_VALID_CONTENT,"render"));!1!==this.options.content.title.text&&w.call(this);this.updateContent(c);u.call(this);!0===this.options.show.ready&&this.show();if(!1!==this.options.content.url)c=this.options.content.url,e=this.options.content.data,d=this.options.content.method||"get",this.loadContent(c,e,d);this.onRender.call(this);b.fn.qtip.log.error.call(this,1,b.fn.qtip.constants.EVENT_RENDERED,
"render")}function j(){var c,e,d,a,f,g,j,h,k;c=this;c.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();d=c.options.style.border.width;a=c.options.style.border.radius;f=c.options.style.border.color||c.options.style.tip.color;g=F(a);j={};for(e in g)j[e]='<div rel="'+e+'" style="'+(/Left/.test(e)?"left":"right")+":0; position:absolute; height:"+a+"px; width:"+a+'px; overflow:hidden; line-height:0.1px; font-size:1px">',b("<canvas>").get(0).getContext?j[e]+='<canvas height="'+a+'" width="'+
a+'" style="vertical-align: top"></canvas>':b.browser.msie&&(h=2*a+3,j[e]+='<v:arc stroked="false" fillcolor="'+f+'" startangle="'+g[e][0]+'" endangle="'+g[e][1]+'" style="width:'+h+"px; height:"+h+"px; margin-top:"+(/bottom/.test(e)?-2:-1)+"px; margin-left:"+(/Right/.test(e)?g[e][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'),j[e]+="</div>";e=c.getDimensions().width-2*Math.max(d,a);e='<div class="qtip-betweenCorners" style="height:'+a+"px; width:"+
e+"px; overflow:hidden; background-color:"+f+'; line-height:0.1px; font-size:1px;">';c.elements.wrapper.prepend('<div class="qtip-borderTop" dir="ltr" style="height:'+a+"px; margin-left:"+a+'px; line-height:0.1px; font-size:1px; padding:0;">'+j.topLeft+j.topRight+e);c.elements.wrapper.append('<div class="qtip-borderBottom" dir="ltr" style="height:'+a+"px; margin-left:"+a+'px; line-height:0.1px; font-size:1px; padding:0;">'+j.bottomLeft+j.bottomRight+e);b("<canvas>").get(0).getContext?c.elements.wrapper.find("canvas").each(function(){k=
g[b(this).parent("[rel]:first").attr("rel")];s.call(c,b(this),k,a,f)}):b.browser.msie&&c.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>');j=Math.max(a,a+(d-a));d=Math.max(d-a,0);c.elements.contentWrapper.css({border:"0px solid "+f,borderWidth:d+"px "+j+"px"})}function s(c,b,d,a){c=c.get(0).getContext("2d");c.fillStyle=a;c.beginPath();c.arc(b[0],b[1],d,0,2*Math.PI,!1);c.fill()}function f(c){var e,d,a,f;null!==this.elements.tip&&this.elements.tip.remove();e=this.options.style.tip.color||
this.options.style.border.color;if(!1!==this.options.style.tip.corner){if(!c)c=this.options.style.tip.corner;d=C(c,this.options.style.tip.size.width,this.options.style.tip.size.height);this.elements.tip='<div class="'+this.options.style.classes.tip+'" dir="ltr" rel="'+c+'" style="position:absolute; height:'+this.options.style.tip.size.height+"px; width:"+this.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;"></div>';this.elements.tooltip.prepend(this.elements.tip);
b("<canvas>").get(0).getContext?a='<canvas height="'+this.options.style.tip.size.height+'" width="'+this.options.style.tip.size.width+'"></canvas>':b.browser.msie&&(a=this.options.style.tip.size.width+","+this.options.style.tip.size.height,f="m"+d[0][0]+","+d[0][1],f+=" l"+d[1][0]+","+d[1][1],f+=" "+d[2][0]+","+d[2][1],a='<v:shape fillcolor="'+e+'" stroked="false" filled="true" path="'+(f+" xe")+'" coordsize="'+a+'" style="width:'+this.options.style.tip.size.width+"px; height:"+this.options.style.tip.size.height+
"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+(/top/.test(c)?"bottom":"top")+'"></v:shape>',a+='<v:image style="behavior:url(#default#VML);"></v:image>',this.elements.contentWrapper.css("position","relative"));this.elements.tip=this.elements.tooltip.find("."+this.options.style.classes.tip).eq(0);this.elements.tip.html(a);b("<canvas>").get(0).getContext&&g.call(this,this.elements.tip.find("canvas:first"),d,e);/top/.test(c)&&b.browser.msie&&6===parseInt(b.browser.version.charAt(0))&&
this.elements.tip.css({marginTop:-4});B.call(this,c)}}function g(b,e,d){b=b.get(0).getContext("2d");b.fillStyle=d;b.beginPath();b.moveTo(e[0][0],e[0][1]);b.lineTo(e[1][0],e[1][1]);b.lineTo(e[2][0],e[2][1]);b.fill()}function B(c){var e;!1!==this.options.style.tip.corner&&this.elements.tip&&(c||(c=this.elements.tip.attr("rel")),e=positionAdjust=b.browser.msie?1:0,this.elements.tip.css(c.match(/left|right|top|bottom/)[0],0),/top|bottom/.test(c)?(b.browser.msie&&(positionAdjust=6===parseInt(b.browser.version.charAt(0))?
/top/.test(c)?-3:1:/top/.test(c)?1:2),/Middle/.test(c)?this.elements.tip.css({left:"50%",marginLeft:-(this.options.style.tip.size.width/2)}):/Left/.test(c)?this.elements.tip.css({left:this.options.style.border.radius-e}):/Right/.test(c)&&this.elements.tip.css({right:this.options.style.border.radius+e}),/top/.test(c)?this.elements.tip.css({top:-positionAdjust}):this.elements.tip.css({bottom:positionAdjust})):/left|right/.test(c)&&(b.browser.msie&&(positionAdjust=6===parseInt(b.browser.version.charAt(0))?
1:/left/.test(c)?1:2),/Middle/.test(c)?this.elements.tip.css({top:"50%",marginTop:-(this.options.style.tip.size.height/2)}):/Top/.test(c)?this.elements.tip.css({top:this.options.style.border.radius-e}):/Bottom/.test(c)&&this.elements.tip.css({bottom:this.options.style.border.radius+e}),/left/.test(c)?this.elements.tip.css({left:-positionAdjust}):this.elements.tip.css({right:positionAdjust})),c="padding-"+c.match(/left|right|top|bottom/)[0],e=this.options.style.tip.size[/left|right/.test(c)?"width":
"height"],this.elements.tooltip.css("padding",0),this.elements.tooltip.css(c,e),b.browser.msie&&6==parseInt(b.browser.version.charAt(0))&&(c=parseInt(this.elements.tip.css("margin-top"))||0,c+=parseInt(this.elements.content.css("margin-top"))||0,this.elements.tip.css({marginTop:c})))}function w(){var c=this;null!==c.elements.title&&c.elements.title.remove();c.elements.title=b('<div class="'+c.options.style.classes.title+'">').css(y(c.options.style.title,!0)).css({zoom:b.browser.msie?1:0}).prependTo(c.elements.contentWrapper);
c.options.content.title.text&&c.updateTitle.call(c,c.options.content.title.text);if(!1!==c.options.content.title.button&&"string"==typeof c.options.content.title.button)c.elements.button=b('<a class="'+c.options.style.classes.button+'" style="float:right; position: relative"></a>').css(y(c.options.style.button,!0)).html(c.options.content.title.button).prependTo(c.elements.title).click(function(b){c.status.disabled||c.hide(b)})}function u(){function c(a){if(!0!==d.status.disabled)"inactive"==d.options.hide.when.event&&
(b(g).each(function(){f.bind(this+".qtip-inactive",j);d.elements.content.bind(this+".qtip-inactive",j)}),j()),clearTimeout(d.timers.show),clearTimeout(d.timers.hide),0<d.options.show.delay?d.timers.show=setTimeout(function(){d.show(a)},d.options.show.delay):d.show(a)}function e(a){if(!0!==d.status.disabled){if(!0===d.options.hide.fixed&&/mouse(out|leave)/i.test(d.options.hide.when.event)&&0<b(a.relatedTarget).parents("div.qtip[qtip]").length)return a.stopPropagation(),a.preventDefault(),clearTimeout(d.timers.hide),
!1;clearTimeout(d.timers.show);clearTimeout(d.timers.hide);d.elements.tooltip.stop(!0,!0);d.timers.hide=setTimeout(function(){d.hide(a)},d.options.hide.delay)}}var d,a,f,g;d=this;a=d.options.show.when.target;f=d.options.hide.when.target;d.options.hide.fixed&&(f=f.add(d.elements.tooltip));if("inactive"==d.options.hide.when.event){g="click,dblclick,mousedown,mouseup,mousemove,mouseout,mouseenter,mouseleave,mouseover".split(",");var j=function(a){if(!0!==d.status.disabled)clearTimeout(d.timers.inactive),
d.timers.inactive=setTimeout(function(){b(g).each(function(){f.unbind(this+".qtip-inactive");d.elements.content.unbind(this+".qtip-inactive")});d.hide(a)},d.options.hide.delay)}}else!0===d.options.hide.fixed&&d.elements.tooltip.bind("mouseover.qtip",function(){!0!==d.status.disabled&&clearTimeout(d.timers.hide)});1===d.options.show.when.target.add(d.options.hide.when.target).length&&d.options.show.when.event==d.options.hide.when.event&&"inactive"!==d.options.hide.when.event||"unfocus"==d.options.hide.when.event?
(d.cache.toggle=0,a.bind(d.options.show.when.event+".qtip",function(a){0==d.cache.toggle?c(a):e(a)})):(a.bind(d.options.show.when.event+".qtip",c),"inactive"!==d.options.hide.when.event&&f.bind(d.options.hide.when.event+".qtip",e));/(fixed|absolute)/.test(d.options.position.type)&&d.elements.tooltip.bind("mouseover.qtip",d.focus);"mouse"===d.options.position.target&&"static"!==d.options.position.type&&a.bind("mousemove.qtip",function(a){d.cache.mouse={x:a.pageX,y:a.pageY};!1===d.status.disabled&&
!0===d.options.position.adjust.mouse&&"static"!==d.options.position.type&&"none"!==d.elements.tooltip.css("display")&&d.updatePosition(a)})}function x(c,e,d){var a,g,j,k,h,n,s,r;if("center"==d.corner)return e.position;r=b.extend({},c);h=!1;n=!1;a=r.left<b.fn.qtip.cache.screen.scroll.left;g=r.left+d.dimensions.width+2>=b.fn.qtip.cache.screen.width+b.fn.qtip.cache.screen.scroll.left;j=r.top<b.fn.qtip.cache.screen.scroll.top;k=r.top+d.dimensions.height+2>=b.fn.qtip.cache.screen.height+b.fn.qtip.cache.screen.scroll.top;
s=a&&(/right/i.test(d.corner)||!g);a=g&&(/left/i.test(d.corner)||!a);j=j&&!/top/i.test(d.corner);k=k&&!/bottom/i.test(d.corner);if(s)r.left="mouse"!==this.options.position.target?e.position.left+e.dimensions.width:this.cache.mouse.x,h="Left";else if(a)r.left="mouse"!==this.options.position.target?e.position.left-d.dimensions.width:this.cache.mouse.x-d.dimensions.width,h="Right";if(j)r.top="mouse"!==this.options.position.target?e.position.top+e.dimensions.height:this.cache.mouse.y,n="top";else if(k)r.top=
"mouse"!==this.options.position.target?e.position.top-d.dimensions.height:this.cache.mouse.y-d.dimensions.height,n="bottom";if(0>r.left)r.left=c.left,h=!1;if(0>r.top)r.top=c.top,n=!1;if(!1!==this.options.style.tip.corner){r.corner=new String(d.corner);if(r.corner.match(/^(right|left)/)){if(!1!==h)r.corner=r.corner.replace(/(left|right)/,h.toLowerCase())}else{if(!1!==h)r.corner=r.corner.replace(/Left|Right|Middle/,h);if(!1!==n)r.corner=r.corner.replace(/top|bottom/,n)}r.corner!==this.elements.tip.attr("rel")&&
f.call(this,r.corner)}return r}function y(c,e){var d,a;d=b.extend(!0,{},c);for(a in d)!0===e&&/(tip|classes)/i.test(a)?delete d[a]:!e&&/(width|border|tip|title|classes|user)/i.test(a)&&delete d[a];return d}function v(b){if("object"!==typeof b.tip)b.tip={corner:b.tip};if("object"!==typeof b.tip.size)b.tip.size={width:b.tip.size,height:b.tip.size};if("object"!==typeof b.border)b.border={width:b.border};if("object"!==typeof b.width)b.width={value:b.width};if("string"==typeof b.width.max)b.width.max=
parseInt(b.width.max.replace(/([0-9]+)/i,"$1"));if("string"==typeof b.width.min)b.width.min=parseInt(b.width.min.replace(/([0-9]+)/i,"$1"));if("number"==typeof b.tip.size.x)b.tip.size.width=b.tip.size.x,delete b.tip.size.x;if("number"==typeof b.tip.size.y)b.tip.size.height=b.tip.size.y,delete b.tip.size.y;return b}function z(){var c,e;e=[!0,{}];for(c=0;c<arguments.length;c++)e.push(arguments[c]);for(c=[b.extend.apply(b,e)];"string"==typeof c[0].name;)c.unshift(v(b.fn.qtip.styles[c[0].name]));c.unshift(!0,
{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},b.fn.qtip.styles.defaults);c=b.extend.apply(b,c);e=b.browser.msie?1:0;c.tip.size.width+=e;c.tip.size.height+=e;0<c.tip.size.width%2&&(c.tip.size.width+=1);0<c.tip.size.height%2&&(c.tip.size.height+=1);if(!0===c.tip.corner)c.tip.corner="center"===this.options.position.corner.tooltip?!1:this.options.position.corner.tooltip;return c}function C(b,e,d){e={bottomRight:[[0,0],[e,d],[e,0]],bottomLeft:[[0,0],[e,0],[0,d]],topRight:[[0,d],[e,0],[e,
d]],topLeft:[[0,0],[0,d],[e,d]],topMiddle:[[0,d],[e/2,0],[e,d]],bottomMiddle:[[0,0],[e,0],[e/2,d]],rightMiddle:[[0,0],[e,d/2],[0,d]],leftMiddle:[[e,0],[e,d],[0,d/2]]};e.leftTop=e.bottomRight;e.rightTop=e.bottomLeft;e.leftBottom=e.topRight;e.rightBottom=e.topLeft;return e[b]}function F(c){var e;b("<canvas>").get(0).getContext?e={topLeft:[c,c],topRight:[0,c],bottomLeft:[c,0],bottomRight:[0,0]}:b.browser.msie&&(e={topLeft:[-90,90,0],topRight:[-90,90,-c],bottomLeft:[90,270,0],bottomRight:[90,270,-c]});
return e}function A(){var b;b=this.getDimensions();this.elements.bgiframe=this.elements.wrapper.prepend('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+b.height+"px; width:"+b.width+'px" />').children(".qtip-bgiframe:first")}b.fn.qtip=function(c,e){var d,a,f,g,j,h,n,s;if("string"==typeof c){b.isPlainObject(b(this).data("qtip"))&&b.fn.qtip.log.error.call(self,
1,b.fn.qtip.constants.NO_TOOLTIP_PRESENT,!1);if("api"==c)return b(this).data("qtip").interfaces[b(this).data("qtip").current];if("interfaces"==c)return b(this).data("qtip").interfaces}else{c||(c={});if("object"!==typeof c.content||c.content.jquery&&0<c.content.length)c.content={text:c.content};if("object"!==typeof c.content.title)c.content.title={text:c.content.title};if("object"!==typeof c.position)c.position={corner:c.position};if("object"!==typeof c.position.corner)c.position.corner={target:c.position.corner,
tooltip:c.position.corner};if("object"!==typeof c.show)c.show={when:c.show};if("object"!==typeof c.show.when)c.show.when={event:c.show.when};if("object"!==typeof c.show.effect)c.show.effect={type:c.show.effect};if("object"!==typeof c.hide)c.hide={when:c.hide};if("object"!==typeof c.hide.when)c.hide.when={event:c.hide.when};if("object"!==typeof c.hide.effect)c.hide.effect={type:c.hide.effect};if("object"!==typeof c.style)c.style={name:c.style};c.style=v(c.style);g=b.extend(!0,{},b.fn.qtip.defaults,
c);g.style=z.call({options:g},g.style);g.user=b.extend(!0,{},c)}return b(this).each(function(){if("string"==typeof c){if(h=c.toLowerCase(),f=b(this).qtip("interfaces"),"object"==typeof f)if(!0===e&&"destroy"==h)for(;0<f.length;)f[f.length-1].destroy();else{!0!==e&&(f=[b(this).qtip("api")]);for(d=0;d<f.length;d++)"destroy"==h?f[d].destroy():!0===f[d].status.rendered&&("show"==h?f[d].show():"hide"==h?f[d].hide():"focus"==h?f[d].focus():"disable"==h?f[d].disable(!0):"enable"==h&&f[d].disable(!1))}}else{n=
b.extend(!0,{},g);n.hide.effect.length=g.hide.effect.length;n.show.effect.length=g.show.effect.length;if(!1===n.position.container)n.position.container=b(document.body);if(!1===n.position.target)n.position.target=b(this);if(!1===n.show.when.target)n.show.when.target=b(this);if(!1===n.hide.when.target)n.hide.when.target=b(this);a=b.fn.qtip.interfaces.length;for(d=0;d<a;d++)if("undefined"==typeof b.fn.qtip.interfaces[d]){a=d;break}j=new p(b(this),n,a);b.fn.qtip.interfaces[a]=j;if(b.isPlainObject(b(this).data("qtip"))){if("undefined"===
typeof b(this).attr("qtip"))b(this).data("qtip").current=b(this).data("qtip").interfaces.length;b(this).data("qtip").interfaces.push(j)}else b(this).data("qtip",{current:0,interfaces:[j]});!1===n.content.prerender&&!1!==n.show.when.event&&!0!==n.show.ready?n.show.when.target.bind(n.show.when.event+".qtip-"+a+"-create",{qtip:a},function(a){s=b.fn.qtip.interfaces[a.data.qtip];s.options.show.when.target.unbind(s.options.show.when.event+".qtip-"+a.data.qtip+"-create");s.cache.mouse={x:a.pageX,y:a.pageY};
k.call(s);s.options.show.when.target.trigger(s.options.show.when.event)}):(j.cache.mouse={x:n.show.when.target.offset().left,y:n.show.when.target.offset().top},k.call(j))}})};b(document).ready(function(){b.fn.qtip.cache={screen:{scroll:{left:b(window).scrollLeft(),top:b(window).scrollTop()},width:b(window).width(),height:b(window).height()}};var c;b(window).bind("resize scroll",function(e){clearTimeout(c);c=setTimeout(function(){"scroll"===e.type?b.fn.qtip.cache.screen.scroll={left:b(window).scrollLeft(),
top:b(window).scrollTop()}:(b.fn.qtip.cache.screen.width=b(window).width(),b.fn.qtip.cache.screen.height=b(window).height());for(i=0;i<b.fn.qtip.interfaces.length;i++){var c=b.fn.qtip.interfaces[i];!0===c.status.rendered&&(c.options.position.adjust.scroll&&"scroll"===e.type||c.options.position.adjust.resize&&"resize"===e.type)&&c.updatePosition(e,!0)}},100)});b(document).bind("mousedown.qtip",function(c){0===b(c.target).parents("div.qtip").length&&b(".qtip[unfocus]").each(function(){var d=b(this).qtip("api");
b(this).is(":visible")&&!d.status.disabled&&1<b(c.target).add(d.elements.target).length&&d.hide(c)})})});b.fn.qtip.interfaces=[];b.fn.qtip.log={error:function(){return this}};b.fn.qtip.constants={};b.fn.qtip.defaults={content:{prerender:!1,text:!1,url:!1,data:null,title:{text:!1,button:!1}},position:{target:!1,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:!0,screen:!1,scroll:!0,resize:!0},type:"absolute",container:!1},show:{when:{target:!1,event:"mouseover"},effect:{type:"fade",
length:100},delay:140,solo:!1,ready:!1},hide:{when:{target:!1,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:!1},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},
beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};b.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:!1,color:!1,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",
content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},
red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
(function(b){function p(b,j){return RegExp("< *[img][^>]*[src] *= *[\"']{0,1}([^\"' >]*)[^>]*>",j?"ig":"i").exec(b)}b.fn.qtip.preload=function(k){var j=[],s;k.jquery&&0<k.length&&k.html&&(k=k.html());if((j=p(k,!0))&&0<j.length)for(k=j.length;k--;)0>j[k].search(/^</i)||-1<j[k].search(/(width|height){1} *= *["']{0,1}([^>]*)/i)||(s=p(j[k]))&&1<s.length&&s[1]&&b(document.body).append('<img src="'+s[1]+'" style="position: absolute; left: -10000em; " />')}})(jQuery);String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};String.prototype.substringAfterLast=function(b){if(!this.length)return this;if(!b.length)return"";pos=this.lastIndexOf(b);return-1==pos||pos==this.length-b.length?"":this.substring(pos+b.length)};function isArray(b){return b.constructor==Array}
function isset(b){return"undefined"==typeof window[b]?!1:!0}function isObject(){return"undefined"===typeof object?!1:!0}function submitForm(b){$("#"+b).submit()}
(function(b){b.fn.listenForEnter=function(){return this.each(function(){b(this).focus(function(){b(this).data("safeEnter_InAutocomplete",!1)});b(this).keypress(function(p){switch(p.keyCode?p.keyCode:p.which){case 13:(!b(this).data("safeEnter_InAutocomplete")||!b(this).is("input[type=text]")||b.browser.opera)&&b(this).trigger("pressedEnter",p);b(this).data("safeEnter_InAutocomplete",!1);break;case 40:case 38:case 34:case 33:b(this).data("safeEnter_InAutocomplete",!0);break;default:b(this).data("safeEnter_InAutocomplete",
!1)}})})};b.fn.clickOnEnter=function(p){return this.each(function(){b(this).listenForEnter().bind("pressedEnter",function(){b(p).click()})})}})(jQuery);emo={player:{swf:"/lib/swf/player.swf",width:384,height:236,flashVer:"9.0.0",install:"/lib/js/swfobject2/expressInstall.swf",params:{wmode:"opaque",allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"},attributes:{}}};
ki={confirm:function(b){return confirm(b)},form:{init:function(){$(".submitOnEnter").listenForEnter().bind("pressedEnter",function(){$(this).parents("form:first").submit()});$(".submitOnChange").change(function(){$(this).parents("form:first").submit()});$(".checkall").live("click",function(){var b=this.checked;$(this).closest(".checkall-group").find(":checkbox:not(.checkall)").each(function(){$(this).attr("checked",b).triggerHandler("click")})});$(".checkall-group :checkbox:not(.checkall)").live("click",
function(){var b=$(this).closest(".checkall-group"),p=$(b).find(".checkall");this.checked?0==$(b).find(":not(.checkall):checkbox:not(:checked)").length&&$(p).attr("checked",!0):$(p).attr("checked",!1)})},reInit:function(){$(".submitOnEnter").listenForEnter().bind("pressedEnter",function(){$(this).parents("form:first").submit()})},initInputHint:function(){$("INPUT.hint").click(function(){$(this).hasClass("hint")&&$(this).removeClass("hint").val("")})},element:{updateValidation:function(b,p){var k=
$(b).closest(".ctrlHolder");$(k).find(".validation").remove();if(!$.isEmptyObject(p)){$(k).append('<ul class="validation"></ul>');for(var j in p)$(k).find(".validation").append("<li>"+p[j]+"</li>")}return!0}}}};$(function(){ki.form.init()});(function(b){function p(j,f){var g=b(f);return 2>g.length?g:j.parent().find(f)}function k(k,f){var g=this,B=k.add(g),w=k.children(),u=0,x=f.vertical;j||(j=g);1<w.length&&(w=b(f.items,k));b.extend(g,{getConf:function(){return f},getIndex:function(){return u},getSize:function(){return g.getItems().size()},getNaviButtons:function(){return z.add(C)},getRoot:function(){return k},getItemWrap:function(){return w},getItems:function(){return w.children(f.item).not("."+f.clonedClass)},move:function(b,e){return g.seekTo(u+
b,e)},next:function(b){return g.move(1,b)},prev:function(b){return g.move(-1,b)},begin:function(b){return g.seekTo(0,b)},end:function(b){return g.seekTo(g.getSize()-1,b)},focus:function(){return j=g},addItem:function(c){c=b(c);f.circular?(w.children("."+f.clonedClass+":last").before(c),w.children("."+f.clonedClass+":first").replaceWith(c.clone().addClass(f.clonedClass))):w.append(c);B.trigger("onAddItem",[c]);return g},seekTo:function(c,e,d){c.jquery||(c*=1);if(f.circular&&0===c&&-1==u&&0!==e)return g;
if(!f.circular&&0>c||c>g.getSize()||-1>c)return g;var a=c;c.jquery?c=g.getItems().index(c):a=g.getItems().eq(c);var k=b.Event("onBeforeSeek");if(!d&&(B.trigger(k,[c,e]),k.isDefaultPrevented()||!a.length))return g;a=x?{top:-a.position().top}:{left:-a.position().left};u=c;j=g;if(void 0===e)e=f.speed;w.animate(a,e,f.easing,d||function(){B.trigger("onSeek",[c])});return g}});b.each(["onBeforeSeek","onSeek","onAddItem"],function(c,e){b.isFunction(f[e])&&b(g).bind(e,f[e]);g[e]=function(c){c&&b(g).bind(e,
c);return g}});if(f.circular){var y=g.getItems().slice(-1).clone().prependTo(w),v=g.getItems().eq(1).clone().appendTo(w);y.add(v).addClass(f.clonedClass);g.onBeforeSeek(function(b,e,d){if(!b.isDefaultPrevented()){if(-1==e)return g.seekTo(y,d,function(){g.end(0)}),b.preventDefault();e==g.getSize()&&g.seekTo(v,d,function(){g.begin(0)})}});g.seekTo(0,0,function(){})}var z=p(k,f.prev).click(function(){g.prev()}),C=p(k,f.next).click(function(){g.next()});!f.circular&&1<g.getSize()&&(g.onBeforeSeek(function(b,
e){setTimeout(function(){b.isDefaultPrevented()||(z.toggleClass(f.disabledClass,0>=e),C.toggleClass(f.disabledClass,e>=g.getSize()-1))},1)}),f.initialIndex||z.addClass(f.disabledClass));f.mousewheel&&b.fn.mousewheel&&k.mousewheel(function(b,e){if(f.mousewheel)return g.move(0>e?1:-1,f.wheelSpeed||50),!1});if(f.touch){var F,A;w[0].ontouchstart=function(b){b=b.touches[0];F=b.clientX;A=b.clientY};w[0].ontouchmove=function(b){if(1==b.touches.length&&!w.is(":animated")){var e=b.touches[0],d=F-e.clientX,
e=A-e.clientY;g[x&&0<e||!x&&0<d?"next":"prev"]();b.preventDefault()}}}f.keyboard&&b(document).bind("keydown.scrollable",function(c){if(f.keyboard&&!c.altKey&&!c.ctrlKey&&!b(c.target).is(":input")&&!("static"!=f.keyboard&&j!=g)){var e=c.keyCode;if(x&&(38==e||40==e))return g.move(38==e?-1:1),c.preventDefault();if(!x&&(37==e||39==e))return g.move(37==e?-1:1),c.preventDefault()}});f.initialIndex&&g.seekTo(f.initialIndex,0,function(){})}b.tools=b.tools||{version:"1.2.5"};b.tools.scrollable={conf:{activeClass:"active",
circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",speed:400,vertical:!1,touch:!0,wheelSpeed:0}};var j;b.fn.scrollable=function(j){var f=this.data("scrollable");if(f)return f;j=b.extend({},b.tools.scrollable.conf,j);this.each(function(){f=new k(b(this),j);b(this).data("scrollable",f)});return j.api?f:this}})(jQuery);
(function(b){var p=b.tools.scrollable;p.autoscroll={conf:{autoplay:!0,interval:3E3,autopause:!0}};b.fn.autoscroll=function(k){"number"==typeof k&&(k={interval:k});var j=b.extend({},p.autoscroll.conf,k),s;this.each(function(){var f=b(this).data("scrollable");f&&(s=f);var g;f.play=function(){g||(g=setInterval(function(){f.next()},j.interval))};f.pause=function(){g=clearInterval(g)};f.stop=function(){f.pause()};j.autopause&&f.getRoot().add(f.getNaviButtons()).hover(f.pause,f.play);j.autoplay&&f.play()});
return j.api?s:this}})(jQuery);
(function(b){function p(j,k){var f=b(k);return 2>f.length?f:j.parent().find(k)}var k=b.tools.scrollable;k.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,idPrefix:null,history:!1}};b.fn.navigator=function(j){"string"==typeof j&&(j={navi:j});var j=b.extend({},k.navigator.conf,j),s;this.each(function(){function f(b,f,g){u.seekTo(f);if(z){if(location.hash)location.hash=b.attr("href").replace("#","")}else return g.preventDefault()}function g(){return x.find(j.naviItem||"> *")}
function k(g){var p=b("<"+(j.naviItem||"a")+"/>").click(function(j){f(b(this),g,j)}).attr("href","#"+g);0===g&&p.addClass(v);j.indexed&&p.text(g+1);j.idPrefix&&p.attr("id",j.idPrefix+g);return p.appendTo(x)}function w(b,f){b=g().eq(f.replace("#",""));b.length||(b=g().filter("[href="+f+"]"));b.click()}var u=b(this).data("scrollable"),x=j.navi.jquery?j.navi:p(u.getRoot(),j.navi),y=u.getNaviButtons(),v=j.activeClass,z=j.history&&b.fn.history;u&&(s=u);u.getNaviButtons=function(){return y.add(x)};g().length?
g().each(function(g){b(this).click(function(j){f(b(this),g,j)})}):b.each(u.getItems(),function(b){k(b)});u.onBeforeSeek(function(b,f){setTimeout(function(){if(!b.isDefaultPrevented()){var j=g().eq(f);!b.isDefaultPrevented()&&j.length&&g().removeClass(v).eq(f).addClass(v)}},1)});u.onAddItem(function(b,f){f=k(u.getItems().index(f));z&&f.history(w)});z&&g().history(w)});return j.api?s:this}})(jQuery);jQuery.cookie=function(b,p,k){if("undefined"!=typeof p){k=k||{};if(null===p)p="",k.expires=-1;var j="";if(k.expires&&("number"==typeof k.expires||k.expires.toUTCString))"number"==typeof k.expires?(j=new Date,j.setTime(j.getTime()+864E5*k.expires)):j=k.expires,j="; expires="+j.toUTCString();var s=k.path?"; path="+k.path:"",f=k.domain?"; domain="+k.domain:"",k=k.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(p),j,s,f,k].join("")}else{p=null;if(document.cookie&&""!=document.cookie){k=
document.cookie.split(";");for(j=0;j<k.length;j++)if(s=jQuery.trim(k[j]),s.substring(0,b.length+1)==b+"="){p=decodeURIComponent(s.substring(b.length+1));break}}return p}};

