/*
 * jQuery JavaScript Library v1.4.4
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu Nov 11 19:04:53 2010 -0500
 */
(function(s,O){function g(c,t,B){if(B===O&&c.nodeType===1){B=c.getAttribute("data-"+t);if(typeof B==="string"){try{B=B==="true"?true:B==="false"?false:B==="null"?null:!u.isNaN(B)?parseFloat(B):aF.test(B)?u.parseJSON(B):B}catch(E){}u.data(c,t,B)}else{B=O}}return B}function F(){return false}function n(){return true}function h(c,t,B){B[0].type=c;return u.event.handle.apply(t,B)}function aG(V){var W,X,Y,U,P,T,S,E,c,t,Z,ab=[];U=[];P=u.data(this,this.nodeType?"events":"__events__");if(typeof P==="function"){P=P.events}if(!(V.liveFired===this||!P||!P.live||V.button&&V.type==="click")){if(V.namespace){Z=RegExp("(^|\\.)"+V.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}V.liveFired=this;var B=P.live.slice(0);for(S=0;S<B.length;S++){P=B[S];P.origType.replace(x,"")===V.type?U.push(P.selector):B.splice(S--,1)}U=u(V.target).closest(U,V.currentTarget);E=0;for(c=U.length;E<c;E++){t=U[E];for(S=0;S<B.length;S++){P=B[S];if(t.selector===P.selector&&(!Z||Z.test(P.namespace))){T=t.elem;Y=null;if(P.preType==="mouseenter"||P.preType==="mouseleave"){V.type=P.preType;Y=u(V.relatedTarget).closest(P.selector)[0]}if(!Y||Y!==T){ab.push({elem:T,handleObj:P,level:t.level})}}}}E=0;for(c=ab.length;E<c;E++){U=ab[E];if(X&&U.level>X){break}V.currentTarget=U.elem;V.data=U.handleObj.data;V.handleObj=U.handleObj;Z=U.handleObj.origHandler.apply(U.elem,arguments);if(Z===false||V.isPropagationStopped()){X=U.level;if(Z===false){W=false}if(V.isImmediatePropagationStopped()){break}}}return W}}function y(c,t){return(c&&c!=="*"?c+".":"")+t.replace(aH,"`").replace(aI,"&")}function i(c,t,B){if(u.isFunction(t)){return u.grep(c,function(S,P){return !!t.call(S,P,S)===B})}else{if(t.nodeType){return u.grep(c,function(P){return P===t===B})}else{if(typeof t==="string"){var E=u.grep(c,function(P){return P.nodeType===1});if(aJ.test(t)){return u.filter(t,E,!B)}else{t=u.filter(t,E)}}}}return u.grep(c,function(P){return u.inArray(P,t)>=0===B})}function j(c,t){var B=0;t.each(function(){if(this.nodeName===(c[B]&&c[B].nodeName)){var T=u.data(c[B++]),E=u.data(this,T);if(T=T&&T.events){delete E.handle;E.events={};for(var S in T){for(var P in T[S]){u.event.add(this,S,T[S][P],T[S][P].data)}}}}})}function aK(c,t){t.src?u.ajax({url:t.src,async:false,dataType:"script"}):u.globalEval(t.text||t.textContent||t.innerHTML||"");t.parentNode&&t.parentNode.removeChild(t)}function k(c,t,B){var E=t==="width"?c.offsetWidth:c.offsetHeight;if(B==="border"){return E}u.each(t==="width"?av:aw,function(){B||(E-=parseFloat(u.css(c,"padding"+this))||0);if(B==="margin"){E+=parseFloat(u.css(c,"margin"+this))||0}else{E-=parseFloat(u.css(c,"border"+this+"Width"))||0}});return E}function o(c,t,B,E){if(u.isArray(t)&&t.length){u.each(t,function(S,P){B||ax.test(c)?E(c,P):o(c+"["+(typeof P==="object"||u.isArray(P)?S:"")+"]",P,B,E)})}else{if(!B&&t!=null&&typeof t==="object"){u.isEmptyObject(t)?E(c,""):u.each(t,function(S,P){o(c+"["+S+"]",P,B,E)})}else{E(c,t)}}}function C(c,t){var B={};u.each(aV.concat.apply([],aV.slice(0,t)),function(){B[this]=c});return B}function aW(c){if(!p[c]){var t=u("<"+c+">").appendTo("body"),B=t.css("display");t.remove();if(B==="none"||B===""){B="block"}p[c]=B}return p[c]}function q(c){return u.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var ap=s.document,u=function(){function a5(){if(!a6.isReady){try{ap.documentElement.doScroll("left")}catch(bi){setTimeout(a5,1);return}a6.ready()}}var a6=function(bj,bi){return new a6.fn.init(bj,bi)},a7=s.jQuery,a8=s.$,a9,Y=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a1=/\S/,ab=/^\s+/,a4=/\s+$/,P=/\W/,V=/\d/,c=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,t=/^[\],:{}\s]*$/,bd=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,X=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bc=/(?:^|:|,)(?:\s*\[)+/g,be=/(webkit)[ \/]([\w.]+)/,ba=/(opera)(?:.*version)?[ \/]([\w.]+)/,Z=/(msie) ([\w.]+)/,a3=/(mozilla)(?:.*? rv:([\w.]+))?/,a2=navigator.userAgent,T=false,U=[],W,S=Object.prototype.toString,E=Object.prototype.hasOwnProperty,bf=Array.prototype.push,bg=Array.prototype.slice,bh=String.prototype.trim,B=Array.prototype.indexOf,bb={};a6.fn=a6.prototype={init:function(bj,bi){var bm,bk,bl;if(!bj){return this}if(bj.nodeType){this.context=this[0]=bj;this.length=1;return this}if(bj==="body"&&!bi&&ap.body){this.context=ap;this[0]=ap.body;this.selector="body";this.length=1;return this}if(typeof bj==="string"){if((bm=Y.exec(bj))&&(bm[1]||!bi)){if(bm[1]){bl=bi?bi.ownerDocument||bi:ap;if(bk=c.exec(bj)){if(a6.isPlainObject(bi)){bj=[ap.createElement(bk[1])];a6.fn.attr.call(bj,bi,true)}else{bj=[bl.createElement(bk[1])]}}else{bk=a6.buildFragment([bm[1]],[bl]);bj=(bk.cacheable?bk.fragment.cloneNode(true):bk.fragment).childNodes}return a6.merge(this,bj)}else{if((bk=ap.getElementById(bm[2]))&&bk.parentNode){if(bk.id!==bm[2]){return a9.find(bj)}this.length=1;this[0]=bk}this.context=ap;this.selector=bj;return this}}else{if(!bi&&!P.test(bj)){this.selector=bj;this.context=ap;bj=ap.getElementsByTagName(bj);return a6.merge(this,bj)}else{return !bi||bi.jquery?(bi||a9).find(bj):a6(bi).find(bj)}}}else{if(a6.isFunction(bj)){return a9.ready(bj)}}if(bj.selector!==O){this.selector=bj.selector;this.context=bj.context}return a6.makeArray(bj,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return bg.call(this,0)},get:function(bi){return bi==null?this.toArray():bi<0?this.slice(bi)[0]:this[bi]},pushStack:function(bj,bi,bl){var bk=a6();a6.isArray(bj)?bf.apply(bk,bj):a6.merge(bk,bj);bk.prevObject=this;bk.context=this.context;if(bi==="find"){bk.selector=this.selector+(this.selector?" ":"")+bl}else{if(bi){bk.selector=this.selector+"."+bi+"("+bl+")"}}return bk},each:function(bj,bi){return a6.each(this,bj,bi)},ready:function(bi){a6.bindReady();if(a6.isReady){bi.call(ap,a6)}else{U&&U.push(bi)}return this},eq:function(bi){return bi===-1?this.slice(bi):this.slice(bi,+bi+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bg.apply(this,arguments),"slice",bg.call(arguments).join(","))},map:function(bi){return this.pushStack(a6.map(this,function(bj,bk){return bi.call(bj,bk,bj)}))},end:function(){return this.prevObject||a6(null)},push:bf,sort:[].sort,splice:[].splice};a6.fn.init.prototype=a6.fn;a6.extend=a6.fn.extend=function(){var bm,bp,bq,bl,bk,bi=arguments[0]||{},bn=1,bo=arguments.length,bj=false;if(typeof bi==="boolean"){bj=bi;bi=arguments[1]||{};bn=2}if(typeof bi!=="object"&&!a6.isFunction(bi)){bi={}}if(bo===bn){bi=this;--bn}for(;bn<bo;bn++){if((bm=arguments[bn])!=null){for(bp in bm){bq=bi[bp];bl=bm[bp];if(bi!==bl){if(bj&&bl&&(a6.isPlainObject(bl)||(bk=a6.isArray(bl)))){if(bk){bk=false;bq=bq&&a6.isArray(bq)?bq:[]}else{bq=bq&&a6.isPlainObject(bq)?bq:{}}bi[bp]=a6.extend(bj,bq,bl)}else{if(bl!==O){bi[bp]=bl}}}}}}return bi};a6.extend({noConflict:function(bi){s.$=a8;if(bi){s.jQuery=a7}return a6},isReady:false,readyWait:1,ready:function(bj){bj===true&&a6.readyWait--;if(!a6.readyWait||bj!==true&&!a6.isReady){if(!ap.body){return setTimeout(a6.ready,1)}a6.isReady=true;if(!(bj!==true&&--a6.readyWait>0)){if(U){var bi=0,bk=U;for(U=null;bj=bk[bi++];){bj.call(ap,a6)}a6.fn.trigger&&a6(ap).trigger("ready").unbind("ready")}}}},bindReady:function(){if(!T){T=true;if(ap.readyState==="complete"){return setTimeout(a6.ready,1)}if(ap.addEventListener){ap.addEventListener("DOMContentLoaded",W,false);s.addEventListener("load",a6.ready,false)}else{if(ap.attachEvent){ap.attachEvent("onreadystatechange",W);s.attachEvent("onload",a6.ready);var bj=false;try{bj=s.frameElement==null}catch(bi){}ap.documentElement.doScroll&&bj&&a5()}}}},isFunction:function(bi){return a6.type(bi)==="function"},isArray:Array.isArray||function(bi){return a6.type(bi)==="array"},isWindow:function(bi){return bi&&typeof bi==="object"&&"setInterval" in bi},isNaN:function(bi){return bi==null||!V.test(bi)||isNaN(bi)},type:function(bi){return bi==null?String(bi):bb[S.call(bi)]||"object"},isPlainObject:function(bj){if(!bj||a6.type(bj)!=="object"||bj.nodeType||a6.isWindow(bj)){return false}if(bj.constructor&&!E.call(bj,"constructor")&&!E.call(bj.constructor.prototype,"isPrototypeOf")){return false}for(var bi in bj){}return bi===O||E.call(bj,bi)},isEmptyObject:function(bj){for(var bi in bj){return false}return true},error:function(bi){throw bi},parseJSON:function(bi){if(typeof bi!=="string"||!bi){return null}bi=a6.trim(bi);if(t.test(bi.replace(bd,"@").replace(X,"]").replace(bc,""))){return s.JSON&&s.JSON.parse?s.JSON.parse(bi):(new Function("return "+bi))()}else{a6.error("Invalid JSON: "+bi)}},noop:function(){},globalEval:function(bj){if(bj&&a1.test(bj)){var bi=ap.getElementsByTagName("head")[0]||ap.documentElement,bk=ap.createElement("script");bk.type="text/javascript";if(a6.support.scriptEval){bk.appendChild(ap.createTextNode(bj))}else{bk.text=bj}bi.insertBefore(bk,bi.firstChild);bi.removeChild(bk)}},nodeName:function(bj,bi){return bj.nodeName&&bj.nodeName.toUpperCase()===bi.toUpperCase()},each:function(bl,bn,bo){var bk,bj=0,bi=bl.length,bm=bi===O||a6.isFunction(bl);if(bo){if(bm){for(bk in bl){if(bn.apply(bl[bk],bo)===false){break}}}else{for(;bj<bi;){if(bn.apply(bl[bj++],bo)===false){break}}}}else{if(bm){for(bk in bl){if(bn.call(bl[bk],bk,bl[bk])===false){break}}}else{for(bo=bl[0];bj<bi&&bn.call(bo,bj,bo)!==false;bo=bl[++bj]){}}}return bl},trim:bh?function(bi){return bi==null?"":bh.call(bi)}:function(bi){return bi==null?"":bi.toString().replace(ab,"").replace(a4,"")},makeArray:function(bj,bi){var bl=bi||[];if(bj!=null){var bk=a6.type(bj);bj.length==null||bk==="string"||bk==="function"||bk==="regexp"||a6.isWindow(bj)?bf.call(bl,bj):a6.merge(bl,bj)}return bl},inArray:function(bj,bi){if(bi.indexOf){return bi.indexOf(bj)}for(var bl=0,bk=bi.length;bl<bk;bl++){if(bi[bl]===bj){return bl}}return -1},merge:function(bj,bi){var bm=bj.length,bk=0;if(typeof bi.length==="number"){for(var bl=bi.length;bk<bl;bk++){bj[bm++]=bi[bk]}}else{for(;bi[bk]!==O;){bj[bm++]=bi[bk++]}}bj.length=bm;return bj},grep:function(bl,bn,bo){var bk=[],bj;bo=!!bo;for(var bi=0,bm=bl.length;bi<bm;bi++){bj=!!bn(bl[bi],bi);bo!==bj&&bk.push(bl[bi])}return bk},map:function(bl,bn,bo){for(var bk=[],bj,bi=0,bm=bl.length;bi<bm;bi++){bj=bn(bl[bi],bi,bo);if(bj!=null){bk[bk.length]=bj}}return bk.concat.apply([],bk)},guid:1,proxy:function(bj,bi,bk){if(arguments.length===2){if(typeof bi==="string"){bk=bj;bj=bk[bi];bi=O}else{if(bi&&!a6.isFunction(bi)){bk=bi;bi=O}}}if(!bi&&bj){bi=function(){return bj.apply(bk||this,arguments)}}if(bj){bi.guid=bj.guid=bj.guid||bi.guid||a6.guid++}return bi},access:function(bl,bo,bp,bk,bj,bi){var bm=bl.length;if(typeof bo==="object"){for(var bn in bo){a6.access(bl,bn,bo[bn],bk,bj,bp)}return bl}if(bp!==O){bk=!bi&&bk&&a6.isFunction(bp);for(bn=0;bn<bm;bn++){bj(bl[bn],bo,bk?bp.call(bl[bn],bn,bj(bl[bn],bo)):bp,bi)}return bl}return bm?bj(bl[0],bo):O},now:function(){return(new Date).getTime()},uaMatch:function(bi){bi=bi.toLowerCase();bi=be.exec(bi)||ba.exec(bi)||Z.exec(bi)||bi.indexOf("compatible")<0&&a3.exec(bi)||[];return{browser:bi[1]||"",version:bi[2]||"0"}},browser:{}});a6.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bj,bi){bb["[object "+bi+"]"]=bi.toLowerCase()});a2=a6.uaMatch(a2);if(a2.browser){a6.browser[a2.browser]=true;a6.browser.version=a2.version}if(a6.browser.webkit){a6.browser.safari=true}if(B){a6.inArray=function(bj,bi){return B.call(bi,bj)}}if(!/\s/.test("\u00a0")){ab=/^[\s\xA0]+/;a4=/[\s\xA0]+$/}a9=a6(ap);if(ap.addEventListener){W=function(){ap.removeEventListener("DOMContentLoaded",W,false);a6.ready()}}else{if(ap.attachEvent){W=function(){if(ap.readyState==="complete"){ap.detachEvent("onreadystatechange",W);a6.ready()}}}}return s.jQuery=s.$=a6}();(function(){u.support={};var S=ap.documentElement,T=ap.createElement("script"),V=ap.createElement("div"),W="script"+u.now();V.style.display="none";V.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var X=V.getElementsByTagName("*"),c=V.getElementsByTagName("a")[0],E=ap.createElement("select"),B=E.appendChild(ap.createElement("option"));if(!(!X||!X.length||!c)){u.support={leadingWhitespace:V.firstChild.nodeType===3,tbody:!V.getElementsByTagName("tbody").length,htmlSerialize:!!V.getElementsByTagName("link").length,style:/red/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:/^0.55$/.test(c.style.opacity),cssFloat:!!c.style.cssFloat,checkOn:V.getElementsByTagName("input")[0].value==="on",optSelected:B.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};E.disabled=true;u.support.optDisabled=!B.disabled;T.type="text/javascript";try{T.appendChild(ap.createTextNode("window."+W+"=1;"))}catch(P){}S.insertBefore(T,S.firstChild);if(s[W]){u.support.scriptEval=true;delete s[W]}try{delete T.test}catch(t){u.support.deleteExpando=false}S.removeChild(T);if(V.attachEvent&&V.fireEvent){V.attachEvent("onclick",function U(){u.support.noCloneEvent=false;V.detachEvent("onclick",U)});V.cloneNode(true).fireEvent("onclick")}V=ap.createElement("div");V.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";S=ap.createDocumentFragment();S.appendChild(V.firstChild);u.support.checkClone=S.cloneNode(true).cloneNode(true).lastChild.checked;u(function(){var Y=ap.createElement("div");Y.style.width=Y.style.paddingLeft="1px";ap.body.appendChild(Y);u.boxModel=u.support.boxModel=Y.offsetWidth===2;if("zoom" in Y.style){Y.style.display="inline";Y.style.zoom=1;u.support.inlineBlockNeedsLayout=Y.offsetWidth===2;Y.style.display="";Y.innerHTML="<div style='width:4px;'></div>";u.support.shrinkWrapBlocks=Y.offsetWidth!==2}Y.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var Z=Y.getElementsByTagName("td");u.support.reliableHiddenOffsets=Z[0].offsetHeight===0;Z[0].style.display="";Z[1].style.display="none";u.support.reliableHiddenOffsets=u.support.reliableHiddenOffsets&&Z[0].offsetHeight===0;Y.innerHTML="";ap.body.removeChild(Y).style.display="none"});S=function(Z){var ab=ap.createElement("div");Z="on"+Z;var Y=Z in ab;if(!Y){ab.setAttribute(Z,"return;");Y=typeof ab[Z]==="function"}return Y};u.support.submitBubbles=S("submit");u.support.changeBubbles=S("change");S=T=V=X=c=null}})();var aX={},aF=/^(?:\{.*\}|\[.*\])$/;u.extend({cache:{},uuid:0,expando:"jQuery"+u.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(t,B,E){if(u.acceptData(t)){t=t==s?aX:t;var P=t.nodeType,S=P?t[u.expando]:null,c=u.cache;if(!(P&&!S&&typeof B==="string"&&E===O)){if(P){S||(t[u.expando]=S=++u.uuid)}else{c=t}if(typeof B==="object"){if(P){c[S]=u.extend(c[S],B)}else{u.extend(c,B)}}else{if(P&&!c[S]){c[S]={}}}t=P?c[S]:c;if(E!==O){t[B]=E}return typeof B==="string"?t[B]:t}}},removeData:function(B,E){if(u.acceptData(B)){B=B==s?aX:B;var P=B.nodeType,S=P?B[u.expando]:B,T=u.cache,c=P?T[S]:S;if(E){if(c){delete c[E];P&&u.isEmptyObject(c)&&u.removeData(B)}}else{if(P&&u.support.deleteExpando){delete B[u.expando]}else{if(B.removeAttribute){B.removeAttribute(u.expando)}else{if(P){delete T[S]}else{for(var t in B){delete B[t]}}}}}}},acceptData:function(c){if(c.nodeName){var t=u.noData[c.nodeName.toLowerCase()];if(t){return !(t===true||c.getAttribute("classid")!==t)}}return true}});u.fn.extend({data:function(E,P){var S=null;if(typeof E==="undefined"){if(this.length){var T=this[0].attributes,U;S=u.data(this[0]);for(var c=0,B=T.length;c<B;c++){U=T[c].name;if(U.indexOf("data-")===0){U=U.substr(5);g(this[0],U,S[U])}}}return S}else{if(typeof E==="object"){return this.each(function(){u.data(this,E)})}}var t=E.split(".");t[1]=t[1]?"."+t[1]:"";if(P===O){S=this.triggerHandler("getData"+t[1]+"!",[t[0]]);if(S===O&&this.length){S=u.data(this[0],E);S=g(this[0],E,S)}return S===O&&t[1]?this.data(t[0]):S}else{return this.each(function(){var V=u(this),W=[t[0],P];V.triggerHandler("setData"+t[1]+"!",W);u.data(this,E,P);V.triggerHandler("changeData"+t[1]+"!",W)})}},removeData:function(c){return this.each(function(){u.removeData(this,c)})}});u.extend({queue:function(c,t,B){if(c){t=(t||"fx")+"queue";var E=u.data(c,t);if(!B){return E||[]}if(!E||u.isArray(B)){E=u.data(c,t,u.makeArray(B))}else{E.push(B)}return E}},dequeue:function(c,t){t=t||"fx";var B=u.queue(c,t),E=B.shift();if(E==="inprogress"){E=B.shift()}if(E){t==="fx"&&B.unshift("inprogress");E.call(c,function(){u.dequeue(c,t)})}}});u.fn.extend({queue:function(c,t){if(typeof c!=="string"){t=c;c="fx"}if(t===O){return u.queue(this[0],c)}return this.each(function(){var B=u.queue(this,c,t);c==="fx"&&B[0]!=="inprogress"&&u.dequeue(this,c)})},dequeue:function(c){return this.each(function(){u.dequeue(this,c)})},delay:function(c,t){c=u.fx?u.fx.speeds[c]||c:c;t=t||"fx";return this.queue(t,function(){var B=this;setTimeout(function(){u.dequeue(B,t)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var aY=/[\n\t]/g,d=/\s+/,ay=/\r/g,az=/^(?:href|src|style)$/,aA=/^(?:button|input)$/i,aB=/^(?:button|input|object|select|textarea)$/i,aC=/^a(?:rea)?$/i,aZ=/^(?:radio|checkbox)$/i;u.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};u.fn.extend({attr:function(c,t){return u.access(this,c,t,true,u.attr)},removeAttr:function(c){return this.each(function(){u.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(P){if(u.isFunction(P)){return this.each(function(X){var W=u(this);W.addClass(P.call(this,X,W.attr("class")))})}if(P&&typeof P==="string"){for(var S=(P||"").split(d),T=0,U=this.length;T<U;T++){var V=this[T];if(V.nodeType===1){if(V.className){for(var c=" "+V.className+" ",B=V.className,t=0,E=S.length;t<E;t++){if(c.indexOf(" "+S[t]+" ")<0){B+=" "+S[t]}}V.className=u.trim(B)}else{V.className=P}}}}return this},removeClass:function(E){if(u.isFunction(E)){return this.each(function(V){var W=u(this);W.removeClass(E.call(this,V,W.attr("class")))})}if(E&&typeof E==="string"||E===O){for(var P=(E||"").split(d),S=0,T=this.length;S<T;S++){var U=this[S];if(U.nodeType===1&&U.className){if(E){for(var c=(" "+U.className+" ").replace(aY," "),B=0,t=P.length;B<t;B++){c=c.replace(" "+P[B]+" "," ")}U.className=u.trim(c)}else{U.className=""}}}}return this},toggleClass:function(c,t){var B=typeof c,E=typeof t==="boolean";if(u.isFunction(c)){return this.each(function(S){var P=u(this);P.toggleClass(c.call(this,S,P.attr("class"),t),t)})}return this.each(function(){if(B==="string"){for(var P,V=0,U=u(this),T=t,S=c.split(d);P=S[V++];){T=E?T:!U.hasClass(P);U[T?"addClass":"removeClass"](P)}}else{if(B==="undefined"||B==="boolean"){this.className&&u.data(this,"__className__",this.className);this.className=this.className||c===false?"":u.data(this,"__className__")||""}}})},hasClass:function(c){c=" "+c+" ";for(var t=0,B=this.length;t<B;t++){if((" "+this[t].className+" ").replace(aY," ").indexOf(c)>-1){return true}}return false},val:function(E){if(!arguments.length){var P=this[0];if(P){if(u.nodeName(P,"option")){var S=P.attributes.value;return !S||S.specified?P.value:P.text}if(u.nodeName(P,"select")){var T=P.selectedIndex;S=[];var U=P.options;P=P.type==="select-one";if(T<0){return null}var c=P?T:0;for(T=P?T+1:U.length;c<T;c++){var B=U[c];if(B.selected&&(u.support.optDisabled?!B.disabled:B.getAttribute("disabled")===null)&&(!B.parentNode.disabled||!u.nodeName(B.parentNode,"optgroup"))){E=u(B).val();if(P){return E}S.push(E)}}return S}if(aZ.test(P.type)&&!u.support.checkOn){return P.getAttribute("value")===null?"on":P.value}return(P.value||"").replace(ay,"")}return O}var t=u.isFunction(E);return this.each(function(V){var Y=u(this),W=E;if(this.nodeType===1){if(t){W=E.call(this,V,Y.val())}if(W==null){W=""}else{if(typeof W==="number"){W+=""}else{if(u.isArray(W)){W=u.map(W,function(Z){return Z==null?"":Z+""})}}}if(u.isArray(W)&&aZ.test(this.type)){this.checked=u.inArray(Y.val(),W)>=0}else{if(u.nodeName(this,"select")){var X=u.makeArray(W);u("option",this).each(function(){this.selected=u.inArray(u(this).val(),X)>=0});if(!X.length){this.selectedIndex=-1}}else{this.value=W}}}})}});u.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(t,B,E,P){if(!t||t.nodeType===3||t.nodeType===8){return O}if(P&&B in u.attrFn){return u(t)[B](E)}P=t.nodeType!==1||!u.isXMLDoc(t);var S=E!==O;B=P&&u.props[B]||B;var c=az.test(B);if((B in t||t[B]!==O)&&P&&!c){if(S){B==="type"&&aA.test(t.nodeName)&&t.parentNode&&u.error("type property can't be changed");if(E===null){t.nodeType===1&&t.removeAttribute(B)}else{t[B]=E}}if(u.nodeName(t,"form")&&t.getAttributeNode(B)){return t.getAttributeNode(B).nodeValue}if(B==="tabIndex"){return(B=t.getAttributeNode("tabIndex"))&&B.specified?B.value:aB.test(t.nodeName)||aC.test(t.nodeName)&&t.href?0:O}return t[B]}if(!u.support.style&&P&&B==="style"){if(S){t.style.cssText=""+E}return t.style.cssText}S&&t.setAttribute(B,""+E);if(!t.attributes[B]&&t.hasAttribute&&!t.hasAttribute(B)){return O}t=!u.support.hrefNormalized&&P&&c?t.getAttribute(B,2):t.getAttribute(B);return t===null?O:t}});var x=/\.(.*)$/,e=/^(?:textarea|input|select)$/i,aH=/\./g,aI=/ /g,aq=/[^\w\s.|`]/g,ar=function(c){return c.replace(aq,"\\$&")},a0={focusin:0,focusout:0};u.event={add:function(U,V,W,X){if(!(U.nodeType===3||U.nodeType===8)){if(u.isWindow(U)&&U!==s&&!U.frameElement){U=s}if(W===false){W=F}else{if(!W){return}}var T,E;if(W.handler){T=W;W=T.handler}if(!W.guid){W.guid=u.guid++}if(E=u.data(U)){var S=U.nodeType?"events":"__events__",P=E[S],B=E.handle;if(typeof P==="function"){B=P.handle;P=P.events}else{if(!P){U.nodeType||(E[S]=E=function(){});E.events=P={}}}if(!B){E.handle=B=function(){return typeof u!=="undefined"&&!u.event.triggered?u.event.handle.apply(B.elem,arguments):O}}B.elem=U;V=V.split(" ");for(var c=0,t;S=V[c++];){E=T?u.extend({},T):{handler:W,data:X};if(S.indexOf(".")>-1){t=S.split(".");S=t.shift();E.namespace=t.slice(0).sort().join(".")}else{t=[];E.namespace=""}E.type=S;if(!E.guid){E.guid=W.guid}var Y=P[S],Z=u.event.special[S]||{};if(!Y){Y=P[S]=[];if(!Z.setup||Z.setup.call(U,X,t,B)===false){if(U.addEventListener){U.addEventListener(S,B,false)}else{U.attachEvent&&U.attachEvent("on"+S,B)}}}if(Z.add){Z.add.call(U,E);if(!E.handler.guid){E.handler.guid=W.guid}}Y.push(E);u.event.global[S]=true}U=null}}},global:{},remove:function(X,Y,Z,ab){if(!(X.nodeType===3||X.nodeType===8)){if(Z===false){Z=F}var W,S,U=0,T,P,c,B,a1,a2,E=X.nodeType?"events":"__events__",t=u.data(X),V=t&&t[E];if(t&&V){if(typeof V==="function"){t=V;V=V.events}if(Y&&Y.type){Z=Y.handler;Y=Y.type}if(!Y||typeof Y==="string"&&Y.charAt(0)==="."){Y=Y||"";for(W in V){u.event.remove(X,W+Y)}}else{for(Y=Y.split(" ");W=Y[U++];){B=W;T=W.indexOf(".")<0;P=[];if(!T){P=W.split(".");W=P.shift();c=RegExp("(^|\\.)"+u.map(P.slice(0).sort(),ar).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(a1=V[W]){if(Z){B=u.event.special[W]||{};for(S=ab||0;S<a1.length;S++){a2=a1[S];if(Z.guid===a2.guid){if(T||c.test(a2.namespace)){ab==null&&a1.splice(S--,1);B.remove&&B.remove.call(X,a2)}if(ab!=null){break}}}if(a1.length===0||ab!=null&&a1.length===1){if(!B.teardown||B.teardown.call(X,P)===false){u.removeEvent(X,W,t.handle)}delete V[W]}}else{for(S=0;S<a1.length;S++){a2=a1[S];if(T||c.test(a2.namespace)){u.event.remove(X,B,a2.handler,S);a1.splice(S--,1)}}}}}if(u.isEmptyObject(V)){if(Y=t.handle){Y.elem=null}delete t.events;delete t.handle;if(typeof t==="function"){u.removeData(X,E)}else{u.isEmptyObject(t)&&u.removeData(X)}}}}}},trigger:function(S,T,V,W){var X=S.type||S;if(!W){S=typeof S==="object"?S[u.expando]?S:u.extend(u.Event(X),S):u.Event(X);if(X.indexOf("!")>=0){S.type=X=X.slice(0,-1);S.exclusive=true}if(!V){S.stopPropagation();u.event.global[X]&&u.each(u.cache,function(){this.events&&this.events[X]&&u.event.trigger(S,T,this.handle.elem)})}if(!V||V.nodeType===3||V.nodeType===8){return O}S.result=O;S.target=V;T=u.makeArray(T);T.unshift(S)}S.currentTarget=V;(W=V.nodeType?u.data(V,"handle"):(u.data(V,"__events__")||{}).handle)&&W.apply(V,T);W=V.parentNode||V.ownerDocument;try{if(!(V&&V.nodeName&&u.noData[V.nodeName.toLowerCase()])){if(V["on"+X]&&V["on"+X].apply(V,T)===false){S.result=false;S.preventDefault()}}}catch(c){}if(!S.isPropagationStopped()&&W){u.event.trigger(S,T,W,true)}else{if(!S.isDefaultPrevented()){var E;W=S.target;var B=X.replace(x,""),P=u.nodeName(W,"a")&&B==="click",t=u.event.special[B]||{};if((!t._default||t._default.call(V,S)===false)&&!P&&!(W&&W.nodeName&&u.noData[W.nodeName.toLowerCase()])){try{if(W[B]){if(E=W["on"+B]){W["on"+B]=null}u.event.triggered=true;W[B]()}}catch(U){}if(E){W["on"+B]=E}u.event.triggered=false}}}},handle:function(E){var P,S,T,U;S=[];var c=u.makeArray(arguments);E=c[0]=u.event.fix(E||s.event);E.currentTarget=this;P=E.type.indexOf(".")<0&&!E.exclusive;if(!P){T=E.type.split(".");E.type=T.shift();S=T.slice(0).sort();T=RegExp("(^|\\.)"+S.join("\\.(?:.*\\.)?")+"(\\.|$)")}E.namespace=E.namespace||S.join(".");U=u.data(this,this.nodeType?"events":"__events__");if(typeof U==="function"){U=U.events}S=(U||{})[E.type];if(U&&S){S=S.slice(0);U=0;for(var B=S.length;U<B;U++){var t=S[U];if(P||T.test(t.namespace)){E.handler=t.handler;E.data=t.data;E.handleObj=t;t=t.handler.apply(this,c);if(t!==O){E.result=t;if(t===false){E.preventDefault();E.stopPropagation()}}if(E.isImmediatePropagationStopped()){break}}}}return E.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[u.expando]){return c}var t=c;c=u.Event(t);for(var B=this.props.length,E;B;){E=this.props[--B];c[E]=t[E]}if(!c.target){c.target=c.srcElement||ap}if(c.target.nodeType===3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){t=ap.documentElement;B=ap.body;c.pageX=c.clientX+(t&&t.scrollLeft||B&&B.scrollLeft||0)-(t&&t.clientLeft||B&&B.clientLeft||0);c.pageY=c.clientY+(t&&t.scrollTop||B&&B.scrollTop||0)-(t&&t.clientTop||B&&B.clientTop||0)}if(c.which==null&&(c.charCode!=null||c.keyCode!=null)){c.which=c.charCode!=null?c.charCode:c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button!==O){c.which=c.button&1?1:c.button&2?3:c.button&4?2:0}return c},guid:100000000,proxy:u.proxy,special:{ready:{setup:u.bindReady,teardown:u.noop},live:{add:function(c){u.event.add(this,y(c.origType,c.selector),u.extend({},c,{handler:aG,guid:c.handler.guid}))},remove:function(c){u.event.remove(this,y(c.origType,c.selector),c)}},beforeunload:{setup:function(c,t,B){if(u.isWindow(this)){this.onbeforeunload=B}},teardown:function(c,t){if(this.onbeforeunload===t){this.onbeforeunload=null}}}}};u.removeEvent=ap.removeEventListener?function(c,t,B){c.removeEventListener&&c.removeEventListener(t,B,false)}:function(c,t,B){c.detachEvent&&c.detachEvent("on"+t,B)};u.Event=function(c){if(!this.preventDefault){return new u.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=u.now();this[u.expando]=true};u.Event.prototype={preventDefault:function(){this.isDefaultPrevented=n;var c=this.originalEvent;if(c){if(c.preventDefault){c.preventDefault()}else{c.returnValue=false}}},stopPropagation:function(){this.isPropagationStopped=n;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=n;this.stopPropagation()},isDefaultPrevented:F,isPropagationStopped:F,isImmediatePropagationStopped:F};var a=function(c){var t=c.relatedTarget;try{for(;t&&t!==this;){t=t.parentNode}if(t!==this){c.type=c.data;u.event.handle.apply(this,arguments)}}catch(B){}},b=function(c){c.type=c.data;u.event.handle.apply(this,arguments)};u.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,t){u.event.special[c]={setup:function(B){u.event.add(this,t,B&&B.selector?b:a,c)},teardown:function(B){u.event.remove(this,t,B&&B.selector?b:a)}}});if(!u.support.submitBubbles){u.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){u.event.add(this,"click.specialSubmit",function(c){var t=c.target,B=t.type;if((B==="submit"||B==="image")&&u(t).closest("form").length){c.liveFired=O;return h("submit",this,arguments)}});u.event.add(this,"keypress.specialSubmit",function(c){var t=c.target,B=t.type;if((B==="text"||B==="password")&&u(t).closest("form").length&&c.keyCode===13){c.liveFired=O;return h("submit",this,arguments)}})}else{return false}},teardown:function(){u.event.remove(this,".specialSubmit")}}}if(!u.support.changeBubbles){var G,aS=function(c){var t=c.type,B=c.value;if(t==="radio"||t==="checkbox"){B=c.checked}else{if(t==="select-multiple"){B=c.selectedIndex>-1?u.map(c.options,function(E){return E.selected}).join("-"):""}else{if(c.nodeName.toLowerCase()==="select"){B=c.selectedIndex}}}return B},z=function(t,B){var E=t.target,P,c;if(!(!e.test(E.nodeName)||E.readOnly)){P=u.data(E,"_change_data");c=aS(E);if(t.type!=="focusout"||E.type!=="radio"){u.data(E,"_change_data",c)}if(!(P===O||c===P)){if(P!=null||c){t.type="change";t.liveFired=O;return u.event.trigger(t,B,E)}}}};u.event.special.change={filters:{focusout:z,beforedeactivate:z,click:function(c){var t=c.target,B=t.type;if(B==="radio"||B==="checkbox"||t.nodeName.toLowerCase()==="select"){return z.call(this,c)}},keydown:function(c){var t=c.target,B=t.type;if(c.keyCode===13&&t.nodeName.toLowerCase()!=="textarea"||c.keyCode===32&&(B==="checkbox"||B==="radio")||B==="select-multiple"){return z.call(this,c)}},beforeactivate:function(c){c=c.target;u.data(c,"_change_data",aS(c))}},setup:function(){if(this.type==="file"){return false}for(var c in G){u.event.add(this,c+".specialChange",G[c])}return e.test(this.nodeName)},teardown:function(){u.event.remove(this,".specialChange");return e.test(this.nodeName)}};G=u.event.special.change.filters;G.focus=G.beforeactivate}ap.addEventListener&&u.each({focus:"focusin",blur:"focusout"},function(c,t){function B(E){E=u.event.fix(E);E.type=t;return u.event.trigger(E,null,E.target)}u.event.special[t]={setup:function(){a0[t]++===0&&ap.addEventListener(c,B,true)},teardown:function(){--a0[t]===0&&ap.removeEventListener(c,B,true)}}});u.each(["bind","one"],function(c,t){u.fn[t]=function(S,T,U){if(typeof S==="object"){for(var B in S){this[t](B,T,S[B],U)}return this}if(u.isFunction(T)||T===false){U=T;T=O}var P=t==="one"?u.proxy(U,function(V){u(this).unbind(V,P);return U.apply(this,arguments)}):U;if(S==="unload"&&t!=="one"){this.one(S,T,U)}else{B=0;for(var E=this.length;B<E;B++){u.event.add(this[B],S,P,T)}}return this}});u.fn.extend({unbind:function(c,t){if(typeof c==="object"&&!c.preventDefault){for(var B in c){this.unbind(B,c[B])}}else{B=0;for(var E=this.length;B<E;B++){u.event.remove(this[B],c,t)}}return this},delegate:function(c,t,B,E){return this.live(t,B,E,c)},undelegate:function(c,t,B){return arguments.length===0?this.unbind("live"):this.die(t,null,B,c)},trigger:function(c,t){return this.each(function(){u.event.trigger(c,t,this)})},triggerHandler:function(c,t){if(this[0]){var B=u.Event(c);B.preventDefault();B.stopPropagation();u.event.trigger(B,t,this[0]);return B.result}},toggle:function(c){for(var t=arguments,B=1;B<t.length;){u.proxy(c,t[B++])}return this.click(u.proxy(c,function(E){var P=(u.data(this,"lastToggle"+c.guid)||0)%B;u.data(this,"lastToggle"+c.guid,P+1);E.preventDefault();return t[P].apply(this,arguments)||false}))},hover:function(c,t){return this.mouseenter(c).mouseleave(t||c)}});var aT={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};u.each(["live","die"],function(c,t){u.fn[t]=function(V,W,X,B){var S,P=0,T,E,U=B||this.selector;B=B?this:u(this.context);if(typeof V==="object"&&!V.preventDefault){for(S in V){B[t](S,W,V[S],U)}return this}if(u.isFunction(W)){X=W;W=O}for(V=(V||"").split(" ");(S=V[P++])!=null;){T=x.exec(S);E="";if(T){E=T[0];S=S.replace(x,"")}if(S==="hover"){V.push("mouseenter"+E,"mouseleave"+E)}else{T=S;if(S==="focus"||S==="blur"){V.push(aT[S]+E);S+=E}else{S=(aT[S]||S)+E}if(t==="live"){E=0;for(var Y=B.length;E<Y;E++){u.event.add(B[E],"live."+y(S,U),{data:W,selector:U,handler:X,origType:S,origHandler:X,preType:T})}}else{B.unbind("live."+y(S,U),X)}}}return this}});u.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,t){u.fn[t]=function(B,E){if(E==null){E=B;B=null}return arguments.length>0?this.bind(t,B,E):this.trigger(t)};if(u.attrFn){u.attrFn[t]=true}});s.attachEvent&&!s.addEventListener&&u(s).bind("unload",function(){for(var c in u.cache){if(u.cache[c].handle){try{u.event.remove(u.cache[c].handle.elem)}catch(t){}}}});(function(){function X(bb,a4,a7,a6,a8,a9){a8=0;for(var ba=a6.length;a8<ba;a8++){var a5=a6[a8];if(a5){var bc=false;for(a5=a5[bb];a5;){if(a5.sizcache===a7){bc=a6[a5.sizset];break}if(a5.nodeType===1&&!a9){a5.sizcache=a7;a5.sizset=a8}if(a5.nodeName.toLowerCase()===a4){bc=a5;break}a5=a5[bb]}a6[a8]=bc}}}function Y(bb,a4,a7,a6,a8,a9){a8=0;for(var ba=a6.length;a8<ba;a8++){var a5=a6[a8];if(a5){var bc=false;for(a5=a5[bb];a5;){if(a5.sizcache===a7){bc=a6[a5.sizset];break}if(a5.nodeType===1){if(!a9){a5.sizcache=a7;a5.sizset=a8}if(typeof a4!=="string"){if(a5===a4){bc=true;break}}else{if(T.filter(a4,[a5]).length>0){bc=a5;break}}}a5=a5[bb]}a6[a8]=bc}}}var Z=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,ab=0,W=Object.prototype.toString,S=false,U=true;[0,0].sort(function(){U=false;return 0});var T=function(bf,a9,bb,ba){bb=bb||[];var a5=a9=a9||ap;if(a9.nodeType!==1&&a9.nodeType!==9){return[]}if(!bf||typeof bf!=="string"){return bb}var a6,a7,a4,bh,bc,bd=true,be=T.isXML(a9),bg=[],a8=bf;do{Z.exec("");if(a6=Z.exec(a8)){a8=a6[3];bg.push(a6[1]);if(a6[2]){bh=a6[3];break}}}while(a6);if(bg.length>1&&c.exec(bf)){if(bg.length===2&&P.relative[bg[0]]){a7=a3(bg[0]+bg[1],a9)}else{for(a7=P.relative[bg[0]]?[a9]:T(bg.shift(),a9);bg.length;){bf=bg.shift();if(P.relative[bf]){bf+=bg.shift()}a7=a3(bf,a7)}}}else{if(!ba&&bg.length>1&&a9.nodeType===9&&!be&&P.match.ID.test(bg[0])&&!P.match.ID.test(bg[bg.length-1])){a6=T.find(bg.shift(),a9,be);a9=a6.expr?T.filter(a6.expr,a6.set)[0]:a6.set[0]}if(a9){a6=ba?{expr:bg.pop(),set:a2(ba)}:T.find(bg.pop(),bg.length===1&&(bg[0]==="~"||bg[0]==="+")&&a9.parentNode?a9.parentNode:a9,be);a7=a6.expr?T.filter(a6.expr,a6.set):a6.set;if(bg.length>0){a4=a2(a7)}else{bd=false}for(;bg.length;){a6=bc=bg.pop();if(P.relative[bc]){a6=bg.pop()}else{bc=""}if(a6==null){a6=a9}P.relative[bc](a4,a6,be)}}else{a4=[]}}a4||(a4=a7);a4||T.error(bc||bf);if(W.call(a4)==="[object Array]"){if(bd){if(a9&&a9.nodeType===1){for(bf=0;a4[bf]!=null;bf++){if(a4[bf]&&(a4[bf]===true||a4[bf].nodeType===1&&T.contains(a9,a4[bf]))){bb.push(a7[bf])}}}else{for(bf=0;a4[bf]!=null;bf++){a4[bf]&&a4[bf].nodeType===1&&bb.push(a7[bf])}}}else{bb.push.apply(bb,a4)}}else{a2(a4,bb)}if(bh){T(bh,a5,bb,ba);T.uniqueSort(bb)}return bb};T.uniqueSort=function(a4){if(t){S=U;a4.sort(t);if(S){for(var a5=1;a5<a4.length;a5++){a4[a5]===a4[a5-1]&&a4.splice(a5--,1)}}}return a4};T.matches=function(a4,a5){return T(a4,null,null,a5)};T.matchesSelector=function(a4,a5){return T(a5,null,null,[a4]).length>0};T.find=function(bb,a4,a7){var a6;if(!bb){return[]}for(var a8=0,a9=P.order.length;a8<a9;a8++){var ba,a5=P.order[a8];if(ba=P.leftMatch[a5].exec(bb)){var bc=ba[1];ba.splice(1,1);if(bc.substr(bc.length-1)!=="\\"){ba[1]=(ba[1]||"").replace(/\\/g,"");a6=P.find[a5](ba,a4,a7);if(a6!=null){bb=bb.replace(P.match[a5],"");break}}}}a6||(a6=a4.getElementsByTagName("*"));return{set:a6,expr:bb}};T.filter=function(bh,ba,bd,bc){for(var a5,a6,a8=bh,a4=[],bj=ba,be=ba&&ba[0]&&T.isXML(ba[0]);bh&&ba.length;){for(var bf in P.filter){if((a5=P.leftMatch[bf].exec(bh))!=null&&a5[2]){var bg,bi,a9=P.filter[bf];bi=a5[1];a6=false;a5.splice(1,1);if(bi.substr(bi.length-1)!=="\\"){if(bj===a4){a4=[]}if(P.preFilter[bf]){if(a5=P.preFilter[bf](a5,bj,bd,a4,bc,be)){if(a5===true){continue}}else{a6=bg=true}}if(a5){for(var bb=0;(bi=bj[bb])!=null;bb++){if(bi){bg=a9(bi,a5,bb,bj);var a7=bc^!!bg;if(bd&&bg!=null){if(a7){a6=true}else{bj[bb]=false}}else{if(a7){a4.push(bi);a6=true}}}}}if(bg!==O){bd||(bj=a4);bh=bh.replace(P.match[bf],"");if(!a6){return[]}break}}}}if(bh===a8){if(a6==null){T.error(bh)}else{break}}a8=bh}return bj};T.error=function(a4){throw"Syntax error, unrecognized expression: "+a4};var P=T.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a4){return a4.getAttribute("href")}},relative:{"+":function(a9,a4){var a6=typeof a4==="string",a5=a6&&!/\W/.test(a4);a6=a6&&!a5;if(a5){a4=a4.toLowerCase()}a5=0;for(var a7=a9.length,a8;a5<a7;a5++){if(a8=a9[a5]){for(;(a8=a8.previousSibling)&&a8.nodeType!==1;){}a9[a5]=a6||a8&&a8.nodeName.toLowerCase()===a4?a8||false:a8===a4}}a6&&T.filter(a4,a9,true)},">":function(a9,a4){var a6,a5=typeof a4==="string",a7=0,a8=a9.length;if(a5&&!/\W/.test(a4)){for(a4=a4.toLowerCase();a7<a8;a7++){if(a6=a9[a7]){a6=a6.parentNode;a9[a7]=a6.nodeName.toLowerCase()===a4?a6:false}}}else{for(;a7<a8;a7++){if(a6=a9[a7]){a9[a7]=a5?a6.parentNode:a6.parentNode===a4}}a5&&T.filter(a4,a9,true)}},"":function(a9,a4,a6){var a5,a7=ab++,a8=Y;if(typeof a4==="string"&&!/\W/.test(a4)){a5=a4=a4.toLowerCase();a8=X}a8("parentNode",a4,a7,a9,a5,a6)},"~":function(a9,a4,a6){var a5,a7=ab++,a8=Y;if(typeof a4==="string"&&!/\W/.test(a4)){a5=a4=a4.toLowerCase();a8=X}a8("previousSibling",a4,a7,a9,a5,a6)}},find:{ID:function(a4,a5,a6){if(typeof a5.getElementById!=="undefined"&&!a6){return(a4=a5.getElementById(a4[1]))&&a4.parentNode?[a4]:[]}},NAME:function(a9,a4){if(typeof a4.getElementsByName!=="undefined"){for(var a6=[],a5=a4.getElementsByName(a9[1]),a7=0,a8=a5.length;a7<a8;a7++){a5[a7].getAttribute("name")===a9[1]&&a6.push(a5[a7])}return a6.length===0?null:a6}},TAG:function(a4,a5){return a5.getElementsByTagName(a4[1])}},preFilter:{CLASS:function(ba,a4,a6,a5,a7,a8){ba=" "+ba[1].replace(/\\/g,"")+" ";if(a8){return ba}a8=0;for(var a9;(a9=a4[a8])!=null;a8++){if(a9){if(a7^(a9.className&&(" "+a9.className+" ").replace(/[\t\n]/g," ").indexOf(ba)>=0)){a6||a5.push(a9)}else{if(a6){a4[a8]=false}}}}return false},ID:function(a4){return a4[1].replace(/\\/g,"")},TAG:function(a4){return a4[1].toLowerCase()},CHILD:function(a4){if(a4[1]==="nth"){var a5=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a4[2]==="even"&&"2n"||a4[2]==="odd"&&"2n+1"||!/\D/.test(a4[2])&&"0n+"+a4[2]||a4[2]);a4[2]=a5[1]+(a5[2]||1)-0;a4[3]=a5[3]-0}a4[0]=ab++;return a4},ATTR:function(a9,a4,a6,a5,a7,a8){a4=a9[1].replace(/\\/g,"");if(!a8&&P.attrMap[a4]){a9[1]=P.attrMap[a4]}if(a9[2]==="~="){a9[4]=" "+a9[4]+" "}return a9},PSEUDO:function(a4,a5,a8,a7,a6){if(a4[1]==="not"){if((Z.exec(a4[3])||"").length>1||/^\w/.test(a4[3])){a4[3]=T(a4[3],null,null,a5)}else{a4=T.filter(a4[3],a5,a8,true^a6);a8||a7.push.apply(a7,a4);return false}}else{if(P.match.POS.test(a4[0])||P.match.CHILD.test(a4[0])){return true}}return a4},POS:function(a4){a4.unshift(true);return a4}},filters:{enabled:function(a4){return a4.disabled===false&&a4.type!=="hidden"},disabled:function(a4){return a4.disabled===true},checked:function(a4){return a4.checked===true},selected:function(a4){return a4.selected===true},parent:function(a4){return !!a4.firstChild},empty:function(a4){return !a4.firstChild},has:function(a4,a5,a6){return !!T(a6[3],a4).length},header:function(a4){return/h\d/i.test(a4.nodeName)},text:function(a4){return"text"===a4.type},radio:function(a4){return"radio"===a4.type},checkbox:function(a4){return"checkbox"===a4.type},file:function(a4){return"file"===a4.type},password:function(a4){return"password"===a4.type},submit:function(a4){return"submit"===a4.type},image:function(a4){return"image"===a4.type},reset:function(a4){return"reset"===a4.type},button:function(a4){return"button"===a4.type||a4.nodeName.toLowerCase()==="button"},input:function(a4){return/input|select|textarea|button/i.test(a4.nodeName)}},setFilters:{first:function(a4,a5){return a5===0},last:function(a4,a5,a7,a6){return a5===a6.length-1},even:function(a4,a5){return a5%2===0},odd:function(a4,a5){return a5%2===1},lt:function(a4,a5,a6){return a5<a6[3]-0},gt:function(a4,a5,a6){return a5>a6[3]-0},nth:function(a4,a5,a6){return a6[3]-0===a5},eq:function(a4,a5,a6){return a6[3]-0===a5}},filter:{PSEUDO:function(a9,a4,a6,a5){var a7=a4[1],a8=P.filters[a7];if(a8){return a8(a9,a6,a4,a5)}else{if(a7==="contains"){return(a9.textContent||a9.innerText||T.getText([a9])||"").indexOf(a4[3])>=0}else{if(a7==="not"){a4=a4[3];a6=0;for(a5=a4.length;a6<a5;a6++){if(a4[a6]===a9){return false}}return true}else{T.error("Syntax error, unrecognized expression: "+a7)}}}},CHILD:function(bb,a4){var a7=a4[1],a6=bb;switch(a7){case"only":case"first":for(;a6=a6.previousSibling;){if(a6.nodeType===1){return false}}if(a7==="first"){return true}a6=bb;case"last":for(;a6=a6.nextSibling;){if(a6.nodeType===1){return false}}return true;case"nth":a7=a4[2];var a8=a4[3];if(a7===1&&a8===0){return true}var a9=a4[0],ba=bb.parentNode;if(ba&&(ba.sizcache!==a9||!bb.nodeIndex)){var a5=0;for(a6=ba.firstChild;a6;a6=a6.nextSibling){if(a6.nodeType===1){a6.nodeIndex=++a5}}ba.sizcache=a9}a6=bb.nodeIndex-a8;return a7===0?a6===0:a6%a7===0&&a6/a7>=0}},ID:function(a4,a5){return a4.nodeType===1&&a4.getAttribute("id")===a5},TAG:function(a4,a5){return a5==="*"&&a4.nodeType===1||a4.nodeName.toLowerCase()===a5},CLASS:function(a4,a5){return(" "+(a4.className||a4.getAttribute("class"))+" ").indexOf(a5)>-1},ATTR:function(a9,a4){var a6=a4[1];a6=P.attrHandle[a6]?P.attrHandle[a6](a9):a9[a6]!=null?a9[a6]:a9.getAttribute(a6);var a5=a6+"",a7=a4[2],a8=a4[4];return a6==null?a7==="!=":a7==="="?a5===a8:a7==="*="?a5.indexOf(a8)>=0:a7==="~="?(" "+a5+" ").indexOf(a8)>=0:!a8?a5&&a6!==false:a7==="!="?a5!==a8:a7==="^="?a5.indexOf(a8)===0:a7==="$="?a5.substr(a5.length-a8.length)===a8:a7==="|="?a5===a8||a5.substr(0,a8.length+1)===a8+"-":false},POS:function(a4,a5,a8,a7){var a6=P.setFilters[a5[2]];if(a6){return a6(a4,a8,a5,a7)}}}},c=P.match.POS,B=function(a4,a5){return"\\"+(a5-0+1)},a1;for(a1 in P.match){P.match[a1]=RegExp(P.match[a1].source+/(?![^\[]*\])(?![^\(]*\))/.source);P.leftMatch[a1]=RegExp(/(^(?:.|\r|\n)*?)/.source+P.match[a1].source.replace(/\\(\d+)/g,B))}var a2=function(a4,a5){a4=Array.prototype.slice.call(a4,0);if(a5){a5.push.apply(a5,a4);return a5}return a4};try{Array.prototype.slice.call(ap.documentElement.childNodes,0)}catch(E){a2=function(a4,a5){var a8=0,a7=a5||[];if(W.call(a4)==="[object Array]"){Array.prototype.push.apply(a7,a4)}else{if(typeof a4.length==="number"){for(var a6=a4.length;a8<a6;a8++){a7.push(a4[a8])}}else{for(;a4[a8];a8++){a7.push(a4[a8])}}}return a7}}var t,V;if(ap.documentElement.compareDocumentPosition){t=function(a4,a5){if(a4===a5){S=true;return 0}if(!a4.compareDocumentPosition||!a5.compareDocumentPosition){return a4.compareDocumentPosition?-1:1}return a4.compareDocumentPosition(a5)&4?-1:1}}else{t=function(ba,a4){var a6,a5,a7=[],a8=[];a6=ba.parentNode;a5=a4.parentNode;var a9=a6;if(ba===a4){S=true;return 0}else{if(a6===a5){return V(ba,a4)}else{if(a6){if(!a5){return 1}}else{return -1}}}for(;a9;){a7.unshift(a9);a9=a9.parentNode}for(a9=a5;a9;){a8.unshift(a9);a9=a9.parentNode}a6=a7.length;a5=a8.length;for(a9=0;a9<a6&&a9<a5;a9++){if(a7[a9]!==a8[a9]){return V(a7[a9],a8[a9])}}return a9===a6?V(ba,a8[a9],-1):V(a7[a9],a4,1)};V=function(a4,a5,a6){if(a4===a5){return a6}for(a4=a4.nextSibling;a4;){if(a4===a5){return -1}a4=a4.nextSibling}return 1}}T.getText=function(a4){for(var a5="",a7,a6=0;a4[a6];a6++){a7=a4[a6];if(a7.nodeType===3||a7.nodeType===4){a5+=a7.nodeValue}else{if(a7.nodeType!==8){a5+=T.getText(a7.childNodes)}}}return a5};(function(){var a4=ap.createElement("div"),a5="script"+(new Date).getTime(),a6=ap.documentElement;a4.innerHTML="<a name='"+a5+"'/>";a6.insertBefore(a4,a6.firstChild);if(ap.getElementById(a5)){P.find.ID=function(a8,a9,a7){if(typeof a9.getElementById!=="undefined"&&!a7){return(a9=a9.getElementById(a8[1]))?a9.id===a8[1]||typeof a9.getAttributeNode!=="undefined"&&a9.getAttributeNode("id").nodeValue===a8[1]?[a9]:O:[]}};P.filter.ID=function(a8,a9){var a7=typeof a8.getAttributeNode!=="undefined"&&a8.getAttributeNode("id");return a8.nodeType===1&&a7&&a7.nodeValue===a9}}a6.removeChild(a4);a6=a4=null})();(function(){var a4=ap.createElement("div");a4.appendChild(ap.createComment(""));if(a4.getElementsByTagName("*").length>0){P.find.TAG=function(a6,a9){var a8=a9.getElementsByTagName(a6[1]);if(a6[1]==="*"){for(var a7=[],a5=0;a8[a5];a5++){a8[a5].nodeType===1&&a7.push(a8[a5])}a8=a7}return a8}}a4.innerHTML="<a href='#'></a>";if(a4.firstChild&&typeof a4.firstChild.getAttribute!=="undefined"&&a4.firstChild.getAttribute("href")!=="#"){P.attrHandle.href=function(a5){return a5.getAttribute("href",2)}}a4=null})();ap.querySelectorAll&&function(){var a4=T,a5=ap.createElement("div");a5.innerHTML="<p class='TEST'></p>";if(!(a5.querySelectorAll&&a5.querySelectorAll(".TEST").length===0)){T=function(a8,bb,bc,bd){bb=bb||ap;a8=a8.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bd&&!T.isXML(bb)){if(bb.nodeType===9){try{return a2(bb.querySelectorAll(a8),bc)}catch(a7){}}else{if(bb.nodeType===1&&bb.nodeName.toLowerCase()!=="object"){var be=bb.getAttribute("id"),a9=be||"__sizzle__";be||bb.setAttribute("id",a9);try{return a2(bb.querySelectorAll("#"+a9+" "+a8),bc)}catch(ba){}finally{be||bb.removeAttribute("id")}}}}return a4(a8,bb,bc,bd)};for(var a6 in a4){T[a6]=a4[a6]}a5=null}}();(function(){var a4=ap.documentElement,a5=a4.matchesSelector||a4.mozMatchesSelector||a4.webkitMatchesSelector||a4.msMatchesSelector,a7=false;try{a5.call(ap.documentElement,"[test!='']:sizzle")}catch(a6){a7=true}if(a5){T.matchesSelector=function(ba,a8){a8=a8.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!T.isXML(ba)){try{if(a7||!P.match.PSEUDO.test(a8)&&!/!=/.test(a8)){return a5.call(ba,a8)}}catch(a9){}}return T(a8,null,null,[ba]).length>0}}})();(function(){var a4=ap.createElement("div");a4.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!a4.getElementsByClassName||a4.getElementsByClassName("e").length===0)){a4.lastChild.className="e";if(a4.getElementsByClassName("e").length!==1){P.order.splice(1,0,"CLASS");P.find.CLASS=function(a5,a7,a6){if(typeof a7.getElementsByClassName!=="undefined"&&!a6){return a7.getElementsByClassName(a5[1])}};a4=null}}})();T.contains=ap.documentElement.contains?function(a4,a5){return a4!==a5&&(a4.contains?a4.contains(a5):true)}:ap.documentElement.compareDocumentPosition?function(a4,a5){return !!(a4.compareDocumentPosition(a5)&16)}:function(){return false};T.isXML=function(a4){return(a4=(a4?a4.ownerDocument||a4:0).documentElement)?a4.nodeName!=="HTML":false};var a3=function(ba,a4){for(var a6,a5=[],a7="",a8=a4.nodeType?[a4]:a4;a6=P.match.PSEUDO.exec(ba);){a7+=a6[0];ba=ba.replace(P.match.PSEUDO,"")}ba=P.relative[ba]?ba+"*":ba;a6=0;for(var a9=a8.length;a6<a9;a6++){T(ba,a8[a6],a5)}return T.filter(a7,a5)};u.find=T;u.expr=T.selectors;u.expr[":"]=u.expr.filters;u.unique=T.uniqueSort;u.text=T.getText;u.isXMLDoc=T.isXML;u.contains=T.contains})();var at=/Until$/,v=/^(?:parents|prevUntil|prevAll)/,ai=/,/,aJ=/^.[^:#\[\.,]*$/,aj=Array.prototype.slice,ak=u.expr.match.POS;u.fn.extend({find:function(B){for(var E=this.pushStack("","find",B),P=0,S=0,T=this.length;S<T;S++){P=E.length;u.find(B,this[S],E);if(S>0){for(var c=P;c<E.length;c++){for(var t=0;t<P;t++){if(E[t]===E[c]){E.splice(c--,1);break}}}}}return E},has:function(c){var t=u(c);return this.filter(function(){for(var B=0,E=t.length;B<E;B++){if(u.contains(this,t[B])){return true}}})},not:function(c){return this.pushStack(i(this,c,false),"not",c)},filter:function(c){return this.pushStack(i(this,c,true),"filter",c)},is:function(c){return !!c&&u.filter(c,this).length>0},closest:function(P,S){var T=[],U,V,c=this[0];if(u.isArray(P)){var B,t={},E=1;if(c&&P.length){U=0;for(V=P.length;U<V;U++){B=P[U];t[B]||(t[B]=u.expr.match.POS.test(B)?u(B,S||this.context):B)}for(;c&&c.ownerDocument&&c!==S;){for(B in t){U=t[B];if(U.jquery?U.index(c)>-1:u(c).is(U)){T.push({selector:B,elem:c,level:E})}}c=c.parentNode;E++}}return T}B=ak.test(P)?u(P,S||this.context):null;U=0;for(V=this.length;U<V;U++){for(c=this[U];c;){if(B?B.index(c)>-1:u.find.matchesSelector(c,P)){T.push(c);break}else{c=c.parentNode;if(!c||!c.ownerDocument||c===S){break}}}}T=T.length>1?u.unique(T):T;return this.pushStack(T,"closest",P)},index:function(c){if(!c||typeof c==="string"){return u.inArray(this[0],c?u(c):this.parent().children())}return u.inArray(c.jquery?c[0]:c,this)},add:function(c,t){var B=typeof c==="string"?u(c,t||this.context):u.makeArray(c),E=u.merge(this.get(),B);return this.pushStack(!B[0]||!B[0].parentNode||B[0].parentNode.nodeType===11||!E[0]||!E[0].parentNode||E[0].parentNode.nodeType===11?E:u.unique(E))},andSelf:function(){return this.add(this.prevObject)}});u.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return u.dir(c,"parentNode")},parentsUntil:function(c,t,B){return u.dir(c,"parentNode",B)},next:function(c){return u.nth(c,2,"nextSibling")},prev:function(c){return u.nth(c,2,"previousSibling")},nextAll:function(c){return u.dir(c,"nextSibling")},prevAll:function(c){return u.dir(c,"previousSibling")},nextUntil:function(c,t,B){return u.dir(c,"nextSibling",B)},prevUntil:function(c,t,B){return u.dir(c,"previousSibling",B)},siblings:function(c){return u.sibling(c.parentNode.firstChild,c)},children:function(c){return u.sibling(c.firstChild)},contents:function(c){return u.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:u.makeArray(c.childNodes)}},function(c,t){u.fn[c]=function(E,P){var B=u.map(this,t,E);at.test(c)||(P=E);if(P&&typeof P==="string"){B=u.filter(P,B)}B=this.length>1?u.unique(B):B;if((this.length>1||ai.test(P))&&v.test(c)){B=B.reverse()}return this.pushStack(B,c,aj.call(arguments).join(","))}});u.extend({filter:function(c,t,B){if(B){c=":not("+c+")"}return t.length===1?u.find.matchesSelector(t[0],c)?[t[0]]:[]:u.find.matches(c,t)},dir:function(c,t,B){var E=[];for(c=c[t];c&&c.nodeType!==9&&(B===O||c.nodeType!==1||!u(c).is(B));){c.nodeType===1&&E.push(c);c=c[t]}return E},nth:function(c,t,B){t=t||1;for(var E=0;c;c=c[B]){if(c.nodeType===1&&++E===t){break}}return c},sibling:function(c,t){for(var B=[];c;c=c.nextSibling){c.nodeType===1&&c!==t&&B.push(c)}return B}});var aU=/ jQuery\d+="(?:\d+|null)"/g,r=/^\s+/,aL=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,aM=/<([\w:]+)/,al=/<tbody/i,am=/<|&#?\w+;/,aN=/<(?:script|object|embed|option|style)/i,aO=/checked\s*(?:[^=]|=\s*.checked.)/i,an=/\=([^="'>\s]+\/)>/g,A={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};A.optgroup=A.option;A.tbody=A.tfoot=A.colgroup=A.caption=A.thead;A.th=A.td;if(!u.support.htmlSerialize){A._default=[1,"div<div>","</div>"]}u.fn.extend({text:function(c){if(u.isFunction(c)){return this.each(function(B){var t=u(this);t.text(c.call(this,B,t.text()))})}if(typeof c!=="object"&&c!==O){return this.empty().append((this[0]&&this[0].ownerDocument||ap).createTextNode(c))}return u.text(this)},wrapAll:function(c){if(u.isFunction(c)){return this.each(function(B){u(this).wrapAll(c.call(this,B))})}if(this[0]){var t=u(c,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var B=this;B.firstChild&&B.firstChild.nodeType===1;){B=B.firstChild}return B}).append(this)}return this},wrapInner:function(c){if(u.isFunction(c)){return this.each(function(t){u(this).wrapInner(c.call(this,t))})}return this.each(function(){var B=u(this),t=B.contents();t.length?t.wrapAll(c):B.append(c)})},wrap:function(c){return this.each(function(){u(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){u.nodeName(this,"body")||u(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(t){this.parentNode.insertBefore(t,this)})}else{if(arguments.length){var c=u(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(t){this.parentNode.insertBefore(t,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,u(arguments[0]).toArray());return c}}},remove:function(c,t){for(var B=0,E;(E=this[B])!=null;B++){if(!c||u.filter(c,[E]).length){if(!t&&E.nodeType===1){u.cleanData(E.getElementsByTagName("*"));u.cleanData([E])}E.parentNode&&E.parentNode.removeChild(E)}}return this},empty:function(){for(var c=0,t;(t=this[c])!=null;c++){for(t.nodeType===1&&u.cleanData(t.getElementsByTagName("*"));t.firstChild;){t.removeChild(t.firstChild)}}return this},clone:function(c){var t=this.map(function(){if(!u.support.noCloneEvent&&!u.isXMLDoc(this)){var B=this.outerHTML,E=this.ownerDocument;if(!B){B=E.createElement("div");B.appendChild(this.cloneNode(true));B=B.innerHTML}return u.clean([B.replace(aU,"").replace(an,'="$1">').replace(r,"")],E)[0]}else{return this.cloneNode(true)}});if(c===true){j(this,t);j(this.find("*"),t.find("*"))}return t},html:function(c){if(c===O){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aU,""):null}else{if(typeof c==="string"&&!aN.test(c)&&(u.support.leadingWhitespace||!r.test(c))&&!A[(aM.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(aL,"<$1></$2>");try{for(var t=0,B=this.length;t<B;t++){if(this[t].nodeType===1){u.cleanData(this[t].getElementsByTagName("*"));this[t].innerHTML=c}}}catch(E){this.empty().append(c)}}else{u.isFunction(c)?this.each(function(S){var P=u(this);P.html(c.call(this,S,P.html()))}):this.empty().append(c)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(u.isFunction(c)){return this.each(function(t){var B=u(this),E=B.html();B.replaceWith(c.call(this,t,E))})}if(typeof c!=="string"){c=u(c).detach()}return this.each(function(){var B=this.nextSibling,t=this.parentNode;u(this).remove();B?u(B).before(c):u(t).append(c)})}else{return this.pushStack(u(u.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(P,S,T){var U,V,c,B=P[0],t=[];if(!u.support.checkClone&&arguments.length===3&&typeof B==="string"&&aO.test(B)){return this.each(function(){u(this).domManip(P,S,T,true)})}if(u.isFunction(B)){return this.each(function(X){var W=u(this);P[0]=B.call(this,X,S?W.html():O);W.domManip(P,S,T)})}if(this[0]){U=B&&B.parentNode;U=u.support.parentNode&&U&&U.nodeType===11&&U.childNodes.length===this.length?{fragment:U}:u.buildFragment(P,this,t);c=U.fragment;if(V=c.childNodes.length===1?c=c.firstChild:c.firstChild){S=S&&u.nodeName(V,"tr");V=0;for(var E=this.length;V<E;V++){T.call(S?u.nodeName(this[V],"table")?this[V].getElementsByTagName("tbody")[0]||this[V].appendChild(this[V].ownerDocument.createElement("tbody")):this[V]:this[V],V>0||U.cacheable||this.length>1?c.cloneNode(true):c)}}t.length&&u.each(t,aK)}return this}});u.buildFragment=function(t,B,E){var P,S,c;B=B&&B[0]?B[0].ownerDocument||B[0]:ap;if(t.length===1&&typeof t[0]==="string"&&t[0].length<512&&B===ap&&!aN.test(t[0])&&(u.support.checkClone||!aO.test(t[0]))){S=true;if(c=u.fragments[t[0]]){if(c!==1){P=c}}}if(!P){P=B.createDocumentFragment();u.clean(t,B,P,E)}if(S){u.fragments[t[0]]=c?P:1}return{fragment:P,cacheable:S}};u.fragments={};u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,t){u.fn[c]=function(S){var T=[];S=u(S);var B=this.length===1&&this[0].parentNode;if(B&&B.nodeType===11&&B.childNodes.length===1&&S.length===1){S[t](this[0]);return this}else{B=0;for(var E=S.length;B<E;B++){var P=(B>0?this.clone(true):this).get();u(S[B])[t](P);T=T.concat(P)}return this.pushStack(T,c,S.selector)}}});u.extend({clean:function(S,T,V,W){T=T||ap;if(typeof T.createElement==="undefined"){T=T.ownerDocument||T[0]&&T[0].ownerDocument||ap}for(var X=[],c=0,E;(E=S[c])!=null;c++){if(typeof E==="number"){E+=""}if(E){if(typeof E==="string"&&!am.test(E)){E=T.createTextNode(E)}else{if(typeof E==="string"){E=E.replace(aL,"<$1></$2>");var B=(aM.exec(E)||["",""])[1].toLowerCase(),P=A[B]||A._default,t=P[0],U=T.createElement("div");for(U.innerHTML=P[1]+E+P[2];t--;){U=U.lastChild}if(!u.support.tbody){t=al.test(E);B=B==="table"&&!t?U.firstChild&&U.firstChild.childNodes:P[1]==="<table>"&&!t?U.childNodes:[];for(P=B.length-1;P>=0;--P){u.nodeName(B[P],"tbody")&&!B[P].childNodes.length&&B[P].parentNode.removeChild(B[P])}}!u.support.leadingWhitespace&&r.test(E)&&U.insertBefore(T.createTextNode(r.exec(E)[0]),U.firstChild);E=U.childNodes}}if(E.nodeType){X.push(E)}else{X=u.merge(X,E)}}}if(V){for(c=0;X[c];c++){if(W&&u.nodeName(X[c],"script")&&(!X[c].type||X[c].type.toLowerCase()==="text/javascript")){W.push(X[c].parentNode?X[c].parentNode.removeChild(X[c]):X[c])}else{X[c].nodeType===1&&X.splice.apply(X,[c+1,0].concat(u.makeArray(X[c].getElementsByTagName("script"))));V.appendChild(X[c])}}}return X},cleanData:function(P){for(var S,T,U=u.cache,V=u.event.special,c=u.support.deleteExpando,B=0,t;(t=P[B])!=null;B++){if(!(t.nodeName&&u.noData[t.nodeName.toLowerCase()])){if(T=t[u.expando]){if((S=U[T])&&S.events){for(var E in S.events){V[E]?u.event.remove(t,E):u.removeEvent(t,E,S.handle)}}if(c){delete t[u.expando]}else{t.removeAttribute&&t.removeAttribute(u.expando)}delete U[T]}}}}});var aP=/alpha\([^)]*\)/i,ao=/opacity=([^)]*)/,R=/-([a-z])/ig,aa=/([A-Z])/g,aQ=/^-?\d+(?:px)?$/i,ac=/^-?\d/,ad={position:"absolute",visibility:"hidden",display:"block"},av=["Left","Right"],aw=["Top","Bottom"],H,aR,l,ae=function(c,t){return t.toUpperCase()};u.fn.css=function(c,t){if(arguments.length===2&&t===O){return this}return u.access(this,c,t,true,function(E,P,B){return B!==O?u.style(E,P,B):u.css(E,P)})};u.extend({cssHooks:{opacity:{get:function(c,t){if(t){var B=H(c,"opacity","opacity");return B===""?"1":B}else{return c.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":u.support.cssFloat?"cssFloat":"styleFloat"},style:function(P,S,T,U){if(!(!P||P.nodeType===3||P.nodeType===8||!P.style)){var V,c=u.camelCase(S),B=P.style,t=u.cssHooks[c];S=u.cssProps[c]||c;if(T!==O){if(!(typeof T==="number"&&isNaN(T)||T==null)){if(typeof T==="number"&&!u.cssNumber[c]){T+="px"}if(!t||!("set" in t)||(T=t.set(P,T))!==O){try{B[S]=T}catch(E){}}}}else{if(t&&"get" in t&&(V=t.get(P,false,U))!==O){return V}return B[S]}}},css:function(t,B,E){var P,S=u.camelCase(B),c=u.cssHooks[S];B=u.cssProps[S]||S;if(c&&"get" in c&&(P=c.get(t,true,E))!==O){return P}else{if(H){return H(t,B,S)}}},swap:function(t,B,E){var P={},c;for(c in B){P[c]=t.style[c];t.style[c]=B[c]}E.call(t);for(c in B){t.style[c]=P[c]}},camelCase:function(c){return c.replace(R,ae)}});u.curCSS=u.css;u.each(["height","width"],function(c,t){u.cssHooks[t]={get:function(P,S,B){var E;if(S){if(P.offsetWidth!==0){E=k(P,t,B)}else{u.swap(P,ad,function(){E=k(P,t,B)})}if(E<=0){E=H(P,t,t);if(E==="0px"&&l){E=l(P,t,t)}if(E!=null){return E===""||E==="auto"?"0px":E}}if(E<0||E==null){E=P.style[t];return E===""||E==="auto"?"0px":E}return typeof E==="string"?E:E+"px"}},set:function(B,E){if(aQ.test(E)){E=parseFloat(E);if(E>=0){return E+"px"}}else{return E}}}});if(!u.support.opacity){u.cssHooks.opacity={get:function(c,t){return ao.test((t&&c.currentStyle?c.currentStyle.filter:c.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(t,B){var E=t.style;E.zoom=1;var P=u.isNaN(B)?"":"alpha(opacity="+B*100+")",c=E.filter||"";E.filter=aP.test(c)?c.replace(aP,P):E.filter+" "+P}}}if(ap.defaultView&&ap.defaultView.getComputedStyle){aR=function(c,t,B){var E;B=B.replace(aa,"-$1").toLowerCase();if(!(t=c.ownerDocument.defaultView)){return O}if(t=t.getComputedStyle(c,null)){E=t.getPropertyValue(B);if(E===""&&!u.contains(c.ownerDocument.documentElement,c)){E=u.style(c,B)}}return E}}if(ap.documentElement.currentStyle){l=function(t,B){var E,P,S=t.currentStyle&&t.currentStyle[B],c=t.style;if(!aQ.test(S)&&ac.test(S)){E=c.left;P=t.runtimeStyle.left;t.runtimeStyle.left=t.currentStyle.left;c.left=B==="fontSize"?"1em":S||0;S=c.pixelLeft+"px";c.left=E;t.runtimeStyle.left=P}return S===""?"auto":S}}H=aR||l;if(u.expr&&u.expr.filters){u.expr.filters.hidden=function(c){var t=c.offsetHeight;return c.offsetWidth===0&&t===0||!u.support.reliableHiddenOffsets&&(c.style.display||u.css(c,"display"))==="none"};u.expr.filters.visible=function(c){return !u.expr.filters.hidden(c)}}var af=u.now(),ag=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ah=/^(?:select|textarea)/i,I=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,J=/^(?:GET|HEAD)$/,ax=/\[\]$/,D=/\=\?(&|$)/,f=/\?/,K=/([?&])_=[^&]*/,L=/^(\w+:)?\/\/([^\/?#]+)/,M=/%20/g,N=/#.*$/,aD=u.fn.load;u.fn.extend({load:function(t,B,E){if(typeof t!=="string"&&aD){return aD.apply(this,arguments)}else{if(!this.length){return this}}var P=t.indexOf(" ");if(P>=0){var S=t.slice(P,t.length);t=t.slice(0,P)}P="GET";if(B){if(u.isFunction(B)){E=B;B=null}else{if(typeof B==="object"){B=u.param(B,u.ajaxSettings.traditional);P="POST"}}}var c=this;u.ajax({url:t,type:P,dataType:"html",data:B,complete:function(U,T){if(T==="success"||T==="notmodified"){c.html(S?u("<div>").append(U.responseText.replace(ag,"")).find(S):U.responseText)}E&&c.each(E,[U.responseText,T,U])}});return this},serialize:function(){return u.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?u.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ah.test(this.nodeName)||I.test(this.type))}).map(function(c,t){var B=u(this).val();return B==null?null:u.isArray(B)?u.map(B,function(E){return{name:t.name,value:E}}):{name:t.name,value:B}}).get()}});u.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,t){u.fn[t]=function(B){return this.bind(t,B)}});u.extend({get:function(c,t,B,E){if(u.isFunction(t)){E=E||B;B=t;t=null}return u.ajax({type:"GET",url:c,data:t,success:B,dataType:E})},getScript:function(c,t){return u.get(c,null,t,"script")},getJSON:function(c,t,B){return u.get(c,t,B,"json")},post:function(c,t,B,E){if(u.isFunction(t)){E=E||B;B=t;t={}}return u.ajax({type:"POST",url:c,data:t,success:B,dataType:E})},ajaxSetup:function(c){u.extend(u.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new s.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(Z){var ab=u.extend(true,{},u.ajaxSettings,Z),a1,a2,Y,T=ab.type.toUpperCase(),W=J.test(T);ab.url=ab.url.replace(N,"");ab.context=Z&&Z.context!=null?Z.context:ab;if(ab.data&&ab.processData&&typeof ab.data!=="string"){ab.data=u.param(ab.data,ab.traditional)}if(ab.dataType==="jsonp"){if(T==="GET"){D.test(ab.url)||(ab.url+=(f.test(ab.url)?"&":"?")+(ab.jsonp||"callback")+"=?")}else{if(!ab.data||!D.test(ab.data)){ab.data=(ab.data?ab.data+"&":"")+(ab.jsonp||"callback")+"=?"}}ab.dataType="json"}if(ab.dataType==="json"&&(ab.data&&D.test(ab.data)||D.test(ab.url))){a1=ab.jsonpCallback||"jsonp"+af++;if(ab.data){ab.data=(ab.data+"").replace(D,"="+a1+"$1")}ab.url=ab.url.replace(D,"="+a1+"$1");ab.dataType="script";var V=s[a1];s[a1]=function(a8){if(u.isFunction(V)){V(a8)}else{s[a1]=O;try{delete s[a1]}catch(a7){}}Y=a8;u.handleSuccess(ab,B,a2,Y);u.handleComplete(ab,B,a2,Y);E&&E.removeChild(a3)}}if(ab.dataType==="script"&&ab.cache===null){ab.cache=false}if(ab.cache===false&&W){var S=u.now(),c=ab.url.replace(K,"$1_="+S);ab.url=c+(c===ab.url?(f.test(ab.url)?"&":"?")+"_="+S:"")}if(ab.data&&W){ab.url+=(f.test(ab.url)?"&":"?")+ab.data}ab.global&&u.active++===0&&u.event.trigger("ajaxStart");S=(S=L.exec(ab.url))&&(S[1]&&S[1].toLowerCase()!==location.protocol||S[2].toLowerCase()!==location.host);if(ab.dataType==="script"&&T==="GET"&&S){var E=ap.getElementsByTagName("head")[0]||ap.documentElement,a3=ap.createElement("script");if(ab.scriptCharset){a3.charset=ab.scriptCharset}a3.src=ab.url;if(!a1){var a5=false;a3.onload=a3.onreadystatechange=function(){if(!a5&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){a5=true;u.handleSuccess(ab,B,a2,Y);u.handleComplete(ab,B,a2,Y);a3.onload=a3.onreadystatechange=null;E&&a3.parentNode&&E.removeChild(a3)}}}E.insertBefore(a3,E.firstChild);return O}var P=false,B=ab.xhr();if(B){ab.username?B.open(T,ab.url,ab.async,ab.username,ab.password):B.open(T,ab.url,ab.async);try{if(ab.data!=null&&!W||Z&&Z.contentType){B.setRequestHeader("Content-Type",ab.contentType)}if(ab.ifModified){u.lastModified[ab.url]&&B.setRequestHeader("If-Modified-Since",u.lastModified[ab.url]);u.etag[ab.url]&&B.setRequestHeader("If-None-Match",u.etag[ab.url])}S||B.setRequestHeader("X-Requested-With","XMLHttpRequest");B.setRequestHeader("Accept",ab.dataType&&ab.accepts[ab.dataType]?ab.accepts[ab.dataType]+", */*; q=0.01":ab.accepts._default)}catch(X){}if(ab.beforeSend&&ab.beforeSend.call(ab.context,B,ab)===false){ab.global&&u.active--===1&&u.event.trigger("ajaxStop");B.abort();return false}ab.global&&u.triggerGlobal(ab,"ajaxSend",[B,ab]);var a6=B.onreadystatechange=function(a8){if(!B||B.readyState===0||a8==="abort"){P||u.handleComplete(ab,B,a2,Y);P=true;if(B){B.onreadystatechange=u.noop}}else{if(!P&&B&&(B.readyState===4||a8==="timeout")){P=true;B.onreadystatechange=u.noop;a2=a8==="timeout"?"timeout":!u.httpSuccess(B)?"error":ab.ifModified&&u.httpNotModified(B,ab.url)?"notmodified":"success";var a9;if(a2==="success"){try{Y=u.httpData(B,ab.dataType,ab)}catch(a7){a2="parsererror";a9=a7}}if(a2==="success"||a2==="notmodified"){a1||u.handleSuccess(ab,B,a2,Y)}else{u.handleError(ab,B,a2,a9)}a1||u.handleComplete(ab,B,a2,Y);a8==="timeout"&&B.abort();if(ab.async){B=null}}}};try{var a4=B.abort;B.abort=function(){B&&Function.prototype.call.call(a4,B);a6("abort")}}catch(U){}ab.async&&ab.timeout>0&&setTimeout(function(){B&&!P&&a6("timeout")},ab.timeout);try{B.send(W||ab.data==null?null:ab.data)}catch(t){u.handleError(ab,B,null,t);u.handleComplete(ab,B,a2,Y)}ab.async||a6();return B}},param:function(t,B){var E=[],P=function(S,T){T=u.isFunction(T)?T():T;E[E.length]=encodeURIComponent(S)+"="+encodeURIComponent(T)};if(B===O){B=u.ajaxSettings.traditional}if(u.isArray(t)||t.jquery){u.each(t,function(){P(this.name,this.value)})}else{for(var c in t){o(c,t[c],B,P)}}return E.join("&").replace(M,"+")}});u.extend({active:0,lastModified:{},etag:{},handleError:function(c,t,B,E){c.error&&c.error.call(c.context,t,B,E);c.global&&u.triggerGlobal(c,"ajaxError",[t,c,E])},handleSuccess:function(c,t,B,E){c.success&&c.success.call(c.context,E,B,t);c.global&&u.triggerGlobal(c,"ajaxSuccess",[t,c])},handleComplete:function(c,t,B){c.complete&&c.complete.call(c.context,t,B);c.global&&u.triggerGlobal(c,"ajaxComplete",[t,c]);c.global&&u.active--===1&&u.event.trigger("ajaxStop")},triggerGlobal:function(c,t,B){(c.context&&c.context.url==null?u(c.context):u.event).trigger(t,B)},httpSuccess:function(c){try{return !c.status&&location.protocol==="file:"||c.status>=200&&c.status<300||c.status===304||c.status===1223}catch(t){}return false},httpNotModified:function(c,t){var B=c.getResponseHeader("Last-Modified"),E=c.getResponseHeader("Etag");if(B){u.lastModified[t]=B}if(E){u.etag[t]=E}return c.status===304},httpData:function(t,B,E){var P=t.getResponseHeader("content-type")||"",c=B==="xml"||!B&&P.indexOf("xml")>=0;t=c?t.responseXML:t.responseText;c&&t.documentElement.nodeName==="parsererror"&&u.error("parsererror");if(E&&E.dataFilter){t=E.dataFilter(t,B)}if(typeof t==="string"){if(B==="json"||!B&&P.indexOf("json")>=0){t=u.parseJSON(t)}else{if(B==="script"||!B&&P.indexOf("javascript")>=0){u.globalEval(t)}}}return t}});if(s.ActiveXObject){u.ajaxSettings.xhr=function(){if(s.location.protocol!=="file:"){try{return new s.XMLHttpRequest}catch(c){}}try{return new s.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}u.support.ajax=!!u.ajaxSettings.xhr();var p={},aE=/^(?:toggle|show|hide)$/,Q=/^([+\-]=)?([\d+.\-]+)(.*)$/,m,aV=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];u.fn.extend({show:function(c,t,B){if(c||c===0){return this.animate(C("show",3),c,t,B)}else{B=0;for(var E=this.length;B<E;B++){c=this[B];t=c.style.display;if(!u.data(c,"olddisplay")&&t==="none"){t=c.style.display=""}t===""&&u.css(c,"display")==="none"&&u.data(c,"olddisplay",aW(c.nodeName))}for(B=0;B<E;B++){c=this[B];t=c.style.display;if(t===""||t==="none"){c.style.display=u.data(c,"olddisplay")||""}}return this}},hide:function(c,t,B){if(c||c===0){return this.animate(C("hide",3),c,t,B)}else{c=0;for(t=this.length;c<t;c++){B=u.css(this[c],"display");B!=="none"&&u.data(this[c],"olddisplay",B)}for(c=0;c<t;c++){this[c].style.display="none"}return this}},_toggle:u.fn.toggle,toggle:function(c,t,B){var E=typeof c==="boolean";if(u.isFunction(c)&&u.isFunction(t)){this._toggle.apply(this,arguments)}else{c==null||E?this.each(function(){var P=E?c:u(this).is(":hidden");u(this)[P?"show":"hide"]()}):this.animate(C("toggle",3),c,t,B)}return this},fadeTo:function(c,t,B,E){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},c,B,E)},animate:function(t,B,E,P){var c=u.speed(B,E,P);if(u.isEmptyObject(t)){return this.each(c.complete)}return this[c.queue===false?"each":"queue"](function(){var S=u.extend({},c),V,U=this.nodeType===1,W=U&&u(this).is(":hidden"),T=this;for(V in t){var X=u.camelCase(V);if(V!==X){t[X]=t[V];delete t[V];V=X}if(t[V]==="hide"&&W||t[V]==="show"&&!W){return S.complete.call(this)}if(U&&(V==="height"||V==="width")){S.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(u.css(this,"display")==="inline"&&u.css(this,"float")==="none"){if(u.support.inlineBlockNeedsLayout){if(aW(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}else{this.style.display="inline-block"}}}if(u.isArray(t[V])){(S.specialEasing=S.specialEasing||{})[V]=t[V][1];t[V]=t[V][0]}}if(S.overflow!=null){this.style.overflow="hidden"}S.curAnim=u.extend({},t);u.each(t,function(a1,a2){var Z=new u.fx(T,S,a1);if(aE.test(a2)){Z[a2==="toggle"?W?"show":"hide":a2](t)}else{var a4=Q.exec(a2),Y=Z.cur()||0;if(a4){var ab=parseFloat(a4[2]),a3=a4[3]||"px";if(a3!=="px"){u.style(T,a1,(ab||1)+a3);Y=(ab||1)/Z.cur()*Y;u.style(T,a1,Y+a3)}if(a4[1]){ab=(a4[1]==="-="?-1:1)*ab+Y}Z.custom(Y,ab,a3)}else{Z.custom(Y,a2,"")}}});return true})},stop:function(c,t){var B=u.timers;c&&this.queue([]);this.each(function(){for(var E=B.length-1;E>=0;E--){if(B[E].elem===this){t&&B[E](true);B.splice(E,1)}}});t||this.dequeue();return this}});u.each({slideDown:C("show",1),slideUp:C("hide",1),slideToggle:C("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,t){u.fn[c]=function(E,P,B){return this.animate(t,E,P,B)}});u.extend({speed:function(c,t,B){var E=c&&typeof c==="object"?u.extend({},c):{complete:B||!B&&t||u.isFunction(c)&&c,duration:c,easing:B&&t||t&&!u.isFunction(t)&&t};E.duration=u.fx.off?0:typeof E.duration==="number"?E.duration:E.duration in u.fx.speeds?u.fx.speeds[E.duration]:u.fx.speeds._default;E.old=E.complete;E.complete=function(){E.queue!==false&&u(this).dequeue();u.isFunction(E.old)&&E.old.call(this)};return E},easing:{linear:function(c,t,B,E){return B+E*c},swing:function(c,t,B,E){return(-Math.cos(c*Math.PI)/2+0.5)*E+B}},timers:[],fx:function(c,t,B){this.options=t;this.elem=c;this.prop=B;if(!t.orig){t.orig={}}}});u.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(u.fx.step[this.prop]||u.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c=parseFloat(u.css(this.elem,this.prop));return c&&c>-10000?c:0},custom:function(t,B,E){function P(T){return S.step(T)}var S=this,c=u.fx;this.startTime=u.now();this.start=t;this.end=B;this.unit=E||this.unit||"px";this.now=this.start;this.pos=this.state=0;P.elem=this.elem;if(P()&&u.timers.push(P)&&!m){m=setInterval(c.tick,c.interval)}},show:function(){this.options.orig[this.prop]=u.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());u(this.elem).show()},hide:function(){this.options.orig[this.prop]=u.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(B){var E=u.now(),P=true;if(B||E>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var S in this.options.curAnim){if(this.options.curAnim[S]!==true){P=false}}if(P){if(this.options.overflow!=null&&!u.support.shrinkWrapBlocks){var T=this.elem,c=this.options;u.each(["","X","Y"],function(U,V){T.style["overflow"+V]=c.overflow[U]})}this.options.hide&&u(this.elem).hide();if(this.options.hide||this.options.show){for(var t in this.options.curAnim){u.style(this.elem,t,this.options.orig[t])}}this.options.complete.call(this.elem)}return false}else{B=E-this.startTime;this.state=B/this.options.duration;E=this.options.easing||(u.easing.swing?"swing":"linear");this.pos=u.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||E](this.state,B,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};u.extend(u.fx,{tick:function(){for(var c=u.timers,t=0;t<c.length;t++){c[t]()||c.splice(t--,1)}c.length||u.fx.stop()},interval:13,stop:function(){clearInterval(m);m=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){u.style(c.elem,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit}else{c.elem[c.prop]=c.now}}}});if(u.expr&&u.expr.filters){u.expr.filters.animated=function(c){return u.grep(u.timers,function(t){return c===t.elem}).length}}var au=/^t(?:able|d|h)$/i,w=/^(?:body|html)$/i;u.fn.offset="getBoundingClientRect" in ap.documentElement?function(t){var B=this[0],E;if(t){return this.each(function(T){u.offset.setOffset(this,t,T)})}if(!B||!B.ownerDocument){return null}if(B===B.ownerDocument.body){return u.offset.bodyOffset(B)}try{E=B.getBoundingClientRect()}catch(P){}var S=B.ownerDocument,c=S.documentElement;if(!E||!u.contains(c,B)){return E||{top:0,left:0}}B=S.body;S=q(S);return{top:E.top+(S.pageYOffset||u.support.boxModel&&c.scrollTop||B.scrollTop)-(c.clientTop||B.clientTop||0),left:E.left+(S.pageXOffset||u.support.boxModel&&c.scrollLeft||B.scrollLeft)-(c.clientLeft||B.clientLeft||0)}}:function(P){var S=this[0];if(P){return this.each(function(W){u.offset.setOffset(this,P,W)})}if(!S||!S.ownerDocument){return null}if(S===S.ownerDocument.body){return u.offset.bodyOffset(S)}u.offset.initialize();var T,U=S.offsetParent,V=S.ownerDocument,c=V.documentElement,B=V.body;T=(V=V.defaultView)?V.getComputedStyle(S,null):S.currentStyle;for(var t=S.offsetTop,E=S.offsetLeft;(S=S.parentNode)&&S!==B&&S!==c;){if(u.offset.supportsFixedPosition&&T.position==="fixed"){break}T=V?V.getComputedStyle(S,null):S.currentStyle;t-=S.scrollTop;E-=S.scrollLeft;if(S===U){t+=S.offsetTop;E+=S.offsetLeft;if(u.offset.doesNotAddBorder&&!(u.offset.doesAddBorderForTableAndCells&&au.test(S.nodeName))){t+=parseFloat(T.borderTopWidth)||0;E+=parseFloat(T.borderLeftWidth)||0}U=S.offsetParent}if(u.offset.subtractsBorderForOverflowNotVisible&&T.overflow!=="visible"){t+=parseFloat(T.borderTopWidth)||0;E+=parseFloat(T.borderLeftWidth)||0}T=T}if(T.position==="relative"||T.position==="static"){t+=B.offsetTop;E+=B.offsetLeft}if(u.offset.supportsFixedPosition&&T.position==="fixed"){t+=Math.max(c.scrollTop,B.scrollTop);E+=Math.max(c.scrollLeft,B.scrollLeft)}return{top:t,left:E}};u.offset={initialize:function(){var t=ap.body,B=ap.createElement("div"),E,P,S,c=parseFloat(u.css(t,"marginTop"))||0;u.extend(B.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});B.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";t.insertBefore(B,t.firstChild);E=B.firstChild;P=E.firstChild;S=E.nextSibling.firstChild.firstChild;this.doesNotAddBorder=P.offsetTop!==5;this.doesAddBorderForTableAndCells=S.offsetTop===5;P.style.position="fixed";P.style.top="20px";this.supportsFixedPosition=P.offsetTop===20||P.offsetTop===15;P.style.position=P.style.top="";E.style.overflow="hidden";E.style.position="relative";this.subtractsBorderForOverflowNotVisible=P.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=t.offsetTop!==c;t.removeChild(B);u.offset.initialize=u.noop},bodyOffset:function(c){var t=c.offsetTop,B=c.offsetLeft;u.offset.initialize();if(u.offset.doesNotIncludeMarginInBodyOffset){t+=parseFloat(u.css(c,"marginTop"))||0;B+=parseFloat(u.css(c,"marginLeft"))||0}return{top:t,left:B}},setOffset:function(S,T,U){var V=u.css(S,"position");if(V==="static"){S.style.position="relative"}var W=u(S),c=W.offset(),E=u.css(S,"top"),B=u.css(S,"left"),P=V==="absolute"&&u.inArray("auto",[E,B])>-1;V={};var t={};if(P){t=W.position()}E=P?t.top:parseInt(E,10)||0;B=P?t.left:parseInt(B,10)||0;if(u.isFunction(T)){T=T.call(S,U,c)}if(T.top!=null){V.top=T.top-c.top+E}if(T.left!=null){V.left=T.left-c.left+B}"using" in T?T.using.call(S,V):W.css(V)}};u.fn.extend({position:function(){if(!this[0]){return null}var c=this[0],t=this.offsetParent(),B=this.offset(),E=w.test(t[0].nodeName)?{top:0,left:0}:t.offset();B.top-=parseFloat(u.css(c,"marginTop"))||0;B.left-=parseFloat(u.css(c,"marginLeft"))||0;E.top+=parseFloat(u.css(t[0],"borderTopWidth"))||0;E.left+=parseFloat(u.css(t[0],"borderLeftWidth"))||0;return{top:B.top-E.top,left:B.left-E.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||ap.body;c&&!w.test(c.nodeName)&&u.css(c,"position")==="static";){c=c.offsetParent}return c})}});u.each(["Left","Top"],function(c,t){var B="scroll"+t;u.fn[B]=function(S){var E=this[0],P;if(!E){return null}if(S!==O){return this.each(function(){if(P=q(this)){P.scrollTo(!c?S:u(P).scrollLeft(),c?S:u(P).scrollTop())}else{this[B]=S}})}else{return(P=q(E))?"pageXOffset" in P?P[c?"pageYOffset":"pageXOffset"]:u.support.boxModel&&P.document.documentElement[B]||P.document.body[B]:E[B]}}});u.each(["Height","Width"],function(c,t){var B=t.toLowerCase();u.fn["inner"+t]=function(){return this[0]?parseFloat(u.css(this[0],B,"padding")):null};u.fn["outer"+t]=function(E){return this[0]?parseFloat(u.css(this[0],B,E?"margin":"border")):null};u.fn[B]=function(S){var E=this[0];if(!E){return S==null?null:this}if(u.isFunction(S)){return this.each(function(U){var T=u(this);T[B](S.call(this,U,T[B]()))})}if(u.isWindow(E)){return E.document.compatMode==="CSS1Compat"&&E.document.documentElement["client"+t]||E.document.body["client"+t]}else{if(E.nodeType===9){return Math.max(E.documentElement["client"+t],E.body["scroll"+t],E.documentElement["scroll"+t],E.body["offset"+t],E.documentElement["offset"+t])}else{if(S===O){E=u.css(E,B);var P=parseFloat(E);return u.isNaN(P)?E:P}else{return this.css(B,typeof S==="string"?S:S+"px")}}}}})})(window);if(!window._ate){var _atd="www.addthis.com/",_atr="//s7.addthis.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atu="undefined",_atc={dr:0,ver:250,loc:0,enote:"",cwait:500,tamp:-1,samp:0.01,camp:1,vamp:1,addr:-1,addt:1,xfl:!!window.addthis_disable_flash,abf:!!window.addthis_do_ab};(function(){try{var ac=window.location;if(ac.protocol.indexOf("file")===0){_atr="http:"+_atr}if(ac.hostname.indexOf("localhost")!=-1){_atc.loc=1}}catch(ah){}var af=navigator.userAgent.toLowerCase(),ai=document,s=window,r=s.addEventListener,x=s.attachEvent,ad=ai.location,Z={win:/windows/.test(af),xp:/windows nt 5.1/.test(af)||/windows nt 5.2/.test(af),chr:/chrome/.test(af),iph:/iphone/.test(af),saf:/safari/.test(af),web:/webkit/.test(af),opr:/opera/.test(af),msi:(/msie/.test(af))&&!(/opera/.test(af)),ffx:/firefox/.test(af),ff2:/firefox\/2/.test(af),ie6:/msie 6.0/.test(af),ie7:/msie 7.0/.test(af),mod:-1},U={isBound:false,isReady:false,readyList:window.addthis_onload||[],onReady:function(){if(!U.isReady){U.isReady=true;var f=U.readyList;for(var g=0;g<f.length;g++){f[g].call(window)}U.readyList=[]}},addLoad:function(f){var g=s.onload;if(typeof s.onload!="function"){s.onload=f}else{s.onload=function(){if(g){g()}f()}}},bindReady:function(){if(a.isBound){return}a.isBound=true;if(ai.addEventListener&&!Z.opr){ai.addEventListener("DOMContentLoaded",a.onReady,false)}var f=window.addthis_product;if(f&&f.indexOf("f")>-1){a.onReady();return}if(Z.msi&&window==top){(function(){if(a.isReady){return}try{ai.documentElement.doScroll("left")}catch(h){setTimeout(arguments.callee,0);return}a.onReady()})()}if(Z.opr){ai.addEventListener("DOMContentLoaded",function(){if(a.isReady){return}for(var h=0;h<ai.styleSheets.length;h++){if(ai.styleSheets[h].disabled){setTimeout(arguments.callee,0);return}}a.onReady()},false)}if(Z.saf){var g;(function(){if(a.isReady){return}if(ai.readyState!="loaded"&&ai.readyState!="complete"){setTimeout(arguments.callee,0);return}if(g===undefined){var h=ai.gn("link");for(var j=0;j<h.length;j++){if(h[j].getAttribute("rel")=="stylesheet"){g++}}var k=ai.gn("style");g+=k.length}if(ai.styleSheets.length!=g){setTimeout(arguments.callee,0);return}a.onReady()})()}a.addLoad(a.onReady)},append:function(g,f){a.bindReady();if(a.isReady){g.call(window,[])}else{a.readyList.push(function(){return g.call(window,[])})}}},a=U,w=function(h,f,g,j){if(!h){return g}if(h instanceof Array){for(var m=0,o=h.length,k=h[0];m<o;k=h[++m]){g=f.call(j||h,g,k,m,h)}}else{for(var n in h){g=f.call(j||h,g,h[n],n,h)}}return g},d=Array.prototype.slice,l=function(f){return d.apply(f,d.call(arguments,1))},i=function(f){return f.replace(/(^\s+|\s+$)/g,"")},ag=function(f,g){return w(l(arguments,1),function(h,j){return w(j,function(m,k,n){m[n]=k;return m},h)},f)},y=function(g,f){return w(g,function(k,j,h){h=i(h);if(h){k.push(_euc(h)+"="+_euc(i(j)))}return k},[]).join(f||"&")},X=function(g,f){return w((g||"").split(f||"&"),function(h,k){var n=k.split("="),m=i(_duc(n[0])),j=i(_duc(n.slice(1).join("=")));if(m){h[m]=j}return h},{})},W={vst:[],rev:"$Rev: 72143 $",_euc:_euc,_duc:_duc,reduce:w,slice:l,strip:i,extend:ag,toKV:y,fromKV:X,bro:Z,clck:1,show:1,dl:ad,camp:_atc.camp-Math.random(),samp:_atc.samp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),ab:"-",scnt:1,seq:1,inst:1,wait:500,tmo:null,cvt:[],svt:[],sttm:new Date().getTime(),max:4294967295,pix:"tev",sid:0,sub:!!window.at_sub,dbm:0,uid:null,oot:null,swf:"//bin.clearspring.com/at/v/1/button1.6.swf",evu:"//o.addthis.com/at/",spt:"static/r07/widget12.png",ifpp:null,gat:function(){},com:function(f){if(window.parent&&window.postMessage){window.parent.postMessage(f,"*")}else{W.ifm(f)}},ifwn:function(){var f=W;try{f.rec(f.sifr.contentWindow.name)}catch(g){}},ifm:function(f){if(addthis_wpl){var g=(addthis_wpl.split("#"))[0];window.parent.location.href=g+"#at"+f}return false},hash:window.location.hash,ifp:function(){var h=W,g=window.location.hash,f=0;if(g&&g.indexOf("#at")>-1){g=g.substr(3).split(";");for(var k in g){var j=g[k].length>3?g[k].substr(0,3):null;switch(j){case"ssh":f=1;h.ssh(g[k].substr(4));break;case"uid":f=1;h.asetup(g[k].substr(4));break}}if(f){if(!h.hash.length||h.hash==""){h.hash="#"}window.location.hash=h.hash}}if(h.gssh&&h.guid){clearInterval(h.ifpp)}},pmh:function(f){if(f.origin.slice(-12)==".addthis.com"){W.rec(f.data)}},_rec:[],rec:function(k){if(!k){return}var f=X(k),h=W,j=h.sifr,m=h._rec;if(f.ssh){h.ssh(f.ssh)}if(f.uid){h.asetup(f.uid)}if(f.dbm){h.dbm=f.dbm}if(j&&j.parentNode){j.parentNode.removeChild(j);h.sifr=null}for(var g=0;g<m.length;g++){m[g](f)}},ssh:function(g){W.gssh=1;var f=window.addthis_ssh=_duc(g);W._ssh=f.split(",")},mun:function(h){var f=291;if(h){for(var g=0;g<h.length;g++){f=(f*(h.charCodeAt(g)+g)+3)&1048575}}return(f&16777215).toString(32)},ibt:function(){if(W.bti){return W.bti}var f=(window.addthis_product||"men").substr(0,3),g=f=="bkm"||f=="fct"||f=="fxe";if(g){W.bti=g}return g},off:function(){return Math.floor((new Date().getTime()-W.sttm)/100).toString(16)},ran:function(){return Math.floor(Math.random()*4294967295).toString(36)},srd:function(){if(W.dr){return"&pre="+_euc(W.dr)}else{return""}},cst:function(f){return"CXNID=2000001.521545608054043907"+(f||2)+"NXC"},imgz:[],hrr:function(h){if(h&&h.urls&&h.urls instanceof Array){for(var g=0;g<h.urls.length;g++){var f=new Image();W.imgz.push(f);f.src=h.urls[g]}}},img:function(f,j){if(!window.at_sub&&!_atc.xtr){var k=W,g=k.dr,h=((k.rev||"").split(" "));if(g){g=g.split("?").shift().split("http://").pop().split("https://").pop();if(g.length>25){g=g.substr(0,25)}}var m=new Image();k.imgz.push(m);m.src=_atr+"live/t00/"+f+".gif?"+(k.uid!==null?"uid="+k.uid+"&":"")+k.ran()+"&"+k.cst(j)+(k.pub()?"&pub="+k.pub():"")+(g?"&dr="+_euc(g):"")+(h.length>1?"&rev="+h[1]:"")}},cuid:function(){return((W.sttm/1000)&W.max).toString(16)+("00000000"+(Math.floor(Math.random()*(W.max+1))).toString(16)).slice(-8)},ssid:function(){if(W.sid===0){W.sid=W.cuid()}return W.sid},sev:function(g,f){W.pix="sev-"+(typeof(g)!=="number"?_euc(g):g);W.svt.push(g+";"+W.off());if(f===1){W.xmi(true)}else{W.sxm(true)}},cev:function(g,f){W.pix="cev-"+_euc(g);W.cvt.push(_euc(g)+"="+_euc(f)+";"+W.off());W.sxm(true)},sxm:function(f){if(W.tmo!==null){clearTimeout(W.tmo)}if(f){W.tmo=W.sto("_ate.xmi(false)",W.wait)}},sto:function(g,f){return setTimeout(g,f)},sta:function(){var f=W;return"AT-"+(f.pub()?f.pub():"unknown")+"/-/"+f.ab+"/"+f.ssid()+"/"+(f.seq++)+(f.uid!==null?"/"+f.uid:"")},xred:function(){var n=window,h=W,k=0,m=ai.referer||ai.referrer||"",j=ad?ad.href:null,g=0;if(h.camp>=0&&j&&ad&&ad.protocol&&(m.indexOf(".com")>-1)&&(ad.protocol.indexOf("https")==-1)){if(m&&m.match(/ws\/results\/(Web|Images|Video|News)/)){g=1}else{if(m.indexOf(".com/search")>-1){var o=m.split("?").pop().split("&");for(var t=0;t<o.length;t++){if(o[t].indexOf("q=")===0||o[t].indexOf("p=")===0||o[t].indexOf("query")===0||o[t].indexOf("qry")===0||o[t].indexOf("text")===0){g=1;break}}}}if(!_atc.xtr&&!_atc.xck&&g&&h.mun(h.pub())!=="mu2r"){var f=ai.ce("script");f.src="//cf.addthis.com/red/p.json?callback=_ate.hrr"+(h.pub()?"&pub="+h.pub():"")+(h.uid&&h.uid!=="anonymous"?"&uid="+_euc(h.uid):"")+"&url="+_euc(j)+"&ref="+_euc((ai.referer||ai.referrer));ai.gn("head")[0].appendChild(f)}}},xld:function(){var f=W;if(!f.xld_p){f.xld_p=1;if(f.samp>=0&&!f.sub){f.sev("20");f.cev("plo",Math.round(1/_atc.samp));if(f.dr){f.cev("pre",f.dr)}}f.xred();f.img(_atc.ver+"lo","2")}},xmi:function(j){var h=W,g=h.dl?h.dl.hostname:"";if(!h.uid){h.dck("X"+h.cuid())}else{h.coo()}if(h.cvt.length+h.svt.length>0){h.sxm(false);if(h.seq===1){h.cev("pin",h.inst)}if(_atc.xtr){return}if(g.indexOf(".gov")>-1||g.indexOf(".mil")>-1){_atc.xck=1}var k=h.pix+"-"+h.ran()+".png?ev="+W.sta()+"&se="+h.svt.join(",")+"&ce="+h.cvt.join(",")+(_atc.xck?"&xck=1":""),m=h.evu+k;h.cvt=[];h.svt=[];if(j){var n=document,f=n.ce("iframe");f.id="_atf";f.src=m;W.opp(f.style);n.body.appendChild(f);f=n.getElementById("_atf")}else{var o=new Image();h.imgz.push(o);o.src=m}}},loc:function(){return _atc.loc},opp:function(f){f.width=f.height="1px";f.position="absolute";f.zIndex=100000},pub:function(){return _euc(window.addthis_config&&addthis_config.username?addthis_config.username:(window.addthis_pub||""))},plo:[],lad:function(f){W.plo.push(f)},lng:function(){return window.addthis_language||(window.addthis_config||{}).ui_language||(W.bro.msi?navigator.userLanguage:navigator.language)},alg:function(f){var g=document;if(f&&(f.toLowerCase()).indexOf("en")!==0&&!W.pll){W.pll=W.ajs("static/r07/lang03.js")}},jlr:{},ajs:function(f){if(!W.jlr[f]){var g=ai.ce("script");g.src=_atr+f;ai.gn("head")[0].appendChild(g);W.jlr[f]=1;return g}return 1},jlo:function(){try{var k=document,h=W,j=h.lng();h.alg(j);if(!h.pld){if(h.bro.ie6){var g=new Image();h.imgz.push(g);g.src=_atr+h.spt;if(window.addthis_feed){g=new Image();h.imgz.push(g);g.src=_atr+"static/r05/feed00.gif"}}h.pld=h.ajs("static/r07/menu41.js")}}catch(f){}},igv:function(f,g){if(!s.addthis_share){s.addthis_share={}}if(!addthis_share.url){s.addthis_share.url=s.addthis_url||f}if(!addthis_share.title){s.addthis_share.title=s.addthis_title||g}if(!s.addthis_config){s.addthis_config={username:s.addthis_pub}}else{if(addthis_config.data_use_flash===false){_atc.xfl=1}if(addthis_config.data_use_cookies===false){_atc.xck=1}}},lod:function(J){try{var L=window,g=W,h=g.bro.msi,B=0,H=ai.referer||ai.referrer||"",F=ad?ad.href:null,I=ad.hostname,E=F?F.indexOf("sms_ss"):-1,P=((J===1||L.addthis_load_flash)&&!_atc.abf),O=((L.addthis_language||(L.addthis_config?L.addthis_config.ui_language:null)||(g.bro.msi?navigator.userLanguage:navigator.language)).split("-")).shift(),o=(ad.href.indexOf(_atr)==-1)&&!g.bro.ie6&&!g.bro.ie7,u=ai.gn("link"),m=_atr+"static/r07/sh10.html",j="_ate.ifwn()",n,K;if(!L.postMessage){var N=ai.gn("img");for(var D=0;D<N.length;D++){if(N[D].src.split("//").pop().indexOf(I)==0){n=N[D].src;break}}}if(o&&(!_atc.xic||(L.postMessage||g.bro.msi))){if(!h){K=ai.ce("iframe")}else{var M=ai.ce("div");M.style.visibility="hidden";g.opp(M.style);ai.body.insertBefore(M,ai.body.firstChild);M.innerHTML='<iframe id="_atssh" width="1" height="1" name="_atssh" '+(!L.postMessage?'onload="'+j+'" ':"")+">";K=ai.getElementById("_atssh")}}for(var D=0;D<u.length;D++){var C=u[D];if(C.rel&&C.rel=="canonical"&&C.href){F=C.href}}g.igv(F,ai.title||"");g.gov();g.dr=H;var k=(g.swf&&!_atc.xfl&&!(g.loc())&&!_atc.abf&&(P||g.uid===null||(g.uid!=="anonymous"&&g.oot&&((new Date()).getTime()-g.oot>60480000))));m+="#swfp="+(k&&h?1:0);if(!h&&k){var A=function(ak,aj,R){var Q=ai.ce("param");Q.name=aj;Q.value=R;ak.appendChild(Q)},M=ai.ce("div"),G="atff",z=G+"c",t=ai.ce("object");M.id=z;ai.body.insertBefore(M,ai.body.firstChild);setTimeout(function(){var Q=ai.getElementById(z);t.id=G;t.data=g.swf;t.width=t.height="1px";t.type="application/x-shockwave-flash";A(t,"wmode","transparent");A(t,"allowScriptAccess","always");Q.appendChild(t)},10)}if(o&&K){K.id="_atssh";g.opp(K.style);K.frameborder=K.style.border=0;K.style.top=K.style.left=0;if(L.postMessage){K.src=m;if(h){L.attachEvent("onmessage",g.pmh)}else{L.addEventListener("message",g.pmh,false)}K=ai.body.appendChild(K)}else{if(n&&!_atc.xic&&g.bro.msi&&window==top){K.onload=j;K.src=n;K=ai.body.appendChild(K);K.src=m+"&wpl="+_euc(n)}}g.sifr=K}if(!P){if(k){g.uoo();if(g.bro.ie6||g.bro.ie7){g.sto("if (_ate.xld) _ate.xld()",5000)}else{g.sto("_ate.xld()",5000)}}else{g.guid=1;g.xld()}if(E>-1&&F.indexOf(_atd+"book")==-1){var f=F.substr(E);f=f.split("&").shift().split("#").shift().split("=").pop();if(g.vamp>=0&&!g.sub&&f.length){g.cev("plv",Math.round(1/_atc.vamp));g.cev("rsc",f)}}}if(g.plo.length>0){g.jlo()}}catch(v){}},kck:function(f){var g=document;if(g.cookie){g.cookie=f+"= ; expires=Tue, 31 Mar 2009 05:47:11 UTC; path=/"}},rck:function(k){var g=document;if(g.cookie){var h=g.cookie.split(";");for(var f=0;f<h.length;f++){var j=h[f],m=j.indexOf(k+"=");if(m>=0){return j.substring(m+(k.length+1))}}}return},uoo:function(){W.sck("_csoot",(new Date().getTime()))},coo:function(f){if(W.uid=="anonymous"&&!W.oot){W.xck=1;W.uoo()}},dck:function(f){W.uid=f;W.sck("_csuid",f);W.coo()},gov:function(){var g=W.dl?W.dl.hostname:"";if(g.indexOf(".gov")>-1||g.indexOf(".mil")>-1){_atc.xck=1;_atc.xfl=1}var h=W.pub(),f=["usarmymedia","govdelivery"];for(ae in f){if(h==f[ae]){_atc.xck=1;_atc.xfl=1;break}}},sck:function(g,f,h){W.gov();if(!_atc.xck){ai.cookie=g+"="+f+(!h?"; expires=Wed, 04 Oct 2028 03:19:53 GMT":"")+"; path=/"}},asetup:function(f){var g=W;try{if(!g.guid){g.guid=1;if(f!==null&&f!==_atu){g.dck(f)}g.xld()}}catch(h){}return f},ao:function(h,f,m,j,k,g){W.lad(["open",h,f,m,j,k,g]);W.jlo();return false},ac:function(){},as:function(g,h,f){W.lad(["send",g,h,f]);W.jlo()}},aa=W;s._ate=aa;s._adr=a;ai.ce=ai.createElement;ai.gn=ai.getElementsByTagName;a.bindReady();if(!_atc.ost){if(!s.addthis_conf){s.addthis_conf={}}for(var ae in addthis_conf){_atc[ae]=addthis_conf[ae]}_atc.ost=1}a.append(aa.lod);if(ai.cookie){var T=ai.cookie.split(";");for(var ae=0;ae<T.length;ae++){var Y=T[ae],V=Y.indexOf("_csuid="),S=Y.indexOf("_csoot=");if(V>=0){W.uid=Y.substring(V+7)}else{if(S>=0){W.oot=Y.substring(S+7)}}}}try{if(!_atc.xcs){var ac=ai.ce("link");ac.rel="stylesheet";ac.type="text/css";ac.href=_atr+"static/r07/widget25.css";ac.media="all"}}catch(ah){}var ab=ai.gn("script"),q=ab[ab.length-1],b=q.src.indexOf("#")>-1?q.src.replace(/^[^\#]+\#?/,""):q.src.replace(/^[^\?]+\??/,""),c=X(b);if(c.pub){s.addthis_pub=_duc(c.pub)}else{if(c.username){s.addthis_pub=_duc(c.username)}}if(s.addthis_pub&&s.addthis_config){s.addthis_config.username=s.addthis_pub}if(c.domready){_atc.dr=1}try{if(_atc.ver===120){var p="atb"+s._ate.cuid();ai.write('<span id="'+p+'"></span>');s._ate.igv();s._ate.lad(["span",p,addthis_share.url||"[url]",addthis_share.title||"[title]"])}if(s.addthis_clickout){W.lad(["cout"])}}catch(ah){}})();function addthis_open(h,l,k,i,j,g){if(typeof j=="string"){j=null}return _ate.ao(h,l,k,i,j,g)}function addthis_close(){_ate.ac()}function addthis_sendto(f,g,d){_ate.as(f,g,d);return false}if(_atc.dr){_adr.onReady()}}else{_ate.inst++}if(_atc.abf){addthis_open(document.getElementById("ab"),"emailab",window.addthis_url||"[URL]",window.addthis_title||"[TITLE]")}if(!window.addthis||window.addthis.nodeType!==undefined){window.addthis=(function(){function d(a,b){return function(){addthis.plo.push({call:a,args:arguments,ns:b})}}function c(a){var g=this,b=this.queue=[];this.name=a;this.call=function(){b.push(arguments)};this.call.queuer=this;this.flush=function(k,f){for(var i=0;i<b.length;i++){k.apply(f||g,b[i])}return k}}return{ost:0,cache:{},plo:[],links:[],ems:[],_Queuer:c,_queueFor:d,button:d("button"),toolbox:d("toolbox"),update:d("update")}})()}_adr.append((function(){if(!window.addthis.ost){var d=document,u=undefined,w=window,unaccent=function(s){if(s.indexOf("&")>-1){s=s.replace(/&([aeiou]).+;/g,"$1")}return s},customServices={},globalConfig=w.addthis_config,globalShare=w.addthis_share,upConfig={},upShare={},body=d.gn("body").item(0),mrg=function(o,n){if(n&&o!==n){for(var k in n){if(o[k]===u){o[k]=n[k]}}}},addga=function(o,ss,au){var oldclick=o.onclick||function(){};if(o.conf.data_ga_tracker||addthis_config.data_ga_tracker||o.conf.data_ga_property||addthis_config.data_ga_property){o.onclick=function(){_ate.gat(ss,au,o.conf,o.share);oldclick()}}},rpl=function(o,n){var r={};for(var k in o){if(n[k]){r[k]=n[k]}else{r[k]=o[k]}}return r},addthis=window.addthis,genieu=function(share){return"mailto:?subject="+_euc(share.title?share.title:"%20")+"&body="+_euc(share.title?share.title:"")+(share.title?"%0D%0A":"")+_euc(share.url)+"%0D%0A%0D%0AShared via AddThis.com"},gebcn=function(oParent,tag,className,allowSuffix,optimizable){tag=tag.toUpperCase();var els=(oParent==body&&addthis.cache[tag]?addthis.cache[tag]:(oParent||body).getElementsByTagName(tag)),rv=[],i,o;if(oParent==body){addthis.cache[tag]=els}if(optimizable){for(i=0;i<els.length;i++){o=els[i];if(o.className.indexOf(className)>-1){rv.push(o)}}}else{className=className.replace(/\-/g,"\\-");var rx=new RegExp("(^|\\s)"+className+(allowSuffix?"\\w*":"")+"(\\s|$)");for(i=0;i<els.length;i++){o=els[i];if(rx.test(o.className)){rv.push(o)}}}return(rv)},s_list={aim:"AIM",kirtsy:"kIRTSY",linkagogo:"Link-a-Gogo",meneame:"Men&eacute;ame",misterwong:"Mister Wong",myaol:"myAOL",myspace:"MySpace",yahoobkm:"Y! Bookmarks",typepad:"TypePad",wordpress:"WordPress"},b_title={email:"Email",mailto:"Email",print:"Print",favorites:"Save to Favorites",twitter:"Tweet This",digg:"Digg This"},json={services_custom:1},nosend={more:1,email:1,mailto:1},nowindow={email:1,mailto:1,print:1,more:1,favorites:1},a_config=["username","services_custom","services_custom_name","services_custom_url","services_custom_title","services_exclude","services_compact","services_expanded","ui_click","ui_hide_embed","ui_delay","ui_hover_direction","ui_language","ui_offset_top","ui_offset_left","ui_header_color","ui_header_background","ui_use_embeddable_services_beta","ui_icons","ui_cobrand","data_use_flash","data_use_cookies","data_track_linkback"],a_share=["url","title","templates","email_template","email_vars","html","swfurl","width","height","screenshot","author","description","content"],getElementsByClassName=d.getElementsByClassname||gebcn,_svcurl=function(config,share){var sv=config.services instanceof Array?config.services[0]:config.services||"";return"http://"+_atd+"bookmark.php?v="+_atc.ver+"&pub="+_euc(_ate.pub())+"&s="+sv+(share.url?"&url="+_euc(share.url):"")+(share.title?"&title="+_euc(share.title):"")+"&tt=0"},_select=function(what){if(typeof what=="string"){var c=what.substr(0,1);if(c=="#"){what=d.getElementById(what.substr(1))}else{if(c=="."){what=getElementsByClassName(body,"*",what.substr(1))}else{}}}if(!(what instanceof Array)){what=[what]}return what},_parseAttributes=function(el,attrs,overrides,childWins){var rv={};overrides=overrides||{};for(var i=0;i<attrs.length;i++){if(overrides[attrs[i]]&&!childWins){rv[attrs[i]]=overrides[attrs[i]]}else{if(el){var p="addthis:"+attrs[i],v=el.getAttribute?el.getAttribute(p)||el[p]:el[p];if(v){rv[attrs[i]]=v}else{if(overrides[attrs[i]]){rv[attrs[i]]=overrides[attrs[i]]}}if(rv[attrs[i]]==="true"){rv[attrs[i]]=true}else{if(rv[attrs[i]]==="false"){rv[attrs[i]]=false}}}}if(rv[attrs[i]]!==undefined&&json[attrs[i]]&&(typeof rv[attrs[i]]=="string")){eval("var e = "+rv[attrs[i]]);rv[attrs[i]]=e}}return rv},_processCustomServices=function(conf){var acs=(conf||{}).services_custom;if(!acs){return}if(!(acs instanceof Array)){acs=[acs]}for(var i=0;i<acs.length;i++){var service=acs[i];if(service.name&&service.icon&&service.url){service.code=service.url=service.url.replace(/ /g,"");if(service.code.indexOf("http")===0){service.code=service.code.substr((service.code.indexOf("https")===0?8:7))}service.code=service.code.split("?").shift().split("/").shift().toLowerCase();customServices[service.code]=service}}},_getCustomService=function(ss,conf){return customServices[ss]||{}},_getATtributes=function(el,config,share,childWins){var rv={conf:config||{},share:share||{}};rv.conf=_parseAttributes(el,a_config,config,childWins);rv.share=_parseAttributes(el,a_share,share,childWins);return rv},_render=function(what,conf,attrs){if(what){conf=conf||{};attrs=attrs||{};var config=conf.conf||globalConfig,share=conf.share||globalShare;var onmouseover=attrs.onmouseover,onmouseout=attrs.onmouseout,onclick=attrs.onclick,internal=attrs.internal,ss=attrs.singleservice;if(ss){config.product="tbx-"+_atc.ver;if(onclick===u){onclick=nosend[ss]?function(el,config,share){var s=rpl(share,upShare);return addthis_open(el,ss,s.url,s.title,rpl(config,upConfig),s)}:nowindow[ss]?function(el,config,share){var s=rpl(share,upShare);return addthis_sendto(ss,rpl(config,upConfig),s)}:null}}else{if(!attrs.noevents){if(!attrs.nohover){if(onmouseover===u){onmouseover=function(el,config,share){return addthis_open(el,"",null,null,config,share)}}if(onmouseout===u){onmouseout=function(el){return addthis_close()}}if(onclick===u){onclick=function(el,config,share){return addthis_sendto("more",config,share)}}}else{if(onclick===u){onclick=function(el,config,share){return addthis_open(el,"more",null,null,config,share)}}}}}what=_select(what);for(var i=0;i<what.length;i++){var o=what[i],oattr=_getATtributes(o,config,share,true)||{};mrg(oattr.conf,globalConfig);mrg(oattr.share,globalShare);o.conf=oattr.conf;o.share=oattr.share;if(o.conf.ui_language){_ate.alg(o.conf.ui_language)}_processCustomServices(o.conf);if(!o.conf||!o.conf.ui_click){if(onmouseover){o.onmouseover=function(){return onmouseover(this,this.conf,this.share)}}if(onmouseout){o.onmouseout=function(){return onmouseout(this)}}if(onclick){o.onclick=function(){return onclick(this,this.conf,this.share)}}}else{if(onclick){o.onclick=function(){return addthis_open(this,"",null,null,this.conf,this.share)}}}if(o.tagName.toLowerCase()=="a"){if(ss){var customService=_getCustomService(ss,o.conf);o.conf.product="tbx-"+_atc.ver;if(customService&&customService.code&&customService.icon){if(o.firstChild&&o.firstChild.className.indexOf("at300bs")>-1){o.firstChild.style.background="url("+customService.icon+") no-repeat top left"}}if((_ate.bro.ffx||_ate.bro.saf||_ate.bro.chr||_ate.bro.iph)&&!nowindow[ss]){var template=o.share.templates&&o.share.templates[ss]?o.share.templates[ss]:"",url=o.share.url||addthis_share.url,title=o.share.title||addthis_share.title,swfurl=o.share.swfurl||addthis_share.swfurl,width=o.share.width||addthis_share.width,height=o.share.height||addthis_share.height,description=o.share.description||addthis_share.description,screenshot=o.share.screenshot||addthis_share.screenshot;o.href="//"+_atd+"bookmark.php?pub="+_euc(addthis_config.username||o.conf.username||_ate.pub())+"&v="+_atc.ver+"&source=tbx-"+_atc.ver+"&tt=0&s="+ss+"&url="+_euc(url||"")+"&title="+_euc(title||"")+"&content="+_euc(o.share.content||addthis_share.content||"")+(template?"&template="+_euc(template):"")+(o.conf.data_track_linkback?"&sms_ss=1":"")+"&lng="+((window.addthis_language||o.conf.ui_language||navigator.language||"xy").split("-").shift())+(description?"&description="+_euc(description):"")+(swfurl?"&swfurl="+_euc(swfurl):"")+(width?"&width="+_euc(width):"")+(height?"&height="+_euc(height):"")+(screenshot?"&screenshot="+_euc(screenshot):"")+(customService&&customService.url?"&acn="+_euc(customService.name)+"&acc="+_euc(customService.code)+"&acu="+_euc(customService.url):"")+(_ate.uid?"&uid="+_euc(_ate.uid):"");addga(o,ss,url);o.target="_blank";addthis.links.push(o)}else{if(!nowindow[ss]){o.onclick=function(){return addthis_sendto.call(this,ss,rpl(this.conf,upConfig),rpl(this.share,upShare))}}else{if(ss=="mailto"||(ss=="email"&&(o.conf.ui_use_mailto||_ate.bro.iph))){o.onclick=function(){};o.href=genieu(o.share);addga(o,ss,url);addthis.ems.push(o)}}}if(!o.title){o.title=unaccent(b_title[ss]?b_title[ss]:"Send to "+(s_list[ss]?s_list[ss]:ss.substr(0,1).toUpperCase()+ss.substr(1)))}}}if(internal){var app=internal;if(!o.hasChildNodes()){if(internal=="img"){var img=d.ce("img");img.width=125;img.height=16;img.border=0;img.alt="Share";img.src="//s7.addthis.com/static/btn/v2/lg-share-en.gif";app=img}o.appendChild(app)}}}}},buttons=gebcn(body,"A","addthis_button_",true,true),_renderToolbox=function(collection,config,share,reprocess){for(var i=0;i<collection.length;i++){var b=collection[i];if(b==null){continue}if(reprocess!==false||!b.ost){var config=config||globalConfig,share=share||globalShare,attr=_getATtributes(b,config,share,true),hc=0,a="at300",c=b.className||"",s=c.match(/addthis_button_([\w\.]+)(?:\s|$)/),opts=u,sv=s&&s.length?s[1]:0;if(sv){if(sv.indexOf("preferred")>-1){s=c.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/);var svidx=((s&&s.length)?Math.min(12,Math.max(1,parseInt(s[1]))):1)-1;if(window._atw){var excl=_atw.conf.services_exclude,locopts=(_atw.loc[addthis_language||"en"]||_atw.loc.en),opts=addthis_options.replace(",more","").split(",");if(svidx<opts.length){sv=opts[svidx];locopts=locopts.replace(sv,"").replace(",,","").replace(/,$|^,/,"")}else{if(typeof locopts!="array"){locopts=locopts.split(",")}do{if(svidx<locopts.length){sv=locopts[svidx]}else{break}}while(excl.indexOf(svidx++)==-1)}}else{if(config.ui_language&&config.ui_language!="en"){_ate.alg(config.ui_language)}_ate.plo.push(["deco",_renderToolbox,[b],config,share,true]);if(_ate.gssh){_ate.pld=_ate.ajs("static/r07/menu41.js")}else{if(!_ate.pld){_ate.pld=1;_ate.sto("_ate.pld = _ate.ajs('static/r07/menu41.js');",100)}}continue}}if(!b.childNodes.length){var sp=d.ce("span");b.appendChild(sp);sp.className=a+"bs at15t_"+sv}else{if(b.childNodes.length==1){var cn=b.childNodes[0];if(cn.nodeType==3){var sp=d.ce("span"),tv=cn.nodeValue;b.insertBefore(sp,cn);sp.className=a+"bs at15t_"+sv}}else{hc=1}}if(sv==="compact"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m"}}else{if(sv==="expanded"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m"}opts={nohover:true}}else{if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"b"}opts={singleservice:sv}}}_render([b],attr,opts);b.ost=1}}}},gat=function(s,au,conf,share){var pageTracker=conf.data_ga_tracker,propertyId=conf.data_ga_property;if(propertyId&&typeof(window._gat)=="object"){pageTracker=_gat._getTracker(propertyId)}if(pageTracker&&typeof(pageTracker)=="object"){var gaUrl=au||(share||{}).url||location.href;if(gaUrl.toLowerCase().replace("https","http").indexOf("http%3a%2f%2f")==0){gaUrl=_duc(gaUrl)}try{pageTracker._trackEvent("addthis",s,gaUrl)}catch(e){try{pageTracker._initData();pageTracker._trackEvent("addthis",s,gaUrl)}catch(e){}}}};_ate.gat=gat;addthis.update=function(which,what,value){if(which=="share"){if(!window.addthis_share){window.addthis_share={}}window.addthis_share[what]=value;upShare[what]=value;for(var i in addthis.links){var o=addthis.links[i],rx=new RegExp("&"+what+"=(.*)&"),ns="&"+what+"="+_euc(value)+"&";o.href=o.href.replace(rx,ns);if(o.href.indexOf(what)==-1){o.href+=ns}}for(var i in addthis.ems){var o=addthis.ems[i];o.href=genieu(addthis_share)}}else{if(which=="config"){if(!window.addthis_config){window.addthis_config={}}window.addthis_config[what]=value;upConfig[what]=value}}};addthis.button=function(what,config,share){_render(what,{conf:config,share:share},{internal:"img"})};addthis.toolbox=function(what,config,share){var toolboxes=_select(what);for(var i=0;i<toolboxes.length;i++){var tb=toolboxes[i],attr=_getATtributes(tb,config,share),sp=d.ce("div"),c=tb.getElementsByTagName("a");if(c){_renderToolbox(c,attr.conf,attr.share)}tb.appendChild(sp);sp.className="atclear"}};addthis.ready=function(){var at=addthis,a=".addthis_";if(at.ost){return}at.ost=1;addthis.toolbox(a+"toolbox");addthis.button(a+"button");_renderToolbox(buttons,null,null,false);for(var i=0,plo=at.plo,q;i<plo.length;i++){q=plo[i];(q.ns?at[q.ns]:at)[q.call].apply(this,q.args)}};window.addthis=addthis;window.addthis.ready()}}));_ate.extend(addthis,{user:(function(){var p=_ate,n=addthis,q={},o=0,l;function k(b,c){return p.reduce(["getID","getServiceShareHistory"],b,c)}function a(b,c){return function(d){setTimeout(function(){d(p[b]||c)},0)}}function m(){if(o){return}if(l!==null){clearTimeout(l)}l=null;o=1;k(function(d,b,c){q[b]=q[b].queuer.flush(a.apply(n,d[c]),n);return d},[["uid",""],["_ssh",[]]])}p._rec.push(m);l=setTimeout(m,5000);return k(function(b,c){b[c]=(new n._Queuer(c)).call;return b},q)})()});jQuery(function(h){var D=(h.browser.msie&&parseInt(h.browser.version.substr(0,1))<7);var M=h("body");var w;var j=false;var J;var L;var o={started:false,ready:false,dataReady:false,anim:false,loadingShown:false,transition:false,error:false,full:null,bg:null,loading:null,tmp:null,content:null,wrapper:null,closing:false,contentWrapper:null,scripts:new Array()};var P={width:false,height:false};h.fn.nyroModal=function(Y){if(!this){return false}return this.each(function(){if(this.nodeName.toLowerCase()=="form"){h(this).submit(function(Z){if(this.enctype=="multipart/form-data"){U(h.extend(Y,{from:this}));return true}Z.preventDefault();U(h.extend(Y,{from:this}));return false})}else{h(this).click(function(Z){Z.preventDefault();U(h.extend(Y,{from:this}));return false})}})};h.fn.nyroModalManual=function(Y){if(!this.length){U(Y)}return this.each(function(){U(h.extend(Y,{from:this}))})};h.nyroModalManual=function(Y){U(Y)};h.nyroModalSettings=function(Z,aa,Y){c(Z,aa,Y);if(!aa&&o.started){if(o.bg&&Z.bgColor){w.updateBgColor(o,w,function(){})}if(o.contentWrapper&&Z.title){title=h("h1#nyroModalTitle",o.contentWrapper);if(title.length){title.text(Z.title)}else{o.contentWrapper.prepend('<h1 id="nyroModalTitle">'+Z.title+"</h1>")}}if(o.content&&(o.dataReady&&!o.anim&&!o.transition)&&(Z.width||Z.height)){p(true);if(j){o.content.css({position:""})}w.resize(o,w,function(){if(j){o.content.css({position:"fixed"})}if(h.isFunction(w.endResize)){w.endResize(o,w)}})}}};h.nyroModalRemove=function(){l()};h.nyroModalNext=function(){var Y=C(1);if(Y){return Y.nyroModalManual(w)}return false};h.nyroModalPrev=function(){var Y=C(-1);if(Y){return Y.nyroModalManual(w)}return false};h.fn.nyroModal.settings={debug:false,modal:false,type:"",from:"",hash:"",processHandler:null,selIndicator:"nyroModalSel",formIndicator:"nyroModal",content:null,bgColor:"#000000",ajax:{},swf:{wmode:"transparent"},width:null,height:null,minWidth:400,minHeight:300,resizable:true,autoSizable:true,padding:25,regexImg:"[^.].(jpg|jpeg|png|tiff|gif|bmp)s*$",defaultImgAlt:"Image",setWidthImgTitle:true,ltr:true,css:{bg:{zIndex:100,position:"fixed",top:0,left:0,height:"100%",width:"100%"},wrapper:{zIndex:101,position:"fixed",top:"50%",left:"50%"},wrapper2:{},content:{overflow:"auto"},loading:{zIndex:102,position:"fixed",top:"50%",left:"50%",marginTop:"-50px",marginLeft:"-50px"}},wrap:{div:'<div class="wrapper"></div>',ajax:'<div class="wrapper"></div>',form:'<div class="wrapper"></div>',formData:'<div class="wrapper"></div>',image:'<div class="wrapperImg"></div>',gallery:'<div class="wrapperImg"><a href="#" class="nyroModalPrev">Prev</a><a href="#"  class="nyroModalNext">Next</a></div>',swf:'<div class="wrapperSwf"></div>',iframe:'<div class="wrapperIframe"></div>',manual:'<div class="wrapper"></div>'},closeButton:'<a href="#" class="nyroModalClose" id="closeBut" title="close">Close</a>',title:null,titleFromIframe:true,openSelector:".nyroModal",closeSelector:".nyroModalClose",contentLoading:'<a href="#" class="nyroModalClose">Cancel</a>',errorClass:"error",contentError:'The requested content cannot be loaded.<br />Please try again later.<br /><a href="#" class="nyroModalClose">Close</a>',handleError:null,showBackground:z,hideBackground:a,endFillContent:null,showContent:v,endShowContent:null,beforeHideContent:null,hideContent:e,showTransition:B,hideTransition:i,showLoading:f,hideLoading:I,resize:d,endResize:null,updateBgColor:E,endRemove:null};function U(Y){if(o.loadingShown||o.transition||o.anim){return}g("processModal");o.started=true;Q(Y);o.error=false;o.closing=false;o.dataReady=false;o.scripts=new Array();w.type=F();if(h.isFunction(w.processHandler)){w.processHandler(w)}from=w.from;url=w.url;if(w.type=="swf"){w.resizable=false;c({overflow:"hidden"},"css","content");w.content='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+w.width+'" height="'+w.height+'"><param name="movie" value="'+url+'"></param>';var ad="";h.each(w.swf,function(ah,ag){w.content+='<param name="'+ah+'" value="'+ag+'"></param>';ad+=" "+ah+'="'+ag+'"'});w.content+='<embed src="'+url+'" type="application/x-shockwave-flash" width="'+w.width+'" height="'+w.height+'"'+ad+"></embed></object>"}if(from){var ac=h(from);if(w.type=="form"){var Z=h(from).serializeArray();Z.push({name:w.formIndicator,value:1});if(w.selector){Z.push({name:w.selIndicator,value:w.selector.substring(1)})}h.ajax(h.extend({},w.ajax,{url:url,data:Z,type:from.method,success:y,error:H}));g("Form Ajax Load: "+ac.attr("action"));K()}else{if(w.type=="formData"){R();ac.attr("target","nyroModalIframe");ac.attr("action",url);ac.prepend('<input type="hidden" name="'+w.formIndicator+'" value="1" />');if(w.selector){ac.prepend('<input type="hidden" name="'+w.selIndicator+'" value="'+w.selector.substring(1)+'" />')}o.tmp.html('<iframe frameborder="0" hspace="0" name="nyroModalIframe"></iframe>');h("iframe",o.tmp).css({width:w.width,height:w.height}).error(H).load(b);g("Form Data Load: "+ac.attr("action"));K();k()}else{if(w.type=="image"||w.type=="gallery"){var ab=ac.attr("title")||w.defaultImgAlt;R();o.tmp.html('<img id="nyroModalImg" />').find("img").attr("alt",ab);g("Image Load: "+url);o.tmp.css({lineHeight:0});h("img",o.tmp).error(H).load(function(){g("Image Loaded: "+this.src);h(this).unbind("load");var ah=o.tmp.width();var ag=o.tmp.height();o.tmp.css({lineHeight:""});c({width:ah,height:ag,imgWidth:ah,imgHeight:ag});c({overflow:"hidden"},"css","content");o.dataReady=true;if(o.loadingShown||o.transition){k()}}).attr("src",url);K()}else{if(w.type=="iframe"){R();o.tmp.html('<iframe frameborder="0" hspace="0" src="'+url+'" name="nyroModalIframe"></iframe>');g("Iframe Load: "+url);h("iframe",o.tmp).eq(0).css({width:"100%",height:S()?"99%":"100%"}).load(function(ag){if(w.titleFromIframe&&url.indexOf(window.location.hostname)>-1){h.nyroModalSettings({title:h("iframe",o.full).contents().find("title").text()})}});w.autoSizable=false;o.dataReady=true;K()}else{if(w.type){g("Content: "+w.type);R();o.tmp.html(w.content);var af=o.tmp.width();var aa=o.tmp.height();var ae=h(w.type);if(ae.length){c({type:"div"});af=ae.width();aa=ae.height();if(J){L=J}J=ae;o.tmp.append(ae.contents())}c({width:af,height:aa});if(o.tmp.html()){o.dataReady=true}else{H()}K();k()}else{g("Ajax Load: "+url);c({type:"ajax"});var Z=w.ajax.data||{};if(w.selector){if(typeof Z=="string"){Z+="&"+w.selIndicator+"="+w.selector.substring(1)}else{Z[w.selIndicator]=w.selector.substring(1)}}h.ajax(h.extend(true,w.ajax,{url:url,success:y,error:H,data:Z}));K()}}}}}}else{if(w.content){g("Content: "+w.type);c({type:"manual"});R();o.tmp.html(h("<div/>").html(w.content).contents());if(o.tmp.html()){o.dataReady=true}else{H()}K()}else{}}}function Q(Y){g("setDefaultCurrentSettings");w=h.extend({},h.fn.nyroModal.settings,Y);w.selector="";w.borderW=0;w.borderH=0;w.resizable=true;m()}function c(Z,aa,Y){if(o.started){if(aa&&Y){h.extend(w[aa][Y],Z)}else{if(aa){h.extend(w[aa],Z)}else{h.extend(w,Z)}}}else{if(aa&&Y){h.extend(h.fn.nyroModal.settings[aa][Y],Z)}else{if(aa){h.extend(h.fn.nyroModal.settings[aa],Z)}else{h.extend(h.fn.nyroModal.settings,Z)}}}}function t(){if(D){if(document.documentElement){w.marginScrollLeft=document.documentElement.scrollLeft;w.marginScrollTop=document.documentElement.scrollTop}else{w.marginScrollLeft=document.body.scrollLeft;w.marginScrollTop=document.body.scrollTop}}else{w.marginScrollLeft=0;w.marginScrollTop=0}}function m(){t();w.marginLeft=-(w.width+w.borderW)/2+w.marginScrollLeft;w.marginTop=-(w.height+w.borderH)/2+w.marginScrollTop}function W(){t();var Y=X(o.loading);w.marginTopLoading=-(o.loading.height()+Y.h.border+Y.h.padding)/2+w.marginScrollTop;w.marginLeftLoading=-(o.loading.width()+Y.w.border+Y.w.padding)/2+w.marginScrollLeft}function R(){g("initModal");if(!o.full){if(w.debug){c({color:"white"},"css","bg")}var Y="";if(D){M.css({height:M.height()+"px",width:M.width()+"px",position:"static",overflow:"hidden"});h("html").css({overflow:"hidden"});c({position:"absolute",height:"110%",width:"110%",top:w.marginScrollTop+"px",left:w.marginScrollLeft+"px"},"css","bg");c({position:"absolute"},"css","loading");c({position:"absolute"},"css","wrapper");Y=h('<iframe id="nyroModalIframeHideIe"></iframe>').css(h.extend({},w.css.bg,{opacity:0,zIndex:50,border:"none"}))}M.append(h('<div id="nyroModalFull"><div id="nyroModalBg"></div><div id="nyroModalWrapper"><div id="nyroModalContent"></div></div><div id="nyrModalTmp"></div><div id="nyroModalLoading"></div></div>').hide());o.full=h("#nyroModalFull").show();o.bg=h("#nyroModalBg").css(h.extend({backgroundColor:w.bgColor},w.css.bg)).before(Y);if(!w.modal){o.bg.click(l)}o.loading=h("#nyroModalLoading").css(w.css.loading).hide();o.contentWrapper=h("#nyroModalWrapper").css(w.css.wrapper).hide();o.content=h("#nyroModalContent");o.tmp=h("#nyrModalTmp").hide();if(h.isFunction(h.fn.mousewheel)){o.content.mousewheel(function(ab,aa){var Z=o.content.get(0);if((aa>0&&Z.scrollTop==0)||(aa<0&&Z.scrollHeight-Z.scrollTop==Z.clientHeight)){ab.preventDefault();ab.stopPropagation()}})}h(document).keydown(V);o.content.css({width:"auto",height:"auto"});o.contentWrapper.css({width:"auto",height:"auto"})}}function K(){g("showModal");if(!o.ready){R();o.anim=true;w.showBackground(o,w,O)}else{o.anim=true;o.transition=true;w.showTransition(o,w,function(){x();o.anim=false;k()})}}function V(Y){if(Y.keyCode==27){if(!w.modal){l()}}else{if(w.type=="gallery"&&o.ready&&o.dataReady&&!o.anim&&!o.transition){if(Y.keyCode==39||Y.keyCode==40){Y.preventDefault();h(".nyroModalNext",o.content).eq(0).trigger("click");return false}else{if(Y.keyCode==37||Y.keyCode==38){Y.preventDefault();h(".nyroModalPrev",o.content).eq(0).trigger("click");return false}}}}}function F(){if(w.forceType){var ad=w.forceType;if(!w.content){w.from=true}w.forceType=null;return ad}var ae=w.from;var aa;if(ae&&ae.nodeName){var Z=h(ae);w.url=aa=ae.nodeName.toLowerCase()=="form"?Z.attr("action"):ae.href;if(Z.attr("rev")=="modal"){w.modal=true}if(Z.attr("title")){w.title=Z.attr("title")}var ac=s(aa,ae);if(ac){return ac}if(ae.target&&ae.target.toLowerCase()=="_blank"||(ae.hostname&&ae.hostname.replace(/:\d*$/,"")!=window.location.hostname.replace(/:\d*$/,""))){return"iframe"}else{if(ae.nodeName.toLowerCase()=="form"){c(T(aa));if(Z.attr("enctype")=="multipart/form-data"){return"formData"}return"form"}}}else{aa=w.url;if(!w.content){w.from=true}if(!aa){return null}var ab=new RegExp("^http://","g");if(aa.match(ab)){return"iframe"}}var ac=s(aa,ae);if(ac){return ac}var Y=new RegExp("[^.].(swf)s*$","i");if(Y.test(aa)){return"swf"}var ad=T(aa);c(ad);if(!ad.url){return ad.selector}}function s(Y,aa){var Z=new RegExp(w.regexImg,"i");if(Z.test(Y)){if(aa&&aa.rel){return"gallery"}else{return"image"}}}function T(Z){var ad={url:null,selector:null};if(Z){var aa=N(Z);var ac=N(window.location.href);var ab=window.location.href.substring(0,window.location.href.length-ac.length);var Y=Z.substring(0,Z.length-aa.length);if(Y==ab){ad.selector=aa}else{ad.url=Y;ad.selector=aa}}return ad}function H(){g("loadingError");o.error=true;if(!o.ready){return}if(h.isFunction(w.handleError)){w.handleError(o,w)}o.loading.addClass(w.errorClass).html(w.contentError);h(w.closeSelector,o.loading).click(l);W();o.loading.css({marginTop:w.marginTopLoading+"px",marginLeft:w.marginLeftLoading+"px"})}function r(){g("fillContent");if(!o.tmp.html()){return}o.content.html(o.tmp.contents());o.tmp.empty();u();if(h.isFunction(w.endFillContent)){w.endFillContent(o,w)}o.content.append(o.scripts);var Y=h.extend({},w);if(P.width){Y.width=null}if(P.height){Y.height=null}h(w.closeSelector,o.contentWrapper).click(l);h(w.openSelector,o.contentWrapper).nyroModal(Y)}function u(){g("wrapContent");var Z=h(w.wrap[w.type]);o.content.append(Z.children().remove());o.contentWrapper.wrapInner(Z);if(w.type=="gallery"){var aa=C(-1);if(aa){h(".nyroModalPrev",o.contentWrapper).attr("href",aa.attr("href")).click(function(ab){ab.preventDefault();aa.nyroModalManual(w);return false})}else{h(".nyroModalPrev",o.contentWrapper).remove()}var Y=C(1);if(Y){h(".nyroModalNext",o.contentWrapper).attr("href",Y.attr("href")).click(function(ab){ab.preventDefault();Y.nyroModalManual(w);return false})}else{h(".nyroModalNext",o.contentWrapper).remove()}}p()}function C(Z){if(w.type=="gallery"){if(!w.ltr){Z*=-1}var ab=h('[rel="'+w.from.rel+'"]');var Y=ab.index(w.from);var aa=Y+Z;if(aa>=0&&aa<ab.length){return ab.eq(aa)}}return false}function p(af){g("calculateSize");if(!o.wrapper){o.wrapper=o.contentWrapper.children(":first")}P.width=false;P.height=false;if(w.autoSizable&&(!w.width||!w.height)){o.contentWrapper.css({opacity:0}).show();var ag={width:"auto",height:"auto"};if(w.width){ag.width=w.width}if(w.height){ag.height=w.height}o.content.css(ag);if(!w.width){w.width=o.content.width();P.width=true}if(!w.height){w.height=o.content.height();P.height=true}o.contentWrapper.hide().css({opacity:1})}w.width=Math.max(w.width,w.minWidth);w.height=Math.max(w.height,w.minHeight);var Z=X(o.contentWrapper);var aj=X(o.wrapper);var al=X(o.content);var ag={content:{width:w.width,height:w.height},wrapper2:{width:w.width+al.w.total,height:w.height+al.h.total},wrapper:{width:w.width+al.w.total+aj.w.total,height:w.height+al.h.total+aj.h.total}};if(w.resizable){var ah=h(window).height()-w.padding*2-Z.h.border-(ag.wrapper.height-w.height);var ab=h(window).width()-w.padding*2-Z.w.border-(ag.wrapper.width-w.width);if(ag.content.height>ah||ag.content.width>ab){if(w.type=="image"||w.type=="gallery"){var ac=ag.content.width-w.imgWidth;var aa=ag.content.height-w.imgHeight;if(aa<0){aa=0}if(ac<0){ac=0}var ak=ah-aa;var am=ab-ac;var ai=Math.min(ak/w.imgHeight,am/w.imgWidth);ak=Math.floor(w.imgHeight*ai);am=Math.floor(w.imgWidth*ai);h("img#nyroModalImg",o.content).css({height:ak+"px",width:am+"px"});ag.content.height=ak+aa;ag.content.width=am+ac}else{ag.content.height=Math.min(ag.content.height,ah);ag.content.width=Math.min(ag.content.width,ab)}ag.wrapper2={width:ag.content.width+al.w.total,height:ag.content.height+al.h.total};ag.wrapper={width:ag.content.width+al.w.total+aj.w.total,height:ag.content.height+al.h.total+aj.h.total}}}o.content.css(h.extend({},ag.content,w.css.content));o.wrapper.css(h.extend({},ag.wrapper2,w.css.wrapper2));if(!af){o.contentWrapper.css(h.extend({},ag.wrapper,w.css.wrapper));if(w.type=="image"||w.type=="gallery"){var ae=h("img",o.content).attr("alt");h("img",o.content).removeAttr("alt");if(ae!=w.defaultImgAlt){var ad=h("<div>"+ae+"</div>");o.content.append(ad);if(w.setWidthImgTitle){var Y=X(ad);ad.css({width:(ag.content.width+al.w.padding-Y.w.total)+"px"})}}}if(!w.modal){o.contentWrapper.prepend(w.closeButton)}}if(w.title){o.contentWrapper.prepend('<h1 id="nyroModalTitle">'+w.title+"</h1>")}ag.wrapper.borderW=Z.w.border;ag.wrapper.borderH=Z.h.border;c(ag.wrapper);m()}function l(Y){g("removeModal");if(Y){Y.preventDefault()}if(o.full&&o.ready){o.ready=false;o.anim=true;o.closing=true;if(o.loadingShown||o.transition){w.hideLoading(o,w,function(){o.loading.hide();o.loadingShown=false;o.transition=false;w.hideBackground(o,w,q)})}else{if(j){o.content.css({position:""})}o.wrapper.css({overflow:"hidden"});o.content.css({overflow:"hidden"});if(h.isFunction(w.beforeHideContent)){w.beforeHideContent(o,w,function(){w.hideContent(o,w,function(){x();w.hideBackground(o,w,q)})})}else{w.hideContent(o,w,function(){x();w.hideBackground(o,w,q)})}}}if(Y){return false}}function k(){g("showContentOrLoading");if(o.ready&&!o.anim){if(o.dataReady){if(o.tmp.html()){o.anim=true;if(o.transition){r();w.hideTransition(o,w,function(){o.loading.hide();o.transition=false;o.loadingShown=false;G()})}else{w.hideLoading(o,w,function(){o.loading.hide();o.loadingShown=false;r();W();w.showContent(o,h.extend({},w),G)})}}}else{if(!o.loadingShown&&!o.transition){o.anim=true;o.loadingShown=true;if(o.error){H()}else{o.loading.html(w.contentLoading)}h(w.closeSelector,o.loading).click(l);W();w.showLoading(o,w,function(){o.anim=false;k()})}}}}function y(Y){g("AjaxLoaded: "+this.url);o.tmp.html(w.selector?A(h("<div>"+Y+"</div>").find(w.selector).contents()):A(Y));if(o.tmp.html()){o.dataReady=true;k()}else{H()}}function b(){g("formDataLoaded");var Y=h(w.from);Y.attr("action",Y.attr("action")+w.selector);Y.attr("target","");h("input[name="+w.formIndicator+"]",w.from).remove();var aa=o.tmp.children("iframe");var Z=aa.unbind("load").contents().find(w.selector||"body").not("script[src]");aa.attr("src","about:blank");o.tmp.html(Z.html());if(o.tmp.html()){o.dataReady=true;k()}else{H()}}function x(){g("endHideContent");o.anim=false;if(L){L.append(o.content.contents());L=null}else{if(J){J.append(o.content.contents());J=null}}o.content.empty();o.contentWrapper.empty().removeAttr("style");if(o.closing||o.transition){o.contentWrapper.hide()}o.contentWrapper.css(w.css.wrapper).append(o.content);k()}function q(){g("endRemove");h(document).unbind("keydown",V);o.anim=false;o.full.remove();o.full=null;if(D){M.css({height:"",width:"",position:"",overflow:""});h("html").css({overflow:""})}if(h.isFunction(w.endRemove)){w.endRemove(o,w)}}function O(){g("endBackground");o.ready=true;o.anim=false;k()}function G(){g("endShowContent");o.anim=false;o.contentWrapper.css({opacity:""});j=h.browser.mozilla&&parseFloat(h.browser.version)<1.9&&w.type!="gallery"&&w.type!="image";if(j){o.content.css({position:"fixed"})}if(h.isFunction(w.endShowContent)){w.endShowContent(o,w)}if(P.width){c({width:null})}if(P.height){c({height:null})}}function N(Z){if(typeof Z=="string"){var Y=Z.indexOf("#");if(Y>-1){return Z.substring(Y)}}return""}function A(Y){if(typeof Y=="string"){Y=Y.replace(/<\/?(html|head|body)([^>]*)>/gi,"")}var Z=new Array();h.each(h.clean({0:Y},this.ownerDocument),function(){if(h.nodeName(this,"script")){if(!this.src||h(this).attr("rel")=="forceLoad"){o.scripts.push(this)}}else{Z.push(this)}});return Z}function X(Y){Y=Y.get(0);var Z={h:{margin:n(Y,"marginTop")+n(Y,"marginBottom"),border:n(Y,"borderTopWidth")+n(Y,"borderBottomWidth"),padding:n(Y,"paddingTop")+n(Y,"paddingBottom")},w:{margin:n(Y,"marginLeft")+n(Y,"marginRight"),border:n(Y,"borderLeftWidth")+n(Y,"borderRightWidth"),padding:n(Y,"paddingLeft")+n(Y,"paddingRight")}};Z.h.outer=Z.h.margin+Z.h.border;Z.w.outer=Z.w.margin+Z.w.border;Z.h.inner=Z.h.padding+Z.h.border;Z.w.inner=Z.w.padding+Z.w.border;Z.h.total=Z.h.outer+Z.h.padding;Z.w.total=Z.w.outer+Z.w.padding;return Z}function n(Y,aa){var Z=parseInt(h.curCSS(Y,aa,true));if(isNaN(Z)){Z=0}return Z}function S(){var aa="";if(h.browser.opera){return true}else{if(h.browser.msie){var Z=/\s+(X?HTML)\s+([\d\.]+)\s*([^\/]+)*\//gi;var Y=false;if(h.browser.msie){Y=document.all[0].nodeType==8?Z.test(document.all[0].nodeValue):false}if(Y){aa=RegExp.$3}}else{aa=document.doctype.systemId}}return aa.toLowerCase().indexOf("strict")>-1}function g(Y){if(h.fn.nyroModal.settings.debug||w&&w.debug){nyroModalDebug(Y,o,w||{})}}function z(Y,Z,aa){Y.bg.css({opacity:0}).fadeTo(500,0.75,aa)}function a(Y,Z,aa){Y.bg.fadeOut(300,aa)}function f(Y,Z,aa){Y.loading.css({marginTop:Z.marginTopLoading+"px",marginLeft:Z.marginLeftLoading+"px",opacity:0}).show().animate({opacity:1},{complete:aa,duration:400})}function I(Y,Z,aa){aa()}function v(Y,Z,aa){Y.loading.css({marginTop:Z.marginTopLoading+"px",marginLeft:Z.marginLeftLoading+"px"}).show().animate({width:Z.width+"px",height:Z.height+"px",marginTop:Z.marginTop+"px",marginLeft:Z.marginLeft+"px"},{duration:350,complete:function(){Y.contentWrapper.css({width:Z.width+"px",height:Z.height+"px",marginTop:Z.marginTop+"px",marginLeft:Z.marginLeft+"px"}).show();Y.loading.fadeOut(200,aa)}})}function e(Y,Z,aa){Y.contentWrapper.animate({height:"50px",width:"50px",marginTop:(-(25+Z.borderH)/2+Z.marginScrollTop)+"px",marginLeft:(-(25+Z.borderW)/2+Z.marginScrollLeft)+"px"},{duration:350,complete:function(){Y.contentWrapper.hide();aa()}})}function B(Y,Z,aa){Y.loading.css({marginTop:Y.contentWrapper.css("marginTop"),marginLeft:Y.contentWrapper.css("marginLeft"),height:Y.contentWrapper.css("height"),width:Y.contentWrapper.css("width"),opacity:0}).show().fadeTo(400,1,function(){Y.contentWrapper.hide();aa()})}function i(Y,Z,aa){Y.contentWrapper.hide().css({width:Z.width+"px",marginLeft:Z.marginLeft+"px",height:Z.height+"px",marginTop:Z.marginTop+"px",opacity:1});Y.loading.animate({width:Z.width+"px",marginLeft:Z.marginLeft+"px",height:Z.height+"px",marginTop:Z.marginTop+"px"},{complete:function(){Y.contentWrapper.show();Y.loading.fadeOut(400,function(){Y.loading.hide();aa()})},duration:350})}function d(Y,Z,aa){Y.contentWrapper.animate({width:Z.width+"px",marginLeft:Z.marginLeft+"px",height:Z.height+"px",marginTop:Z.marginTop+"px"},{complete:aa,duration:400})}function E(Y,Z,aa){if(!h.fx.step.backgroundColor){Y.bg.css({backgroundColor:Z.bgColor});aa()}else{Y.bg.animate({backgroundColor:Z.bgColor},{complete:aa,duration:400})}}h(h.fn.nyroModal.settings.openSelector).nyroModal()});function nyroModalDebug(a,b,c){console.log(a);if(b.full){b.bg.prepend(a+"<br />")}};(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return}var c=a.data(this[0],"validator");if(c){return c}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true});if(c.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){c.submitButton=this})}this.submit(function(d){if(c.settings.debug){d.preventDefault()}function e(){if(c.settings.submitHandler){if(c.submitButton){var f=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm)}c.settings.submitHandler.call(c,c.currentForm);if(c.submitButton){f.remove()}return false}return true}if(c.cancelSubmit){c.cancelSubmit=false;return e()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return e()}else{c.focusInvalid();return false}})}return c},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var c=true;var b=a(this[0].form).validate();this.each(function(){c&=b.element(this)});return c}},removeAttrs:function(c){var b={},d=this;a.each(c.split(/\s/),function(e,f){b[f]=d.attr(f);d.removeAttr(f)});return b},rules:function(i,g){var c=this[0];if(i){var b=a.data(c.form,"validator").settings;var d=b.rules;var e=a.validator.staticRules(c);switch(i){case"add":a.extend(e,a.validator.normalizeRule(g));d[c.name]=e;if(g.messages){b.messages[c.name]=a.extend(b.messages[c.name],g.messages)}break;case"remove":if(!g){delete d[c.name];return e}var h={};a.each(g.split(/\s/),function(l,k){h[k]=e[k];delete e[k]});return h}}var f=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(c),a.validator.classRules(c),a.validator.attributeRules(c),a.validator.staticRules(c)),c);if(f.required){var j=f.required;delete f.required;f=a.extend({required:j},f)}return f}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value)},filled:function(b){return !!a.trim(""+b.value)},unchecked:function(b){return !b.checked}});a.validator=function(b,c){this.settings=a.extend(true,{},a.validator.defaults,b);this.currentForm=c;this.init()};a.validator.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.validator.format.apply(this,d)}}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!=Array){c=[c]}a.each(c,function(e,d){b=b.replace(new RegExp("\\{"+e+"\\}","g"),d)});return b};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.errorsFor(b).hide()}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b)}},onclick:function(b){if(b.name in this.submitted){this.element(b)}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode)}}},highlight:function(b,c,d){a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var d=(this.groups={});a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(h,g){d[g]=e})});var b=this.settings.rules;a.each(b,function(e,f){b[e]=a.validator.normalizeRule(f)});function c(e){var g=a.data(this[0].form,"validator"),f="on"+e.type.replace(/^validate/,"");g.settings[f]&&g.settings[f].call(g,this[0])}a(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",c).validateDelegate(":radio, :checkbox, select, option","click",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var c=0,b=(this.currentElements=this.elements());b[c];c++){this.check(b[c])}return this.valid()},element:function(b){b=this.clean(b);this.lastElement=b;this.prepareElement(b);this.currentElements=a(b);var c=this.check(b);if(c){delete this.invalid[b.name]}else{this.invalid[b.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return c},showErrors:function(b){if(b){a.extend(this.errorMap,b);this.errorList=[];for(var c in b){this.errorList.push({message:b[c],element:this.findByName(c)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(c){var b=0;for(var d in c){b++}return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var c=this,b={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&c.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!c.objectLength(a(this).rules())){return false}b[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},check:function(c){c=this.clean(c);if(this.checkable(c)){c=this.findByName(c.name)[0]}var f=a(c).rules();var b=false;for(method in f){var d={method:method,parameters:f[method]};try{var g=a.validator.methods[method].call(this,c.value.replace(/\r/g,""),c,d.parameters);if(g=="dependency-mismatch"){b=true;continue}b=false;if(g=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return}if(!g){this.formatAndAdd(c,d);return false}}catch(h){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+d.method+"' method",h);throw h}}if(b){return}if(this.objectLength(f)){this.successList.push(c)}return true},customMetaMessage:function(b,d){if(!a.metadata){return}var c=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return c&&c.messages&&c.messages[d]},customMessage:function(d,b){var c=this.settings.messages[d];return c&&(c.constructor==String?c:c[b])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}return undefined},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},formatAndAdd:function(e,d){var c=this.defaultMessage(e,d.method),b=/\$?\{(\d+)\}/g;if(typeof c=="function"){c=c.call(this,d.parameters,e)}else{if(b.test(c)){c=jQuery.format(c.replace(b,"{$1}"),d.parameters)}}this.errorList.push({message:c,element:e});this.errorMap[e.name]=c;this.submitted[e.name]=c},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper))}return b},defaultShowErrors:function(){for(var c=0;this.errorList[c];c++){var b=this.errorList[c];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length){this.toShow=this.toShow.add(this.containers)}if(this.settings.success){for(var c=0;this.successList[c];c++){this.showLabel(this.successList[c])}}if(this.settings.unhighlight){for(var c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,d){var c=this.errorsFor(b);if(c.length){c.removeClass().addClass(this.settings.errorClass);c.attr("generated")&&c.html(d)}else{c=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(b),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){c=c.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}if(!this.labelContainer.append(c).length){this.settings.errorPlacement?this.settings.errorPlacement(c,a(b)):c.insertAfter(b)}}if(!d&&this.settings.success){c.text("");typeof this.settings.success=="string"?c.addClass(this.settings.success):this.settings.success(c)}this.toShow=this.toShow.add(c)},errorsFor:function(b){var c=this.idOrName(b);return this.errors().filter(function(){return a(this).attr("for")==c})},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(b){var c=this.currentForm;return a(document.getElementsByName(b)).map(function(e,d){return d.form==c&&d.name==b&&d||null})},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length}}return c.length},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true},dependTypes:{"boolean":function(c,b){return c},string:function(c,b){return !!a(c,b.form).length},"function":function(c,b){return c(b)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(b,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[b.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(d){var b={};var c=a(d).attr("class");c&&a.each(c.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(b,a.validator.classRuleSettings[this])}});return b},attributeRules:function(d){var b={};var e=a(d);for(method in a.validator.methods){var c=e.attr(method);if(c){b[method]=c}}if(b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)){delete b.maxlength}return b},metadataRules:function(b){if(!a.metadata){return{}}var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata()},staticRules:function(c){var b={};var d=a.data(c.form,"validator");if(d.settings.rules){b=a.validator.normalizeRule(d.settings.rules[c.name])||{}}return b},normalizeRules:function(c,b){a.each(c,function(e,f){if(f===false){delete c[e];return}if(f.param||f.depends){var d=true;switch(typeof f.depends){case"string":d=!!a(f.depends,b.form).length;break;case"function":d=f.depends.call(b,b);break}if(d){c[e]=f.param!==undefined?f.param:true}else{delete c[e]}}});a.each(c,function(d,e){c[d]=a.isFunction(e)?e(b):e});a.each(["minlength","maxlength","min","max"],function(){if(c[this]){c[this]=Number(c[this])}});a.each(["rangelength","range"],function(){if(c[this]){c[this]=[Number(c[this][0]),Number(c[this][1])]}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength}}if(c.messages){delete c.messages}return c},normalizeRule:function(b){if(typeof b=="string"){var c={};a.each(b.split(/\s/),function(){c[this]=true});b=c}return b},addMethod:function(d,c,b){a.validator.methods[d]=c;a.validator.messages[d]=b!=undefined?b:a.validator.messages[d];if(c.length<3){a.validator.addClassRules(d,a.validator.normalizeRule(d))}},methods:{required:function(b,d,c){if(!this.depend(c,d)){return"dependency-mismatch"}switch(d.nodeName.toLowerCase()){case"select":var e=a(d).val();return e&&e.length>0;case"input":if(this.checkable(d)){return this.getLength(b,d)>0}default:return a.trim(b).length>0}},remote:function(b,c,g){if(this.optional(c)){return"dependency-mismatch"}var e=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={}}e.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=e.message;g=typeof g=="string"&&{url:g}||g;if(e.old!==b){e.old=b;var d=this;this.startRequest(c);var f={};f[c.name]=b;a.ajax(a.extend(true,{url:g,mode:"abort",port:"validate"+c.name,dataType:"json",data:f,success:function(k){d.settings.messages[c.name].remote=e.originalMessage;var j=k===true;if(j){var l=d.formSubmitted;d.prepareElement(c);d.formSubmitted=l;d.successList.push(c);d.showErrors()}else{var h={};var i=(e.message=k||d.defaultMessage(c,"remote"));h[c.name]=a.isFunction(i)?i(b):i;d.showErrors(h)}e.valid=j;d.stopRequest(c,j)}},g));return"pending"}else{if(this.pending[c.name]){return"pending"}}return e.valid},minlength:function(b,d,c){return this.optional(d)||this.getLength(a.trim(b),d)>=c},maxlength:function(b,d,c){return this.optional(d)||this.getLength(a.trim(b),d)<=c},rangelength:function(b,d,c){var e=this.getLength(a.trim(b),d);return this.optional(d)||(e>=c[0]&&e<=c[1])},min:function(b,d,c){return this.optional(d)||b>=c},max:function(b,d,c){return this.optional(d)||b<=c},range:function(b,d,c){return this.optional(d)||(b>=c[0]&&b<=c[1])},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c)},url:function(c,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c)},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c))},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c)},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c)},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c)},creditcard:function(b,c){if(this.optional(c)){return"dependency-mismatch"}if(/[^0-9-]+/.test(b)){return false}var g=0,d=0,f=false;b=b.replace(/\D/g,"");for(var e=b.length-1;e>=0;e--){var h=b.charAt(e);var d=parseInt(h,10);if(f){if((d*=2)>9){d-=9}}g+=d;f=!f}return(g%10)==0},accept:function(b,d,c){c=typeof c=="string"?c.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(d)||b.match(new RegExp(".("+c+")$","i"))},equalTo:function(b,d,c){var e=a(c).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(d).valid()});return b==e.val()}}});a.format=a.validator.format})(jQuery);(function(c){var b=c.ajax;var a={};c.ajax=function(d){d=c.extend(d,c.extend({},c.ajaxSettings,d));var e=d.port;if(d.mode=="abort"){if(a[e]){a[e].abort()}return(a[e]=b.apply(this,arguments))}return b.apply(this,arguments)}})(jQuery);(function(a){if(!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(c,d){a.event.special[d]={setup:function(){this.addEventListener(c,b,true)},teardown:function(){this.removeEventListener(c,b,true)},handler:function(f){arguments[0]=a.event.fix(f);arguments[0].type=d;return a.event.handle.apply(this,arguments)}};function b(f){f=a.event.fix(f);f.type=d;return a.event.handle.call(this,f)}})}a.extend(a.fn,{validateDelegate:function(c,d,b){return this.bind(d,function(e){var f=a(e.target);if(f.is(c)){return b.apply(f,arguments)}})}})})(jQuery);(function(){var i=document.all,e="http://www.adobe.com/go/getflashplayer",k=typeof jQuery=="function",d=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,b={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function g(f,l){if(l){for(var m in l){if(l.hasOwnProperty(m)){f[m]=l[m]}}}return f}function a(n,m){var l=[];for(var f in n){if(n.hasOwnProperty(f)){l[f]=m(n[f])}}return l}window.flashembed=function(m,f,l){if(typeof m=="string"){m=document.getElementById(m.replace("#",""))}if(!m){return}if(typeof f=="string"){f={src:f}}return new h(m,g(g({},b),f),l)};var j=g(window.flashembed,{conf:b,getVersion:function(){var m,n;try{n=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(o){try{m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");n=m&&m.GetVariable("$version")}catch(l){try{m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");n=m&&m.GetVariable("$version")}catch(f){}}}n=d.exec(n);return n?[n[1],n[3]]:[0,0]},asString:function(n){if(n===null||n===undefined){return null}var m=typeof n;if(m=="object"&&n.push){m="array"}switch(m){case"string":n=n.replace(new RegExp('(["\\\\])',"g"),"\\$1");n=n.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+n+'"';case"array":return"["+a(n,function(o){return j.asString(o)}).join(",")+"]";case"function":return'"function()"';case"object":var l=[];for(var f in n){if(n.hasOwnProperty(f)){l.push('"'+f+'":'+j.asString(n[f]))}}return"{"+l.join(",")+"}"}return String(n).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(p,l){p=g({},p);var o='<object width="'+p.width+'" height="'+p.height+'" id="'+p.id+'" name="'+p.id+'"';if(p.cachebusting){p.src+=((p.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(p.w3c||!i){o+=' data="'+p.src+'" type="application/x-shockwave-flash"'}else{o+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}o+=">";if(p.w3c||i){o+='<param name="movie" value="'+p.src+'" />'}p.width=p.height=p.id=p.w3c=p.src=null;p.onFail=p.version=p.expressInstall=null;for(var q in p){if(p[q]){o+='<param name="'+q+'" value="'+p[q]+'" />'}}var f="";if(l){for(var m in l){if(l[m]){var n=l[m];f+=m+"="+(/function|object/.test(typeof n)?j.asString(n):n)+"&"}}f=f.slice(0,-1);o+='<param name="flashvars" value=\''+f+"' />"}o+="</object>";return o},isSupported:function(f){return c[0]>f[0]||c[0]==f[0]&&c[1]>=f[1]}});var c=j.getVersion();function h(n,f,l){if(j.isSupported(f.version)){n.innerHTML=j.getHTML(f,l)}else{if(f.expressInstall&&j.isSupported([6,65])){n.innerHTML=j.getHTML(g(f,{src:f.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!n.innerHTML.replace(/\s/g,"")){n.innerHTML="<h2>Flash version "+f.version+" or greater is required</h2><h3>"+(c[0]>0?"Your version is "+c:"You have no flash plugin installed")+"</h3>"+(n.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+e+"'>here</a></p>");if(n.tagName=="A"){n.onclick=function(){location.href=e}}}if(f.onFail){var m=f.onFail.call(this);if(typeof m=="string"){n.innerHTML=m}}}}if(i){window[f.id]=document.getElementById(f.id)}g(this,{getRoot:function(){return n},getOptions:function(){return f},getConf:function(){return l},getApi:function(){return n.firstChild}})}if(k){jQuery.tools=jQuery.tools||{version:"1.2.5"};jQuery.tools.flashembed={conf:b};jQuery.fn.flashembed=function(f,l){return this.each(function(){$(this).data("flashembed",flashembed(this,f,l))})}}})();(function(d){function c(e,h){var g=d(h);return g.length<2?g:e.parent().find(h)}function b(w,t){var n=this,h=w.add(n),x=w.children(),e=0,i=t.vertical;a||(a=n);if(x.length>1){x=d(t.items,w)}d.extend(n,{getConf:function(){return t},getIndex:function(){return e},getSize:function(){return n.getItems().size()},getNaviButtons:function(){return j.add(q)},getRoot:function(){return w},getItemWrap:function(){return x},getItems:function(){return x.children(t.item).not("."+t.clonedClass)},move:function(g,f){return n.seekTo(e+g,f)},next:function(f){return n.move(1,f)},prev:function(f){return n.move(-1,f)},begin:function(f){return n.seekTo(0,f)},end:function(f){return n.seekTo(n.getSize()-1,f)},focus:function(){return a=n},addItem:function(f){f=d(f);if(t.circular){d(".cloned:last").before(f);d(".cloned:first").replaceWith(f.clone().addClass(t.clonedClass))}else{x.append(f)}h.trigger("onAddItem",[f]);return n},seekTo:function(k,l,f){if(t.circular&&k===0&&e==-1&&l!==0){return n}if(!t.circular&&k<0||k>n.getSize()||k<-1){return n}var g=k;if(k.jquery){k=n.getItems().index(k)}else{g=n.getItems().eq(k)}var m=d.Event("onBeforeSeek");if(!f){h.trigger(m,[k,l]);if(m.isDefaultPrevented()||!g.length){return n}}g=i?{top:-g.position().top}:{left:-g.position().left};e=k;a=n;if(l===undefined){l=t.speed}x.animate(g,l,t.easing,f||function(){h.trigger("onSeek",[k])});return n}});d.each(["onBeforeSeek","onSeek","onAddItem"],function(g,f){d.isFunction(t[f])&&d(n).bind(f,t[f]);n[f]=function(k){d(n).bind(f,k);return n}});if(t.circular){var u=n.getItems().slice(-1).clone().prependTo(x),v=n.getItems().eq(1).clone().appendTo(x);u.add(v).addClass(t.clonedClass);n.onBeforeSeek(function(g,k,f){if(!g.isDefaultPrevented()){if(k==-1){n.seekTo(u,f,function(){n.end(0)});return g.preventDefault()}else{k==n.getSize()&&n.seekTo(v,f,function(){n.begin(0)})}}});n.seekTo(0,0)}var j=c(w,t.prev).click(function(){n.prev()}),q=c(w,t.next).click(function(){n.next()});!t.circular&&n.getSize()>1&&n.onBeforeSeek(function(g,f){setTimeout(function(){if(!g.isDefaultPrevented()){j.toggleClass(t.disabledClass,f<=0);q.toggleClass(t.disabledClass,f>=n.getSize()-1)}},1)});t.mousewheel&&d.fn.mousewheel&&w.mousewheel(function(g,f){if(t.mousewheel){n.move(f<0?1:-1,t.wheelSpeed||50);return false}});t.keyboard&&d(document).bind("keydown.scrollable",function(g){if(!(!t.keyboard||g.altKey||g.ctrlKey||d(g.target).is(":input"))){if(!(t.keyboard!="static"&&a!=n)){var f=g.keyCode;if(i&&(f==38||f==40)){n.move(f==38?-1:1);return g.preventDefault()}if(!i&&(f==37||f==39)){n.move(f==37?-1:1);return g.preventDefault()}}}});d(n).trigger("onBeforeSeek",[t.initialIndex])}d.tools=d.tools||{version:"1.2.3"};d.tools.scrollable={conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,wheelSpeed:0}};var a;d.fn.scrollable=function(g){var e=this.data("scrollable");if(e){return e}g=d.extend({},d.tools.scrollable.conf,g);this.each(function(){e=new b(d(this),g);d(this).data("scrollable",e)});return g.api?e:this}})(jQuery);var pathExpressInstallFile=escape("/lib/flash/expressInstall.swf");function initHyperlinks(){$("a[rel=external]").each(function(){$(this).click(function(){window.open($(this).attr("href"));return false});if($(this).attr("title")==""){$(this).attr("title","Deze link wordt in een nieuw venster geopend.")}else{$(this).attr("title","'"+$(this).attr("title")+"' wordt in een nieuw venster geopend.")}})}function initContentFlash(){$(".contentflash").each(function(){if($(this).find("a").length>0){var a=$(this).find("a").attr("rel").split("|");$(this).flashembed({src:a[0],version:[9],width:parseFloat(a[2]),height:parseFloat(a[3]),expressInstall:pathExpressInstallFile,wmode:"transparent",scale:"noscale",onFail:function(){alert("You need version 20.0 to view this content")}})}})}function initNyromodal(){$.fn.nyroModal.settings.regexImg="[^.].(jpg|jpeg|png|tiff|gif|bmp)s*$|image.aspx";$.fn.nyroModal.settings.minWidth=0;$.fn.nyroModal.settings.minHeight=0;$.fn.nyroModal.settings.endShowContent=function(){initContentFlash();fotoboek()};if($.browser.msie&&$.browser.version=="6.0"){$.fn.nyroModal.settings.minWidth="500";$.fn.nyroModal.settings.minHeight="500"}else{$.fn.nyroModal.settings.minWidth="100";$.fn.nyroModal.settings.minHeight="100"}$("a[href*='#nyro']").click(function(){var a=$(this).attr("href");if(a.indexOf("googlemaps")>0){a="/?template=googlemaps_nyro.htm"}$.nyroModalManual({url:a});return false});$("a[href*='fid=']").click(function(){var a=$(this).attr("href")+"#nyro";$.nyroModalManual({url:a,height:"505",width:"790"});return false})}function initIE6(){$("#nav li").each(function(){$(this).hover(function(){$(this).addClass("sfhover")},function(){$(this).removeClass("sfhover")})})}function initForms(){$("form.validatesearch").validate();$("form.validate").validate();$("form.validate_alert").validate({onfocusout:false,showErrors:function(d,c){var a="Er zijn "+this.numberOfInvalids()+" fouten gevonden:\n\n";for(var b in c){a=a+c[b].element.name+":"+c[b].message+"\n"}alert(a)}})}function initFAQ(){$("#faq_select_cat").change(function(){$("#faq_cat_form").submit();return false})}$(document).ready(function(){initHyperlinks();initIE6();initContentFlash();initNyromodal();initForms();initFAQ()});function fotoboek(){$(".scrollable .items").css({width:"20000em",position:"absolute",clear:"both"});$(".scrollable").css({"margin-left":"0",height:"90px"});$("#photobook_previous").addClass("disabled prev browse left");$("#photobook_next").addClass("disabled next browse right");$("div.scrollable").scrollable();$(".items img").click(function(){var a=$(this).parent().attr("href");var d=$(this).parent().attr("title");var b=$("#image_wrap").fadeTo("medium",0.5);var c=new Image();c.onload=function(){b.fadeTo("fast",0,function(){b.find("img").attr("src",a);b.fadeTo("fast",1)})};c.src=a;$(".description").text(d);return false}).filter(":first").click()};
