(function(C){C.ui=C.ui||{};C.fn.extend({accordion:function(I,G){var H=Array.prototype.slice.call(arguments,1);
return this.each(function(){if(typeof I=="string"){var J=C.data(this,"ui-accordion");
J[I].apply(J,H);}else{if(!C(this).is(".ui-accordion")){C.data(this,"ui-accordion",new C.ui.accordion(this,I));
}}});},activate:function(G){return this.accordion("activate",G);}});C.ui.accordion=function(I,J){this.options=J=C.extend({},C.ui.accordion.defaults,J);
this.element=I;C(I).addClass("ui-accordion");if(J.navigation){var K=C(I).find("a").filter(J.navigationFilter);
if(K.length){if(K.filter(J.header).length){J.active=K;}else{J.active=K.parent().parent().prev();
K.addClass("current");}}}J.headers=C(I).find(J.header);J.active=F(J.headers,J.active);
if(J.fillSpace){var H=C(I).parent().height();J.headers.each(function(){H-=C(this).outerHeight();
});var G=0;J.headers.next().each(function(){G=Math.max(G,C(this).innerHeight()-C(this).height());
}).height(H-G);}else{if(J.autoheight){var H=0;J.headers.next().each(function(){H=Math.max(H,C(this).outerHeight());
}).height(H);}}J.headers.not(J.active||"").next().hide();J.active.parent().andSelf().addClass(J.selectedClass);
if(J.event){C(I).bind((J.event)+".ui-accordion",D);}};C.ui.accordion.prototype={activate:function(G){D.call(this.element,{target:F(this.options.headers,G)[0]});
},enable:function(){this.options.disabled=false;},disable:function(){this.options.disabled=true;
},destroy:function(){this.options.headers.next().css("display","");if(this.options.fillSpace||this.options.autoheight){this.options.headers.next().css("height","");
}C.removeData(this.element,"ui-accordion");C(this.element).removeClass("ui-accordion").unbind(".ui-accordion");
}};function B(G,H){return function(){return G.apply(H,arguments);};}function E(G){if(!C.data(this,"ui-accordion")){return ;
}var I=C.data(this,"ui-accordion");var H=I.options;H.running=G?0:--H.running;if(H.running){return ;
}if(H.clearStyle){H.toShow.add(H.toHide).css({height:"",overflow:""});}C(this).triggerHandler("change.ui-accordion",[H.data],H.change);
}function A(H,J,G,I,M){var L=C.data(this,"ui-accordion").options;L.toShow=H;L.toHide=J;
L.data=G;var K=B(E,this);L.running=J.size()==0?H.size():J.size();if(L.animated){if(!L.alwaysOpen&&I){C.ui.accordion.animations[L.animated]({toShow:jQuery([]),toHide:J,complete:K,down:M,autoheight:L.autoheight});
}else{C.ui.accordion.animations[L.animated]({toShow:H,toHide:J,complete:K,down:M,autoheight:L.autoheight});
}}else{if(!L.alwaysOpen&&I){H.toggle();}else{J.hide();H.show();}K(true);}}function D(M){var H=C.data(this,"ui-accordion").options;
if(H.disabled){return false;}if(!M.target&&!H.alwaysOpen){H.active.parent().andSelf().toggleClass(H.selectedClass);
var N=H.active.next(),G={instance:this,options:H,newHeader:jQuery([]),oldHeader:H.active,newContent:jQuery([]),oldContent:N},J=H.active=C([]);
A.call(this,J,N,G);return false;}var I=C(M.target);if(I.parents(H.header).length){while(!I.is(H.header)){I=I.parent();
}}var K=I[0]==H.active[0];if(H.running||(H.alwaysOpen&&K)){return false;}if(!I.is(H.header)){return ;
}H.active.parent().andSelf().toggleClass(H.selectedClass);if(!K){I.parent().andSelf().addClass(H.selectedClass);
}var J=I.next(),N=H.active.next(),G={instance:this,options:H,newHeader:I,oldHeader:H.active,newContent:J,oldContent:N},L=H.headers.index(H.active[0])>H.headers.index(I[0]);
H.active=K?C([]):I;A.call(this,J,N,G,K,L);return false;}function F(H,G){return G!=undefined?typeof G=="number"?H.filter(":eq("+G+")"):H.not(H.not(G)):G===false?C([]):H.filter(":eq(0)");
}C.extend(C.ui.accordion,{defaults:{selectedClass:"selected",alwaysOpen:true,animated:"slide",event:"click",header:"a",autoheight:true,running:0,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase();
}},animations:{slide:function(K,J){K=C.extend({easing:"swing",duration:300},K,J);
if(!K.toHide.size()){K.toShow.animate({height:"show"},K);return ;}var H=K.toHide.height(),G=K.toShow.height(),I=G/H;
K.toShow.css({height:0,overflow:"hidden"}).show();K.toHide.filter(":hidden").each(K.complete).end().filter(":visible").animate({height:"hide"},{step:function(L){var M=(H-L)*I;
if(C.browser.msie||C.browser.opera){M=Math.ceil(M);}K.toShow.height(M);},duration:K.duration,easing:K.easing,complete:function(){if(!K.autoheight){K.toShow.css("height","auto");
}K.complete();}});},bounceslide:function(G){this.slide(G,{easing:G.down?"bounceout":"swing",duration:G.down?1000:200});
},easeslide:function(G){this.slide(G,{easing:"easeinout",duration:700});}}});})(jQuery);
(function(A){A.fn.bgIframe=A.fn.bgiframe=function(C){if(A.browser.msie&&/6.0/.test(navigator.userAgent)){C=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},C||{});
var B=function(E){return E&&E.constructor==Number?E+"px":E;},D='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+C.src+'"style="display:block;position:absolute;z-index:-1;'+(C.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(C.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":B(C.top))+";left:"+(C.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":B(C.left))+";width:"+(C.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":B(C.width))+";height:"+(C.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":B(C.height))+';"/>';
return this.each(function(){if(A("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(D),this.firstChild);
}});}return this;};})(jQuery);(function(B){B.dimensions={version:"@VERSION"};B.each(["Height","Width"],function(D,C){B.fn["inner"+C]=function(){if(!this[0]){return ;
}var E=C=="Height"?"Top":"Left",F=C=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+C]:A(this,C.toLowerCase())+A(this,"padding"+E)+A(this,"padding"+F);
};B.fn["outer"+C]=function(G){if(!this[0]){return ;}var E=C=="Height"?"Top":"Left",H=C=="Height"?"Bottom":"Right";
G=B.extend({margin:false},G||{});var F=this.is(":visible")?this[0]["offset"+C]:A(this,C.toLowerCase())+A(this,"border"+E+"Width")+A(this,"border"+H+"Width")+A(this,"padding"+E)+A(this,"padding"+H);
return F+(G.margin?(A(this,"margin"+E)+A(this,"margin"+H)):0);};});B.each(["Left","Top"],function(D,C){B.fn["scroll"+C]=function(E){if(!this[0]){return ;
}return E!=undefined?this.each(function(){this==window||this==document?window.scrollTo(C=="Left"?E:B(window)["scrollLeft"](),C=="Top"?E:B(window)["scrollTop"]()):this["scroll"+C]=E;
}):this[0]==window||this[0]==document?self[(C=="Left"?"pageXOffset":"pageYOffset")]||B.boxModel&&document.documentElement["scroll"+C]||document.body["scroll"+C]:this[0]["scroll"+C];
};});B.fn.extend({position:function(){var E=0,H=0,C=this[0],G,F,D,I;if(C){D=this.offsetParent();
G=this.offset();F=D.offset();G.top-=A(C,"marginTop");G.left-=A(C,"marginLeft");F.top+=A(D,"borderTopWidth");
F.left+=A(D,"borderLeftWidth");I={top:G.top-F.top,left:G.left-F.left};}return I;},offsetParent:function(){var C=this[0].offsetParent;
while(C&&(!/^body|html$/i.test(C.tagName)&&B.css(C,"position")=="static")){C=C.offsetParent;
}return B(C);}});function A(D,C){return parseInt(B.curCSS(D.jquery?D[0]:D,C,true))||0;
}})(jQuery);jQuery.extend(jQuery.easing,{easein:function(E,C,B,D,A){return D*(C/=A)*C+B;},easeinout:function(A,F,C,D,E){if(F<E/2){return 2*D*F*F/(E*E)+C;
}var B=F-E/2;return -2*D*B*B/(E*E)+2*D*B/E+D/2+C;},easeout:function(E,C,B,D,A){return -D*C*C/(A*A)+2*D*C/A+B;
},expoin:function(A,F,C,D,E){var B=1;if(D<0){B*=-1;D*=-1;}return B*(Math.exp(Math.log(D)/E*F))+C;
},expoout:function(A,F,C,D,E){var B=1;if(D<0){B*=-1;D*=-1;}return B*(-Math.exp(-Math.log(D)/E*(F-E))+D+1)+C;
},expoinout:function(A,F,C,D,E){var B=1;if(D<0){B*=-1;D*=-1;}if(F<E/2){return B*(Math.exp(Math.log(D/2)/(E/2)*F))+C;
}return B*(-Math.exp(-2*Math.log(D/2)/E*(F-E))+D+1)+C;},bouncein:function(E,C,B,D,A){return D-jQuery.easing["bounceout"](E,A-C,0,D,A)+B;
},bounceout:function(E,C,B,D,A){if((C/=A)<(1/2.75)){return D*(7.5625*C*C)+B;}else{if(C<(2/2.75)){return D*(7.5625*(C-=(1.5/2.75))*C+0.75)+B;
}else{if(C<(2.5/2.75)){return D*(7.5625*(C-=(2.25/2.75))*C+0.9375)+B;}else{return D*(7.5625*(C-=(2.625/2.75))*C+0.984375)+B;
}}}},bounceinout:function(E,C,B,D,A){if(C<A/2){return jQuery.easing["bouncein"](E,C*2,0,D,A)*0.5+B;
}return jQuery.easing["bounceout"](E,C*2-A,0,D,A)*0.5+D*0.5+B;},elasin:function(A,F,C,D,E){var G=1.70158;
var B=0;var H=D;if(F==0){return C;}if((F/=E)==1){return C+D;}if(!B){B=E*0.3;}if(H<Math.abs(D)){H=D;
var G=B/4;}else{var G=B/(2*Math.PI)*Math.asin(D/H);}return -(H*Math.pow(2,10*(F-=1))*Math.sin((F*E-G)*(2*Math.PI)/B))+C;
},elasout:function(A,F,C,D,E){var G=1.70158;var B=0;var H=D;if(F==0){return C;}if((F/=E)==1){return C+D;
}if(!B){B=E*0.3;}if(H<Math.abs(D)){H=D;var G=B/4;}else{var G=B/(2*Math.PI)*Math.asin(D/H);
}return H*Math.pow(2,-10*F)*Math.sin((F*E-G)*(2*Math.PI)/B)+D+C;},elasinout:function(A,F,C,D,E){var G=1.70158;
var B=0;var H=D;if(F==0){return C;}if((F/=E/2)==2){return C+D;}if(!B){B=E*(0.3*1.5);
}if(H<Math.abs(D)){H=D;var G=B/4;}else{var G=B/(2*Math.PI)*Math.asin(D/H);}if(F<1){return -0.5*(H*Math.pow(2,10*(F-=1))*Math.sin((F*E-G)*(2*Math.PI)/B))+C;
}return H*Math.pow(2,-10*(F-=1))*Math.sin((F*E-G)*(2*Math.PI)/B)*0.5+D+C;},backin:function(A,E,B,C,D){var F=1.70158;
return C*(E/=D)*E*((F+1)*E-F)+B;},backout:function(A,E,B,C,D){var F=1.70158;return C*((E=E/D-1)*E*((F+1)*E+F)+1)+B;
},backinout:function(A,E,B,C,D){var F=1.70158;if((E/=D/2)<1){return C/2*(E*E*(((F*=(1.525))+1)*E-F))+B;
}return C/2*((E-=2)*E*(((F*=(1.525))+1)*E+F)+2)+B;}});$(function(){$("ul.jd_menu").jdMenu();});(function(D){function A(E){var F=D.data(D(E).parents().andSelf().filter("ul.jd_menu")[0],"jdMenuSettings");
D("> li",E).bind("mouseenter.jdmenu mouseleave.jdmenu",function(J){D(this).toggleClass("jdm_hover");
var G=D("> ul",this);if(G.length==1){clearTimeout(this.$jdTimer);var I=(J.type=="mouseenter");
var H=(I?B:C);this.$jdTimer=setTimeout(function(){H(G[0],F.onAnimate,F.isVertical);
},I?F.showDelay:F.hideDelay);}}).bind("click.jdmenu",function(J){var H=D("> ul",this);
if(H.length==1&&(F.disableLinks==true||D(this).hasClass("accessible"))){B(H,F.onAnimate,F.isVertical);
return false;}if(J.target==this){var I=D("> a",J.target).not(".accessible");if(I.length>0){var G=I[0];
if(!G.onclick){window.open(G.href,G.target||"_self");}else{D(G).trigger("click");
}}}if(F.disableLinks||(!F.disableLinks&&!D(this).parent().hasClass("jd_menu"))){D(this).parent().jdMenuHide();
J.stopPropagation();}}).find("> a").bind("focus.jdmenu blur.jdmenu",function(H){var G=D(this).parents("li:eq(0)");
if(H.type=="focus"){G.addClass("jdm_hover");}else{G.removeClass("jdm_hover");}}).filter(".accessible").bind("click.jdmenu",function(G){G.preventDefault();
});}function B(F,H,E){var F=D(F);if(F.is(":visible")){return ;}F.bgiframe();var G=F.parent();
F.trigger("jdMenuShow").positionBy({target:G[0],targetPos:(E===true||!G.parent().hasClass("jd_menu")?1:3),elementPos:0,hideAfterPosition:true});
if(!F.hasClass("jdm_events")){F.addClass("jdm_events");A(F);}G.addClass("jdm_active").siblings("li").find("> ul:eq(0):visible").each(function(){C(this);
});if(H===undefined){F.show();}else{H.apply(F[0],[true]);}}function C(E,F){var E=D(E);
D(".bgiframe",E).remove();E.filter(":not(.jd_menu)").find("> li > ul:eq(0):visible").each(function(){C(this);
}).end();if(F===undefined){if(!E.hasClass("jd_menu")){E.hide();}}else{F.apply(E[0],[false]);
}E.trigger("jdMenuHide").parents("li:eq(0)").removeClass("jdm_active jdm_hover").end().find("> li").removeClass("jdm_active jdm_hover");
}D.fn.jdMenu=function(E){var E=D.extend({showDelay:200,hideDelay:500,disableLinks:false},E);
if(!D.isFunction(E.onAnimate)){E.onAnimate=undefined;}return this.filter("ul.jd_menu").each(function(){D.data(this,"jdMenuSettings",D.extend({isVertical:D(this).hasClass("jd_menu_vertical")},E));
A(this);});};D.fn.jdMenuUnbind=function(){D("ul.jdm_events",this).unbind(".jdmenu").find("> a").unbind(".jdmenu");
};D.fn.jdMenuHide=function(){return this.filter("ul").each(function(){C(this);});
};D(window).bind("click.jdmenu",function(){D("ul.jd_menu ul:visible").jdMenuHide();
});})(jQuery);(function(A){A.fn.lightbox=function(N){var C=A.extend({},A.fn.lightbox.defaults,N);
return this.each(function(){A(this).click(function(){B();M(this);return false;});
});function B(){A("#overlay").remove();A("#lightbox").remove();C.inprogress=false;
if(C.jsonData&&C.jsonData.length>0){var W=C.jsonDataParser?C.jsonDataParser:A.fn.lightbox.parseJsonData;
C.imageArray=[];C.imageArray=W(C.jsonData);}var V='<div id="outerImageContainer"><div id="imageContainer"><iframe id="lightboxIframe" /><img id="lightboxImage"><div id="hoverNav"><a href="javascript://" title="'+C.strings.prevLinkTitle+'" id="prevLink"></a><a href="javascript://" id="nextLink" title="'+C.strings.nextLinkTitle+'"></a></div><div id="loading"><a href="javascript://" id="loadingLink"><img src="'+C.fileLoadingImage+'"></a></div></div></div>';
var U='<div id="imageDataContainer" class="clearfix"><div id="imageData"><div id="imageDetails"><span id="caption"></span><span id="numberDisplay"></span></div><div id="bottomNav">';
if(C.displayHelp){U+='<span id="helpDisplay">'+C.strings.help+"</span>";}U+='<a href="javascript://" id="bottomNavClose" title="'+C.strings.closeTitle+'"><img src="'+C.fileBottomNavCloseImage+'"></a></div></div></div>';
var T;if(C.navbarOnTop){T='<div id="overlay"></div><div id="lightbox">'+U+V+"</div>";
A("body").append(T);A("#imageDataContainer").addClass("ontop");}else{T='<div id="overlay"></div><div id="lightbox">'+V+U+"</div>";
A("body").append(T);}A("#overlay").click(function(){I();}).hide();A("#lightbox").click(function(){I();
}).hide();A("#loadingLink").click(function(){I();return false;});A("#bottomNavClose").click(function(){I();
return false;});A("#outerImageContainer").width(C.widthCurrent).height(C.heightCurrent);
A("#imageDataContainer").width(C.widthCurrent);if(!C.imageClickClose){A("#lightboxImage").click(function(){return false;
});A("#hoverNav").click(function(){return false;});}}function D(){var T=new Array(A(document).width(),A(document).height(),A(window).width(),A(window).height());
return T;}function Q(){var T,V;if(self.pageYOffset){V=self.pageYOffset;T=self.pageXOffset;
}else{if(document.documentElement&&document.documentElement.scrollTop){V=document.documentElement.scrollTop;
T=document.documentElement.scrollLeft;}else{if(document.body){V=document.body.scrollTop;
T=document.body.scrollLeft;}}}var U=new Array(T,V);return U;}function K(V){var T=new Date();
var U=null;do{U=new Date();}while(U-T<V);}function M(U){A("select, embed, object").hide();
var T=D();A("#overlay").hide().css({width:"100%",height:T[1]+"px",opacity:C.overlayOpacity}).fadeIn();
imageNum=0;if(!C.jsonData){C.imageArray=[];if(!U.rel||(U.rel=="")){C.imageArray.push(new Array(U.href,C.displayTitle?U.title:""));
}else{A("a").each(function(){if(this.href&&(this.rel==U.rel)){C.imageArray.push(new Array(this.href,C.displayTitle?this.title:""));
}});}}if(C.imageArray.length>1){for(i=0;i<C.imageArray.length;i++){for(j=C.imageArray.length-1;
j>i;j--){if(C.imageArray[i][0]==C.imageArray[j][0]){C.imageArray.splice(j,1);}}}while(C.imageArray[imageNum][0]!=U.href){imageNum++;
}}var W=Q();var V=W[1]+(T[3]/15);var X=W[0];A("#lightbox").css({top:V+"px",left:X+"px"}).show();
if(!C.slideNavBar){A("#imageData").hide();}L(imageNum);}function L(T){if(C.inprogress==false){C.inprogress=true;
C.activeImage=T;A("#loading").show();A("#lightboxImage").hide();A("#hoverNav").hide();
A("#prevLink").hide();A("#nextLink").hide();if(C.slideNavBar){A("#imageDataContainer").hide();
A("#imageData").hide();S();}else{S();}}}function S(){imgPreloader=new Image();imgPreloader.onload=function(){var Z=imgPreloader.width;
var V=imgPreloader.height;if(C.fitToScreen){var T=D();var a;var X=T[2]-2*C.borderSize;
var W=T[3]-100;var Y=X/W;var U=imgPreloader.width/imgPreloader.height;if((imgPreloader.height>W)||(imgPreloader.width>X)){if(Y>U){Z=parseInt((W/imgPreloader.height)*imgPreloader.width);
V=W;}else{V=parseInt((X/imgPreloader.width)*imgPreloader.height);Z=X;}}}A("#lightboxImage").attr("src",C.imageArray[C.activeImage][0]).width(Z).height(V);
H(Z,V);};imgPreloader.src=C.imageArray[C.activeImage][0];}function I(){E();A("#lightbox").hide();
A("#overlay").fadeOut();A("select, object, embed").show();}function O(){if(C.loopImages&&C.imageArray.length>1){preloadNextImage=new Image();
preloadNextImage.src=C.imageArray[(C.activeImage==(C.imageArray.length-1))?0:C.activeImage+1][0];
preloadPrevImage=new Image();preloadPrevImage.src=C.imageArray[(C.activeImage==0)?(C.imageArray.length-1):C.activeImage-1][0];
}else{if((C.imageArray.length-1)>C.activeImage){preloadNextImage=new Image();preloadNextImage.src=C.imageArray[C.activeImage+1][0];
}if(C.activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=C.imageArray[C.activeImage-1][0];
}}}function H(V,U){C.widthCurrent=A("#outerImageContainer").outerWidth();C.heightCurrent=A("#outerImageContainer").outerHeight();
var W=Math.max(350,V+(C.borderSize*2));var T=(U+(C.borderSize*2));C.xScale=(W/C.widthCurrent)*100;
C.yScale=(T/C.heightCurrent)*100;wDiff=C.widthCurrent-W;hDiff=C.heightCurrent-T;A("#imageDataContainer").animate({width:W},C.resizeSpeed,"linear");
A("#outerImageContainer").animate({width:W},C.resizeSpeed,"linear",function(){A("#outerImageContainer").animate({height:T},C.resizeSpeed,"linear",function(){G();
});});if((hDiff==0)&&(wDiff==0)){if(jQuery.browser.msie){K(250);}else{K(100);}}A("#prevLink").height(U);
A("#nextLink").height(U);}function G(){A("#loading").hide();A("#lightboxImage").fadeIn("fast");
R();O();C.inprogress=false;}function R(){A("#numberDisplay").html("");if(C.imageArray[C.activeImage][1]){A("#caption").html(C.imageArray[C.activeImage][1]).show();
}if(C.imageArray.length>1){var U;U=C.strings.image+(C.activeImage+1)+C.strings.of+C.imageArray.length;
if(!C.disableNavbarLinks){if((C.activeImage)>0||C.loopImages){U='<a title="'+C.strings.prevLinkTitle+'" href="#" id="prevLinkText">'+C.strings.prevLinkText+"</a>"+U;
}if(((C.activeImage+1)<C.imageArray.length)||C.loopImages){U+='<a title="'+C.strings.nextLinkTitle+'" href="#" id="nextLinkText">'+C.strings.nextLinkText+"</a>";
}}A("#numberDisplay").html(U).show();}if(C.slideNavBar){A("#imageData").slideDown(C.navBarSlideSpeed);
}else{A("#imageData").show();}var T=D();A("#overlay").height(T[1]);F();}function F(){if(C.imageArray.length>1){A("#hoverNav").show();
if(C.loopImages){A("#prevLink,#prevLinkText").show().click(function(){L((C.activeImage==0)?(C.imageArray.length-1):C.activeImage-1);
return false;});A("#nextLink,#nextLinkText").show().click(function(){L((C.activeImage==(C.imageArray.length-1))?0:C.activeImage+1);
return false;});}else{if(C.activeImage!=0){A("#prevLink,#prevLinkText").show().click(function(){L(C.activeImage-1);
return false;});}if(C.activeImage!=(C.imageArray.length-1)){A("#nextLink,#nextLinkText").show().click(function(){L(C.activeImage+1);
return false;});}}P();}}function J(X){var T=X.data.opts;var V=X.keyCode;var W=27;
var U=String.fromCharCode(V).toLowerCase();if((U=="x")||(U=="o")||(U=="c")||(V==W)){I();
}else{if((U=="p")||(V==37)){if(T.loopImages){E();L((T.activeImage==0)?(T.imageArray.length-1):T.activeImage-1);
}else{if(T.activeImage!=0){E();L(T.activeImage-1);}}}else{if((U=="n")||(V==39)){if(C.loopImages){E();
L((T.activeImage==(T.imageArray.length-1))?0:T.activeImage+1);}else{if(T.activeImage!=(T.imageArray.length-1)){E();
L(T.activeImage+1);}}}}}}function P(){A(document).bind("keydown",{opts:C},J);}function E(){A(document).unbind("keydown");
}};A.fn.lightbox.parseJsonData=function(B){var C=[];A.each(B,function(){C.push(new Array(this.url,this.title));
});return C;};A.fn.lightbox.defaults={fileLoadingImage:"../images/lightbox/loading.gif?206409",fileBottomNavCloseImage:"../images/lightbox/closelabel.gif?206409",overlayOpacity:0.8,borderSize:10,imageArray:new Array,activeImage:null,inprogress:false,resizeSpeed:350,widthCurrent:250,heightCurrent:250,xScale:1,yScale:1,displayTitle:true,navbarOnTop:false,slideNavBar:false,navBarSlideSpeed:350,displayHelp:false,strings:{help:" ← / P - previous image    → / N - next image    ESC / X - close image gallery",prevLinkTitle:"previous image",nextLinkTitle:"next image",prevLinkText:"&laquo; Previous",nextLinkText:"Next &raquo;",closeTitle:"close image gallery",image:"Image ",of:" of "},fitToScreen:true,disableNavbarLinks:false,loopImages:false,imageClickClose:true,jsonData:null,jsonDataParser:null};
})(jQuery);(function(A){var B=function(D,E,F,C){this.x1=D;this.x2=F;this.y1=E;this.y2=C;};B.prototype.contains=function(C){return(this.x1<=C.x1&&C.x2<=this.x2)&&(this.y1<=C.y1&&C.y2<=this.y2);
};B.prototype.transform=function(D,C){return new B(this.x1+D,this.y1+C,this.x2+D,this.y2+C);
};A.fn.positionBy=function(L){var E=new Date();if(this.length==0){return this;}var L=A.extend({target:null,targetPos:null,elementPos:null,x:null,y:null,positions:null,addClass:false,force:false,container:window,hideAfterPosition:false},L);
if(L.x!=null){var K=L.x;var I=L.y;var G=0;var D=0;}else{var C=A(A(L.target)[0]);var G=C.outerWidth();
var D=C.outerHeight();var F=C.offset();var K=F.left;var I=F.top;}var J=K+G;var H=I+D;
return this.each(function(){var O=A(this);if(!O.is(":visible")){O.css({left:-3000,top:-3000}).show();
}var Q=O.outerWidth();var M=O.outerHeight();var Z=[];var T=[];Z[0]=new B(J,I,J+Q,I+M);
T[0]=[1,7,4];Z[1]=new B(J,H-M,J+Q,H);T[1]=[0,6,4];Z[2]=new B(J,H,J+Q,H+M);T[2]=[1,3,10];
Z[3]=new B(J-Q,H,J,H+M);T[3]=[1,6,10];Z[4]=new B(K,H,K+Q,H+M);T[4]=[1,6,9];Z[5]=new B(K-Q,H,K,H+M);
T[5]=[6,4,9];Z[6]=new B(K-Q,H-M,K,H);T[6]=[7,1,4];Z[7]=new B(K-Q,I,K,I+M);T[7]=[6,0,4];
Z[8]=new B(K-Q,I-M,K,I);T[8]=[7,9,4];Z[9]=new B(K,I-M,K+Q,I);T[9]=[0,7,4];Z[10]=new B(J-Q,I-M,J,I);
T[10]=[0,7,3];Z[11]=new B(J,I-M,J+Q,I);T[11]=[0,10,3];Z[12]=new B(J-Q,I,J,I+M);T[12]=[13,7,10];
Z[13]=new B(J-Q,H-M,J,H);T[13]=[12,6,3];Z[14]=new B(K,H-M,K+Q,H);T[14]=[15,1,4];Z[15]=new B(K,I,K+Q,I+M);
T[15]=[14,0,9];if(L.positions!==null){var P=L.positions[0];}else{if(L.targetPos!=null&&L.elementPos!=null){var P=[];
P[0]=[];P[0][0]=15;P[0][1]=7;P[0][2]=8;P[0][3]=9;P[1]=[];P[1][0]=0;P[1][1]=12;P[1][2]=10;
P[1][3]=11;P[2]=[];P[2][0]=2;P[2][1]=3;P[2][2]=13;P[2][3]=1;P[3]=[];P[3][0]=4;P[3][1]=5;
P[3][2]=6;P[3][3]=14;var P=P[L.targetPos][L.elementPos];}}var U=Z[P];var Y=P;if(!L.force){$window=A(window);
var W=$window.scrollLeft();var a=$window.scrollTop();var V=new B(W,a,W+$window.width(),a+$window.height());
var S;if(L.positions){S=L.positions;}else{S=[P];}var R=[];while(S.length>0){var N=S.shift();
if(R[N]){continue;}R[N]=true;if(!V.contains(Z[N])){if(L.positions===null){S=jQuery.merge(S,T[N]);
}}else{U=Z[N];break;}}}O.parents().each(function(){var c=A(this);if(c.css("position")!="static"){var b=c.offset();
U=U.transform(-b.left,-b.top);return false;}});var X={left:U.x1,top:U.y1};if(L.hideAfterPosition){X["display"]="none";
}O.css(X);if(L.addClass){O.removeClass("positionBy0 positionBy1 positionBy2 positionBy3 positionBy4 positionBy5 positionBy6 positionBy7 positionBy8 positionBy9 positionBy10 positionBy11 positionBy12 positionBy13 positionBy14 positionBy15").addClass("positionBy"+N);
}});};})(jQuery);"use strict";(function(J){J(document).ready(function(){var R;J(window).bind("resize scroll",function(S){for(R=0;
R<J.fn.qtip.interfaces.length;R++){var T=J.fn.qtip.interfaces[R];if(T&&T.status&&T.status.rendered&&T.options.position.type!=="static"&&T.elements.tooltip.is(":visible")&&(T.options.position.adjust.scroll&&S.type==="scroll"||T.options.position.adjust.resize&&S.type==="resize")){T.updatePosition(S,true);
}}});J(document).bind("mouseenter.qtip",function(S){if(J(S.target).parents("div.qtip").length===0){var T=J(".qtipSelector"),U=T.qtip("api");
if(T.is(":visible")&&U&&U.status&&!U.status.disabled&&J(S.target).add(U.elements.target).length>1){U.hide(S);
}}});});function N(R){if(!R){return false;}this.x=String(R).replace(/middle/i,"center").match(/left|right|center/i)[0].toLowerCase();
this.y=String(R).replace(/middle/i,"center").match(/top|bottom|center/i)[0].toLowerCase();
this.offset={left:0,top:0};this.precedance=(R.charAt(0).search(/^(t|b)/)>-1)?"y":"x";
this.string=function(){return(this.precedance==="y")?this.y+this.x:this.x+this.y;
};}function Q(R,T,S){var U={bottomright:[[0,0],[T,S],[T,0]],bottomleft:[[0,0],[T,0],[0,S]],topright:[[0,S],[T,0],[T,S]],topleft:[[0,0],[0,S],[T,S]],topcenter:[[0,S],[T/2,0],[T,S]],bottomcenter:[[0,0],[T,0],[T/2,S]],rightcenter:[[0,0],[T,S/2],[0,S]],leftcenter:[[T,0],[T,S],[0,S/2]]};
U.lefttop=U.bottomright;U.righttop=U.bottomleft;U.leftbottom=U.topright;U.rightbottom=U.topleft;
return U[R];}function D(S){var R;if(J("<canvas />").get(0).getContext){R={topLeft:[S,S],topRight:[0,S],bottomLeft:[S,0],bottomRight:[0,0]};
}else{if(J.browser.msie){R={topLeft:[-90,90,0],topRight:[-90,90,-S],bottomLeft:[90,270,0],bottomRight:[90,270,-S]};
}}return R;}function H(R,U){var T,S;T=J.extend(true,{},R);for(S in T){if(U===true&&(/(tip|classes)/i).test(S)){delete T[S];
}else{if(!U&&(/(width|border|tip|title|classes|user)/i).test(S)){delete T[S];}}}return T;
}function P(R){if(typeof R.tip!=="object"){R.tip={corner:R.tip};}if(typeof R.tip.size!=="object"){R.tip.size={width:R.tip.size,height:R.tip.size};
}if(typeof R.border!=="object"){R.border={width:R.border};}if(typeof R.width!=="object"){R.width={value:R.width};
}if(typeof R.width.max==="string"){R.width.max=parseInt(R.width.max.replace(/([0-9]+)/i,"$1"),10);
}if(typeof R.width.min==="string"){R.width.min=parseInt(R.width.min.replace(/([0-9]+)/i,"$1"),10);
}if(typeof R.tip.size.x==="number"){R.tip.size.width=R.tip.size.x;delete R.tip.size.x;
}if(typeof R.tip.size.y==="number"){R.tip.size.height=R.tip.size.y;delete R.tip.size.y;
}return R;}function I(){var U,S,R,V,T,W;U=this;R=[true,{}];for(S=0;S<arguments.length;
S++){R.push(arguments[S]);}V=[J.extend.apply(J,R)];while(typeof V[0].name==="string"){V.unshift(P(J.fn.qtip.styles[V[0].name]));
}V.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},J.fn.qtip.styles.defaults);
T=J.extend.apply(J,V);W=(J.browser.msie)?1:0;T.tip.size.width+=W;T.tip.size.height+=W;
if(T.tip.size.width%2>0){T.tip.size.width+=1;}if(T.tip.size.height%2>0){T.tip.size.height+=1;
}if(T.tip.corner===true){if(U.options.position.corner.tooltip==="center"&&U.options.position.corner.target==="center"){T.tip.corner=false;
}else{T.tip.corner=U.options.position.corner.tooltip;}}return T;}function F(U,T,V,R){var S=U.get(0).getContext("2d");
S.fillStyle=R;S.beginPath();S.arc(T[0],T[1],V,0,Math.PI*2,false);S.fill();}function E(){var V,X,f,T,c,S,e,b,a,d,R,Y,U,W,Z;
V=this;V.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();f=V.options.style.border.width;
T=V.options.style.border.radius;c=V.options.style.border.color||V.options.style.tip.color;
S=D(T);e={};for(X in S){e[X]='<div rel="'+X+'" style="'+((/Left/).test(X)?"left":"right")+":0; position:absolute; height:"+T+"px; width:"+T+'px; overflow:hidden; line-height:0.1px; font-size:1px">';
if(J("<canvas />").get(0).getContext){e[X]+='<canvas height="'+T+'" width="'+T+'" style="vertical-align: top"></canvas>';
}else{if(J.browser.msie){b=T*2+3;e[X]+='<v:arc stroked="false" fillcolor="'+c+'" startangle="'+S[X][0]+'" endangle="'+S[X][1]+'" style="width:'+b+"px; height:"+b+"px; margin-top:"+((/bottom/).test(X)?-2:-1)+"px; margin-left:"+((/Right/).test(X)?S[X][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>';
}}e[X]+="</div>";}a=V.getDimensions().width-(Math.max(f,T)*2);d='<div class="qtip-betweenCorners" style="height:'+T+"px; width:"+a+"px; overflow:hidden; background-color:"+c+'; line-height:0.1px; font-size:1px;">';
R='<div class="qtip-borderTop" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+e.topLeft+e.topRight+d;
V.elements.wrapper.prepend(R);Y='<div class="qtip-borderBottom" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+e.bottomLeft+e.bottomRight+d;
V.elements.wrapper.append(Y);if(J("<canvas />").get(0).getContext){V.elements.wrapper.find("canvas").each(function(){U=S[J(this).parent("[rel]:first").attr("rel")];
F.call(V,J(this),U,T,c);});}else{if(J.browser.msie){V.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>');
}}W=Math.max(T,(T+(f-T)));Z=Math.max(f-T,0);V.elements.contentWrapper.css({border:"0px solid "+c,borderWidth:Z+"px "+W+"px"});
}function C(U,T,R){var S=U.get(0).getContext("2d");S.fillStyle=R;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 O(V){var S,W,X,U,T,R;
S=this;if(S.options.style.tip.corner===false||!S.elements.tip){return ;}if(!V){V=new N(S.elements.tip.attr("rel"));
}W=X=(J.browser.msie)?1:0;S.elements.tip.css(V[V.precedance],0);if(V.precedance==="y"){if(J.browser.msie){if(parseInt(J.browser.version.charAt(0),10)===6){X=V.y==="top"?-3:1;
}else{X=V.y==="top"?1:2;}}if(V.x==="center"){S.elements.tip.css({left:"50%",marginLeft:-(S.options.style.tip.size.width/2)});
}else{if(V.x==="left"){S.elements.tip.css({left:S.options.style.border.radius-W});
}else{S.elements.tip.css({right:S.options.style.border.radius+W});}}if(V.y==="top"){S.elements.tip.css({top:-X});
}else{S.elements.tip.css({bottom:X});}}else{if(J.browser.msie){X=(parseInt(J.browser.version.charAt(0),10)===6)?1:(V.x==="left"?1:2);
}if(V.y==="center"){S.elements.tip.css({top:"50%",marginTop:-(S.options.style.tip.size.height/2)});
}else{if(V.y==="top"){S.elements.tip.css({top:S.options.style.border.radius-W});}else{S.elements.tip.css({bottom:S.options.style.border.radius+W});
}}if(V.x==="left"){S.elements.tip.css({left:-X});}else{S.elements.tip.css({right:X});
}}U="padding-"+V[V.precedance];T=S.options.style.tip.size[V.precedance==="x"?"width":"height"];
S.elements.tooltip.css("padding",0).css(U,T);if(J.browser.msie&&parseInt(J.browser.version.charAt(0),6)===6){R=parseInt(S.elements.tip.css("margin-top"),10)||0;
R+=parseInt(S.elements.content.css("margin-top"),10)||0;S.elements.tip.css({marginTop:R});
}}function K(V){var S,X,U,T,R,W;S=this;if(S.elements.tip!==null){S.elements.tip.remove();
}X=S.options.style.tip.color||S.options.style.border.color;if(S.options.style.tip.corner===false){return ;
}else{if(!V){V=new N(S.options.style.tip.corner);}}U=Q(V.string(),S.options.style.tip.size.width,S.options.style.tip.size.height);
S.elements.tip='<div class="'+S.options.style.classes.tip+'" dir="ltr" rel="'+V.string()+'" style="position:absolute; height:'+S.options.style.tip.size.height+"px; width:"+S.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;"></div>';
S.elements.tooltip.prepend(S.elements.tip);if(J("<canvas />").get(0).getContext){W='<canvas height="'+S.options.style.tip.size.height+'" width="'+S.options.style.tip.size.width+'"></canvas>';
}else{if(J.browser.msie){T=S.options.style.tip.size.width+","+S.options.style.tip.size.height;
R="m"+U[0][0]+","+U[0][1];R+=" l"+U[1][0]+","+U[1][1];R+=" "+U[2][0]+","+U[2][1];
R+=" xe";W='<v:shape fillcolor="'+X+'" stroked="false" filled="true" path="'+R+'" coordsize="'+T+'" style="width:'+S.options.style.tip.size.width+"px; height:"+S.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+(V.y==="top"?"bottom":"top")+'"></v:shape>';
W+='<v:image style="behavior:url(#default#VML);"></v:image>';S.elements.contentWrapper.css("position","relative");
}}S.elements.tip=S.elements.tooltip.find("."+S.options.style.classes.tip).eq(0);S.elements.tip.html(W);
if(J("<canvas  />").get(0).getContext){C.call(S,S.elements.tip.find("canvas:first"),U,X);
}if(V.y==="top"&&J.browser.msie&&parseInt(J.browser.version.charAt(0),10)===6){S.elements.tip.css({marginTop:-4});
}O.call(S,V);}function L(){var R=this;if(R.elements.title!==null){R.elements.title.remove();
}R.elements.tooltip.attr("aria-labelledby","qtip-"+R.id+"-title");R.elements.title=J('<div id="qtip-'+R.id+'-title" class="'+R.options.style.classes.title+'"></div>').css(H(R.options.style.title,true)).css({zoom:(J.browser.msie)?1:0}).prependTo(R.elements.contentWrapper);
if(R.options.content.title.text){R.updateTitle.call(R,R.options.content.title.text);
}if(R.options.content.title.button!==false&&typeof R.options.content.title.button==="string"){R.elements.button=J('<a class="'+R.options.style.classes.button+'" role="button" style="float:right; position: relative"></a>').css(H(R.options.style.button,true)).html(R.options.content.title.button).prependTo(R.elements.title).click(function(S){if(!R.status.disabled){R.hide(S);
}});}}function G(){var T,S,V,U;T=this;S=T.options.show.when.target;V=T.options.hide.when.target;
if(T.options.hide.fixed){V=V.add(T.elements.tooltip);}U=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];
function R(Y){if(T.status.disabled===true){return ;}clearTimeout(T.timers.inactive);
T.timers.inactive=setTimeout(function(){J(U).each(function(){V.unbind(this+".qtip-inactive");
T.elements.content.unbind(this+".qtip-inactive");});T.hide(Y);},T.options.hide.delay);
}if(T.options.hide.fixed===true){T.elements.tooltip.bind("mouseover.qtip",function(){if(T.status.disabled===true){return ;
}clearTimeout(T.timers.hide);});}function W(Y){if(T.status.disabled===true){return ;
}if(T.options.hide.when.event==="inactive"){J(U).each(function(){V.bind(this+".qtip-inactive",R);
T.elements.content.bind(this+".qtip-inactive",R);});R();}clearTimeout(T.timers.show);
clearTimeout(T.timers.hide);if(T.options.show.delay>0){T.timers.show=setTimeout(function(){T.show(Y);
},T.options.show.delay);}else{T.show(Y);}}function X(Y){if(T.status.disabled===true){return ;
}if(T.options.hide.fixed===true&&(/mouse(out|leave)/i).test(T.options.hide.when.event)&&J(Y.relatedTarget).parents('div.qtip[id^="qtip"]').length>0){Y.stopPropagation();
Y.preventDefault();clearTimeout(T.timers.hide);return false;}clearTimeout(T.timers.show);
clearTimeout(T.timers.hide);T.elements.tooltip.stop(true,true);T.timers.hide=setTimeout(function(){T.hide(Y);
},T.options.hide.delay);}if(T.options.position.target==="mouse"&&T.options.position.type!=="static"){S.bind("mousemove.qtip",function(Y){T.cache.mouse={left:Y.pageX,top:Y.pageY};
if(T.status.disabled===false&&T.options.position.adjust.mouse===true&&T.options.position.type!=="static"&&T.elements.tooltip.css("display")!=="none"){T.updatePosition(Y);
}});}if((T.options.show.when.target.add(T.options.hide.when.target).length===1&&T.options.show.when.event===T.options.hide.when.event&&T.options.hide.when.event!=="inactive")||T.options.hide.when.event==="unfocus"){T.cache.toggle=0;
S.bind(T.options.show.when.event+".qtip",function(Y){if(T.cache.toggle===0){W(Y);
}else{X(Y);}});}else{S.bind(T.options.show.when.event+".qtip",W);if(T.options.hide.when.event!=="inactive"){V.bind(T.options.hide.when.event+".qtip",X);
}}if((/(fixed|absolute)/).test(T.options.position.type)){T.elements.tooltip.bind("mouseover.qtip",T.focus);
}}function B(){var T,S,R;T=this;R=T.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:'+R.height+"px; width:"+R.width+'px" />';
T.elements.bgiframe=T.elements.wrapper.prepend(S).children(".qtip-bgiframe:first");
}function M(){var U,S,R,V,T;U=this;U.beforeRender.call(U);U.status.rendered=2;U.elements.tooltip='<div qtip="'+U.id+'" id="qtip-'+U.id+'" role="tooltip" aria-describedby="qtip-'+U.id+'-content" class="qtip '+(U.options.style.classes.tooltip||U.options.style)+'" style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0; position:'+U.options.position.type+';">   <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">     <div class="qtip-contentWrapper" style="overflow:hidden;">        <div id="qtip-'+U.id+'-content" class="qtip-content '+U.options.style.classes.content+'"></div> </div></div></div>';
U.elements.tooltip=J(U.elements.tooltip);U.elements.tooltip.appendTo(U.options.position.container);
U.elements.tooltip.data("qtip",{current:0,interfaces:[U]});U.elements.wrapper=U.elements.tooltip.children("div:first");
U.elements.contentWrapper=U.elements.wrapper.children("div:first");U.elements.content=U.elements.contentWrapper.children("div:first").css(H(U.options.style));
if(J.browser.msie){U.elements.wrapper.add(U.elements.content).css({zoom:1});}if(U.options.hide.when.event==="unfocus"){U.elements.tooltip.attr("unfocus",true);
}if(typeof U.options.style.width.value==="number"){U.updateWidth();}if(J("<canvas />").get(0).getContext||J.browser.msie){if(U.options.style.border.radius>0){E.call(U);
}else{U.elements.contentWrapper.css({border:U.options.style.border.width+"px solid "+U.options.style.border.color});
}if(U.options.style.tip.corner!==false){K.call(U);}}else{U.elements.contentWrapper.css({border:U.options.style.border.width+"px solid "+U.options.style.border.color});
U.options.style.border.radius=0;U.options.style.tip.corner=false;}if((typeof U.options.content.text==="string"&&U.options.content.text.length>0)||(U.options.content.text.jquery&&U.options.content.text.length>0)){S=U.options.content.text;
}else{S=" ";}if(U.options.content.title.text!==false){L.call(U);}U.updateContent(S,false);
G.call(U);if(U.options.show.ready===true){U.show();}if(U.options.content.url!==false){R=U.options.content.url;
V=U.options.content.data;T=U.options.content.method||"get";U.loadContent(R,V,T);}U.status.rendered=true;
U.onRender.call(U);}function A(R,U,S){var T=this;T.id=S;T.options=U;T.status={animated:false,rendered:false,disabled:false,focused:false};
T.elements={target:R.addClass(T.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};
T.cache={attr:false,mouse:{},toggle:0,overflow:{left:false,top:false}};T.timers={};
J.extend(T,T.options.api,{show:function(X){var V,W;if(!T.status.rendered){return false;
}if(T.elements.tooltip.css("display")!=="none"){return T;}T.elements.tooltip.stop(true,false);
V=T.beforeShow.call(T,X);if(V===false){return T;}function Y(){T.elements.tooltip.attr("aria-hidden",true);
if(T.options.position.type!=="static"){T.focus();}T.onShow.call(T,X);if(J.browser.msie){var Z=T.elements.tooltip.get(0).style;
Z.removeAttribute("filter");Z.removeAttribute("opacity");}else{T.elements.tooltip.css({opacity:""});
}}T.cache.toggle=1;if(T.options.position.type!=="static"){T.updatePosition(X,(T.options.show.effect.length>0&&T.rendered!==2));
}if(typeof T.options.show.solo==="object"){W=J(T.options.show.solo);}else{if(T.options.show.solo===true){W=J("div.qtip").not(T.elements.tooltip);
}}if(W){W.each(function(){if(J(this).qtip("api").status.rendered===true){J(this).qtip("api").hide();
}});}if(typeof T.options.show.effect.type==="function"){T.options.show.effect.type.call(T.elements.tooltip,T.options.show.effect.length);
T.elements.tooltip.queue(function(){Y();J(this).dequeue();});}else{switch(T.options.show.effect.type.toLowerCase()){case"fade":T.elements.tooltip.fadeIn(T.options.show.effect.length,Y);
break;case"slide":T.elements.tooltip.slideDown(T.options.show.effect.length,function(){Y();
if(T.options.position.type!=="static"){T.updatePosition(X,true);}});break;case"grow":T.elements.tooltip.show(T.options.show.effect.length,Y);
break;default:T.elements.tooltip.show(null,Y);break;}T.elements.tooltip.addClass(T.options.style.classes.active);
}return T;},hide:function(W){var V;if(!T.status.rendered){return false;}else{if(T.elements.tooltip.css("display")==="none"){return T;
}}clearTimeout(T.timers.show);T.elements.tooltip.stop(true,false);V=T.beforeHide.call(T,W);
if(V===false){return T;}function X(){T.elements.tooltip.attr("aria-hidden",true);
if(J.browser.msie){T.elements.tooltip.get(0).style.removeAttribute("opacity");}else{T.elements.tooltip.css({opacity:""});
}T.onHide.call(T,W);}T.cache.toggle=0;if(typeof T.options.hide.effect.type==="function"){T.options.hide.effect.type.call(T.elements.tooltip,T.options.hide.effect.length);
T.elements.tooltip.queue(function(){X();J(this).dequeue();});}else{switch(T.options.hide.effect.type.toLowerCase()){case"fade":T.elements.tooltip.fadeOut(T.options.hide.effect.length,X);
break;case"slide":T.elements.tooltip.slideUp(T.options.hide.effect.length,X);break;
case"grow":T.elements.tooltip.hide(T.options.hide.effect.length,X);break;default:T.elements.tooltip.hide(null,X);
break;}T.elements.tooltip.removeClass(T.options.style.classes.active);}return T;},toggle:function(W,X){var V=/boolean|number/.test(typeof X)?X:!T.elements.tooltip.is(":visible");
T[V?"show":"hide"](W);return T;},updatePosition:function(f,h){if(!T.status.rendered){return false;
}var d=U.position,j=J(d.target),W=T.elements.tooltip.outerWidth(),a=T.elements.tooltip.outerHeight(),e,Y,k,Z=d.corner.tooltip,V=d.corner.target,l,X,g,m,c,b={left:function(){var p=J(window).scrollLeft(),s=J(window).width()+J(window).scrollLeft(),t=Z.x==="center"?W/2:W,r=Z.x==="center"?e/2:e,n=(Z.x==="center"?1:2)*T.options.style.border.radius,q=-2*d.adjust.x,i=k.left+W,o;
if(i>s){o=q-t-r+n;if(k.left+o>p||p-(k.left+o)<i-s){return{adjust:o,tip:"right"};}}if(k.left<p){o=q+t+r-n;
if(i+o<s||i+o-s<p-k.left){return{adjust:o,tip:"left"};}}return{adjust:0,tip:Z.x};
},top:function(){var q=J(window).scrollTop(),t=J(window).height()+J(window).scrollTop(),s=Z.y==="center"?a/2:a,r=Z.y==="center"?Y/2:Y,n=(Z.y==="center"?1:2)*T.options.style.border.radius,p=-2*d.adjust.y,i=k.top+a,o;
if(i>t){o=p-s-r+n;if(k.top+o>q||q-(k.top+o)<i-t){return{adjust:o,tip:"bottom"};}}if(k.top<q){o=p+s+r-n;
if(i+o<t||i+o-t<q-k.top){return{adjust:o,tip:"top"};}}return{adjust:0,tip:Z.y};}};
if(f&&U.position.target==="mouse"){V={x:"left",y:"top"};e=Y=0;if(!f.pageX){k=T.cache.mouse;
}else{k={top:f.pageY,left:f.pageX};}}else{if(j[0]===document){e=j.width();Y=j.height();
k={top:0,left:0};}else{if(j[0]===window){e=j.width();Y=j.height();k={top:j.scrollTop(),left:j.scrollLeft()};
}else{if(j.is("area")){X=T.options.position.target.attr("coords").split(",");for(g=0;
g<X.length;g++){X[g]=parseInt(X[g],10);}m=T.options.position.target.parent("map").attr("name");
c=J('img[usemap="#'+m+'"]:first').offset();k={left:Math.floor(c.left+X[0]),top:Math.floor(c.top+X[1])};
switch(T.options.position.target.attr("shape").toLowerCase()){case"rect":e=Math.ceil(Math.abs(X[2]-X[0]));
Y=Math.ceil(Math.abs(X[3]-X[1]));break;case"circle":e=X[2]+1;Y=X[2]+1;break;case"poly":e=X[0];
Y=X[1];for(g=0;g<X.length;g++){if(g%2===0){if(X[g]>e){e=X[g];}if(X[g]<X[0]){k.left=Math.floor(c.left+X[g]);
}}else{if(X[g]>Y){Y=X[g];}if(X[g]<X[1]){k.top=Math.floor(c.top+X[g]);}}}e=e-(k.left-c.left);
Y=Y-(k.top-c.top);break;}e-=2;Y-=2;}else{e=j.outerWidth();Y=j.outerHeight();if(!T.elements.tooltip.is(":visible")){T.elements.tooltip.css({left:"-10000000em"}).show();
}if(!d.adjust.offset||T.elements.tooltip.offsetParent()[0]===document.body){k=j.offset();
}else{k=j.position();k.top+=j.offsetParent().scrollTop();k.left+=j.offsetParent().scrollLeft();
}}}}k.left+=V.x==="right"?e:V.x==="center"?e/2:0;k.top+=V.y==="bottom"?Y:V.y==="center"?Y/2:0;
}k.left+=d.adjust.x+(Z.x==="right"?-W:Z.x==="center"?-W/2:0);k.top+=d.adjust.y+(Z.y==="bottom"?-a:Z.y==="center"?-a/2:0);
if(T.options.style.border.radius>0){if(Z.x==="left"){k.left-=T.options.style.border.radius;
}else{if(Z.x==="right"){k.left+=T.options.style.border.radius;}}if(Z.y==="top"){k.top-=T.options.style.border.radius;
}else{if(Z.y==="bottom"){k.top+=T.options.style.border.radius;}}}if(d.adjust.screen){(function(){var o={x:0,y:0},n={x:b.left(),y:b.top()},i=new N(U.style.tip.corner);
if(T.elements.tip&&i){if(n.y.adjust!==0){k.top+=n.y.adjust;i.y=o.y=n.y.tip;}if(n.x.adjust!==0){k.left+=n.x.adjust;
i.x=o.x=n.x.tip;}T.cache.overflow={left:o.x===false,top:o.y===false};if(T.elements.tip.attr("rel")!==i.string()){K.call(T,i);
}}}());}if(!T.elements.bgiframe&&J.browser.msie&&parseInt(J.browser.version.charAt(0),10)===6){B.call(T);
}l=T.beforePositionUpdate.call(T,f);if(l===false){return T;}if(U.position.target!=="mouse"&&h===true){T.status.animated=true;
T.elements.tooltip.stop().animate(k,200,"swing",function(){T.status.animated=false;
});}else{T.elements.tooltip.css(k);}T.onPositionUpdate.call(T,f);return T;},updateWidth:function(X){if(!T.status.rendered||(X&&typeof X!=="number")){return false;
}var Y=T.elements.contentWrapper.siblings().add(T.elements.tip).add(T.elements.button),a=T.elements.wrapper.add(T.elements.contentWrapper.children()),V=T.elements.tooltip,Z=T.options.style.width.max,W=T.options.style.width.min;
if(!X){if(typeof T.options.style.width.value==="number"){X=T.options.style.width.value;
}else{T.elements.tooltip.css({width:"auto"});Y.hide();V.width(X);if(J.browser.msie){a.css({zoom:""});
}X=T.getDimensions().width;if(!T.options.style.width.value){X=Math.min(Math.max(X,W),Z);
}}}if(X%2){X+=1;}T.elements.tooltip.width(X);Y.show();if(T.options.style.border.radius){T.elements.tooltip.find(".qtip-betweenCorners").each(function(b){J(this).width(X-(T.options.style.border.radius*2));
});}if(J.browser.msie){a.css({zoom:1});T.elements.wrapper.width(X);if(T.elements.bgiframe){T.elements.bgiframe.width(X).height(T.getDimensions.height);
}}return T;},updateStyle:function(Z){var a,W,V,Y,X;if(!T.status.rendered||typeof Z!=="string"||!J.fn.qtip.styles[Z]){return false;
}T.options.style=I.call(T,J.fn.qtip.styles[Z],T.options.user.style);T.elements.content.css(H(T.options.style));
if(T.options.content.title.text!==false){T.elements.title.css(H(T.options.style.title,true));
}T.elements.contentWrapper.css({borderColor:T.options.style.border.color});if(T.options.style.tip.corner!==false){if(J("<canvas />").get(0).getContext){a=T.elements.tooltip.find(".qtip-tip canvas:first");
V=a.get(0).getContext("2d");V.clearRect(0,0,300,300);Y=a.parent("div[rel]:first").attr("rel");
X=Q(Y,T.options.style.tip.size.width,T.options.style.tip.size.height);C.call(T,a,X,T.options.style.tip.color||T.options.style.border.color);
}else{if(J.browser.msie){a=T.elements.tooltip.find('.qtip-tip [nodeName="shape"]');
a.attr("fillcolor",T.options.style.tip.color||T.options.style.border.color);}}}if(T.options.style.border.radius>0){T.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:T.options.style.border.color});
if(J("<canvas />").get(0).getContext){W=D(T.options.style.border.radius);T.elements.tooltip.find(".qtip-wrapper canvas").each(function(){V=J(this).get(0).getContext("2d");
V.clearRect(0,0,300,300);Y=J(this).parent("div[rel]:first").attr("rel");F.call(T,J(this),W[Y],T.options.style.border.radius,T.options.style.border.color);
});}else{if(J.browser.msie){T.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){J(this).attr("fillcolor",T.options.style.border.color);
});}}}return T;},updateContent:function(Z,X){var a,Y,W;function V(){T.updateWidth();
if(X!==false){if(T.options.position.type!=="static"){T.updatePosition(T.elements.tooltip.is(":visible"),true);
}if(T.options.style.tip.corner!==false){O.call(T);}}}if(!Z){return false;}a=T.beforeContentUpdate.call(T,Z);
if(typeof a==="string"){Z=a;}else{if(a===false){return ;}}if(T.status.rendered){if(J.browser.msie){T.elements.contentWrapper.children().css({zoom:"normal"});
}if(Z.jquery&&Z.length>0){Z.clone(true).appendTo(T.elements.content).show();}else{T.elements.content.html(Z);
}Y=T.elements.content.find("img[complete=false]");if(Y.length>0){W=0;Y.each(function(b){J('<img src="'+J(this).attr("src")+'" />').load(function(){if(++W===Y.length){V();
}});});}else{V();}}else{T.options.content.text=Z;}T.onContentUpdate.call(T);return T;
},loadContent:function(V,W,Y){var Z;function X(a){T.onContentLoad.call(T);T.updateContent(a);
}if(!T.status.rendered){return false;}Z=T.beforeContentLoad.call(T);if(Z===false){return T;
}if(Y==="post"){J.post(V,W,X);}else{J.get(V,W,X);}return T;},updateTitle:function(V){var W;
if(!T.status.rendered||!V){return false;}W=T.beforeTitleUpdate.call(T);if(W===false){return T;
}if(T.elements.button){T.elements.button=T.elements.button.clone(true);}T.elements.title.html(V);
if(T.elements.button){T.elements.title.prepend(T.elements.button);}T.onTitleUpdate.call(T);
return T;},focus:function(X){var Z,W,Y,V;if(!T.status.rendered||T.options.position.type==="static"){return false;
}Z=parseInt(T.elements.tooltip.css("z-index"),10);W=15000+J('div.qtip[id^="qtip"]').length-1;
if(!T.status.focused&&Z!==W){V=T.beforeFocus.call(T,X);if(V===false){return T;}J('div.qtip[id^="qtip"]').not(T.elements.tooltip).each(function(){if(J(this).qtip("api").status.rendered===true){Y=parseInt(J(this).css("z-index"),10);
if(typeof Y==="number"&&Y>-1){J(this).css({zIndex:parseInt(J(this).css("z-index"),10)-1});
}J(this).qtip("api").status.focused=false;}});T.elements.tooltip.css({zIndex:W});
T.status.focused=true;T.onFocus.call(T,X);}return T;},disable:function(V){T.status.disabled=V?true:false;
return T;},destroy:function(){var W,V,X,Y=T.elements.target.data("old"+T.cache.attr[0]);
V=T.beforeDestroy.call(T);if(V===false){return T;}if(T.status.rendered){T.options.show.when.target.unbind("mousemove.qtip",T.updatePosition);
T.options.show.when.target.unbind("mouseout.qtip",T.hide);T.options.show.when.target.unbind(T.options.show.when.event+".qtip");
T.options.hide.when.target.unbind(T.options.hide.when.event+".qtip");T.elements.tooltip.unbind(T.options.hide.when.event+".qtip");
T.elements.tooltip.unbind("mouseover.qtip",T.focus);T.elements.tooltip.remove();}else{T.options.show.when.target.unbind(T.options.show.when.event+".qtip-"+T.id+"-create");
}if(typeof T.elements.target.data("qtip")==="object"){X=T.elements.target.data("qtip").interfaces;
if(typeof X==="object"&&X.length>0){for(W=0;W<X.length-1;W++){if(X[W].id===T.id){X.splice(W,1);
}}}}J.fn.qtip.interfaces.splice(T.id,1);if(typeof X==="object"&&X.length>0){T.elements.target.data("qtip").current=X.length-1;
}else{T.elements.target.removeData("qtip");}if(Y){T.elements.target.attr(T.cache.attr[0],Y);
}T.onDestroy.call(T);return T.elements.target;},getPosition:function(){var V,W;if(!T.status.rendered){return false;
}V=(T.elements.tooltip.css("display")!=="none")?false:true;if(V){T.elements.tooltip.css({visiblity:"hidden"}).show();
}W=T.elements.tooltip.offset();if(V){T.elements.tooltip.css({visiblity:"visible"}).hide();
}return W;},getDimensions:function(){var V,W;if(!T.status.rendered){return false;
}V=(!T.elements.tooltip.is(":visible"))?true:false;if(V){T.elements.tooltip.css({visiblity:"hidden"}).show();
}W={height:T.elements.tooltip.outerHeight(),width:T.elements.tooltip.outerWidth()};
if(V){T.elements.tooltip.css({visiblity:"visible"}).hide();}return W;}});}J.fn.qtip=function(S,Z){var R,U,V,W,a,Y,T,X;
if(typeof S==="string"){if(J(this).data("qtip")){if(S==="api"){return J(this).data("qtip").interfaces[J(this).data("qtip").current];
}else{if(S==="interfaces"){return J(this).data("qtip").interfaces;}}}else{return J(this);
}}else{if(!S){S={};}if(typeof S.content!=="object"||(S.content.jquery&&S.content.length>0)){S.content={text:S.content};
}if(typeof S.content.title!=="object"){S.content.title={text:S.content.title};}if(typeof S.position!=="object"){S.position={corner:S.position};
}if(typeof S.position.corner!=="object"){S.position.corner={target:S.position.corner,tooltip:S.position.corner};
}if(typeof S.show!=="object"){S.show={when:S.show};}if(typeof S.show.when!=="object"){S.show.when={event:S.show.when};
}if(typeof S.show.effect!=="object"){S.show.effect={type:S.show.effect};}if(typeof S.hide!=="object"){S.hide={when:S.hide};
}if(typeof S.hide.when!=="object"){S.hide.when={event:S.hide.when};}if(typeof S.hide.effect!=="object"){S.hide.effect={type:S.hide.effect};
}if(typeof S.style!=="object"){S.style={name:S.style};}S.style=P(S.style);W=J.extend(true,{},J.fn.qtip.defaults,S);
W.style=I.call({options:W},W.style);W.user=J.extend(true,{},S);}return J(this).each(function(){var b=J(this),c=false;
if(typeof S==="string"){Y=S.toLowerCase();V=J(this).qtip("interfaces");if(typeof V==="object"){if(Z===true&&Y==="destroy"){for(R=V.length-1;
R>-1;R--){if("object"===typeof V[R]){V[R].destroy();}}}else{if(Z!==true){V=[J(this).qtip("api")];
}for(R=0;R<V.length;R++){if(Y==="destroy"){V[R].destroy();}else{if(V[R].status.rendered===true){if(Y==="show"){V[R].show();
}else{if(Y==="hide"){V[R].hide();}else{if(Y==="focus"){V[R].focus();}else{if(Y==="disable"){V[R].disable(true);
}else{if(Y==="enable"){V[R].disable(false);}else{if(Y==="update"){V[R].updatePosition();
}}}}}}}}}}}}else{T=J.extend(true,{},W);T.hide.effect.length=W.hide.effect.length;
T.show.effect.length=W.show.effect.length;if(T.position.container===false){T.position.container=J(document.body);
}if(T.position.target===false){T.position.target=J(this);}if(T.show.when.target===false){T.show.when.target=J(this);
}if(T.hide.when.target===false){T.hide.when.target=J(this);}T.position.corner.tooltip=new N(T.position.corner.tooltip);
T.position.corner.target=new N(T.position.corner.target);if(!T.content.text.length){J(["title","alt"]).each(function(d,f){var e=b.attr(f);
if(e&&e.length){c=[f,e];b.data("old"+f,e).removeAttr(f);T.content.text=e.replace(/\n/gi,"<br />");
return false;}});}U=J.fn.qtip.interfaces.length;for(R=0;R<U;R++){if(typeof J.fn.qtip.interfaces[R]==="undefined"){U=R;
break;}}a=new A(J(this),T,U);J.fn.qtip.interfaces[U]=a;a.cache.attr=c;if(typeof J(this).data("qtip")==="object"&&J(this).data("qtip")){if(typeof J(this).attr("qtip")==="undefined"){J(this).data("qtip").current=J(this).data("qtip").interfaces.length;
}J(this).data("qtip").interfaces.push(a);}else{J(this).data("qtip",{current:0,interfaces:[a]});
}if(T.content.prerender===false&&T.show.when.event!==false&&T.show.ready!==true){T.show.when.target.bind(T.show.when.event+".qtip-"+U+"-create",{qtip:U},function(d){X=J.fn.qtip.interfaces[d.data.qtip];
X.options.show.when.target.unbind(X.options.show.when.event+".qtip-"+d.data.qtip+"-create");
X.cache.mouse={left:d.pageX,top:d.pageY};M.call(X);X.options.show.when.target.trigger(X.options.show.when.event);
});}else{a.cache.mouse={left:T.show.when.target.offset().left,top:T.show.when.target.offset().top};
M.call(a);}}});};J.fn.qtip.interfaces=[];J.fn.qtip.fn={attr:J.fn.attr};J.fn.attr=function(R){var S=J(this).qtip("api");
return(arguments.length===1&&(/title|alt/i).test(R)&&S.status&&S.status.rendered===true)?J(this).data("old"+S.cache.attr[0]):J.fn.qtip.fn.attr.apply(this,arguments);
};J.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,offset:false},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(){}}};
J.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));(function(D){var F="2.32";var H=D.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);
function G(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments,""));
}}D.fn.cycle=function(J){if(this.length==0){G("terminating; zero elements found by selector"+(D.isReady?"":" (DOM not ready)"));
return this;}var K=arguments[1];return this.each(function(){if(J===undefined||J===null){J={};
}if(J.constructor==String){switch(J){case"stop":if(this.cycleTimeout){clearTimeout(this.cycleTimeout);
}this.cycleTimeout=0;D(this).data("cycle.opts","");return ;case"pause":this.cyclePause=1;
return ;case"resume":this.cyclePause=0;if(K===true){J=D(this).data("cycle.opts");
if(!J){G("options not found, can not resume");return ;}if(this.cycleTimeout){clearTimeout(this.cycleTimeout);
this.cycleTimeout=0;}I(J.elements,J,1,1);}return ;default:J={fx:J};}}else{if(J.constructor==Number){var Z=J;
J=D(this).data("cycle.opts");if(!J){G("options not found, can not advance slide");
return ;}if(Z<0||Z>=J.elements.length){G("invalid slide index: "+Z);return ;}J.nextSlide=Z;
if(this.cycleTimeout){clearTimeout(this.cycleTimeout);this.cycleTimeout=0;}I(J.elements,J,1,Z>=J.currSlide);
return ;}}if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=0;
this.cyclePause=0;var U=D(this);var P=J.slideExpr?D(J.slideExpr,this):U.children();
var O=P.get();if(O.length<2){G("terminating; too few slides: "+O.length);return ;
}var L=D.extend({},D.fn.cycle.defaults,J||{},D.metadata?U.metadata():D.meta?U.data():{});
if(L.autostop){L.countdown=L.autostopCount||O.length;}U.data("cycle.opts",L);L.container=this;
L.elements=O;L.before=L.before?[L.before]:[];L.after=L.after?[L.after]:[];L.after.unshift(function(){L.busy=0;
});if(L.continuous){L.after.push(function(){I(O,L,0,!L.rev);});}if(H&&L.cleartype&&!L.cleartypeNoBg){E(P);
}var M=this.className;L.width=parseInt((M.match(/w:(\d+)/)||[])[1])||L.width;L.height=parseInt((M.match(/h:(\d+)/)||[])[1])||L.height;
L.timeout=parseInt((M.match(/t:(\d+)/)||[])[1])||L.timeout;if(U.css("position")=="static"){U.css("position","relative");
}if(L.width){U.width(L.width);}if(L.height&&L.height!="auto"){U.height(L.height);
}if(L.startingSlide){L.startingSlide=parseInt(L.startingSlide);}if(L.random){L.randomMap=[];
for(var S=0;S<O.length;S++){L.randomMap.push(S);}L.randomMap.sort(function(c,d){return Math.random()-0.5;
});L.randomIndex=0;L.startingSlide=L.randomMap[0];}else{if(L.startingSlide>=O.length){L.startingSlide=0;
}}var X=L.startingSlide||0;P.css({position:"absolute",top:0,left:0}).hide().each(function(a){var b=X?a>=X?O.length-(a-X):X-a:O.length-a;
D(this).css("z-index",b);});D(O[X]).css("opacity",1).show();if(D.browser.msie){O[X].style.removeAttribute("filter");
}if(L.fit&&L.width){P.width(L.width);}if(L.fit&&L.height&&L.height!="auto"){P.height(L.height);
}if(L.containerResize){var N=0,T=0;for(var S=0;S<O.length;S++){var Y=D(O[S]),Q=Y.outerWidth(),R=Y.outerHeight();
N=Q>N?Q:N;T=R>T?R:T;}U.css({width:N+"px",height:T+"px"});}if(L.pause){U.hover(function(){this.cyclePause++;
},function(){this.cyclePause--;});}var W=D.fn.cycle.transitions[L.fx];if(D.isFunction(W)){W(U,P,L);
}else{if(L.fx!="custom"){G("unknown transition: "+L.fx);}}P.each(function(){var a=D(this);
this.cycleH=(L.fit&&L.height)?L.height:a.height();this.cycleW=(L.fit&&L.width)?L.width:a.width();
});L.cssBefore=L.cssBefore||{};L.animIn=L.animIn||{};L.animOut=L.animOut||{};P.not(":eq("+X+")").css(L.cssBefore);
if(L.cssFirst){D(P[X]).css(L.cssFirst);}if(L.timeout){L.timeout=parseInt(L.timeout);
if(L.speed.constructor==String){L.speed=D.fx.speeds[L.speed]||parseInt(L.speed);}if(!L.sync){L.speed=L.speed/2;
}while((L.timeout-L.speed)<250){L.timeout+=L.speed;}}if(L.easing){L.easeIn=L.easeOut=L.easing;
}if(!L.speedIn){L.speedIn=L.speed;}if(!L.speedOut){L.speedOut=L.speed;}L.slideCount=O.length;
L.currSlide=X;if(L.random){L.nextSlide=L.currSlide;if(++L.randomIndex==O.length){L.randomIndex=0;
}L.nextSlide=L.randomMap[L.randomIndex];}else{L.nextSlide=L.startingSlide>=(O.length-1)?0:L.startingSlide+1;
}var V=P[X];if(L.before.length){L.before[0].apply(V,[V,V,L,true]);}if(L.after.length>1){L.after[1].apply(V,[V,V,L,true]);
}if(L.click&&!L.next){L.next=L.click;}if(L.next){D(L.next).bind("click",function(){return C(O,L,L.rev?-1:1);
});}if(L.prev){D(L.prev).bind("click",function(){return C(O,L,L.rev?1:-1);});}if(L.pager){B(O,L);
}L.addSlide=function(d,c){var a=D(d),b=a[0];if(!L.autostopCount){L.countdown++;}O[c?"unshift":"push"](b);
if(L.els){L.els[c?"unshift":"push"](b);}L.slideCount=O.length;a.css("position","absolute");
a[c?"prependTo":"appendTo"](U);if(c){L.currSlide++;L.nextSlide++;}if(H&&L.cleartype&&!L.cleartypeNoBg){E(a);
}if(L.fit&&L.width){a.width(L.width);}if(L.fit&&L.height&&L.height!="auto"){P.height(L.height);
}b.cycleH=(L.fit&&L.height)?L.height:a.height();b.cycleW=(L.fit&&L.width)?L.width:a.width();
a.css(L.cssBefore);if(L.pager){D.fn.cycle.createPagerAnchor(O.length-1,b,D(L.pager),O,L);
}if(typeof L.onAddSlide=="function"){L.onAddSlide(a);}};if(L.timeout||L.continuous){this.cycleTimeout=setTimeout(function(){I(O,L,0,!L.rev);
},L.continuous?10:L.timeout+(L.delay||0));}});};function I(K,O,J,P){if(O.busy){return ;
}var N=O.container,Q=K[O.currSlide],M=K[O.nextSlide];if(N.cycleTimeout===0&&!J){return ;
}if(!J&&!N.cyclePause&&((O.autostop&&(--O.countdown<=0))||(O.nowrap&&!O.random&&O.nextSlide<O.currSlide))){if(O.end){O.end(O);
}return ;}if(J||!N.cyclePause){if(O.before.length){D.each(O.before,function(S,T){T.apply(M,[Q,M,O,P]);
});}var R=function(){if(D.browser.msie&&O.cleartype){this.style.removeAttribute("filter");
}D.each(O.after,function(S,T){T.apply(M,[Q,M,O,P]);});};if(O.nextSlide!=O.currSlide){O.busy=1;
if(O.fxFn){O.fxFn(Q,M,O,R,P);}else{if(D.isFunction(D.fn.cycle[O.fx])){D.fn.cycle[O.fx](Q,M,O,R);
}else{D.fn.cycle.custom(Q,M,O,R,J&&O.fastOnEvent);}}}if(O.random){O.currSlide=O.nextSlide;
if(++O.randomIndex==K.length){O.randomIndex=0;}O.nextSlide=O.randomMap[O.randomIndex];
}else{var L=(O.nextSlide+1)==K.length;O.nextSlide=L?0:O.nextSlide+1;O.currSlide=L?K.length-1:O.nextSlide-1;
}if(O.pager){D.fn.cycle.updateActivePagerLink(O.pager,O.currSlide);}}if(O.timeout&&!O.continuous){N.cycleTimeout=setTimeout(function(){I(K,O,0,!O.rev);
},A(Q,M,O,P));}else{if(O.continuous&&N.cyclePause){N.cycleTimeout=setTimeout(function(){I(K,O,0,!O.rev);
},10);}}}D.fn.cycle.updateActivePagerLink=function(J,K){D(J).find("a").removeClass("activeSlide").filter("a:eq("+K+")").addClass("activeSlide");
};function A(M,L,K,J){if(K.timeoutFn){var N=K.timeoutFn(M,L,K,J);if(N!==false){return N;
}}return K.timeout;}function C(K,J,L){var N=J.container,M=N.cycleTimeout;if(M){clearTimeout(M);
N.cycleTimeout=0;}if(J.random&&L<0){J.randomIndex--;if(--J.randomIndex==-2){J.randomIndex=K.length-2;
}else{if(J.randomIndex==-1){J.randomIndex=K.length-1;}}J.nextSlide=J.randomMap[J.randomIndex];
}else{if(J.random){if(++J.randomIndex==K.length){J.randomIndex=0;}J.nextSlide=J.randomMap[J.randomIndex];
}else{J.nextSlide=J.currSlide+L;if(J.nextSlide<0){if(J.nowrap){return false;}J.nextSlide=K.length-1;
}else{if(J.nextSlide>=K.length){if(J.nowrap){return false;}J.nextSlide=0;}}}}if(J.prevNextClick&&typeof J.prevNextClick=="function"){J.prevNextClick(L>0,J.nextSlide,K[J.nextSlide]);
}I(K,J,1,L>=0);return false;}function B(K,J){var L=D(J.pager);D.each(K,function(M,N){D.fn.cycle.createPagerAnchor(M,N,L,K,J);
});D.fn.cycle.updateActivePagerLink(J.pager,J.startingSlide);}D.fn.cycle.createPagerAnchor=function(J,O,P,L,N){var M=(typeof N.pagerAnchorBuilder=="function")?N.pagerAnchorBuilder(J,O):'<a href="#">'+(J+1)+"</a>";
if(!M){return ;}var K=D(M);if(K.parents("body").length==0){K.appendTo(P);}K.bind(N.pagerEvent,function(){N.nextSlide=J;
var Q=N.container,R=Q.cycleTimeout;if(R){clearTimeout(R);Q.cycleTimeout=0;}if(typeof N.pagerClick=="function"){N.pagerClick(N.nextSlide,L[N.nextSlide]);
}I(L,N,1,N.currSlide<J);return false;});if(N.pauseOnPagerHover){K.hover(function(){N.container.cyclePause++;
},function(){N.container.cyclePause--;});}};function E(L){function J(M){var M=parseInt(M).toString(16);
return M.length<2?"0"+M:M;}function K(O){for(;O&&O.nodeName.toLowerCase()!="html";
O=O.parentNode){var N=D.css(O,"background-color");if(N.indexOf("rgb")>=0){var M=N.match(/\d+/g);
return"#"+J(M[0])+J(M[1])+J(M[2]);}if(N&&N!="transparent"){return N;}}return"#ffffff";
}L.each(function(){D(this).css("background-color",K(this));});}D.fn.cycle.custom=function(Q,O,R,U,J){var N=D(Q),P=D(O);
P.css(R.cssBefore);var K=J?1:R.speedIn;var S=J?1:R.speedOut;var L=J?null:R.easeIn;
var M=J?null:R.easeOut;var T=function(){P.animate(R.animIn,K,L,U);};N.animate(R.animOut,S,M,function(){if(R.cssAfter){N.css(R.cssAfter);
}if(!R.sync){T();}});if(R.sync){T();}};D.fn.cycle.transitions={fade:function(K,L,J){L.not(":eq("+J.startingSlide+")").css("opacity",0);
J.before.push(function(){D(this).show();});J.animIn={opacity:1};J.animOut={opacity:0};
J.cssBefore={opacity:0};J.cssAfter={display:"none"};J.onAddSlide=function(M){M.hide();
};}};D.fn.cycle.ver=function(){return F;};D.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:0,nowrap:0,fastOnEvent:0};
})(jQuery);(function(A){A.fn.cycle.transitions.scrollUp=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(G,F,E){A(this).show();E.cssBefore.top=F.offsetHeight;E.animOut.top=0-G.offsetHeight;
});B.cssFirst={top:0};B.animIn={top:0};B.cssAfter={display:"none"};};A.fn.cycle.transitions.scrollDown=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(G,F,E){A(this).show();E.cssBefore.top=0-F.offsetHeight;E.animOut.top=G.offsetHeight;
});B.cssFirst={top:0};B.animIn={top:0};B.cssAfter={display:"none"};};A.fn.cycle.transitions.scrollLeft=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(G,F,E){A(this).show();E.cssBefore.left=F.offsetWidth;E.animOut.left=0-G.offsetWidth;
});B.cssFirst={left:0};B.animIn={left:0};};A.fn.cycle.transitions.scrollRight=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(G,F,E){A(this).show();E.cssBefore.left=0-F.offsetWidth;E.animOut.left=G.offsetWidth;
});B.cssFirst={left:0};B.animIn={left:0};};A.fn.cycle.transitions.scrollHorz=function(C,D,B){C.css("overflow","hidden").width();
B.before.push(function(G,F,H,I){A(this).show();var J=G.offsetWidth,E=F.offsetWidth;
H.cssBefore=I?{left:E}:{left:-E};H.animIn.left=0;H.animOut.left=I?-J:J;D.not(G).css(H.cssBefore);
});B.cssFirst={left:0};B.cssAfter={display:"none"};};A.fn.cycle.transitions.scrollVert=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(I,G,E,J){A(this).show();var H=I.offsetHeight,F=G.offsetHeight;
E.cssBefore=J?{top:-F}:{top:F};E.animIn.top=0;E.animOut.top=J?H:-H;D.not(I).css(E.cssBefore);
});B.cssFirst={top:0};B.cssAfter={display:"none"};};A.fn.cycle.transitions.slideX=function(C,D,B){B.before.push(function(G,F,E){A(G).css("zIndex",1);
});B.onAddSlide=function(E){E.hide();};B.cssBefore={zIndex:2};B.animIn={width:"show"};
B.animOut={width:"hide"};};A.fn.cycle.transitions.slideY=function(C,D,B){B.before.push(function(G,F,E){A(G).css("zIndex",1);
});B.onAddSlide=function(E){E.hide();};B.cssBefore={zIndex:2};B.animIn={height:"show"};
B.animOut={height:"hide"};};A.fn.cycle.transitions.shuffle=function(C,E,B){var F=C.css("overflow","visible").width();
E.css({left:0,top:0});B.before.push(function(){A(this).show();});B.speed=B.speed/2;
B.random=0;B.shuffle=B.shuffle||{left:-F,top:15};B.els=[];for(var D=0;D<E.length;
D++){B.els.push(E[D]);}for(var D=0;D<B.startingSlide;D++){B.els.push(B.els.shift());
}B.fxFn=function(I,H,J,L,K){var G=K?A(I):A(H);G.animate(J.shuffle,J.speedIn,J.easeIn,function(){K?J.els.push(J.els.shift()):J.els.unshift(J.els.pop());
if(K){for(var N=0,O=J.els.length;N<O;N++){A(J.els[N]).css("z-index",O-N);}}else{var M=A(I).css("z-index");
G.css("z-index",parseInt(M)+1);}G.animate({left:0,top:0},J.speedOut,J.easeOut,function(){A(K?this:I).hide();
if(L){L();}});});};B.onAddSlide=function(G){G.hide();};};A.fn.cycle.transitions.turnUp=function(C,D,B){B.before.push(function(G,F,E){A(this).show();
E.cssBefore.top=F.cycleH;E.animIn.height=F.cycleH;});B.onAddSlide=function(E){E.hide();
};B.cssFirst={top:0};B.cssBefore={height:0};B.animIn={top:0};B.animOut={height:0};
B.cssAfter={display:"none"};};A.fn.cycle.transitions.turnDown=function(C,D,B){B.before.push(function(G,F,E){A(this).show();
E.animIn.height=F.cycleH;E.animOut.top=G.cycleH;});B.onAddSlide=function(E){E.hide();
};B.cssFirst={top:0};B.cssBefore={top:0,height:0};B.animOut={height:0};B.cssAfter={display:"none"};
};A.fn.cycle.transitions.turnLeft=function(C,D,B){B.before.push(function(G,F,E){A(this).show();
E.cssBefore.left=F.cycleW;E.animIn.width=F.cycleW;});B.onAddSlide=function(E){E.hide();
};B.cssBefore={width:0};B.animIn={left:0};B.animOut={width:0};B.cssAfter={display:"none"};
};A.fn.cycle.transitions.turnRight=function(C,D,B){B.before.push(function(G,F,E){A(this).show();
E.animIn.width=F.cycleW;E.animOut.left=G.cycleW;});B.onAddSlide=function(E){E.hide();
};B.cssBefore={left:0,width:0};B.animIn={left:0};B.animOut={width:0};B.cssAfter={display:"none"};
};A.fn.cycle.transitions.zoom=function(C,D,B){B.cssFirst={top:0,left:0};B.cssAfter={display:"none"};
B.before.push(function(G,F,E){A(this).show();E.cssBefore={width:0,height:0,top:F.cycleH/2,left:F.cycleW/2};
E.cssAfter={display:"none"};E.animIn={top:0,left:0,width:F.cycleW,height:F.cycleH};
E.animOut={width:0,height:0,top:G.cycleH/2,left:G.cycleW/2};A(G).css("zIndex",2);
A(F).css("zIndex",1);});B.onAddSlide=function(E){E.hide();};};A.fn.cycle.transitions.fadeZoom=function(C,D,B){B.before.push(function(G,F,E){E.cssBefore={width:0,height:0,opacity:1,left:F.cycleW/2,top:F.cycleH/2,zIndex:1};
E.animIn={top:0,left:0,width:F.cycleW,height:F.cycleH};});B.animOut={opacity:0};B.cssAfter={zIndex:0};
};A.fn.cycle.transitions.blindX=function(C,D,B){var E=C.css("overflow","hidden").width();
D.show();B.before.push(function(H,G,F){A(H).css("zIndex",1);});B.cssBefore={left:E,zIndex:2};
B.cssAfter={zIndex:1};B.animIn={left:0};B.animOut={left:E};};A.fn.cycle.transitions.blindY=function(D,E,C){var B=D.css("overflow","hidden").height();
E.show();C.before.push(function(H,G,F){A(H).css("zIndex",1);});C.cssBefore={top:B,zIndex:2};
C.cssAfter={zIndex:1};C.animIn={top:0};C.animOut={top:B};};A.fn.cycle.transitions.blindZ=function(D,E,C){var B=D.css("overflow","hidden").height();
var F=D.width();E.show();C.before.push(function(I,H,G){A(I).css("zIndex",1);});C.cssBefore={top:B,left:F,zIndex:2};
C.cssAfter={zIndex:1};C.animIn={top:0,left:0};C.animOut={top:B,left:F};};A.fn.cycle.transitions.growX=function(C,D,B){B.before.push(function(G,F,E){E.cssBefore={left:this.cycleW/2,width:0,zIndex:2};
E.animIn={left:0,width:this.cycleW};E.animOut={left:0};A(G).css("zIndex",1);});B.onAddSlide=function(E){E.hide().css("zIndex",1);
};};A.fn.cycle.transitions.growY=function(C,D,B){B.before.push(function(G,F,E){E.cssBefore={top:this.cycleH/2,height:0,zIndex:2};
E.animIn={top:0,height:this.cycleH};E.animOut={top:0};A(G).css("zIndex",1);});B.onAddSlide=function(E){E.hide().css("zIndex",1);
};};A.fn.cycle.transitions.curtainX=function(C,D,B){B.before.push(function(G,F,E){E.cssBefore={left:F.cycleW/2,width:0,zIndex:1,display:"block"};
E.animIn={left:0,width:this.cycleW};E.animOut={left:G.cycleW/2,width:0};A(G).css("zIndex",2);
});B.onAddSlide=function(E){E.hide();};B.cssAfter={zIndex:1,display:"none"};};A.fn.cycle.transitions.curtainY=function(C,D,B){B.before.push(function(G,F,E){E.cssBefore={top:F.cycleH/2,height:0,zIndex:1,display:"block"};
E.animIn={top:0,height:this.cycleH};E.animOut={top:G.cycleH/2,height:0};A(G).css("zIndex",2);
});B.onAddSlide=function(E){E.hide();};B.cssAfter={zIndex:1,display:"none"};};A.fn.cycle.transitions.cover=function(D,C,E){var F=E.direction||"left";
var G=D.css("overflow","hidden").width();var B=D.height();E.before.push(function(J,I,H){H.cssBefore=H.cssBefore||{};
H.cssBefore.zIndex=2;H.cssBefore.display="block";if(F=="right"){H.cssBefore.left=-G;
}else{if(F=="up"){H.cssBefore.top=B;}else{if(F=="down"){H.cssBefore.top=-B;}else{H.cssBefore.left=G;
}}}A(J).css("zIndex",1);});if(!E.animIn){E.animIn={left:0,top:0};}if(!E.animOut){E.animOut={left:0,top:0};
}E.cssAfter=E.cssAfter||{};E.cssAfter.zIndex=2;E.cssAfter.display="none";};A.fn.cycle.transitions.uncover=function(D,C,E){var F=E.direction||"left";
var G=D.css("overflow","hidden").width();var B=D.height();E.before.push(function(J,I,H){H.cssBefore.display="block";
if(F=="right"){H.animOut.left=G;}else{if(F=="up"){H.animOut.top=-B;}else{if(F=="down"){H.animOut.top=B;
}else{H.animOut.left=-G;}}}A(J).css("zIndex",2);A(I).css("zIndex",1);});E.onAddSlide=function(H){H.hide();
};if(!E.animIn){E.animIn={left:0,top:0};}E.cssBefore=E.cssBefore||{};E.cssBefore.top=0;
E.cssBefore.left=0;E.cssAfter=E.cssAfter||{};E.cssAfter.zIndex=1;E.cssAfter.display="none";
};A.fn.cycle.transitions.toss=function(D,E,C){var F=D.css("overflow","visible").width();
var B=D.height();C.before.push(function(I,H,G){A(I).css("zIndex",2);G.cssBefore.display="block";
if(!G.animOut.left&&!G.animOut.top){G.animOut={left:F*2,top:-B/2,opacity:0};}else{G.animOut.opacity=0;
}});C.onAddSlide=function(G){G.hide();};C.cssBefore={left:0,top:0,zIndex:1,opacity:1};
C.animIn={left:0};C.cssAfter={zIndex:2,display:"none"};};A.fn.cycle.transitions.wipe=function(E,C,G){var L=E.css("overflow","hidden").width();
var B=E.height();G.cssBefore=G.cssBefore||{};var F;if(G.clip){if(/l2r/.test(G.clip)){F="rect(0px 0px "+B+"px 0px)";
}else{if(/r2l/.test(G.clip)){F="rect(0px "+L+"px "+B+"px "+L+"px)";}else{if(/t2b/.test(G.clip)){F="rect(0px "+L+"px 0px 0px)";
}else{if(/b2t/.test(G.clip)){F="rect("+B+"px "+L+"px "+B+"px 0px)";}else{if(/zoom/.test(G.clip)){var J=parseInt(B/2);
var D=parseInt(L/2);F="rect("+J+"px "+D+"px "+J+"px "+D+"px)";}}}}}}G.cssBefore.clip=G.cssBefore.clip||F||"rect(0px 0px 0px 0px)";
var I=G.cssBefore.clip.match(/(\d+)/g);var J=parseInt(I[0]),H=parseInt(I[1]),K=parseInt(I[2]),D=parseInt(I[3]);
G.before.push(function(Q,P,M){if(Q==P){return ;}var R=A(Q).css("zIndex",2);var S=A(P).css({zIndex:3,display:"block"});
var O=1,N=parseInt((M.speedIn/13))-1;function T(){var X=J?J-parseInt(O*(J/N)):0;var V=D?D-parseInt(O*(D/N)):0;
var W=K<B?K+parseInt(O*((B-K)/N||1)):B;var U=H<L?H+parseInt(O*((L-H)/N||1)):L;S.css({clip:"rect("+X+"px "+U+"px "+W+"px "+V+"px)"});
(O++<=N)?setTimeout(T,13):R.css("display","none");}T();});G.cssAfter={};G.animIn={left:0};
G.animOut={left:0};};})(jQuery);$(document).ready(function(){$(".tab_content").hide();$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();$("ul.tabs li").click(function(){$("ul.tabs li").removeClass("active");
$(this).addClass("active");$(".tab_content").hide();var A=$(this).find("a").attr("href");
$(A).show();return false;});});$.extend({getUrlVars:function(A){var D=[],E;var C=A.slice(A.indexOf("?")+1).split("&");
for(var B=0;B<C.length;B++){E=C[B].split("=");D.push(E[0]);D[E[0]]=E[1];}return D;
},getUrlVar:function(A){return $.getUrlVars()[A];}});(function(A){A.fn.extend({thumbnail:function(D){var C={};
var D=A.extend(C,D);var B='<img class="thumbnailPlugin_img" src="'+D.playButton+'" alt=""></img>';
return this.each(function(){var F=A(this);if(A(this).find(".thumbnailPlugin_img").size()==0){var E='<div class="tipHTML">';
E+=A(this).find("div.tip").html();E+="</div>";A(this).append(B);A(this).find("img").qtip({content:E,show:"mouseover",hide:"mouseout",position:{corner:{target:"rightTop",tooltip:"bottomLeft"}},style:{name:"dark",tip:"leftMiddle"}});
A(this).find(".thumbnailPlugin_img").css("visibility","hidden");A(this).find(".thumbnailPlugin_img").attr("width",D.playButtonW);
A(this).find(".thumbnailPlugin_img").attr("height",D.playButtonH);A(this).find("img").css("cursor","pointer");
}A(this).find("img").click(function(G){var H=A(G.target).parent().find(".url").text();
if(D.popup==false){A(location).attr("href",H);}else{if(!isNaN(parseInt(A.getUrlVars(H)["w"]))){D.popupWidth=A.getUrlVars(H)["w"];
}if(!isNaN(parseInt(A.getUrlVars(H)["h"]))){D.popupHeight=A.getUrlVars(H)["h"];}window.open(H,"thumb","resizable=yes,scrollbars=no,toolbar=no,directories=no,location=yes,status=no,menubar=no, width="+D.popupWidth+", height="+D.popupHeight);
}});A(this).find("img").mouseenter(function(H){A(".thumbnailPlugin_img").css("visibility","visible");
var I=A(this).position().left;var G=A(this).position().top;I+=(A(this).width()/2);
G+=(A(this).height()/2);I-=(C.playButtonW/2);G-=(C.playButtonH/2);A(".thumbnailPlugin_img").css("left",(I));
A(".thumbnailPlugin_img").css("top",(G));});A(this).find("img").mouseout(function(G){A(".thumbnailPlugin_img").css("visibility","hidden");
});});this.mouseOver=function(E){};}});})(jQuery);function SearchSubmit(A,B){obj=document.getElementById(A);if((obj.value=="")||(obj.value==B)){return false;
}document.ocSearch.submit();return true;}function SearchOnFocus(A,B){if(A.value==B){A.value="";
A.style.color="Black";}}function SearchOnBlur(A,B){if(A.value==""){A.value=B;A.style.color="Gray";
}}function SetCookie(F,A,B,C,E,G){var D=F+"="+escape(A);D+="; expires="+B;if(C!=""){D+="; path="+C;
}if(E!=""){D+="; domain="+E;}if(G!=""){D+="; secure="+G;}document.cookie=D;}function getCookieVal(A,C){var B=document.cookie.indexOf(";",A);
return(B>=C-1)?null:unescape(document.cookie.substring(A,B));}function GetCookie(F){var D=F+"=";
var C=D.length;var E=document.cookie.length;var A=0;while(A<E){var B=A+C;if(document.cookie.substring(A,B)==D){return getCookieVal(B,E);
}A=document.cookie.indexOf(" ",A)+1;if(A==0){break;}}return null;}function checkEmailFormat(A){if((A.indexOf("@",0)==-1)||(A.substring(0,A.indexOf("@",0))=="")){return false;
}if((A.indexOf(".",0)==-1)||(A.substring(0,A.indexOf(".",0))=="")){return false;}if(A.indexOf(" ",0)!=-1){return false;
}return true;}function submitPleaseWaitForm(C,A){var B=document.getElementById(C);
B.src=A;document.webform.submit();}function submitWebForm(){if(checkEmailFormat(document.webform.eml.value)==false){alert("The Email Address is not valid");
document.webform.eml.focus();}else{if(document.webform.eml.value!=document.webform.ceml.value){alert("The Email Address and Confirm Email address does not match");
document.webform.ceml.focus();}else{document.webform.submit();}}}function submitWebForm1(){if(checkEmailFormat(document.webform.eml.value)==false){alert("The Email Address is not valid");
document.webform.eml.focus();}else{document.webform.submit();}}function submitDemoUrl(A){if(document.cookie!=null){cookieVal=GetCookie("77766444");
A=A+"&app="+escape(cookieVal);}window.open(A,"demo","resizable=yes,scrollbars=yes,toolbar=yes,directories=no,location=yes,status=yes,menubar=no").focus();
return false;}function loginPopup(A){window.open(A,"login","width=800,height=600,resizable=yes,scrollbars=yes,toolbar=no,directories=no,location=no,status=yes,menubar=no").focus();
}function noop(){}function randomLeftImage(K,N,M,F,P){var G=new Array("/ad/left/updates.gif?206409","/ad/left/newsletterad.jpg?206409","/ad/left/outlookad.jpg?206409","/ad/left/wordad.jpg?206409","/ad/left/smsad.jpg?206409","/ad/left/webinar.jpg?206409","/1by1.gif?206409");
var J=new Array("/latestupdates","/newsletter/content/current","/connectors/outlook","/connectors/word","/connectors/sms","/Survey/webinar_officeclip","");
var C=new Array("_self","_self","_self","_self","_self","_blank","");var R=new Array("/ad/left/updates.gif?206409","/ad/left/newsletterad.jpg?206409","/ad/left/smsad.jpg?206409","/ad/left/outlookad.jpg?206409","/1by1.gif?206409");
var U=new Array("/latestupdates","/newsletter/content/current","/connectors/sms","/connectors/outlook","");
var L=new Array("/ad/left/updates.gif?206409","/ad/left/newsletterad.jpg?206409","/1by1.gif?206409");var W=new Array("/latestupdates","/newsletter/content/current","");
var B=new Array("/ad/left/updates.gif?206409","/ad/left/newsletterad.jpg?206409","/ad/left/webinar.jpg?206409","/1by1.gif?206409");
var D=new Array("/latestupdates","/newsletter/content/current","/Survey/webinar_officeclip","");
var S=new Array("_self","_self","_blank","");var I=new Array("/ad/left/updates.gif?206409","/ad/left/newsletterad.jpg?206409","/ad/left/webinar.jpg?206409","/1by1.gif?206409");
var E=new Array("/latestupdates","/newsletter/content/current","/Survey/webinar_officeclip","");
var T=new Array("_self","_self","_blank","");var O,H,Q,A;var V="_self";switch(N){case"Contact Manager":O=G.length;
H=Math.floor(O*Math.random());Q=M+G[H];A=F+J[H]+"."+P;V=C[H];break;case"Group Calendar":O=R.length;
H=Math.floor(O*Math.random());Q=M+R[H];A=F+U[H]+"."+P;break;case"Timesheet Tracker":O=B.length;
H=Math.floor(O*Math.random());Q=M+B[H];A=F+D[H]+"."+P;V=S[H];break;case"Issue Tracker":O=L.length;
H=Math.floor(O*Math.random());Q=M+I[H];A=F+E[H]+"."+P;V=T[H];break;default:O=L.length;
H=Math.floor(O*Math.random());Q=M+L[H];A=F+W[H]+"."+P;break;}K.onload=noop;K.setAttribute("src",Q);
K.setAttribute("width","120");K.setAttribute("height","240");document.getElementById("randomUrl").href=A;
document.getElementById("randomUrl").target=V;}function CalculatePricing(){}function GetCookieExpiry(A){var B=new Date();
B.setTime(B.getTime()+A*24*60*60*1000);return B.toGMTString();}function SkipIfCustomer(A,B){if(document.cookie!=null){cookieVal=GetCookie("isCustomer");
if(cookieVal==null){SetCookie("isCustomer",B,GetCookieExpiry(30),"/","","");}}location.href=A+"/default.aspx";
}function RedirectIfCustomer(A){if((window.location.search.substring(1)=="isCustomerReset")||(GetCookie("OcLogin=DefaultAccount")==null)){SetCookie("isCustomer","1",GetCookieExpiry(-1),"/","","");
return ;}if(document.cookie!=null){cookieVal=GetCookie("isCustomer");if(cookieVal!=null){window.location.href=A+"/default.aspx";
}}}function InitializeWebSite(){$(document).ready(function(){$(".lightbox").lightbox({fitToScreen:true,imageClickClose:false});
});$(document).ready(function(){$(".qtipHolder").each(function(){$(this).qtip({content:$(this).find("div").html(),show:"mouseover",hide:"mouseout",position:{corner:{target:"rightMiddle",tooltip:"leftMiddle"}},style:{border:{width:1,radius:3},tip:"leftMiddle",name:"dark"}});
});});}var oneYearFromNow=new Date();var halfHourFromNow=new Date();oneYearFromNow.setTime(oneYearFromNow.getTime()+(365*24*60*60*1000));
halfHourFromNow.setTime(halfHourFromNow.getTime()+(30*60*1000));function siteTracker(){if((document.cookie==null)|(document.cookie.indexOf("999456",0)==-1)){SetCookie("999456",document.referrer,oneYearFromNow.toGMTString(),"/","","");
SetCookie("999776",document.URL,oneYearFromNow.toGMTString(),"/","","");}if((typeof (category)!="undefined")&&(document.cookie.indexOf("77766444",0)==-1)){SetCookie("77766444",category,halfHourFromNow.toGMTString(),"/","","");
}}siteTracker();var bqAl=(navigator&&navigator.userAgent)?navigator.userAgent.toLowerCase():"";var brAl=(navigator&&navigator.appVersion)?navigator.appVersion:"";
var bsAl=parseInt(brAl,10);var btAl=bqAl.indexOf("opera")!=-1;var buAl=!btAl&&(bqAl.indexOf("msie")!=-1);
if(bvAl>bwAl){bvAl=bwAl-100;}if(bvAl<0){bvAl=10;}if(bxAl>bwAl){bxAl=bwAl-100;}if(bxAl<0){bvAl=10;
}var byAl=1;var bzAl=0;var BaAl=BbAl;$(function(){BcAl();});$(document).ready(function(){BcAl();
if(BbAl>1){bzAl=setTimeout("BdAl(BbAl,0)",bwAl);$(".jsnavbtnslider_placeholder").hover(function(){BeAl();
},function(){BfAl();});}$(".jsnavbtnslider_placeholder").hover(function(){$(".jsnavbtnslider_image").fadeTo(200,0.9);
},function(){$(".jsnavbtnslider_image").fadeTo(200,1);});});function BcAl(){$("#jsnavbtnslider_navbtn_"+byAl).addClass("jsnavbtnslider_navbtn_active");
$(".jsnavbtnslider_navbtn_inner").click(function(){BgAl($(this).attr("id"));});$(".jsnavbtnslider_navbtn_inner").css("cursor","hand");
}function BgAl(A){clearTimeout(bzAl);BiAl=parseInt(A.replace("jsnavbtnslider_navbtn_",""));
BdAl(BbAl,BiAl);}function BdAl(A,B){if(A>1){if(B>0){if(B==byAl){return ;}else{BaAl=byAl;
BjAl=B;BkAl=bxAl;}}else{if(byAl>=A){BaAl=A;byAl=BjAl=1;}else{BaAl=byAl;BjAl=byAl+1;
}BkAl=bvAl;}$("#jsnavbtnslider_image_"+BjAl).clone(true).attr("id","jsnavbtnslider_firstimage_"+BjAl).insertBefore("#jsnavbtnslider_firstimage_"+BaAl);
$("#jsnavbtnslider_firstimage_"+BaAl).fadeOut(BkAl).queue(function(){$(this).remove();
});setTimeout("$('.jsnavbtnslider_navbtn_inner').removeClass(\"jsnavbtnslider_navbtn_active\")",BkAl/2);
setTimeout("$('#jsnavbtnslider_navbtn_'+BjAl).addClass(\"jsnavbtnslider_navbtn_active\")",BkAl/2+100);
byAl=BjAl;bzAl=setTimeout("BdAl(BbAl,0)",bwAl);}}function BeAl(){BmAl=$("#jsnavbtnslider_firstimage_"+BaAl).css("opacity");
if(BmAl!=null){if(BmAl<0.3){$("#jsnavbtnslider_firstimage_"+BaAl).stop();}else{BgAl("jsnavbtnslider_navbtn_"+BaAl);
}}clearTimeout(bzAl);}function BfAl(){bzAl=setTimeout("BdAl(BbAl,0)",bwAl);}function onOcRegisterFocus(A,B){if(A.value==B){A.value="";A.style["color"]="black";
}}function onOcRegisterBlur(A,B){if(A.value==""){A.value=B;A.style["color"]="#CCCCCC";
}else{if(A.value!=B){A.style["color"]="black";}}}function checkAllReg(C,F){var B=document.getElementById(C);
var A="";var D=0;if((B.firstName.value.length==0)||(B.firstName.value=="First")){A+="Please enter First Name\n\n";
}if((B.lastName.value.length==0)||(B.lastName.value=="Last")){A+="Please enter Last Name\n\n";
}if(B.eml.value.length==0){A+="Please enter E-mail\n\n";}else{if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(B.eml.value))){A+="Invalid E-mail address. Please re-enter\n\n";
}}if(A!=""){alert(A);return ;}if (D!=undefined){F._trackPageview('Registration-Submit');}B.submit();}document.write(unescape("%3Cscript src='"+document.location.protocol+"//zopim.com/?SOsyPtSohkE3VNU6OddS8yIuYbIqUODe' charset='utf-8' type='text/javascript'%3E%3C/script%3E"));
function toggleChat(){$zopim.livechat.window.toggle();return false;}
