jQuery.ui||(function(r){var k=r.fn.remove,q=r.browser.mozilla&&(parseFloat(r.browser.version)<1.9);r.ui={version:"1.7.2",plugin:{add:function(b,a,d){var e=r.ui[b].prototype;for(var c in d){e.plugins[c]=e.plugins[c]||[];e.plugins[c].push([a,d[c]])}},call:function(c,a,b){var d=c.plugins[a];if(!d||!c.element[0].parentNode){return}for(var e=0;e<d.length;e++){if(c.options[d[e][0]]){d[e][1].apply(c.element,b)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(d,b){if(r(d).css("overflow")=="hidden"){return false}var c=(b&&b=="left")?"scrollLeft":"scrollTop",a=false;if(d[c]>0){return true}d[c]=1;a=(d[c]>0);d[c]=0;return a},isOverAxis:function(b,c,a){return(b>c)&&(b<(c+a))},isOver:function(d,b,e,f,c,a){return r.ui.isOverAxis(d,e,c)&&r.ui.isOverAxis(b,f,a)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(q){var n=r.attr,o=r.fn.removeAttr,l="http://www.w3.org/2005/07/aaa",t=/^aria-/,s=/^wairole:/;r.attr=function(b,c,a){var d=a!==undefined;return(c=="role"?(d?n.call(this,b,c,"wairole:"+a):(n.apply(this,arguments)||"").replace(s,"")):(t.test(c)?(d?b.setAttributeNS(l,c.replace(t,"aaa:"),a):n.call(this,b,c.replace(t,"aaa:"))):n.apply(this,arguments)))};r.fn.removeAttr=function(a){return(t.test(a)?this.each(function(){this.removeAttributeNS(l,a.replace(t,""))}):o.call(this,a))}}r.fn.extend({remove:function(){r("*",this).add(this).each(function(){r(this).triggerHandler("remove")});return k.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var a;if((r.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(r.curCSS(this,"position",1))&&(/(auto|scroll)/).test(r.curCSS(this,"overflow",1)+r.curCSS(this,"overflow-y",1)+r.curCSS(this,"overflow-x",1))}).eq(0)}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(r.curCSS(this,"overflow",1)+r.curCSS(this,"overflow-y",1)+r.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!a.length?r(document):a}});r.extend(r.expr[":"],{data:function(a,b,c){return !!r.data(a,c[3])},focusable:function(b){var a=b.nodeName.toLowerCase(),c=r.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(a)?!b.disabled:"a"==a||"area"==a?b.href||!isNaN(c):!isNaN(c))&&!r(b)["area"==a?"parents":"closest"](":hidden").length},tabbable:function(a){var b=r.attr(a,"tabindex");return(isNaN(b)||b>=0)&&r(a).is(":focusable")}});function m(f,e,d,a){function b(g){var h=r[f][e][g]||[];return(typeof h=="string"?h.split(/,?\s+/):h)}var c=b("getter");if(a.length==1&&typeof a[0]=="string"){c=c.concat(b("getterSetter"))}return(r.inArray(d,c)!=-1)}r.widget=function(b,c){var a=b.split(".")[0];b=b.split(".")[1];r.fn[b]=function(d){var f=(typeof d=="string"),e=Array.prototype.slice.call(arguments,1);if(f&&d.substring(0,1)=="_"){return this}if(f&&m(a,b,d,e)){var g=r.data(this[0],b);return(g?g[d].apply(g,e):undefined)}return this.each(function(){var h=r.data(this,b);(!h&&!f&&r.data(this,b,new r[a][b](this,d))._init());(h&&f&&r.isFunction(h[d])&&h[d].apply(h,e))})};r[a]=r[a]||{};r[a][b]=function(d,e){var f=this;this.namespace=a;this.widgetName=b;this.widgetEventPrefix=r[a][b].eventPrefix||b;this.widgetBaseClass=a+"-"+b;this.options=r.extend({},r.widget.defaults,r[a][b].defaults,r.metadata&&r.metadata.get(d)[b],e);this.element=r(d).bind("setData."+b,function(h,j,g){if(h.target==d){return f._setData(j,g)}}).bind("getData."+b,function(g,h){if(g.target==d){return f._getData(h)}}).bind("remove",function(){return f.destroy()})};r[a][b].prototype=r.extend({},r.widget.prototype,c);r[a][b].getterSetter="option"};r.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(a,d){var b=a,c=this;if(typeof a=="string"){if(d===undefined){return this._getData(a)}b={};b[a]=d}r.each(b,function(f,e){c._setData(f,e)})},_getData:function(a){return this.options[a]},_setData:function(b,a){this.options[b]=a;if(b=="disabled"){this.element[a?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",a)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(a,g,f){var d=this.options[a],c=(a==this.widgetEventPrefix?a:this.widgetEventPrefix+a);g=r.Event(g);g.type=c;if(g.originalEvent){for(var b=r.event.props.length,e;b;){e=r.event.props[--b];g[e]=g.originalEvent[e]}}this.element.trigger(g,f);return !(r.isFunction(d)&&d.call(this.element[0],g,f)===false||g.isDefaultPrevented())}};r.widget.defaults={disabled:false};r.ui.mouse={_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false}});if(r.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(r.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(a){a.originalEvent=a.originalEvent||{};if(a.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(a));this._mouseDownEvent=a;var b=this,d=(a.which==1),c=(typeof this.options.cancel=="string"?r(a.target).parents().add(a.target).filter(this.options.cancel).length:false);if(!d||c||!this._mouseCapture(a)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=(this._mouseStart(a)!==false);if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(e){return b._mouseMove(e)};this._mouseUpDelegate=function(e){return b._mouseUp(e)};r(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(r.browser.safari||a.preventDefault());a.originalEvent.mouseHandled=true;return true},_mouseMove:function(a){if(r.browser.msie&&!a.button){return this._mouseUp(a)}if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,a)!==false);(this._mouseStarted?this._mouseDrag(a):this._mouseUp(a))}return !this._mouseStarted},_mouseUp:function(a){r(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(a.target==this._mouseDownEvent.target);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return(Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance)},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return true}};r.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(b){b.widget("ui.accordion",{_init:function(){var e=this.options,a=this;this.running=0;if(e.collapsible==b.ui.accordion.defaults.collapsible&&e.alwaysOpen!=b.ui.accordion.defaults.alwaysOpen){e.collapsible=!e.alwaysOpen}if(e.navigation){var f=this.element.find("a").filter(e.navigationFilter);if(f.length){if(f.filter(e.header).length){this.active=f}else{this.active=f.parent().parent().prev();f.addClass("ui-accordion-content-active")}}}this.element.addClass("ui-accordion ui-widget ui-helper-reset");if(this.element[0].nodeName=="UL"){this.element.children("li").addClass("ui-accordion-li-fix")}this.headers=this.element.find(e.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b(this).removeClass("ui-state-focus")});this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");this.active=this._findActive(this.active||e.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");b("<span/>").addClass("ui-icon "+e.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(e.icons.header).toggleClass(e.icons.headerSelected);if(b.browser.msie){this.element.find("a").css("zoom","1")}this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(c){return a._keydown(c)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex","0")}else{this.active.attr("aria-expanded","true").attr("tabIndex","0")}if(!b.browser.safari){this.headers.find("a").attr("tabIndex","-1")}if(e.event){this.headers.bind((e.event)+".accordion",function(c){return a._clickHandler.call(a,c,this)})}},destroy:function(){var d=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");this.headers.find("a").removeAttr("tabindex");this.headers.children(".ui-icon").remove();var a=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");if(d.autoHeight||d.fillHeight){a.css("height","")}},_setData:function(a,d){if(a=="alwaysOpen"){a="collapsible";d=!d}b.widget.prototype._setData.apply(this,arguments)},_keydown:function(k){var h=this.options,j=b.ui.keyCode;if(h.disabled||k.altKey||k.ctrlKey){return}var l=this.headers.length;var a=this.headers.index(k.target);var m=false;switch(k.keyCode){case j.RIGHT:case j.DOWN:m=this.headers[(a+1)%l];break;case j.LEFT:case j.UP:m=this.headers[(a-1+l)%l];break;case j.SPACE:case j.ENTER:return this._clickHandler({target:k.target},k.target)}if(m){b(k.target).attr("tabIndex","-1");b(m).attr("tabIndex","0");m.focus();return false}return true},resize:function(){var f=this.options,g;if(f.fillSpace){if(b.browser.msie){var a=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}g=this.element.parent().height();if(b.browser.msie){this.element.parent().css("overflow",a)}this.headers.each(function(){g-=b(this).outerHeight()});var h=0;this.headers.next().each(function(){h=Math.max(h,b(this).innerHeight()-b(this).height())}).height(Math.max(0,g-h)).css("overflow","auto")}else{if(f.autoHeight){g=0;this.headers.next().each(function(){g=Math.max(g,b(this).outerHeight())}).height(g)}}},activate:function(a){var d=this._findActive(a)[0];this._clickHandler({target:d},d)},_findActive:function(a){return a?typeof a=="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?b([]):this.headers.filter(":eq(0)")},_clickHandler:function(t,o){var r=this.options;if(r.disabled){return false}if(!t.target&&r.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(r.icons.headerSelected).addClass(r.icons.header);this.active.next().addClass("ui-accordion-content-active");var m=this.active.next(),q={options:r,newHeader:b([]),oldHeader:r.active,newContent:b([]),oldContent:m},s=(this.active=b([]));this._toggle(s,m,q);return false}var n=b(t.currentTarget||o);var l=n[0]==this.active[0];if(this.running||(!r.collapsible&&l)){return false}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(r.icons.headerSelected).addClass(r.icons.header);this.active.next().addClass("ui-accordion-content-active");if(!l){n.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(r.icons.header).addClass(r.icons.headerSelected);n.next().addClass("ui-accordion-content-active")}var s=n.next(),m=this.active.next(),q={options:r,newHeader:l&&r.collapsible?b([]):n,oldHeader:this.active,newContent:l&&r.collapsible?b([]):s.find("> *"),oldContent:m.find("> *")},a=this.headers.index(this.active[0])>this.headers.index(n[0]);this.active=l?b([]):n;this._toggle(s,m,q,l,a);return false},_toggle:function(z,s,u,r,q){var x=this.options,a=this;this.toShow=z;this.toHide=s;this.data=u;var y=function(){if(!a){return}return a._completed.apply(a,arguments)};this._trigger("changestart",null,this.data);this.running=s.size()===0?z.size():s.size();if(x.animated){var v={};if(x.collapsible&&r){v={toShow:b([]),toHide:s,complete:y,down:q,autoHeight:x.autoHeight||x.fillSpace}}else{v={toShow:z,toHide:s,complete:y,down:q,autoHeight:x.autoHeight||x.fillSpace}}if(!x.proxied){x.proxied=x.animated}if(!x.proxiedDuration){x.proxiedDuration=x.duration}x.animated=b.isFunction(x.proxied)?x.proxied(v):x.proxied;x.duration=b.isFunction(x.proxiedDuration)?x.proxiedDuration(v):x.proxiedDuration;var o=b.ui.accordion.animations,w=x.duration,t=x.animated;if(!o[t]){o[t]=function(c){this.slide(c,{easing:t,duration:w||700})}}o[t](v)}else{if(x.collapsible&&r){z.toggle()}else{s.hide();z.show()}y(true)}s.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();z.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(a){var d=this.options;this.running=a?0:--this.running;if(this.running){return}if(d.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this._trigger("change",null,this.data)}});b.extend(b.ui.accordion,{version:"1.7.2",defaults:{active:null,alwaysOpen:true,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},animations:{slide:function(a,m){a=b.extend({easing:"swing",duration:300},a,m);if(!a.toHide.size()){a.toShow.animate({height:"show"},a);return}if(!a.toShow.size()){a.toHide.animate({height:"hide"},a);return}var s=a.toShow.css("overflow"),n,r={},o={},q=["height","paddingTop","paddingBottom"],t;var l=a.toShow;t=l[0].style.width;l.width(parseInt(l.parent().width(),10)-parseInt(l.css("paddingLeft"),10)-parseInt(l.css("paddingRight"),10)-(parseInt(l.css("borderLeftWidth"),10)||0)-(parseInt(l.css("borderRightWidth"),10)||0));b.each(q,function(d,e){o[e]="hide";var c=(""+b.css(a.toShow[0],e)).match(/^([\d+-.]+)(.*)$/);r[e]={value:c[1],unit:c[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(o,{step:function(d,c){if(c.prop=="height"){n=(c.now-c.start)/(c.end-c.start)}a.toShow[0].style[c.prop]=(n*r[c.prop].value)+r[c.prop].unit},duration:a.duration,easing:a.easing,complete:function(){if(!a.autoHeight){a.toShow.css("height","")}a.toShow.css("width",t);a.toShow.css({overflow:s});a.complete()}})},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1000:200})},easeslide:function(a){this.slide(a,{easing:"easeinout",duration:700})}}})})(jQuery);(function(b){b.fn.easySlider=function(a){var d={prevId:"prevBtn",prevText:"Previous",nextId:"nextBtn",nextText:"Next",controlsShow:true,controlsBefore:"",controlsAfter:"",controlsFade:true,firstId:"firstBtn",firstText:"First",firstShow:false,lastId:"lastBtn",lastText:"Last",lastShow:false,vertical:false,speed:800,auto:false,pause:2000,continuous:false,numeric:false,numericId:"controls"};var a=b.extend(d,a);this.each(function(){var z=b(this);var D=b("li",z).length;var h=b("li",z).width();var y=b("li",z).height();var w=true;z.width(h);z.height(y);z.css("overflow","hidden");var v=D-1;var c=0;b("ul",z).css("width",D*h);if(a.continuous){b("ul",z).prepend(b("ul li:last-child",z).clone().css("margin-left","-"+h+"px"));b("ul",z).append(b("ul li:nth-child(2)",z).clone());b("ul",z).css("width",(D+1)*h)}if(!a.vertical){b("li",z).css("float","left")}if(a.controlsShow){var x=a.controlsBefore;if(a.numeric){x+='<ol id="'+a.numericId+'"></ol>'}else{if(a.firstShow){x+='<span id="'+a.firstId+'"><a href="javascript:void(0);">'+a.firstText+"</a></span>"}x+=' <span id="'+a.prevId+'"><a href="javascript:void(0);">'+a.prevText+"</a></span>";x+=' <span id="'+a.nextId+'"><a href="javascript:void(0);">'+a.nextText+"</a></span>";if(a.lastShow){x+=' <span id="'+a.lastId+'"><a href="javascript:void(0);">'+a.lastText+"</a></span>"}}x+=a.controlsAfter;b(z).after(x)}if(a.numeric){for(var A=0;A<D;A++){b(document.createElement("li")).attr("id",a.numericId+(A+1)).html("<a rel="+A+' href="javascript:void(0);">'+(A+1)+"</a>").appendTo(b("#"+a.numericId)).click(function(){C(b("a",b(this)).attr("rel"),true)})}}else{b("a","#"+a.nextId).click(function(){C("next",true)});b("a","#"+a.prevId).click(function(){C("prev",true)});b("a","#"+a.firstId).click(function(){C("first",true)});b("a","#"+a.lastId).click(function(){C("last",true)})}function B(e){e=parseInt(e)+1;b("li","#"+a.numericId).removeClass("current");b("li#"+a.numericId+e).addClass("current")}function s(){if(c>v){c=0}if(c<0){c=v}if(!a.vertical){b("ul",z).css("margin-left",(c*h*-1))}else{b("ul",z).css("margin-left",(c*y*-1))}w=true;if(a.numeric){B(c)}}function C(k,j){if(w){w=false;var g=c;switch(k){case"next":c=(g>=v)?(a.continuous?c+1:v):c+1;break;case"prev":c=(c<=0)?(a.continuous?c-1:0):c-1;break;case"first":c=0;break;case"last":c=v;break;default:c=k;break}var e=Math.abs(g-c);var f=e*a.speed;if(!a.vertical){p=(c*h*-1);b("ul",z).animate({marginLeft:p},{queue:false,duration:f,complete:s})}else{p=(c*y*-1);b("ul",z).animate({marginTop:p},{queue:false,duration:f,complete:s})}if(!a.continuous&&a.controlsFade){if(c==v){b("a","#"+a.nextId).hide();b("a","#"+a.lastId).hide()}else{b("a","#"+a.nextId).show();b("a","#"+a.lastId).show()}if(c==0){b("a","#"+a.prevId).hide();b("a","#"+a.firstId).hide()}else{b("a","#"+a.prevId).show();b("a","#"+a.firstId).show()}}if(j){clearTimeout(t)}if(a.auto&&k=="next"&&!j){t=setTimeout(function(){C("next",false)},e*a.speed+a.pause)}}}var t;if(a.auto){t=setTimeout(function(){C("next",false)},a.pause)}if(a.numeric){B(0)}if(!a.continuous&&a.controlsFade){b("a","#"+a.prevId).hide();b("a","#"+a.firstId).hide()}})}})(jQuery);(function(b){b.fn.blend=function(a,e){var f=b.extend({},b.fn.blend.settings,a);b(this).each(function(){var d=b(this),z=b(f.target?f.target:this),v,t=[],w,A,B={},y=false,x=0,u=f.opacity,s=["background-color","background-image","background-repeat","background-attachment","background-position","background-position-x","background-position-y"];A=s.length;if(z[0].style.position!="absolute"){z.css({position:"relative"})}if(!z.hasClass("hover")){z.wrapInner('<div style="position:relative" />')}for(w=0;w<A;w++){t[w]=z.css(s[w])}z.addClass("hover");B={};B.position="absolute";B.top=0;B.left=0;B.width=z.css("width");B.height=z.css("height");for(w=0;w<A;w++){B[s[w]]=z.css(s[w])}if(z.find(".jsblend").length===0){v=b('<div class="jsblend" />').css(B);if(f.top){v.appendTo(z)}else{v.prependTo(z)}}else{v=z.find(".jsblend")}B={};for(w=0;w<A;w++){B[s[w]]=t[w]}z.css(B);if(f.reverse){x=f.opacity;u=0}v.css({opacity:x});function c(g){if(y){v.fadeTo(f.speed,g,function(){c(g==x?u:x)})}}if(f.pulse&&f.active){y=true;c(u)}else{if(f.pulse){d.hover(function(){y=true;c(u)},function(){y=false;v.stop(true).fadeTo(f.speed,x)})}else{d.hover(function(){v.stop().fadeTo(f.speed,u)},function(){v.stop().fadeTo(f.speed,x)})}}});return this};b.fn.blend.settings={speed:500,opacity:1,target:false,reverse:false,pulse:false,active:false,top:false}})(jQuery);(function(b){b.fn.tweet=function(e){var f={username:["seaofclouds"],avatar_size:null,count:3,intro_text:null,outro_text:null,join_text:null,auto_join_text_default:"i said,",auto_join_text_ed:"i",auto_join_text_ing:"i am",auto_join_text_reply:"i replied to",auto_join_text_url:"i was looking at",loading_text:null,query:null};b.fn.extend({linkUrl:function(){var d=[];var c=/((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/gi;this.each(function(){d.push(this.replace(c,'<a href="$1">$1</a>'))});return b(d)},linkUser:function(){var d=[];var c=/[\@]+([A-Za-z0-9-_]+)/gi;this.each(function(){d.push(this.replace(c,'<a href="http://twitter.com/$1">@$1</a>'))});return b(d)},linkHash:function(){var d=[];var c=/ [\#]+([A-Za-z0-9-_]+)/gi;this.each(function(){d.push(this.replace(c,' <a href="http://search.twitter.com/search?q=&tag=$1&lang=all&from='+f.username.join("%2BOR%2B")+'">#$1</a>'))});return b(d)},capAwesome:function(){var c=[];this.each(function(){c.push(this.replace(/(a|A)wesome/gi,"AWESOME"))});return b(c)},capEpic:function(){var c=[];this.each(function(){c.push(this.replace(/(e|E)pic/gi,"EPIC"))});return b(c)},makeHeart:function(){var c=[];this.each(function(){c.push(this.replace(/[&lt;]+[3]/gi,"<tt class='heart'>&#x2665;</tt>"))});return b(c)}});function a(j){var k=Date.parse(j);var d=(arguments.length>1)?arguments[1]:new Date();var c=parseInt((d.getTime()-k)/1000);if(c<60){return"less than a minute ago"}else{if(c<120){return"about a minute ago"}else{if(c<(45*60)){return(parseInt(c/60)).toString()+" minutes ago"}else{if(c<(90*60)){return"about an hour ago"}else{if(c<(24*60*60)){return"about "+(parseInt(c/3600)).toString()+" hours ago"}else{if(c<(48*60*60)){return"1 day ago"}else{return(parseInt(c/86400)).toString()+" days ago"}}}}}}}if(e){b.extend(f,e)}return this.each(function(){var d=b('<ul class="tweet_list">').appendTo(this);var l='<p class="tweet_intro">'+f.intro_text+"</p>";var o='<p class="tweet_outro">'+f.outro_text+"</p>";var c=b('<p class="loading">'+f.loading_text+"</p>");if(typeof(f.username)=="string"){f.username=[f.username]}var m="";if(f.query){m+="q="+f.query}m+="&q=from:"+f.username.join("%20OR%20from:");var n="http://search.twitter.com/search.json?&"+m+"&rpp="+f.count+"&callback=?";if(f.loading_text){b(this).append(c)}b.getJSON(n,function(g){if(f.loading_text){c.remove()}if(f.intro_text){d.before(l)}b.each(g.results,function(j,y){if(f.join_text=="auto"){if(y.text.match(/^(@([A-Za-z0-9-_]+)) .*/i)){var w=f.auto_join_text_reply}else{if(y.text.match(/(^\w+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+) .*/i)){var w=f.auto_join_text_url}else{if(y.text.match(/^((\w+ed)|just) .*/im)){var w=f.auto_join_text_ed}else{if(y.text.match(/^(\w*ing) .*/i)){var w=f.auto_join_text_ing}else{var w=f.auto_join_text_default}}}}}else{var w=f.join_text}var A='<span class="tweet_join"> '+w+" </span>";var x=((f.join_text)?A:" ");var h='<a class="tweet_avatar" href="http://twitter.com/'+y.from_user+'"><img src="'+y.profile_image_url+'" height="'+f.avatar_size+'" width="'+f.avatar_size+'" alt="'+y.from_user+'\'s avatar" border="0"/></a>';var B=(f.avatar_size?h:"");var k='<a href="http://twitter.com/'+y.from_user+"/statuses/"+y.id+'" title="view tweet on twitter">'+a(y.created_at)+"</a>";var z='<span class="tweet_text">'+b([y.text]).linkUrl().linkUser().linkHash().makeHeart().capAwesome().capEpic()[0]+"</span>";d.append("<li>"+B+k+x+z+"</li>");d.children("li:first").addClass("tweet_first");d.children("li:odd").addClass("tweet_even");d.children("li:even").addClass("tweet_odd")});if(f.outro_text){d.after(o)}})})}})(jQuery);(function(a){a.fn.qtip=function(B,u){var y,t,A,s,x,w,v,z;if(typeof B=="string"){if(typeof a(this).data("qtip")!=="object"){a.fn.qtip.log.error.call(self,1,a.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(B=="api"){return a(this).data("qtip").interfaces[a(this).data("qtip").current]}else{if(B=="interfaces"){return a(this).data("qtip").interfaces}}}else{if(!B){B={}}if(typeof B.content!=="object"||(B.content.jquery&&B.content.length>0)){B.content={text:B.content}}if(typeof B.content.title!=="object"){B.content.title={text:B.content.title}}if(typeof B.position!=="object"){B.position={corner:B.position}}if(typeof B.position.corner!=="object"){B.position.corner={target:B.position.corner,tooltip:B.position.corner}}if(typeof B.show!=="object"){B.show={when:B.show}}if(typeof B.show.when!=="object"){B.show.when={event:B.show.when}}if(typeof B.show.effect!=="object"){B.show.effect={type:B.show.effect}}if(typeof B.hide!=="object"){B.hide={when:B.hide}}if(typeof B.hide.when!=="object"){B.hide.when={event:B.hide.when}}if(typeof B.hide.effect!=="object"){B.hide.effect={type:B.hide.effect}}if(typeof B.style!=="object"){B.style={name:B.style}}B.style=m(B.style);s=a.extend(true,{},a.fn.qtip.defaults,B);s.style=h.call({options:s},s.style);s.user=a.extend(true,{},B)}return a(this).each(function(){if(typeof B=="string"){w=B.toLowerCase();A=a(this).qtip("interfaces");if(typeof A=="object"){if(u===true&&w=="destroy"){while(A.length>0){A[A.length-1].destroy()}}else{if(u!==true){A=[a(this).qtip("api")]}for(y=0;y<A.length;y++){if(w=="destroy"){A[y].destroy()}else{if(A[y].status.rendered===true){if(w=="show"){A[y].show()}else{if(w=="hide"){A[y].hide()}else{if(w=="focus"){A[y].focus()}else{if(w=="disable"){A[y].disable(true)}else{if(w=="enable"){A[y].disable(false)}}}}}}}}}}}else{v=a.extend(true,{},s);v.hide.effect.length=s.hide.effect.length;v.show.effect.length=s.show.effect.length;if(v.position.container===false){v.position.container=a(document.body)}if(v.position.target===false){v.position.target=a(this)}if(v.show.when.target===false){v.show.when.target=a(this)}if(v.hide.when.target===false){v.hide.when.target=a(this)}t=a.fn.qtip.interfaces.length;for(y=0;y<t;y++){if(typeof a.fn.qtip.interfaces[y]=="undefined"){t=y;break}}x=new q(a(this),v,t);a.fn.qtip.interfaces[t]=x;if(typeof a(this).data("qtip")=="object"){if(typeof a(this).attr("qtip")==="undefined"){a(this).data("qtip").current=a(this).data("qtip").interfaces.length}a(this).data("qtip").interfaces.push(x)}else{a(this).data("qtip",{current:0,interfaces:[x]})}if(v.content.prerender===false&&v.show.when.event!==false&&v.show.ready!==true){v.show.when.target.bind(v.show.when.event+".qtip-"+t+"-create",{qtip:t},function(C){z=a.fn.qtip.interfaces[C.data.qtip];z.options.show.when.target.unbind(z.options.show.when.event+".qtip-"+C.data.qtip+"-create");z.cache.mouse={x:C.pageX,y:C.pageY};n.call(z);z.options.show.when.target.trigger(z.options.show.when.event)})}else{x.cache.mouse={x:v.show.when.target.offset().left,y:v.show.when.target.offset().top};n.call(x)}}})};function q(s,v,t){var u=this;u.id=t;u.options=v;u.status={animated:false,rendered:false,disabled:false,focused:false};u.elements={target:s.addClass(u.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};u.cache={mouse:{},position:{},toggle:0};u.timers={};a.extend(u,u.options.api,{show:function(w){var z,x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(u.elements.tooltip.css("display")!=="none"){return u}u.elements.tooltip.stop(true,false);z=u.beforeShow.call(u,w);if(z===false){return u}function y(){if(u.options.position.type!=="static"){u.focus()}u.onShow.call(u,w);if(a.browser.msie){u.elements.tooltip.get(0).style.removeAttribute("filter")}}u.cache.toggle=1;if(u.options.position.type!=="static"){u.updatePosition(w,(u.options.show.effect.length>0))}if(typeof u.options.show.solo=="object"){x=a(u.options.show.solo)}else{if(u.options.show.solo===true){x=a("div.qtip").not(u.elements.tooltip)}}if(x){x.each(function(){if(a(this).qtip("api").status.rendered===true){a(this).qtip("api").hide()}})}if(typeof u.options.show.effect.type=="function"){u.options.show.effect.type.call(u.elements.tooltip,u.options.show.effect.length);u.elements.tooltip.queue(function(){y();a(this).dequeue()})}else{switch(u.options.show.effect.type.toLowerCase()){case"fade":u.elements.tooltip.fadeIn(u.options.show.effect.length,y);break;case"slide":u.elements.tooltip.slideDown(u.options.show.effect.length,function(){y();if(u.options.position.type!=="static"){u.updatePosition(w,true)}});break;case"grow":u.elements.tooltip.show(u.options.show.effect.length,y);break;default:u.elements.tooltip.show(null,y);break}u.elements.tooltip.addClass(u.options.style.classes.active)}return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(w){var y;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(u.elements.tooltip.css("display")==="none"){return u}}clearTimeout(u.timers.show);u.elements.tooltip.stop(true,false);y=u.beforeHide.call(u,w);if(y===false){return u}function x(){u.onHide.call(u,w)}u.cache.toggle=0;if(typeof u.options.hide.effect.type=="function"){u.options.hide.effect.type.call(u.elements.tooltip,u.options.hide.effect.length);u.elements.tooltip.queue(function(){x();a(this).dequeue()})}else{switch(u.options.hide.effect.type.toLowerCase()){case"fade":u.elements.tooltip.fadeOut(u.options.hide.effect.length,x);break;case"slide":u.elements.tooltip.slideUp(u.options.hide.effect.length,x);break;case"grow":u.elements.tooltip.hide(u.options.hide.effect.length,x);break;default:u.elements.tooltip.hide(null,x);break}u.elements.tooltip.removeClass(u.options.style.classes.active)}return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(w,y){var I,L,C,z,Q,G,A,x,F,K,B,E,H,D;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(u.options.position.type=="static"){return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}L={position:{left:0,top:0},dimensions:{height:0,width:0},corner:u.options.position.corner.target};C={position:u.getPosition(),dimensions:u.getDimensions(),corner:u.options.position.corner.tooltip};if(u.options.position.target!=="mouse"){if(u.options.position.target.get(0).nodeName.toLowerCase()=="area"){z=u.options.position.target.attr("coords").split(",");for(I=0;I<z.length;I++){z[I]=parseInt(z[I])}Q=u.options.position.target.parent("map").attr("name");G=a('img[usemap="#'+Q+'"]:first').offset();L.position={left:Math.floor(G.left+z[0]),top:Math.floor(G.top+z[1])};switch(u.options.position.target.attr("shape").toLowerCase()){case"rect":L.dimensions={width:Math.ceil(Math.abs(z[2]-z[0])),height:Math.ceil(Math.abs(z[3]-z[1]))};break;case"circle":L.dimensions={width:z[2]+1,height:z[2]+1};break;case"poly":L.dimensions={width:z[0],height:z[1]};for(I=0;I<z.length;I++){if(I%2==0){if(z[I]>L.dimensions.width){L.dimensions.width=z[I]}if(z[I]<z[0]){L.position.left=Math.floor(G.left+z[I])}}else{if(z[I]>L.dimensions.height){L.dimensions.height=z[I]}if(z[I]<z[1]){L.position.top=Math.floor(G.top+z[I])}}}L.dimensions.width=L.dimensions.width-(L.position.left-G.left);L.dimensions.height=L.dimensions.height-(L.position.top-G.top);break;default:return a.fn.qtip.log.error.call(u,4,a.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}L.dimensions.width-=2;L.dimensions.height-=2}else{if(u.options.position.target.add(document.body).length===1){L.position={left:a(document).scrollLeft(),top:a(document).scrollTop()};L.dimensions={height:a(window).height(),width:a(window).width()}}else{if(typeof u.options.position.target.attr("qtip")!=="undefined"){L.position=u.options.position.target.qtip("api").cache.position}else{L.position=u.options.position.target.offset()}L.dimensions={height:u.options.position.target.outerHeight(),width:u.options.position.target.outerWidth()}}}A=a.extend({},L.position);if(L.corner.search(/right/i)!==-1){A.left+=L.dimensions.width}if(L.corner.search(/bottom/i)!==-1){A.top+=L.dimensions.height}if(L.corner.search(/((top|bottom)Middle)|center/)!==-1){A.left+=(L.dimensions.width/2)}if(L.corner.search(/((left|right)Middle)|center/)!==-1){A.top+=(L.dimensions.height/2)}}else{L.position=A={left:u.cache.mouse.x,top:u.cache.mouse.y};L.dimensions={height:1,width:1}}if(C.corner.search(/right/i)!==-1){A.left-=C.dimensions.width}if(C.corner.search(/bottom/i)!==-1){A.top-=C.dimensions.height}if(C.corner.search(/((top|bottom)Middle)|center/)!==-1){A.left-=(C.dimensions.width/2)}if(C.corner.search(/((left|right)Middle)|center/)!==-1){A.top-=(C.dimensions.height/2)}x=(a.browser.msie)?1:0;F=(a.browser.msie&&parseInt(a.browser.version.charAt(0))===6)?1:0;if(u.options.style.border.radius>0){if(C.corner.search(/Left/)!==-1){A.left-=u.options.style.border.radius}else{if(C.corner.search(/Right/)!==-1){A.left+=u.options.style.border.radius}}if(C.corner.search(/Top/)!==-1){A.top-=u.options.style.border.radius}else{if(C.corner.search(/Bottom/)!==-1){A.top+=u.options.style.border.radius}}}if(x){if(C.corner.search(/top/)!==-1){A.top-=x}else{if(C.corner.search(/bottom/)!==-1){A.top+=x}}if(C.corner.search(/left/)!==-1){A.left-=x}else{if(C.corner.search(/right/)!==-1){A.left+=x}}if(C.corner.search(/leftMiddle|rightMiddle/)!==-1){A.top-=1}}if(u.options.position.adjust.screen===true){A=l.call(u,A,L,C)}if(u.options.position.target==="mouse"&&u.options.position.adjust.mouse===true){if(u.options.position.adjust.screen===true&&u.elements.tip){B=u.elements.tip.attr("rel")}else{B=u.options.position.corner.tooltip}A.left+=(B.search(/right/i)!==-1)?-6:6;A.top+=(B.search(/bottom/i)!==-1)?-6:6}if(!u.elements.bgiframe&&a.browser.msie&&parseInt(a.browser.version.charAt(0))==6){a("select, object").each(function(){E=a(this).offset();E.bottom=E.top+a(this).height();E.right=E.left+a(this).width();if(A.top+C.dimensions.height>=E.top&&A.left+C.dimensions.width>=E.left){e.call(u)}})}A.left+=u.options.position.adjust.x;A.top+=u.options.position.adjust.y;H=u.getPosition();if(A.left!=H.left||A.top!=H.top){D=u.beforePositionUpdate.call(u,w);if(D===false){return u}u.cache.position=A;if(y===true){u.status.animated=true;u.elements.tooltip.animate(A,200,"swing",function(){u.status.animated=false})}else{u.elements.tooltip.css(A)}u.onPositionUpdate.call(u,w);if(typeof w!=="undefined"&&w.type&&w.type!=="mousemove"){a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return u},updateWidth:function(w){var x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(w&&typeof w!=="number"){return a.fn.qtip.log.error.call(u,2,"newWidth must be of type number","updateWidth")}}x=u.elements.contentWrapper.siblings().add(u.elements.tip).add(u.elements.button);if(!w){if(typeof u.options.style.width.value=="number"){w=u.options.style.width.value}else{u.elements.tooltip.css({width:"auto"});x.hide();if(a.browser.msie){u.elements.wrapper.add(u.elements.contentWrapper.children()).css({zoom:"normal"})}w=u.getDimensions().width+1;if(!u.options.style.width.value){if(w>u.options.style.width.max){w=u.options.style.width.max}if(w<u.options.style.width.min){w=u.options.style.width.min}}}}if(w%2!==0){w-=1}u.elements.tooltip.width(w);x.show();if(u.options.style.border.radius){u.elements.tooltip.find(".qtip-betweenCorners").each(function(y){a(this).width(w-(u.options.style.border.radius*2))})}if(a.browser.msie){u.elements.wrapper.add(u.elements.contentWrapper.children()).css({zoom:"1"});u.elements.wrapper.width(w);if(u.elements.bgiframe){u.elements.bgiframe.width(w).height(u.getDimensions.height)}}return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(z){var y,A,B,w,x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof z!=="string"||!a.fn.qtip.styles[z]){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}u.options.style=h.call(u,a.fn.qtip.styles[z],u.options.user.style);u.elements.content.css(o(u.options.style));if(u.options.content.title.text!==false){u.elements.title.css(o(u.options.style.title,true))}u.elements.contentWrapper.css({borderColor:u.options.style.border.color});if(u.options.style.tip.corner!==false){if(a("<canvas>").get(0).getContext){y=u.elements.tooltip.find(".qtip-tip canvas:first");B=y.get(0).getContext("2d");B.clearRect(0,0,300,300);w=y.parent("div[rel]:first").attr("rel");x=k(w,u.options.style.tip.size.width,u.options.style.tip.size.height);c.call(u,y,x,u.options.style.tip.color||u.options.style.border.color)}else{if(a.browser.msie){y=u.elements.tooltip.find('.qtip-tip [nodeName="shape"]');y.attr("fillcolor",u.options.style.tip.color||u.options.style.border.color)}}}if(u.options.style.border.radius>0){u.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:u.options.style.border.color});if(a("<canvas>").get(0).getContext){A=b(u.options.style.border.radius);u.elements.tooltip.find(".qtip-wrapper canvas").each(function(){B=a(this).get(0).getContext("2d");B.clearRect(0,0,300,300);w=a(this).parent("div[rel]:first").attr("rel");J.call(u,a(this),A[w],u.options.style.border.radius,u.options.style.border.color)})}else{if(a.browser.msie){u.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){a(this).attr("fillcolor",u.options.style.border.color)})}}}return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(A,w){var y,B,z;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!A){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}y=u.beforeContentUpdate.call(u,A);if(typeof y=="string"){A=y}else{if(y===false){return}}if(a.browser.msie){u.elements.contentWrapper.children().css({zoom:"normal"})}if(A.jquery&&A.length>0){A.clone(true).appendTo(u.elements.content).show()}else{u.elements.content.html(A)}B=u.elements.content.find("img[complete=false]");if(B.length>0){z=0;B.each(function(C){a('<img src="'+a(this).attr("src")+'" />').load(function(){if(++z==B.length){x()}})})}else{x()}function x(){u.updateWidth();if(w!==false){if(u.options.position.type!=="static"){u.updatePosition(u.elements.tooltip.is(":visible"),true)}if(u.options.style.tip.corner!==false){j.call(u)}}}u.onContentUpdate.call(u);return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(y,x,z){var w;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}w=u.beforeContentLoad.call(u);if(w===false){return u}if(z=="post"){a.post(y,x,A)}else{a.get(y,x,A)}function A(B){u.onContentLoad.call(u);a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");u.updateContent(B)}return u},updateTitle:function(w){if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!w){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=u.beforeTitleUpdate.call(u);if(returned===false){return u}if(u.elements.button){u.elements.button=u.elements.button.clone(true)}u.elements.title.html(w);if(u.elements.button){u.elements.title.prepend(u.elements.button)}u.onTitleUpdate.call(u);return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(z){var w,A,y,x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(u.options.position.type=="static"){return a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}w=parseInt(u.elements.tooltip.css("z-index"));A=6000+a("div.qtip[qtip]").length-1;if(!u.status.focused&&w!==A){x=u.beforeFocus.call(u,z);if(x===false){return u}a("div.qtip[qtip]").not(u.elements.tooltip).each(function(){if(a(this).qtip("api").status.rendered===true){y=parseInt(a(this).css("z-index"));if(typeof y=="number"&&y>-1){a(this).css({zIndex:parseInt(a(this).css("z-index"))-1})}a(this).qtip("api").status.focused=false}});u.elements.tooltip.css({zIndex:A});u.status.focused=true;u.onFocus.call(u,z);a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_FOCUSED,"focus")}return u},disable:function(w){if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(w){if(!u.status.disabled){u.status.disabled=true;a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_DISABLED,"disable")}else{a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(u.status.disabled){u.status.disabled=false;a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_ENABLED,"disable")}else{a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return u},destroy:function(){var x,y,w;y=u.beforeDestroy.call(u);if(y===false){return u}if(u.status.rendered){u.options.show.when.target.unbind("mousemove.qtip",u.updatePosition);u.options.show.when.target.unbind("mouseout.qtip",u.hide);u.options.show.when.target.unbind(u.options.show.when.event+".qtip");u.options.hide.when.target.unbind(u.options.hide.when.event+".qtip");u.elements.tooltip.unbind(u.options.hide.when.event+".qtip");u.elements.tooltip.unbind("mouseover.qtip",u.focus);u.elements.tooltip.remove()}else{u.options.show.when.target.unbind(u.options.show.when.event+".qtip-create")}if(typeof u.elements.target.data("qtip")=="object"){w=u.elements.target.data("qtip").interfaces;if(typeof w=="object"&&w.length>0){for(x=0;x<w.length-1;x++){if(w[x].id==u.id){w.splice(x,1)}}}}delete a.fn.qtip.interfaces[u.id];if(typeof w=="object"&&w.length>0){u.elements.target.data("qtip").current=w.length-1}else{u.elements.target.removeData("qtip")}u.onDestroy.call(u);a.fn.qtip.log.error.call(u,1,a.fn.qtip.constants.EVENT_DESTROYED,"destroy");return u.elements.target},getPosition:function(){var w,x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}w=(u.elements.tooltip.css("display")!=="none")?false:true;if(w){u.elements.tooltip.css({visiblity:"hidden"}).show()}x=u.elements.tooltip.offset();if(w){u.elements.tooltip.css({visiblity:"visible"}).hide()}return x},getDimensions:function(){var w,x;if(!u.status.rendered){return a.fn.qtip.log.error.call(u,2,a.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}w=(!u.elements.tooltip.is(":visible"))?true:false;if(w){u.elements.tooltip.css({visiblity:"hidden"}).show()}x={height:u.elements.tooltip.outerHeight(),width:u.elements.tooltip.outerWidth()};if(w){u.elements.tooltip.css({visiblity:"visible"}).hide()}return x}})}function n(){var v,s,x,w,y,u,t;v=this;v.beforeRender.call(v);v.status.rendered=true;v.elements.tooltip='<div qtip="'+v.id+'" class="qtip '+(v.options.style.classes.tooltip||v.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+v.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 '+v.options.style.classes.content+'"></div></div></div></div>';v.elements.tooltip=a(v.elements.tooltip);v.elements.tooltip.appendTo(v.options.position.container);v.elements.tooltip.data("qtip",{current:0,interfaces:[v]});v.elements.wrapper=v.elements.tooltip.children("div:first");v.elements.contentWrapper=v.elements.wrapper.children("div:first").css({background:v.options.style.background});v.elements.content=v.elements.contentWrapper.children("div:first").css(o(v.options.style));if(a.browser.msie){v.elements.wrapper.add(v.elements.content).css({zoom:1})}if(v.options.hide.when.event=="unfocus"){v.elements.tooltip.attr("unfocus",true)}if(typeof v.options.style.width.value=="number"){v.updateWidth()}if(a("<canvas>").get(0).getContext||a.browser.msie){if(v.options.style.border.radius>0){g.call(v)}else{v.elements.contentWrapper.css({border:v.options.style.border.width+"px solid "+v.options.style.border.color})}if(v.options.style.tip.corner!==false){r.call(v)}}else{v.elements.contentWrapper.css({border:v.options.style.border.width+"px solid "+v.options.style.border.color});v.options.style.border.radius=0;v.options.style.tip.corner=false;a.fn.qtip.log.error.call(v,2,a.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof v.options.content.text=="string"&&v.options.content.text.length>0)||(v.options.content.text.jquery&&v.options.content.text.length>0)){x=v.options.content.text}else{if(typeof v.elements.target.attr("title")=="string"&&v.elements.target.attr("title").length>0){x=v.elements.target.attr("title").replace("\\n","<br />");v.elements.target.attr("title","")}else{if(typeof v.elements.target.attr("alt")=="string"&&v.elements.target.attr("alt").length>0){x=v.elements.target.attr("alt").replace("\\n","<br />");v.elements.target.attr("alt","")}else{x=" ";a.fn.qtip.log.error.call(v,1,a.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(v.options.content.title.text!==false){d.call(v)}v.updateContent(x);f.call(v);if(v.options.show.ready===true){v.show()}if(v.options.content.url!==false){w=v.options.content.url;y=v.options.content.data;u=v.options.content.method||"get";v.loadContent(w,y,u)}v.onRender.call(v);a.fn.qtip.log.error.call(v,1,a.fn.qtip.constants.EVENT_RENDERED,"render")}function g(){var v,C,u,E,A,s,w,x,G,B,z,F,D,t,y;v=this;v.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();u=v.options.style.border.width;E=v.options.style.border.radius;A=v.options.style.border.color||v.options.style.tip.color;s=b(E);w={};for(C in s){w[C]='<div rel="'+C+'" style="'+((C.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+E+"px; width:"+E+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(a("<canvas>").get(0).getContext){w[C]+='<canvas height="'+E+'" width="'+E+'" style="vertical-align: top"></canvas>'}else{if(a.browser.msie){x=E*2+3;w[C]+='<v:arc stroked="false" fillcolor="'+A+'" startangle="'+s[C][0]+'" endangle="'+s[C][1]+'" style="width:'+x+"px; height:"+x+"px; margin-top:"+((C.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((C.search(/Right/)!==-1)?s[C][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}w[C]+="</div>"}G=v.getDimensions().width-(Math.max(u,E)*2);B='<div class="qtip-betweenCorners" style="height:'+E+"px; width:"+G+"px; overflow:hidden; background-color:"+A+'; line-height:0.1px; font-size:1px;">';z='<div class="qtip-borderTop" dir="ltr" style="height:'+E+"px; margin-left:"+E+'px; line-height:0.1px; font-size:1px; padding:0;">'+w.topLeft+w.topRight+B;v.elements.wrapper.prepend(z);F='<div class="qtip-borderBottom" dir="ltr" style="height:'+E+"px; margin-left:"+E+'px; line-height:0.1px; font-size:1px; padding:0;">'+w.bottomLeft+w.bottomRight+B;v.elements.wrapper.append(F);if(a("<canvas>").get(0).getContext){v.elements.wrapper.find("canvas").each(function(){D=s[a(this).parent("[rel]:first").attr("rel")];J.call(v,a(this),D,E,A)})}else{if(a.browser.msie){v.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}t=Math.max(E,(E+(u-E)));y=Math.max(u-E,0);v.elements.contentWrapper.css({border:"0px solid "+A,borderWidth:y+"px "+t+"px"})}function J(w,t,u,v){var s=w.get(0).getContext("2d");s.fillStyle=v;s.beginPath();s.arc(t[0],t[1],u,0,Math.PI*2,false);s.fill()}function r(x){var v,u,t,w,s;v=this;if(v.elements.tip!==null){v.elements.tip.remove()}u=v.options.style.tip.color||v.options.style.border.color;if(v.options.style.tip.corner===false){return}else{if(!x){x=v.options.style.tip.corner}}t=k(x,v.options.style.tip.size.width,v.options.style.tip.size.height);v.elements.tip='<div class="'+v.options.style.classes.tip+'" dir="ltr" rel="'+x+'" style="position:absolute; height:'+v.options.style.tip.size.height+"px; width:"+v.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(a("<canvas>").get(0).getContext){v.elements.tip+='<canvas height="'+v.options.style.tip.size.height+'" width="'+v.options.style.tip.size.width+'"></canvas>'}else{if(a.browser.msie){w=v.options.style.tip.size.width+","+v.options.style.tip.size.height;s="m"+t[0][0]+","+t[0][1];s+=" l"+t[1][0]+","+t[1][1];s+=" "+t[2][0]+","+t[2][1];s+=" xe";v.elements.tip+='<v:shape fillcolor="'+u+'" stroked="false" filled="true" path="'+s+'" coordsize="'+w+'" style="width:'+v.options.style.tip.size.width+"px; height:"+v.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((x.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';v.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';v.elements.contentWrapper.css("position","relative")}}v.elements.tooltip.prepend(v.elements.tip+"</div>");v.elements.tip=v.elements.tooltip.find("."+v.options.style.classes.tip).eq(0);if(a("<canvas>").get(0).getContext){c.call(v,v.elements.tip.find("canvas:first"),t,u)}if(x.search(/top/)!==-1&&a.browser.msie&&parseInt(a.browser.version.charAt(0))===6){v.elements.tip.css({marginTop:-4})}j.call(v,x)}function c(v,t,u){var s=v.get(0).getContext("2d");s.fillStyle=u;s.beginPath();s.moveTo(t[0][0],t[0][1]);s.lineTo(t[1][0],t[1][1]);s.lineTo(t[2][0],t[2][1]);s.fill()}function j(w){var v,s,u,t,x;v=this;if(v.options.style.tip.corner===false||!v.elements.tip){return}if(!w){w=v.elements.tip.attr("rel")}s=positionAdjust=(a.browser.msie)?1:0;v.elements.tip.css(w.match(/left|right|top|bottom/)[0],0);if(w.search(/top|bottom/)!==-1){if(a.browser.msie){if(parseInt(a.browser.version.charAt(0))===6){positionAdjust=(w.search(/top/)!==-1)?-3:1}else{positionAdjust=(w.search(/top/)!==-1)?1:2}}if(w.search(/Middle/)!==-1){v.elements.tip.css({left:"50%",marginLeft:-(v.options.style.tip.size.width/2)})}else{if(w.search(/Left/)!==-1){v.elements.tip.css({left:v.options.style.border.radius-s})}else{if(w.search(/Right/)!==-1){v.elements.tip.css({right:v.options.style.border.radius+s})}}}if(w.search(/top/)!==-1){v.elements.tip.css({top:-positionAdjust})}else{v.elements.tip.css({bottom:positionAdjust})}}else{if(w.search(/left|right/)!==-1){if(a.browser.msie){positionAdjust=(parseInt(a.browser.version.charAt(0))===6)?1:((w.search(/left/)!==-1)?1:2)}if(w.search(/Middle/)!==-1){v.elements.tip.css({top:"50%",marginTop:-(v.options.style.tip.size.height/2)})}else{if(w.search(/Top/)!==-1){v.elements.tip.css({top:v.options.style.border.radius-s})}else{if(w.search(/Bottom/)!==-1){v.elements.tip.css({bottom:v.options.style.border.radius+s})}}}if(w.search(/left/)!==-1){v.elements.tip.css({left:-positionAdjust})}else{v.elements.tip.css({right:positionAdjust})}}}u="padding-"+w.match(/left|right|top|bottom/)[0];t=v.options.style.tip.size[(u.search(/left|right/)!==-1)?"width":"height"];v.elements.tooltip.css("padding",0);v.elements.tooltip.css(u,t);if(a.browser.msie&&parseInt(a.browser.version.charAt(0))==6){x=parseInt(v.elements.tip.css("margin-top"))||0;x+=parseInt(v.elements.content.css("margin-top"))||0;v.elements.tip.css({marginTop:x})}}function d(){var s=this;if(s.elements.title!==null){s.elements.title.remove()}s.elements.title=a('<div class="'+s.options.style.classes.title+'">').css(o(s.options.style.title,true)).css({zoom:(a.browser.msie)?1:0}).prependTo(s.elements.contentWrapper);if(s.options.content.title.text){s.updateTitle.call(s,s.options.content.title.text)}if(s.options.content.title.button!==false&&typeof s.options.content.title.button=="string"){s.elements.button=a('<a class="'+s.options.style.classes.button+'" style="float:right; position: relative"></a>').css(o(s.options.style.button,true)).html(s.options.content.title.button).prependTo(s.elements.title).click(function(t){if(!s.status.disabled){s.hide(t)}})}}function f(){var w,y,x,v;w=this;y=w.options.show.when.target;x=w.options.hide.when.target;if(w.options.hide.fixed){x=x.add(w.elements.tooltip)}if(w.options.hide.when.event=="inactive"){v=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function u(z){if(w.status.disabled===true){return}clearTimeout(w.timers.inactive);w.timers.inactive=setTimeout(function(){a(v).each(function(){x.unbind(this+".qtip-inactive");w.elements.content.unbind(this+".qtip-inactive")});w.hide(z)},w.options.hide.delay)}}else{if(w.options.hide.fixed===true){w.elements.tooltip.bind("mouseover.qtip",function(){if(w.status.disabled===true){return}clearTimeout(w.timers.hide)})}}function t(z){if(w.status.disabled===true){return}if(w.options.hide.when.event=="inactive"){a(v).each(function(){x.bind(this+".qtip-inactive",u);w.elements.content.bind(this+".qtip-inactive",u)});u()}clearTimeout(w.timers.show);clearTimeout(w.timers.hide);w.timers.show=setTimeout(function(){w.show(z)},w.options.show.delay)}function s(z){if(w.status.disabled===true){return}if(w.options.hide.fixed===true&&w.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&a(z.relatedTarget).parents("div.qtip[qtip]").length>0){z.stopPropagation();z.preventDefault();clearTimeout(w.timers.hide);return false}clearTimeout(w.timers.show);clearTimeout(w.timers.hide);w.elements.tooltip.stop(true,true);w.timers.hide=setTimeout(function(){w.hide(z)},w.options.hide.delay)}if((w.options.show.when.target.add(w.options.hide.when.target).length===1&&w.options.show.when.event==w.options.hide.when.event&&w.options.hide.when.event!=="inactive")||w.options.hide.when.event=="unfocus"){w.cache.toggle=0;y.bind(w.options.show.when.event+".qtip",function(z){if(w.cache.toggle==0){t(z)}else{s(z)}})}else{y.bind(w.options.show.when.event+".qtip",t);if(w.options.hide.when.event!=="inactive"){x.bind(w.options.hide.when.event+".qtip",s)}}if(w.options.position.type.search(/(fixed|absolute)/)!==-1){w.elements.tooltip.bind("mouseover.qtip",w.focus)}if(w.options.position.target==="mouse"&&w.options.position.type!=="static"){y.bind("mousemove.qtip",function(z){w.cache.mouse={x:z.pageX,y:z.pageY};if(w.status.disabled===false&&w.options.position.adjust.mouse===true&&w.options.position.type!=="static"&&w.elements.tooltip.css("display")!=="none"){w.updatePosition(z)}})}}function l(u,v,A){var z,s,x,y,t,w;z=this;if(A.corner=="center"){return v.position}s=a.extend({},u);y={x:false,y:false};t={left:(s.left<a.fn.qtip.cache.screen.scroll.left),right:(s.left+A.dimensions.width+2>=a.fn.qtip.cache.screen.width+a.fn.qtip.cache.screen.scroll.left),top:(s.top<a.fn.qtip.cache.screen.scroll.top),bottom:(s.top+A.dimensions.height+2>=a.fn.qtip.cache.screen.height+a.fn.qtip.cache.screen.scroll.top)};x={left:(t.left&&(A.corner.search(/right/i)!=-1||(A.corner.search(/right/i)==-1&&!t.right))),right:(t.right&&(A.corner.search(/left/i)!=-1||(A.corner.search(/left/i)==-1&&!t.left))),top:(t.top&&A.corner.search(/top/i)==-1),bottom:(t.bottom&&A.corner.search(/bottom/i)==-1)};if(x.left){if(z.options.position.target!=="mouse"){s.left=v.position.left+v.dimensions.width}else{s.left=z.cache.mouse.x}y.x="Left"}else{if(x.right){if(z.options.position.target!=="mouse"){s.left=v.position.left-A.dimensions.width}else{s.left=z.cache.mouse.x-A.dimensions.width}y.x="Right"}}if(x.top){if(z.options.position.target!=="mouse"){s.top=v.position.top+v.dimensions.height}else{s.top=z.cache.mouse.y}y.y="top"}else{if(x.bottom){if(z.options.position.target!=="mouse"){s.top=v.position.top-A.dimensions.height}else{s.top=z.cache.mouse.y-A.dimensions.height}y.y="bottom"}}if(s.left<0){s.left=u.left;y.x=false}if(s.top<0){s.top=u.top;y.y=false}if(z.options.style.tip.corner!==false){s.corner=new String(A.corner);if(y.x!==false){s.corner=s.corner.replace(/Left|Right|Middle/,y.x)}if(y.y!==false){s.corner=s.corner.replace(/top|bottom/,y.y)}if(s.corner!==z.elements.tip.attr("rel")){r.call(z,s.corner)}}return s}function o(s,v){var t,u;t=a.extend(true,{},s);for(u in t){if(v===true&&u.search(/(tip|classes)/i)!==-1){delete t[u]}else{if(!v&&u.search(/(width|border|tip|title|classes|user)/i)!==-1){delete t[u]}}}return t}function m(s){if(typeof s.tip!=="object"){s.tip={corner:s.tip}}if(typeof s.tip.size!=="object"){s.tip.size={width:s.tip.size,height:s.tip.size}}if(typeof s.border!=="object"){s.border={width:s.border}}if(typeof s.width!=="object"){s.width={value:s.width}}if(typeof s.width.max=="string"){s.width.max=parseInt(s.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof s.width.min=="string"){s.width.min=parseInt(s.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof s.tip.size.x=="number"){s.tip.size.width=s.tip.size.x;delete s.tip.size.x}if(typeof s.tip.size.y=="number"){s.tip.size.height=s.tip.size.y;delete s.tip.size.y}return s}function h(){var u,v,w,t,x,s;u=this;w=[true,{}];for(v=0;v<arguments.length;v++){w.push(arguments[v])}t=[a.extend.apply(a,w)];while(typeof t[0].name=="string"){t.unshift(m(a.fn.qtip.styles[t[0].name]))}t.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},a.fn.qtip.styles.defaults);x=a.extend.apply(a,t);s=(a.browser.msie)?1:0;x.tip.size.width+=s;x.tip.size.height+=s;if(x.tip.size.width%2>0){x.tip.size.width+=1}if(x.tip.size.height%2>0){x.tip.size.height+=1}if(x.tip.corner===true){x.tip.corner=(u.options.position.corner.tooltip==="center")?false:u.options.position.corner.tooltip}return x}function k(t,s,v){var u={bottomRight:[[0,0],[s,v],[s,0]],bottomLeft:[[0,0],[s,0],[0,v]],topRight:[[0,v],[s,0],[s,v]],topLeft:[[0,0],[0,v],[s,v]],topMiddle:[[0,v],[s/2,0],[s,v]],bottomMiddle:[[0,0],[s,0],[s/2,v]],rightMiddle:[[0,0],[s,v/2],[0,v]],leftMiddle:[[s,0],[s,v],[0,v/2]]};u.leftTop=u.bottomRight;u.rightTop=u.bottomLeft;u.leftBottom=u.topRight;u.rightBottom=u.topLeft;return u[t]}function b(s){var t;if(a("<canvas>").get(0).getContext){t={topLeft:[s,s],topRight:[0,s],bottomLeft:[s,0],bottomRight:[0,0]}}else{if(a.browser.msie){t={topLeft:[-90,90,0],topRight:[-90,90,-s],bottomLeft:[90,270,0],bottomRight:[90,270,-s]}}}return t}function e(){var u,s,t;u=this;t=u.getDimensions();s='<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:'+t.height+"px; width:"+t.width+'px" />';u.elements.bgiframe=u.elements.wrapper.prepend(s).children(".qtip-bgiframe:first")}a(document).ready(function(){a.fn.qtip.cache={screen:{scroll:{left:a(window).scrollLeft(),top:a(window).scrollTop()},width:a(window).width(),height:a(window).height()}};var s;a(window).bind("resize scroll",function(t){clearTimeout(s);s=setTimeout(function(){if(t.type==="scroll"){a.fn.qtip.cache.screen.scroll={left:a(window).scrollLeft(),top:a(window).scrollTop()}}else{a.fn.qtip.cache.screen.width=a(window).width();a.fn.qtip.cache.screen.height=a(window).height()}for(i=0;i<a.fn.qtip.interfaces.length;i++){var u=a.fn.qtip.interfaces[i];if(u.status.rendered===true&&(u.options.position.type!=="static"||u.options.position.adjust.scroll&&t.type==="scroll"||u.options.position.adjust.resize&&t.type==="resize")){u.updatePosition(t,true)}}},100)});a(document).bind("mousedown.qtip",function(t){if(a(t.target).parents("div.qtip").length===0){a(".qtip[unfocus]").each(function(){var u=a(this).qtip("api");if(a(this).is(":visible")&&!u.status.disabled&&a(t.target).add(u.elements.target).length>1){u.hide(t)}})}})});a.fn.qtip.interfaces=[];a.fn.qtip.log={error:function(){return this}};a.fn.qtip.constants={};a.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},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(){}}};a.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:false,color:false,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);jQuery(document).ready(function(){jQuery("#slider").easySlider({continuous:true});jQuery("#accordion").accordion();jQuery("#accordion").accordion("activate",false);jQuery("#slider li span:even").addClass("left");jQuery("#slider li span:odd").addClass("right");jQuery("#nav ul a").blend();jQuery("#twitter").tweet({username:"budzodesigns",join_text:"auto",count:1,loading_text:"loading tweets..."});jQuery("#portfolio-thumbs a[href][title]").qtip({content:{text:false},position:{corner:{target:"topMiddle",tooltip:"bottomMiddle"}},style:"green"})});
