
(function(){var F={jQuery:"http://code.jquery.com/jquery-latest.min.js"};var H=function(){(function(I){I.fn.idTabs=function(){var L={};for(var K=0;K<arguments.length;++K){var J=arguments[K];switch(J.constructor){case Object:I.extend(L,J);break;case Boolean:L.change=J;break;case Number:L.start=J;break;case Function:L.click=J;break;case String:if(J.charAt(0)=="."){L.selected=J}else{if(J.charAt(0)=="!"){L.event=J}else{L.start=J}}break}}if(typeof L["return"]=="function"){L.change=L["return"]}return this.each(function(){I.idTabs(this,L)})};I.idTabs=function(L,K){var O=(I.metadata)?I(L).metadata():{};var M=I.extend({},I.idTabs.settings,O,K);if(M.selected.charAt(0)=="."){M.selected=M.selected.substr(1)}if(M.event.charAt(0)=="!"){M.event=M.event.substr(1)}if(M.start==null){M.start=-1}var J=function(){if(I(this).is("."+M.selected)){return M.change}var S="#"+this.href.split("#")[1];var Q=[];var R=[];I("a",L).each(function(){if(this.href.match(/#/)){Q.push(this);R.push("#"+this.href.split("#")[1])}});if(M.click&&!M.click.apply(this,[S,R,L,M])){return M.change}for(i in Q){I(Q[i]).removeClass(M.selected)}for(i in R){I(R[i]).hide()}I(this).addClass(M.selected);I(S).show();return M.change};var N=I("a[href*='#']",L).unbind(M.event,J).bind(M.event,J);N.each(function(){I("#"+this.href.split("#")[1]).hide()});var P=false;if((P=N.filter("."+M.selected)).length){}else{if(typeof M.start=="number"&&(P=N.eq(M.start)).length){}else{if(typeof M.start=="string"&&(P=N.filter("[href*='#"+M.start+"']")).length){}}}if(P){P.removeClass(M.selected);P.trigger(M.event)}return M};I.idTabs.settings={start:0,change:false,click:null,selected:".selected",event:"!click"};I.idTabs.version="2.2";I(function(){I(".idTabs").idTabs()})})(jQuery)};var A=function(J,I){I=I.split(".");while(J&&I.length){J=J[I.shift()]}return J};var C=document.getElementsByTagName("head")[0];var E=function(I){var J=document.createElement("script");J.type="text/javascript";J.src=I;C.appendChild(J)};var D=document.getElementsByTagName("script");var G=D[D.length-1].src;var B=true;for(d in F){if(A(this,d)){continue}B=false;E(F[d])}if(B){return H()}E(G)})();(function(A){A.fn.extend({mousewheel:function(B){if(!B.guid){B.guid=A.event.guid++}if(!A.event._mwCache){A.event._mwCache=[]}return this.each(function(){if(this._mwHandlers){return this._mwHandlers.push(B)}else{this._mwHandlers=[]}this._mwHandlers.push(B);var C=this;this._mwHandler=function(F){F=A.event.fix(F||window.event);A.extend(F,this._mwCursorPos||{});var G=0,E=true;if(F.wheelDelta){G=F.wheelDelta/120}if(F.detail){G=-F.detail/3}if(window.opera){G=-F.wheelDelta}for(var D=0;D<C._mwHandlers.length;D++){if(C._mwHandlers[D]){if(C._mwHandlers[D].call(C,F,G)===false){E=false;F.preventDefault();F.stopPropagation()}}}return E};if(A.browser.mozilla&&!this._mwFixCursorPos){this._mwFixCursorPos=function(D){this._mwCursorPos={pageX:D.pageX,pageY:D.pageY,clientX:D.clientX,clientY:D.clientY}};A(this).bind("mousemove",this._mwFixCursorPos)}if(this.addEventListener){if(A.browser.mozilla){this.addEventListener("DOMMouseScroll",this._mwHandler,false)}else{this.addEventListener("mousewheel",this._mwHandler,false)}}else{this.onmousewheel=this._mwHandler}A.event._mwCache.push(A(this))})},unmousewheel:function(B){return this.each(function(){if(B&&this._mwHandlers){for(var C=0;C<this._mwHandlers.length;C++){if(this._mwHandlers[C]&&this._mwHandlers[C].guid==B.guid){delete this._mwHandlers[C]}}}else{if(A.browser.mozilla&&!this._mwFixCursorPos){A(this).unbind("mousemove",this._mwFixCursorPos)}if(this.addEventListener){if(A.browser.mozilla){this.removeEventListener("DOMMouseScroll",this._mwHandler,false)}else{this.removeEventListener("mousewheel",this._mwHandler,false)}}else{this.onmousewheel=null}this._mwHandlers=this._mwHandler=this._mwFixCursorPos=this._mwCursorPos=null}})}});A(window).one("unload",function(){var C=A.event._mwCache||[];for(var B=0;B<C.length;B++){C[B].unmousewheel()}})})(jQuery);jQuery.jScrollPane={active:[]};jQuery.fn.jScrollPane=function(A){A=jQuery.extend({scrollbarWidth:10,scrollbarMargin:10,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false},A);return this.each(function(){var K=jQuery(this);K.css("overflow","hidden");if(jQuery(this).parent().is(".jScrollPaneContainer")){var z=A.maintainPosition?K.offset({relativeTo:jQuery(this).parent()[0]}).top:0;var I=jQuery(this).parent();var Y=I.innerWidth();var AA=I.outerHeight();var J=AA;if(I.unmousewheel){I.unmousewheel()}jQuery(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",I).remove();K.css({top:0})}else{var z=0;this.originalPadding=K.css("paddingTop")+" "+K.css("paddingRight")+" "+K.css("paddingBottom")+" "+K.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(K.css("paddingLeft"))||0)+(parseInt(K.css("paddingRight"))||0);var Y=K.innerWidth();var AA=K.innerHeight();var J=AA;K.wrap(jQuery("<div></div>").attr({className:"jScrollPaneContainer"}).css({height:AA+"px",width:Y+"px"}));jQuery(document).bind("emchange",function(AB,AC,p){K.jScrollPane(A)})}var l=this.originalSidePaddingTotal;var h={height:"auto",width:Y-A.scrollbarWidth-A.scrollbarMargin-l+"px"};if(A.scrollbarOnLeft){h.paddingLeft=A.scrollbarMargin+A.scrollbarWidth+"px"}else{h.paddingRight=A.scrollbarMargin+"px"}K.css(h);var j=K.outerHeight();var e=AA/j;if(e<0.99){var E=K.parent();E.append(jQuery("<div></div>").attr({className:"jScrollPaneTrack"}).css({width:A.scrollbarWidth+"px"}).append(jQuery("<div></div>").attr({className:"jScrollPaneDrag"}).css({width:A.scrollbarWidth+"px"}).append(jQuery("<div></div>").attr({className:"jScrollPaneDragTop"}).css({width:A.scrollbarWidth+"px"}),jQuery("<div></div>").attr({className:"jScrollPaneDragBottom"}).css({width:A.scrollbarWidth+"px"}))));var w=jQuery(">.jScrollPaneTrack",E);var L=jQuery(">.jScrollPaneTrack .jScrollPaneDrag",E);if(A.showArrows){var b;var y;var O;var n;var f=function(){if(n>4||n%4==0){v(r+y*W)}n++};var H=function(p){jQuery("html").unbind("mouseup",H);b.removeClass("jScrollActiveArrowButton");clearInterval(O)};var U=function(){jQuery("html").bind("mouseup",H);b.addClass("jScrollActiveArrowButton");n=0;f();O=setInterval(f,100)};E.append(jQuery("<a></a>").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:A.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){b=jQuery(this);y=-1;U();this.blur();return false}),jQuery("<a></a>").attr({href:"javascript:;",className:"jScrollArrowDown"}).css({width:A.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){b=jQuery(this);y=1;U();this.blur();return false}));var M=jQuery(">.jScrollArrowUp",E);var G=jQuery(">.jScrollArrowDown",E);if(A.arrowSize){J=AA-A.arrowSize-A.arrowSize;w.css({height:J+"px",top:A.arrowSize+"px"})}else{var o=M.height();A.arrowSize=o;J=AA-o-G.height();w.css({height:J+"px",top:o+"px"})}}var t=jQuery(this).css({position:"absolute",overflow:"visible"});var B;var T;var W;var r=0;var R=e*AA/2;var V=function(AB,AD){var AC=AD=="X"?"Left":"Top";return AB["page"+AD]||(AB["client"+AD]+(document.documentElement["scroll"+AC]||document.body["scroll"+AC]))||0};var a=function(){return false};var s=function(){k();B=L.offset(false);B.top-=r;T=J-L[0].offsetHeight;W=2*A.wheelSpeed*T/j};var C=function(p){s();R=V(p,"Y")-r-B.top;jQuery("html").bind("mouseup",P).bind("mousemove",c);if(jQuery.browser.msie){jQuery("html").bind("dragstart",a).bind("selectstart",a)}return false};var P=function(){jQuery("html").unbind("mouseup",P).unbind("mousemove",c);R=e*AA/2;if(jQuery.browser.msie){jQuery("html").unbind("dragstart",a).unbind("selectstart",a)}};var v=function(AB){AB=AB<0?0:(AB>T?T:AB);r=AB;L.css({top:AB+"px"});var AC=AB/T;t.css({top:((AA-j)*AC)+"px"});K.trigger("scroll");if(A.showArrows){M[AB==0?"addClass":"removeClass"]("disabled");G[AB==T?"addClass":"removeClass"]("disabled")}};var c=function(p){v(V(p,"Y")-B.top-R)};var m=Math.max(Math.min(e*(AA-A.arrowSize*2),A.dragMaxHeight),A.dragMinHeight);L.css({height:m+"px"}).bind("mousedown",C);var g;var N;var F;var q=function(){if(N>8||N%4==0){v((r-((r-F)/2)))}N++};var x=function(){clearInterval(g);jQuery("html").unbind("mouseup",x).unbind("mousemove",Z)};var Z=function(p){F=V(p,"Y")-B.top-R};var Q=function(p){s();Z(p);N=0;jQuery("html").bind("mouseup",x).bind("mousemove",Z);g=setInterval(q,100);q()};w.bind("mousedown",Q);if(E.mousewheel){E.mousewheel(function(AB,AD){s();k();var AC=r;v(r-AD*W);var p=AC!=r;return !p},false)}var D;var S;function X(){var p=(D-r)/A.animateStep;if(p>1||p<-1){v(r+p)}else{v(D);k()}}var k=function(){if(S){clearInterval(S);delete D}};var u=function(AC,p){if(typeof AC=="string"){$e=jQuery(AC,this);if(!$e.length){return }AC=$e.offset().top-K.offset().top}k();var AB=-AC/(AA-j)*T;if(p||!A.animateTo){v(AB)}else{D=AB;S=setInterval(X,A.animateInterval)}};K[0].scrollTo=u;K[0].scrollBy=function(AB){var p=-parseInt(t.css("top"))||0;u(p+AB)};s();u(-z,true);jQuery.jScrollPane.active.push(K[0])}else{K.css({height:AA+"px",width:Y-this.originalSidePaddingTotal+"px",padding:this.originalPadding})}})};jQuery(window).bind("unload",function(){var B=jQuery.jScrollPane.active;for(var A=0;A<B.length;A++){B[A].scrollTo=B[A].scrollBy=null}});(function(E){E.ui=E.ui||{};E.fn.extend({accordion:function(H,I){var G=Array.prototype.slice.call(arguments,1);return this.each(function(){if(typeof H=="string"){var J=E.data(this,"ui-accordion");J[H].apply(J,G)}else{if(!E(this).is(".ui-accordion")){E.data(this,"ui-accordion",new E.ui.accordion(this,H))}}})},activate:function(G){return this.accordion("activate",G)}});E.ui.accordion=function(G,H){this.options=H=E.extend({},E.ui.accordion.defaults,H);this.element=G;E(G).addClass("ui-accordion");if(H.navigation){var K=E(G).find("a").filter(H.navigationFilter);if(K.length){if(K.filter(H.header).length){H.active=K}else{H.active=K.parent().parent().prev();K.addClass("current")}}}H.headers=E(G).find(H.header);H.active=C(H.headers,H.active);if(H.fillSpace){var J=E(G).parent().height();H.headers.each(function(){J-=E(this).outerHeight()});var I=0;H.headers.next().each(function(){I=Math.max(I,E(this).innerHeight()-E(this).height())}).height(J-I)}else{if(H.autoheight){var J=0;H.headers.next().each(function(){J=Math.max(J,E(this).outerHeight())}).height(J)}}H.headers.not(H.active||"").next().hide();H.active.parent().andSelf().addClass(H.selectedClass);if(H.event){E(G).bind((H.event)+".ui-accordion",F)}};E.ui.accordion.prototype={activate:function(G){F.call(this.element,{target:C(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","")}E.removeData(this.element,"ui-accordion");E(this.element).removeClass("ui-accordion").unbind(".ui-accordion")}};function B(H,G){return function(){return H.apply(G,arguments)}}function D(I){if(!E.data(this,"ui-accordion")){return }var G=E.data(this,"ui-accordion");var H=G.options;H.running=I?0:--H.running;if(H.running){return }if(H.clearStyle){H.toShow.add(H.toHide).css({height:"",overflow:""})}E(this).triggerHandler("change.ui-accordion",[H.data],H.change)}function A(G,K,L,J,M){var I=E.data(this,"ui-accordion").options;I.toShow=G;I.toHide=K;I.data=L;var H=B(D,this);I.running=K.size()==0?G.size():K.size();if(I.animated){if(!I.alwaysOpen&&J){E.ui.accordion.animations[I.animated]({toShow:jQuery([]),toHide:K,complete:H,down:M,autoheight:I.autoheight})}else{E.ui.accordion.animations[I.animated]({toShow:G,toHide:K,complete:H,down:M,autoheight:I.autoheight})}}else{if(!I.alwaysOpen&&J){G.toggle()}else{K.hide();G.show()}H(true)}}function F(L){var J=E.data(this,"ui-accordion").options;if(J.disabled){return false}if(!L.target&&!J.alwaysOpen){J.active.parent().andSelf().toggleClass(J.selectedClass);var I=J.active.next(),M={instance:this,options:J,newHeader:jQuery([]),oldHeader:J.active,newContent:jQuery([]),oldContent:I},G=J.active=E([]);A.call(this,G,I,M);return false}var K=E(L.target);if(K.parents(J.header).length){while(!K.is(J.header)){K=K.parent()}}var H=K[0]==J.active[0];if(J.running||(J.alwaysOpen&&H)){return false}if(!K.is(J.header)){return }J.active.parent().andSelf().toggleClass(J.selectedClass);if(!H){K.parent().andSelf().addClass(J.selectedClass)}var G=K.next(),I=J.active.next(),M={instance:this,options:J,newHeader:K,oldHeader:J.active,newContent:G,oldContent:I},N=J.headers.index(J.active[0])>J.headers.index(K[0]);J.active=H?E([]):K;A.call(this,G,I,M,H,N);return false}function C(H,G){return G!=undefined?typeof G=="number"?H.filter(":eq("+G+")"):H.not(H.not(G)):G===false?E([]):H.filter(":eq(0)")}E.extend(E.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(G,I){G=E.extend({easing:"swing",duration:300},G,I);if(!G.toHide.size()){G.toShow.animate({height:"show"},G);return }var H=G.toHide.height(),J=G.toShow.height(),K=J/H;G.toShow.css({height:0,overflow:"hidden"}).show();G.toHide.filter(":hidden").each(G.complete).end().filter(":visible").animate({height:"hide"},{step:function(L){var M=(H-L)*K;if(E.browser.msie||E.browser.opera){M=Math.ceil(M)}G.toShow.height(M)},duration:G.duration,easing:G.easing,complete:function(){if(!G.autoheight){G.toShow.css("height","auto")}G.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);jQuery.extend(jQuery.easing,{easein:function(B,C,A,E,D){return E*(C/=D)*C+A},easeinout:function(B,C,A,F,E){if(C<E/2){return 2*F*C*C/(E*E)+A}var D=C-E/2;return -2*F*D*D/(E*E)+2*F*D/E+F/2+A},easeout:function(B,C,A,E,D){return -E*C*C/(D*D)+2*E*C/D+A},expoin:function(B,C,A,F,E){var D=1;if(F<0){D*=-1;F*=-1}return D*(Math.exp(Math.log(F)/E*C))+A},expoout:function(B,C,A,F,E){var D=1;if(F<0){D*=-1;F*=-1}return D*(-Math.exp(-Math.log(F)/E*(C-E))+F+1)+A},expoinout:function(B,C,A,F,E){var D=1;if(F<0){D*=-1;F*=-1}if(C<E/2){return D*(Math.exp(Math.log(F/2)/(E/2)*C))+A}return D*(-Math.exp(-2*Math.log(F/2)/E*(C-E))+F+1)+A},bouncein:function(B,C,A,E,D){return E-jQuery.easing.bounceout(B,D-C,0,E,D)+A},bounceout:function(B,C,A,E,D){if((C/=D)<(1/2.75)){return E*(7.5625*C*C)+A}else{if(C<(2/2.75)){return E*(7.5625*(C-=(1.5/2.75))*C+0.75)+A}else{if(C<(2.5/2.75)){return E*(7.5625*(C-=(2.25/2.75))*C+0.9375)+A}else{return E*(7.5625*(C-=(2.625/2.75))*C+0.984375)+A}}}},bounceinout:function(B,C,A,E,D){if(C<D/2){return jQuery.easing.bouncein(B,C*2,0,E,D)*0.5+A}return jQuery.easing.bounceout(B,C*2-D,0,E,D)*0.5+E*0.5+A},elasin:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return -(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A},elasout:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return C*Math.pow(2,-10*D)*Math.sin((D*G-E)*(2*Math.PI)/F)+H+A},elasinout:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G/2)==2){return A+H}if(!F){F=G*(0.3*1.5)}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}if(D<1){return -0.5*(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A}return C*Math.pow(2,-10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F)*0.5+H+A},backin:function(B,C,A,F,E){var D=1.70158;return F*(C/=E)*C*((D+1)*C-D)+A},backout:function(B,C,A,F,E){var D=1.70158;return F*((C=C/E-1)*C*((D+1)*C+D)+1)+A},backinout:function(B,C,A,F,E){var D=1.70158;if((C/=E/2)<1){return F/2*(C*C*(((D*=(1.525))+1)*C-D))+A}return F/2*((C-=2)*C*(((D*=(1.525))+1)*C+D)+2)+A}});(function(E){var B={},K,M,O,J=E.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),A=false;E.tooltip={blocked:false,defaults:{delay:200,fade:false,showURL:true,extraClass:"",top:15,left:15,id:"tooltip"},block:function(){E.tooltip.blocked=!E.tooltip.blocked}};E.fn.extend({tooltip:function(P){P=E.extend({},E.tooltip.defaults,P);H(P);return this.each(function(){E.data(this,"tooltip",P);this.tOpacity=B.parent.css("opacity");this.tooltipText=this.title;E(this).removeAttr("title");this.alt=""}).mouseover(L).mouseout(F).click(F)},fixPNG:J?function(){return this.each(function(){var P=E(this).css("backgroundImage");if(P.match(/^url\(["']?(.*\.png)["']?\)$/i)){P=RegExp.$1;E(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+P+"')"}).each(function(){var Q=E(this).css("position");if(Q!="absolute"&&Q!="relative"){E(this).css("position","relative")}})}})}:function(){return this},unfixPNG:J?function(){return this.each(function(){E(this).css({filter:"",backgroundImage:""})})}:function(){return this},hideWhenEmpty:function(){return this.each(function(){E(this)[E(this).html()?"show":"hide"]()})},url:function(){return this.attr("href")||this.attr("src")}});function H(P){if(B.parent){return }B.parent=E('<div id="'+P.id+'"><h3></h3><div class="body"></div><div class="url"></div></div>').appendTo(document.body).hide();if(E.fn.bgiframe){B.parent.bgiframe()}B.title=E("h3",B.parent);B.body=E("div.body",B.parent);B.url=E("div.url",B.parent)}function C(P){return E.data(P,"tooltip")}function G(P){if(C(this).delay){O=setTimeout(N,C(this).delay)}else{N()}A=!!C(this).track;E(document.body).bind("mousemove",D);D(P)}function L(){if(E.tooltip.blocked||this==K||(!this.tooltipText&&!C(this).bodyHandler)){return }K=this;M=this.tooltipText;if(C(this).bodyHandler){B.title.hide();var S=C(this).bodyHandler.call(this);if(S.nodeType||S.jquery){B.body.empty().append(S)}else{B.body.html(S)}B.body.show()}else{if(C(this).showBody){var R=M.split(C(this).showBody);B.title.html(R.shift()).show();B.body.empty();for(var Q=0,P;(P=R[Q]);Q++){if(Q>0){B.body.append("<br/>")}B.body.append(P)}B.body.hideWhenEmpty()}else{B.title.html(M).show();B.body.hide()}}if(C(this).showURL&&E(this).url()){B.url.html(E(this).url().replace("http://","")).show()}else{B.url.hide()}B.parent.addClass(C(this).extraClass);if(C(this).fixPNG){B.parent.fixPNG()}G.apply(this,arguments)}function N(){O=null;if((!J||!E.fn.bgiframe)&&C(K).fade){if(B.parent.is(":animated")){B.parent.stop().show().fadeTo(C(K).fade,K.tOpacity)}else{B.parent.is(":visible")?B.parent.fadeTo(C(K).fade,K.tOpacity):B.parent.fadeIn(C(K).fade)}}else{B.parent.show()}D()}function D(S){if(E.tooltip.blocked){return }if(S&&S.target.tagName=="OPTION"){return }if(!A&&B.parent.is(":visible")){E(document.body).unbind("mousemove",D)}if(K==null){E(document.body).unbind("mousemove",D);return }B.parent.removeClass("viewport-right").removeClass("viewport-bottom");var U=B.parent[0].offsetLeft;var T=B.parent[0].offsetTop;if(S){U=S.pageX+C(K).left;T=S.pageY+C(K).top;var Q="auto";if(C(K).positionLeft){Q=E(window).width()-U;U="auto"}B.parent.css({left:U,right:Q,top:T})}var P=I(),R=B.parent[0];if(P.x+P.cx<R.offsetLeft+R.offsetWidth){U-=R.offsetWidth+20+C(K).left;B.parent.css({left:U+"px"}).addClass("viewport-right")}if(P.y+P.cy<R.offsetTop+R.offsetHeight){T-=R.offsetHeight+20+C(K).top;B.parent.css({top:T+"px"}).addClass("viewport-bottom")}}function I(){return{x:E(window).scrollLeft(),y:E(window).scrollTop(),cx:E(window).width(),cy:E(window).height()}}function F(R){if(E.tooltip.blocked){return }if(O){clearTimeout(O)}K=null;var Q=C(this);function P(){B.parent.removeClass(Q.extraClass).hide().css("opacity","")}if((!J||!E.fn.bgiframe)&&Q.fade){if(B.parent.is(":animated")){B.parent.stop().fadeTo(Q.fade,0,P)}else{B.parent.stop().fadeOut(Q.fade,P)}}else{P()}if(C(this).fixPNG){B.parent.unfixPNG()}}})(jQuery);$(document).ready(function(){$("#submit").click(function(){$(".error").hide();var A=false;var C=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;var B=$("#emailFrom").val();if(B==""){$("#emailFrom").after('<span class="error">You forgot to enter your email address.</span>');A=true}else{if(!C.test(B)){$("#emailFrom").after('<span class="error">Please enter a valid email address.</span>');A=true}}var F=$("#name").val();if(F==""){$("#name").after('<span class="error">You forgot to enter your name.</span>');A=true}var E=$("#subject").val();if(E==""){$("#subject").after('<span class="error">You forgot to enter a subject.</span>');A=true}var D=$("#message").val();if(D==""){$("#message").after('<span class="error">You forgot to enter a message.</span>');A=true}if(A==false){$(this).hide();$("#sendEmail li.buttons").append('<img src="../content/images/form-loader.gif" alt="Loading" id="loading" />');$.post("sendemail.php",{emailFrom:B,subject:E,message:D},function(G){$("#sendEmail").slideUp("normal",function(){$("#sendEmail").before("<h1>Thanks!</h1><p>Your message has been sent.  We will get back to you as soon as possible.</p>")})})}return false})});$(document).ready(function(){$(".scroll-pane").jScrollPane();$(".drawers").accordion({header:"a.handle",active:false,autoheight:false,alwaysOpen:false});jQuery(".drawers").accordion("activate",false);$("#photoset img").tooltip({track:true,delay:0,showURL:false,showBody:" - ",extraClass:"pretty",fixPNG:true,opacity:0.7,left:40,top:-80,fade:200});jQuery.fn.fadeIn=function(A,B){return this.animate({opacity:"show"},A,function(){if(jQuery.browser.msie){this.style.removeAttribute("filter")}if(typeof B=="function"){B()}})};jQuery.fn.fadeOut=function(A,B){return this.animate({opacity:"hide"},A,function(){if(jQuery.browser.msie){this.style.removeAttribute("filter")}if(typeof B=="function"){B()}})};jQuery.fn.fadeTo=function(A,C,B){return this.animate({opacity:C},A,function(){if(C==1&&jQuery.browser.msie){this.style.removeAttribute("filter")}if(typeof B=="function"){B()}})};$("#tabber").idTabs(function(C,A,B){$("a",B).removeClass("selected").filter("[@href='"+C+"']",B).addClass("selected");for(i in A){$(A[i]).hide()}$(C).fadeIn();return false})});

		
	
		
		
		

		
		
		

		

		

		
			
		
	
	
		
		
			
		
	
		
		
		

		
		
		

		

		

		
			
		
	
		
		
	
			
			
	
		
		
		
		
		
		
		
		

		
		
		

		

		

		
			
		
	
		
		
		
		
		
		
		
	
	
	
		


	