var hiddenAds=new Array();var ordHolder="";var sub="";var firstAd=true;function writeAdTag(H,D,G){if(firstAd){refreshAdInfo();firstAd=false}var C="n";try{if(wwd.user.isLoggedIn()){C="y"}}catch(F){}C="login="+C+";";var B="sub="+sub+";";var A="ord="+ordHolder+"?";var E='<iframe class="refreshable" allowtransparency="true" scrolling="no" width="'+H+'" height="'+D+'" frameborder="0" src="/ad-iframer/?adinfo='+encodeURIComponent(G+C+B+quantSegs+A)+'"></iframe>';if(H=="86"&&D=="15"){wwd.content.currentToolboxAd=E}document.write(E)}function refreshAdInfo(){var A=0;ordHolder=parseInt(Math.random()*10000000000000000);sub="free";if(wwd&&wwd.user){sub=wwd.user.getSubscriptionLevel()}sub=sub=="free"?"":sub}function renderSlideshowAd(G,H){refreshAdInfo();var A=$("#wwd-url").html();var E=ordHolder;var F="n";if(wwd.user.isLoggedIn()){F="y"}var B=document.location.pathname;var D=$("#wwd-kw").html();var I="";var C="";if(B.indexOf("eyescoop")!=-1){if($("#slideshow-ad-content").html().length==0){I="wwd.eyescoop.fc/slideshow/;s1=slideshow;s2="+H+";"+A+"login="+F+";"+D+"fc=ad;pos=middle;tile=1;sz=300x250;ptype=slideshow;sub=archive;qcseg=D;qcseg=T;"}if($("#slideshow-ad").html().length==0){C="wwd.eyescoop.fc/slideshow/;s1=slideshow;s2="+H+";"+A+"login="+F+";"+D+"fc=ad;pos=right;tile=1;sz=300x250,300x600;ptype=slideshow;sub=archive;qcseg=D;qcseg=T;"}}else{if($("#slideshow-ad-content").html().length==0){I="wwd.fc/slideshow/;s1=slideshow;s2="+H+";"+A+"login="+F+";"+D+"fc=ad;pos=middle;tile=1;sz=300x250;ptype=slideshow;sub=archive;qcseg=D;qcseg=T;"}if($("#slideshow-ad").html().length==0){C="wwd.fc/slideshow/;s1=slideshow;s2="+H+";"+A+"login="+F+";"+D+"fc=ad;pos=right;tile=1;sz=300x250,300x600;ptype=slideshow;sub=archive;qcseg=D;qcseg=T;"}}callIframeInter("/ad-iframer/?adinfo="+encodeURIComponent(I));callIframe("/ad-iframer/?adinfo="+encodeURIComponent(C));return true}function callIframeInter(A){$("#slideshow-ad").html('<p>Advertisement</p><iframe id="static-ad-inter" class="refreshable" allowtransparency="true" scrolling="no" width="300" height="250" frameborder="0"></iframe>');$("iframe#static-ad-inter").attr("src",A)}function callIframe(A){$("#slideshow-ad-content").html('<p>Advertisement</p><iframe id="static-ad" class="refreshable" allowtransparency="true" scrolling="no" width="300" height="600" frameborder="0"></iframe>');$("iframe#static-ad").attr("src",A)}function writeHiddenAd(F,G,C,E){var B="n";try{if(wwd.user.isLoggedIn()){B="y"}}catch(D){}var A={};A.link=document.getElementById(F+"HiddenAdLink"+G);A.img=document.getElementById(F+"HiddenAdImg"+G);A.base="http://ad.doubleclick.net";A.params=(E+"login="+B+";");A.href="/jump/";A.src=C;addHiddenAd(F,A)}function addHiddenAd(C,B){var A=hiddenAds[C];if(A==null){A=new Array()}A.push(B);hiddenAds[C]=A}function showHiddenAds(D,F){var C=hiddenAds[D];if(!C||C.length==0){return }var B=function(K,G,J){var I=false;if(K.lastIndexOf(";")==K.length-1){K=K.substr(0,K.length-1)}splits=K.split(";");for(var H=0;H<splits.length;H++){if(splits[H].indexOf("=")>-1&&G==splits[H].substr(0,splits[H].indexOf("="))){splits[H]=G+"="+J;I=true}}unsplit=""+splits;unsplit=unsplit.replace(/,/g,";");if(!I){unsplit+=";"+G+"="+J}return unsplit};for(var A=0;A<C.length;A++){for(var E in F){C[A].params=B(C[A].params,E,F[E])}C[A].img.src=C[A].base+C[A].src+C[A].params+"sub="+sub+";ord="+ordHolder+"?";C[A].link.href=C[A].base+C[A].href+C[A].params+"sub="+sub+";ord="+ordHolder+"?"}}var popupAdFunctions=new Array();function setPopupAdFunction(A,B){popupAdFunctions[A]=B}function getPopupAdFunction(A){return popupAdFunctions[A]}function adReload(D){var B=D.src;var C=new RegExp("ord%3D\\d+","g");var A=new RegExp("ord\\=\\d+","g");if(B.match(C)){D.src=B.replace(C,encodeURIComponent("ord="+ordHolder));if(wwd.pageType=="article"||wwd.pageType=="roadblock"){D.src=D.src.replace("s2%3Dlanding","s2%3Dnews");D.src=D.src.replace("%2Flanding","%2Fnews")}}else{if(B.match(A)){D.src=B.replace(C,"ord="+ordHolder)}else{D.src=B}}}function adReloadAll(){refreshAdInfo();$("iframe.refreshable").each(function(A){adReload(this)})}function getIFrameDocument(A){var B=(A.contentDocument||A.contentWindow.document||A.document);return B}function adAutoResizeHeight(E){var B=document.getElementById(E);var D=getIFrameDocument(B);var A=0;try{A=D.getElementById("bottom_div").offsetTop}catch(C){}B.height=(A)+"px"}Function.prototype.bind=function(A){var B=this;return function(){return B.apply(A,arguments)}};function EventBroadcaster(){this.x={};this.events=[];this.builtinEvts=[]}EventBroadcaster.prototype.getActionIdx=function(B,E,F){if(B){var D=this.events[B];if(D){var A=D.length;for(var C=A-1;C>=0;C--){if(D[C].action==E&&D[C].binding==F){return C}}}else{return -1}}return -1};EventBroadcaster.prototype.addListener=function(B,C,D){if(this.events[B]){if(this.getActionIdx(B,C,D)==-1){var A=this.events[B];A[A.length]={action:C,binding:D}}}else{this.events[B]=[];this.events[B][0]={action:C,binding:D}}};EventBroadcaster.prototype.removeListener=function(B,C,D){if(this.events){if(this.events[B]){var A=this.actionExists(B,C,D);if(A>=0){this.events[B].splice(A,1)}}}};EventBroadcaster.prototype.removeAllListeners=function(A){delete this.events;this.events=[]};EventBroadcaster.prototype.dispatchEvent=function(B,G,D){if(!G){G=window.event}if(this.events){var C=this.events;if(C){var E=C[B];if(E){for(var A in E){var F=E[A].action;if(E[A].binding){F=F.bind(E[A].binding)}if(F){F(G,D)}}}}}};
/*
 * jQuery JavaScript Library v1.4.2
 * 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: Sat Feb 13 22:33:48 2010 -0500
 */
(function(An,v){function Az(){if(!AF.isReady){try{x.documentElement.doScroll("left")}catch(A){setTimeout(Az,1);return }AF.ready()}}function t(F,A){A.src?AF.ajax({url:A.src,async:false,dataType:"script"}):AF.globalEval(A.text||A.textContent||A.innerHTML||"");A.parentNode&&A.parentNode.removeChild(A)}function AN(F,A,O,K,L,G){var J=F.length;if(typeof A==="object"){for(var N in A){AN(F,N,A[N],K,L,O)}return F}if(O!==v){K=!G&&K&&AF.isFunction(O);for(N=0;N<J;N++){L(F[N],A,K?O.call(F[N],N,L(F[N],A)):O,G)}return F}return J?L(F[0],A):v}function Ae(){return(new Date).getTime()}function AM(){return false}function AK(){return true}function Aj(F,A,G){G[0].type=F;return AF.event.handle.apply(A,G)}function AE(R){var Q,P=[],N=[],O=arguments,K,L,F,J,G,A;L=AF.data(this,"events");if(!(R.liveFired===this||!L||!L.live||R.button&&R.type==="click")){R.liveFired=this;var T=L.live.slice(0);for(J=0;J<T.length;J++){L=T[J];L.origType.replace(AW,"")===R.type?N.push(L.selector):T.splice(J--,1)}K=AF(R.target).closest(N,R.currentTarget);G=0;for(A=K.length;G<A;G++){for(J=0;J<T.length;J++){L=T[J];if(K[G].selector===L.selector){F=K[G].elem;N=null;if(L.preType==="mouseenter"||L.preType==="mouseleave"){N=AF(R.relatedTarget).closest(L.selector)[0]}if(!N||N!==F){P.push({elem:F,handleObj:L})}}}}G=0;for(A=P.length;G<A;G++){K=P[G];R.currentTarget=K.elem;R.data=K.handleObj.data;R.handleObj=K.handleObj;if(K.handleObj.origHandler.apply(K.elem,O)===false){Q=false;break}}return Q}}function o(F,A){return"live."+(F&&F!=="*"?F+".":"")+A.replace(/\./g,"`").replace(/ /g,"&")}function b(A){return !A||!A.parentNode||A.parentNode.nodeType===11}function BG(F,A){var G=0;A.each(function(){if(this.nodeName===(F[G]&&F[G].nodeName)){var L=AF.data(F[G++]),N=AF.data(this,L);if(L=L&&L.events){delete N.handle;N.events={};for(var J in L){for(var K in L[J]){AF.event.add(this,J,L[J][K],L[J][K].data)}}}}})}function A2(F,A,L){var J,K,G;A=A&&A[0]?A[0].ownerDocument||A[0]:x;if(F.length===1&&typeof F[0]==="string"&&F[0].length<512&&A===x&&!Ao.test(F[0])&&(AF.support.checkClone||!AI.test(F[0]))){K=true;if(G=AF.fragments[F[0]]){if(G!==1){J=G}}}if(!J){J=A.createDocumentFragment();AF.clean(F,A,J,L)}if(K){AF.fragments[F[0]]=G?J:1}return{fragment:J,cacheable:K}}function AZ(F,A){var G={};AF.each(r.concat.apply([],r.slice(0,A)),function(){G[this]=F});return G}function f(A){return"scrollTo" in A&&A.document?A:A.nodeType===9?A.defaultView||A.parentWindow:false}var AF=function(F,A){return new AF.fn.init(F,A)},g=An.jQuery,D=An.$,x=An.document,AQ,A6=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,As=/^.[^:#\[\.,]*$/,AL=/\S/,u=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,h=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,AU=navigator.userAgent,C=false,AS=[],AY,A0=Object.prototype.toString,Au=Object.prototype.hasOwnProperty,AV=Array.prototype.push,AR=Array.prototype.slice,A5=Array.prototype.indexOf;AF.fn=AF.prototype={init:function(F,A){var J,G;if(!F){return this}if(F.nodeType){this.context=this[0]=F;this.length=1;return this}if(F==="body"&&!A){this.context=x;this[0]=x.body;this.selector="body";this.length=1;return this}if(typeof F==="string"){if((J=A6.exec(F))&&(J[1]||!A)){if(J[1]){G=A?A.ownerDocument||A:x;if(F=h.exec(F)){if(AF.isPlainObject(A)){F=[x.createElement(F[1])];AF.fn.attr.call(F,A,true)}else{F=[G.createElement(F[1])]}}else{F=A2([J[1]],[G]);F=(F.cacheable?F.fragment.cloneNode(true):F.fragment).childNodes}return AF.merge(this,F)}else{if(A=x.getElementById(J[2])){if(A.id!==J[2]){return AQ.find(F)}this.length=1;this[0]=A}this.context=x;this.selector=F;return this}}else{if(!A&&/^\w+$/.test(F)){this.selector=F;this.context=x;F=x.getElementsByTagName(F);return AF.merge(this,F)}else{return !A||A.jquery?(A||AQ).find(F):AF(A).find(F)}}}else{if(AF.isFunction(F)){return AQ.ready(F)}}if(F.selector!==v){this.selector=F.selector;this.context=F.context}return AF.makeArray(F,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return AR.call(this,0)},get:function(A){return A==null?this.toArray():A<0?this.slice(A)[0]:this[A]},pushStack:function(F,A,J){var G=AF();AF.isArray(F)?AV.apply(G,F):AF.merge(G,F);G.prevObject=this;G.context=this.context;if(A==="find"){G.selector=this.selector+(this.selector?" ":"")+J}else{if(A){G.selector=this.selector+"."+A+"("+J+")"}}return G},each:function(F,A){return AF.each(this,F,A)},ready:function(A){AF.bindReady();if(AF.isReady){A.call(x,AF)}else{AS&&AS.push(A)}return this},eq:function(A){return A===-1?this.slice(A):this.slice(A,+A+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(AR.apply(this,arguments),"slice",AR.call(arguments).join(","))},map:function(A){return this.pushStack(AF.map(this,function(F,G){return A.call(F,G,F)}))},end:function(){return this.prevObject||AF(null)},push:AV,sort:[].sort,splice:[].splice};AF.fn.init.prototype=AF.fn;AF.extend=AF.fn.extend=function(){var F=arguments[0]||{},A=1,O=arguments.length,K=false,L,G,J,N;if(typeof F==="boolean"){K=F;F=arguments[1]||{};A=2}if(typeof F!=="object"&&!AF.isFunction(F)){F={}}if(O===A){F=this;--A}for(;A<O;A++){if((L=arguments[A])!=null){for(G in L){J=F[G];N=L[G];if(F!==N){if(K&&N&&(AF.isPlainObject(N)||AF.isArray(N))){J=J&&(AF.isPlainObject(J)||AF.isArray(J))?J:AF.isArray(N)?[]:{};F[G]=AF.extend(K,J,N)}else{if(N!==v){F[G]=N}}}}}}return F};AF.extend({noConflict:function(A){An.$=D;if(A){An.jQuery=g}return AF},isReady:false,ready:function(){if(!AF.isReady){if(!x.body){return setTimeout(AF.ready,13)}AF.isReady=true;if(AS){for(var F,A=0;F=AS[A++];){F.call(x,AF)}AS=null}AF.fn.triggerHandler&&AF(x).triggerHandler("ready")}},bindReady:function(){if(!C){C=true;if(x.readyState==="complete"){return AF.ready()}if(x.addEventListener){x.addEventListener("DOMContentLoaded",AY,false);An.addEventListener("load",AF.ready,false)}else{if(x.attachEvent){x.attachEvent("onreadystatechange",AY);An.attachEvent("onload",AF.ready);var F=false;try{F=An.frameElement==null}catch(A){}x.documentElement.doScroll&&F&&Az()}}}},isFunction:function(A){return A0.call(A)==="[object Function]"},isArray:function(A){return A0.call(A)==="[object Array]"},isPlainObject:function(F){if(!F||A0.call(F)!=="[object Object]"||F.nodeType||F.setInterval){return false}if(F.constructor&&!Au.call(F,"constructor")&&!Au.call(F.constructor.prototype,"isPrototypeOf")){return false}var A;for(A in F){}return A===v||Au.call(F,A)},isEmptyObject:function(F){for(var A in F){return false}return true},error:function(A){throw A},parseJSON:function(A){if(typeof A!=="string"||!A){return null}A=AF.trim(A);if(/^[\],:{}\s]*$/.test(A.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return An.JSON&&An.JSON.parse?An.JSON.parse(A):(new Function("return "+A))()}else{AF.error("Invalid JSON: "+A)}},noop:function(){},globalEval:function(F){if(F&&AL.test(F)){var A=x.getElementsByTagName("head")[0]||x.documentElement,G=x.createElement("script");G.type="text/javascript";if(AF.support.scriptEval){G.appendChild(x.createTextNode(F))}else{G.text=F}A.insertBefore(G,A.firstChild);A.removeChild(G)}},nodeName:function(F,A){return F.nodeName&&F.nodeName.toUpperCase()===A.toUpperCase()},each:function(F,A,N){var K,L=0,G=F.length,J=G===v||AF.isFunction(F);if(N){if(J){for(K in F){if(A.apply(F[K],N)===false){break}}}else{for(;L<G;){if(A.apply(F[L++],N)===false){break}}}}else{if(J){for(K in F){if(A.call(F[K],K,F[K])===false){break}}}else{for(N=F[0];L<G&&A.call(N,L,N)!==false;N=F[++L]){}}}return F},trim:function(A){return(A||"").replace(u,"")},makeArray:function(F,A){A=A||[];if(F!=null){F.length==null||typeof F==="string"||AF.isFunction(F)||typeof F!=="function"&&F.setInterval?AV.call(A,F):AF.merge(A,F)}return A},inArray:function(F,A){if(A.indexOf){return A.indexOf(F)}for(var J=0,G=A.length;J<G;J++){if(A[J]===F){return J}}return -1},merge:function(F,A){var K=F.length,G=0;if(typeof A.length==="number"){for(var J=A.length;G<J;G++){F[K++]=A[G]}}else{for(;A[G]!==v;){F[K++]=A[G++]}}F.length=K;return F},grep:function(F,A,L){for(var J=[],K=0,G=F.length;K<G;K++){!L!==!A(F[K],K)&&J.push(F[K])}return J},map:function(F,A,N){for(var K=[],L,G=0,J=F.length;G<J;G++){L=A(F[G],G,N);if(L!=null){K[K.length]=L}}return K.concat.apply([],K)},guid:1,proxy:function(F,A,G){if(arguments.length===2){if(typeof A==="string"){G=F;F=G[A];A=v}else{if(A&&!AF.isFunction(A)){G=A;A=v}}}if(!A&&F){A=function(){return F.apply(G||this,arguments)}}if(F){A.guid=F.guid=F.guid||A.guid||AF.guid++}return A},uaMatch:function(A){A=A.toLowerCase();A=/(webkit)[ \/]([\w.]+)/.exec(A)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(A)||/(msie) ([\w.]+)/.exec(A)||!/compatible/.test(A)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(A)||[];return{browser:A[1]||"",version:A[2]||"0"}},browser:{}});AU=AF.uaMatch(AU);if(AU.browser){AF.browser[AU.browser]=true;AF.browser.version=AU.version}if(AF.browser.webkit){AF.browser.safari=true}if(A5){AF.inArray=function(F,A){return A5.call(A,F)}}AQ=AF(x);if(x.addEventListener){AY=function(){x.removeEventListener("DOMContentLoaded",AY,false);AF.ready()}}else{if(x.attachEvent){AY=function(){if(x.readyState==="complete"){x.detachEvent("onreadystatechange",AY);AF.ready()}}}}(function(){AF.support={};var P=x.documentElement,O=x.createElement("script"),N=x.createElement("div"),K="script"+Ae();N.style.display="none";N.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var L=N.getElementsByTagName("*"),G=N.getElementsByTagName("a")[0];if(!(!L||!L.length||!G)){AF.support={leadingWhitespace:N.firstChild.nodeType===3,tbody:!N.getElementsByTagName("tbody").length,htmlSerialize:!!N.getElementsByTagName("link").length,style:/red/.test(G.getAttribute("style")),hrefNormalized:G.getAttribute("href")==="/a",opacity:/^0.55$/.test(G.style.opacity),cssFloat:!!G.style.cssFloat,checkOn:N.getElementsByTagName("input")[0].value==="on",optSelected:x.createElement("select").appendChild(x.createElement("option")).selected,parentNode:N.removeChild(N.appendChild(x.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};O.type="text/javascript";try{O.appendChild(x.createTextNode("window."+K+"=1;"))}catch(J){}P.insertBefore(O,P.firstChild);if(An[K]){AF.support.scriptEval=true;delete An[K]}try{delete O.test}catch(A){AF.support.deleteExpando=false}P.removeChild(O);if(N.attachEvent&&N.fireEvent){N.attachEvent("onclick",function F(){AF.support.noCloneEvent=false;N.detachEvent("onclick",F)});N.cloneNode(true).fireEvent("onclick")}N=x.createElement("div");N.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";P=x.createDocumentFragment();P.appendChild(N.firstChild);AF.support.checkClone=P.cloneNode(true).cloneNode(true).lastChild.checked;AF(function(){var Q=x.createElement("div");Q.style.width=Q.style.paddingLeft="1px";x.body.appendChild(Q);AF.boxModel=AF.support.boxModel=Q.offsetWidth===2;x.body.removeChild(Q).style.display="none"});P=function(Q){var T=x.createElement("div");Q="on"+Q;var R=Q in T;if(!R){T.setAttribute(Q,"return;");R=typeof T[Q]==="function"}return R};AF.support.submitBubbles=P("submit");AF.support.changeBubbles=P("change");P=O=N=L=G=null}})();AF.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var Ag="jQuery"+Ae(),E=0,Ar={};AF.extend({cache:{},expando:Ag,noData:{embed:true,object:true,applet:true},data:function(F,A,K){if(!(F.nodeName&&AF.noData[F.nodeName.toLowerCase()])){F=F==An?Ar:F;var G=F[Ag],J=AF.cache;if(!G&&typeof A==="string"&&K===v){return null}G||(G=++E);if(typeof A==="object"){F[Ag]=G;J[G]=AF.extend(true,{},A)}else{if(!J[G]){F[Ag]=G;J[G]={}}}F=J[G];if(K!==v){F[A]=K}return typeof A==="string"?F[A]:F}},removeData:function(F,A){if(!(F.nodeName&&AF.noData[F.nodeName.toLowerCase()])){F=F==An?Ar:F;var K=F[Ag],G=AF.cache,J=G[K];if(A){if(J){delete J[A];AF.isEmptyObject(J)&&AF.removeData(F)}}else{if(AF.support.deleteExpando){delete F[AF.expando]}else{F.removeAttribute&&F.removeAttribute(AF.expando)}delete G[K]}}}});AF.fn.extend({data:function(F,A){if(typeof F==="undefined"&&this.length){return AF.data(this[0])}else{if(typeof F==="object"){return this.each(function(){AF.data(this,F)})}}var J=F.split(".");J[1]=J[1]?"."+J[1]:"";if(A===v){var G=this.triggerHandler("getData"+J[1]+"!",[J[0]]);if(G===v&&this.length){G=AF.data(this[0],F)}return G===v&&J[1]?this.data(J[0]):G}else{return this.trigger("setData"+J[1]+"!",[J[0],A]).each(function(){AF.data(this,F,A)})}},removeData:function(A){return this.each(function(){AF.removeData(this,A)})}});AF.extend({queue:function(F,A,J){if(F){A=(A||"fx")+"queue";var G=AF.data(F,A);if(!J){return G||[]}if(!G||AF.isArray(J)){G=AF.data(F,A,AF.makeArray(J))}else{G.push(J)}return G}},dequeue:function(F,A){A=A||"fx";var J=AF.queue(F,A),G=J.shift();if(G==="inprogress"){G=J.shift()}if(G){A==="fx"&&J.unshift("inprogress");G.call(F,function(){AF.dequeue(F,A)})}}});AF.fn.extend({queue:function(F,A){if(typeof F!=="string"){A=F;F="fx"}if(A===v){return AF.queue(this[0],F)}return this.each(function(){var G=AF.queue(this,F,A);F==="fx"&&G[0]!=="inprogress"&&AF.dequeue(this,F)})},dequeue:function(A){return this.each(function(){AF.dequeue(this,A)})},delay:function(F,A){F=AF.fx?AF.fx.speeds[F]||F:F;A=A||"fx";return this.queue(A,function(){var G=this;setTimeout(function(){AF.dequeue(G,A)},F)})},clearQueue:function(A){return this.queue(A||"fx",[])}});var BB=/[\n\t]/g,z=/\s+/,A7=/\r/g,Al=/href|src|style/,At=/(button|input)/i,AT=/(button|input|object|select|textarea)/i,y=/^(a|area)$/i,Ax=/radio|checkbox/;AF.fn.extend({attr:function(F,A){return AN(this,F,A,true,AF.attr)},removeAttr:function(A){return this.each(function(){AF.attr(this,A,"");this.nodeType===1&&this.removeAttribute(A)})},addClass:function(P){if(AF.isFunction(P)){return this.each(function(R){var Q=AF(this);Q.addClass(P.call(this,R,Q.attr("class")))})}if(P&&typeof P==="string"){for(var O=(P||"").split(z),N=0,K=this.length;N<K;N++){var L=this[N];if(L.nodeType===1){if(L.className){for(var G=" "+L.className+" ",J=L.className,A=0,F=O.length;A<F;A++){if(G.indexOf(" "+O[A]+" ")<0){J+=" "+O[A]}}L.className=AF.trim(J)}else{L.className=P}}}}return this},removeClass:function(F){if(AF.isFunction(F)){return this.each(function(P){var Q=AF(this);Q.removeClass(F.call(this,P,Q.attr("class")))})}if(F&&typeof F==="string"||F===v){for(var A=(F||"").split(z),O=0,K=this.length;O<K;O++){var L=this[O];if(L.nodeType===1&&L.className){if(F){for(var G=(" "+L.className+" ").replace(BB," "),J=0,N=A.length;J<N;J++){G=G.replace(" "+A[J]+" "," ")}L.className=AF.trim(G)}else{L.className=""}}}}return this},toggleClass:function(F,A){var J=typeof F,G=typeof A==="boolean";if(AF.isFunction(F)){return this.each(function(L){var K=AF(this);K.toggleClass(F.call(this,L,K.attr("class"),A),A)})}return this.each(function(){if(J==="string"){for(var O,L=0,N=AF(this),P=A,K=F.split(z);O=K[L++];){P=G?P:!N.hasClass(O);N[P?"addClass":"removeClass"](O)}}else{if(J==="undefined"||J==="boolean"){this.className&&AF.data(this,"__className__",this.className);this.className=this.className||F===false?"":AF.data(this,"__className__")||""}}})},hasClass:function(F){F=" "+F+" ";for(var A=0,G=this.length;A<G;A++){if((" "+this[A].className+" ").replace(BB," ").indexOf(F)>-1){return true}}return false},val:function(F){if(F===v){var A=this[0];if(A){if(AF.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text}if(AF.nodeName(A,"select")){var O=A.selectedIndex,K=[],L=A.options;A=A.type==="select-one";if(O<0){return null}var G=A?O:0;for(O=A?O+1:L.length;G<O;G++){var J=L[G];if(J.selected){F=AF(J).val();if(A){return F}K.push(F)}}return K}if(Ax.test(A.type)&&!AF.support.checkOn){return A.getAttribute("value")===null?"on":A.value}return(A.value||"").replace(A7,"")}return v}var N=AF.isFunction(F);return this.each(function(P){var T=AF(this),R=F;if(this.nodeType===1){if(N){R=F.call(this,P,T.val())}if(typeof R==="number"){R+=""}if(AF.isArray(R)&&Ax.test(this.type)){this.checked=AF.inArray(T.val(),R)>=0}else{if(AF.nodeName(this,"select")){var Q=AF.makeArray(R);AF("option",this).each(function(){this.selected=AF.inArray(AF(this).val(),Q)>=0});if(!Q.length){this.selectedIndex=-1}}else{this.value=R}}}})}});AF.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(F,A,L,J){if(!F||F.nodeType===3||F.nodeType===8){return v}if(J&&A in AF.attrFn){return AF(F)[A](L)}J=F.nodeType!==1||!AF.isXMLDoc(F);var K=L!==v;A=J&&AF.props[A]||A;if(F.nodeType===1){var G=Al.test(A);if(A in F&&J&&!G){if(K){A==="type"&&At.test(F.nodeName)&&F.parentNode&&AF.error("type property can't be changed");F[A]=L}if(AF.nodeName(F,"form")&&F.getAttributeNode(A)){return F.getAttributeNode(A).nodeValue}if(A==="tabIndex"){return(A=F.getAttributeNode("tabIndex"))&&A.specified?A.value:AT.test(F.nodeName)||y.test(F.nodeName)&&F.href?0:v}return F[A]}if(!AF.support.style&&J&&A==="style"){if(K){F.style.cssText=""+L}return F.style.cssText}K&&F.setAttribute(A,""+L);F=!AF.support.hrefNormalized&&J&&G?F.getAttribute(A,2):F.getAttribute(A);return F===null?v:F}return AF.style(F,A,L)}});var AW=/\.(.*)$/,i=function(A){return A.replace(/[^\w\s\.\|`]/g,function(F){return"\\"+F})};AF.event={add:function(T,R,P,N){if(!(T.nodeType===3||T.nodeType===8)){if(T.setInterval&&T!==An&&!T.frameElement){T=An}var O,K;if(P.handler){O=P;P=O.handler}if(!P.guid){P.guid=AF.guid++}if(K=AF.data(T)){var L=K.events=K.events||{},F=K.handle;if(!F){K.handle=F=function(){return typeof AF!=="undefined"&&!AF.event.triggered?AF.event.handle.apply(F.elem,arguments):v}}F.elem=T;R=R.split(" ");for(var J,G=0,A;J=R[G++];){K=O?AF.extend({},O):{handler:P,data:N};if(J.indexOf(".")>-1){A=J.split(".");J=A.shift();K.namespace=A.slice(0).sort().join(".")}else{A=[];K.namespace=""}K.type=J;K.guid=P.guid;var V=L[J],Q=AF.event.special[J]||{};if(!V){V=L[J]=[];if(!Q.setup||Q.setup.call(T,N,A,F)===false){if(T.addEventListener){T.addEventListener(J,F,false)}else{T.attachEvent&&T.attachEvent("on"+J,F)}}}if(Q.add){Q.add.call(T,K);if(!K.handler.guid){K.handler.guid=P.guid}}V.push(K);AF.event.global[J]=true}T=null}}},global:{},remove:function(W,V,R,P){if(!(W.nodeType===3||W.nodeType===8)){var Q,N=0,O,J,L,K,A,X,T=AF.data(W),F=T&&T.events;if(T&&F){if(V&&V.type){R=V.handler;V=V.type}if(!V||typeof V==="string"&&V.charAt(0)==="."){V=V||"";for(Q in F){AF.event.remove(W,Q+V)}}else{for(V=V.split(" ");Q=V[N++];){K=Q;O=Q.indexOf(".")<0;J=[];if(!O){J=Q.split(".");Q=J.shift();L=new RegExp("(^|\\.)"+AF.map(J.slice(0).sort(),i).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=F[Q]){if(R){K=AF.event.special[Q]||{};for(G=P||0;G<A.length;G++){X=A[G];if(R.guid===X.guid){if(O||L.test(X.namespace)){P==null&&A.splice(G--,1);K.remove&&K.remove.call(W,X)}if(P!=null){break}}}if(A.length===0||P!=null&&A.length===1){if(!K.teardown||K.teardown.call(W,J)===false){Af(W,Q,T.handle)}delete F[Q]}}else{for(var G=0;G<A.length;G++){X=A[G];if(O||L.test(X.namespace)){AF.event.remove(W,K,X.handler,G);A.splice(G--,1)}}}}}if(AF.isEmptyObject(F)){if(V=T.handle){V.elem=null}delete T.events;delete T.handle;AF.isEmptyObject(T)&&AF.removeData(W)}}}}},trigger:function(Q,P,O,L){var N=Q.type||Q;if(!L){Q=typeof Q==="object"?Q[Ag]?Q:AF.extend(AF.Event(N),Q):AF.Event(N);if(N.indexOf("!")>=0){Q.type=N=N.slice(0,-1);Q.exclusive=true}if(!O){Q.stopPropagation();AF.event.global[N]&&AF.each(AF.cache,function(){this.events&&this.events[N]&&AF.event.trigger(Q,P,this.handle.elem)})}if(!O||O.nodeType===3||O.nodeType===8){return v}Q.result=v;Q.target=O;P=AF.makeArray(P);P.unshift(Q)}Q.currentTarget=O;(L=AF.data(O,"handle"))&&L.apply(O,P);L=O.parentNode||O.ownerDocument;try{if(!(O&&O.nodeName&&AF.noData[O.nodeName.toLowerCase()])){if(O["on"+N]&&O["on"+N].apply(O,P)===false){Q.result=false}}}catch(J){}if(!Q.isPropagationStopped()&&L){AF.event.trigger(Q,P,L,true)}else{if(!Q.isDefaultPrevented()){L=Q.target;var K,A=AF.nodeName(L,"a")&&N==="click",G=AF.event.special[N]||{};if((!G._default||G._default.call(O,Q)===false)&&!A&&!(L&&L.nodeName&&AF.noData[L.nodeName.toLowerCase()])){try{if(L[N]){if(K=L["on"+N]){L["on"+N]=null}AF.event.triggered=true;L[N]()}}catch(F){}if(K){L["on"+N]=K}AF.event.triggered=false}}}},handle:function(F){var A,N,K,L;F=arguments[0]=AF.event.fix(F||An.event);F.currentTarget=this;A=F.type.indexOf(".")<0&&!F.exclusive;if(!A){N=F.type.split(".");F.type=N.shift();K=new RegExp("(^|\\.)"+N.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}L=AF.data(this,"events");N=L[F.type];if(L&&N){N=N.slice(0);L=0;for(var G=N.length;L<G;L++){var J=N[L];if(A||K.test(J.namespace)){F.handler=J.handler;F.data=J.data;F.handleObj=J;J=J.handler.apply(this,arguments);if(J!==v){F.result=J;if(J===false){F.preventDefault();F.stopPropagation()}}if(F.isImmediatePropagationStopped()){break}}}}return F.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(F){if(F[Ag]){return F}var A=F;F=AF.Event(A);for(var J=this.props.length,G;J;){G=this.props[--J];F[G]=A[G]}if(!F.target){F.target=F.srcElement||x}if(F.target.nodeType===3){F.target=F.target.parentNode}if(!F.relatedTarget&&F.fromElement){F.relatedTarget=F.fromElement===F.target?F.toElement:F.fromElement}if(F.pageX==null&&F.clientX!=null){A=x.documentElement;J=x.body;F.pageX=F.clientX+(A&&A.scrollLeft||J&&J.scrollLeft||0)-(A&&A.clientLeft||J&&J.clientLeft||0);F.pageY=F.clientY+(A&&A.scrollTop||J&&J.scrollTop||0)-(A&&A.clientTop||J&&J.clientTop||0)}if(!F.which&&(F.charCode||F.charCode===0?F.charCode:F.keyCode)){F.which=F.charCode||F.keyCode}if(!F.metaKey&&F.ctrlKey){F.metaKey=F.ctrlKey}if(!F.which&&F.button!==v){F.which=F.button&1?1:F.button&2?3:F.button&4?2:0}return F},guid:100000000,proxy:AF.proxy,special:{ready:{setup:AF.bindReady,teardown:AF.noop},live:{add:function(A){AF.event.add(this,A.origType,AF.extend({},A,{handler:AE}))},remove:function(F){var A=true,G=F.origType.replace(AW,"");AF.each(AF.data(this,"events").live||[],function(){if(G===this.origType.replace(AW,"")){return A=false}});A&&AF.event.remove(this,F.origType,AE)}},beforeunload:{setup:function(F,A,G){if(this.setInterval){this.onbeforeunload=G}return false},teardown:function(F,A){if(this.onbeforeunload===A){this.onbeforeunload=null}}}}};var Af=x.removeEventListener?function(F,A,G){F.removeEventListener(A,G,false)}:function(F,A,G){F.detachEvent("on"+A,G)};AF.Event=function(A){if(!this.preventDefault){return new AF.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Ae();this[Ag]=true};AF.Event.prototype={preventDefault:function(){this.isDefaultPrevented=AK;var A=this.originalEvent;if(A){A.preventDefault&&A.preventDefault();A.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=AK;var A=this.originalEvent;if(A){A.stopPropagation&&A.stopPropagation();A.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=AK;this.stopPropagation()},isDefaultPrevented:AM,isPropagationStopped:AM,isImmediatePropagationStopped:AM};var AC=function(F){var A=F.relatedTarget;try{for(;A&&A!==this;){A=A.parentNode}if(A!==this){F.type=F.data;AF.event.handle.apply(this,arguments)}}catch(G){}},m=function(A){A.type=A.data;AF.event.handle.apply(this,arguments)};AF.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(F,A){AF.event.special[F]={setup:function(G){AF.event.add(this,A,G&&G.selector?m:AC,F)},teardown:function(G){AF.event.remove(this,A,G&&G.selector?m:AC)}}});if(!AF.support.submitBubbles){AF.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){AF.event.add(this,"click.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="submit"||G==="image")&&AF(A).closest("form").length){return Aj("submit",this,arguments)}});AF.event.add(this,"keypress.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="text"||G==="password")&&AF(A).closest("form").length&&F.keyCode===13){return Aj("submit",this,arguments)}})}else{return false}},teardown:function(){AF.event.remove(this,".specialSubmit")}}}if(!AF.support.changeBubbles){var j=/textarea|input|select/i,I,U=function(F){var A=F.type,G=F.value;if(A==="radio"||A==="checkbox"){G=F.checked}else{if(A==="select-multiple"){G=F.selectedIndex>-1?AF.map(F.options,function(J){return J.selected}).join("-"):""}else{if(F.nodeName.toLowerCase()==="select"){G=F.selectedIndex}}}return G},BA=function(F,A){var K=F.target,G,J;if(!(!j.test(K.nodeName)||K.readOnly)){G=AF.data(K,"_change_data");J=U(K);if(F.type!=="focusout"||K.type!=="radio"){AF.data(K,"_change_data",J)}if(!(G===v||J===G)){if(G!=null||J){F.type="change";return AF.event.trigger(F,A,K)}}}};AF.event.special.change={filters:{focusout:BA,click:function(F){var A=F.target,G=A.type;if(G==="radio"||G==="checkbox"||A.nodeName.toLowerCase()==="select"){return BA.call(this,F)}},keydown:function(F){var A=F.target,G=A.type;if(F.keyCode===13&&A.nodeName.toLowerCase()!=="textarea"||F.keyCode===32&&(G==="checkbox"||G==="radio")||G==="select-multiple"){return BA.call(this,F)}},beforeactivate:function(A){A=A.target;AF.data(A,"_change_data",U(A))}},setup:function(){if(this.type==="file"){return false}for(var A in I){AF.event.add(this,A+".specialChange",I[A])}return j.test(this.nodeName)},teardown:function(){AF.event.remove(this,".specialChange");return j.test(this.nodeName)}};I=AF.event.special.change.filters}x.addEventListener&&AF.each({focus:"focusin",blur:"focusout"},function(F,A){function G(J){J=AF.event.fix(J);J.type=A;return AF.event.handle.call(this,J)}AF.event.special[A]={setup:function(){this.addEventListener(F,G,true)},teardown:function(){this.removeEventListener(F,G,true)}}});AF.each(["bind","one"],function(F,A){AF.fn[A]=function(O,K,L){if(typeof O==="object"){for(var G in O){this[A](G,K,O[G],L)}return this}if(AF.isFunction(K)){L=K;K=v}var J=A==="one"?AF.proxy(L,function(P){AF(this).unbind(P,J);return L.apply(this,arguments)}):L;if(O==="unload"&&A!=="one"){this.one(O,K,L)}else{G=0;for(var N=this.length;G<N;G++){AF.event.add(this[G],O,J,K)}}return this}});AF.fn.extend({unbind:function(F,A){if(typeof F==="object"&&!F.preventDefault){for(var J in F){this.unbind(J,F[J])}}else{J=0;for(var G=this.length;J<G;J++){AF.event.remove(this[J],F,A)}}return this},delegate:function(F,A,J,G){return this.live(A,J,G,F)},undelegate:function(F,A,G){return arguments.length===0?this.unbind("live"):this.die(A,null,G,F)},trigger:function(F,A){return this.each(function(){AF.event.trigger(F,A,this)})},triggerHandler:function(F,A){if(this[0]){F=AF.Event(F);F.preventDefault();F.stopPropagation();AF.event.trigger(F,A,this[0]);return F.result}},toggle:function(F){for(var A=arguments,G=1;G<A.length;){AF.proxy(F,A[G++])}return this.click(AF.proxy(F,function(J){var K=(AF.data(this,"lastToggle"+F.guid)||0)%G;AF.data(this,"lastToggle"+F.guid,K+1);J.preventDefault();return A[K].apply(this,arguments)||false}))},hover:function(F,A){return this.mouseenter(F).mouseleave(A||F)}});var BE={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};AF.each(["live","die"],function(F,A){AF.fn[A]=function(R,P,Q,N){var O,J=0,L,K,G=N||this.selector,T=N?this:AF(this.context);if(AF.isFunction(P)){Q=P;P=v}for(R=(R||"").split(" ");(O=R[J++])!=null;){N=AW.exec(O);L="";if(N){L=N[0];O=O.replace(AW,"")}if(O==="hover"){R.push("mouseenter"+L,"mouseleave"+L)}else{K=O;if(O==="focus"||O==="blur"){R.push(BE[O]+L);O+=L}else{O=(BE[O]||O)+L}A==="live"?T.each(function(){AF.event.add(this,o(O,G),{data:P,selector:G,handler:Q,origType:O,origHandler:Q,preType:K})}):T.unbind(o(O,G),Q)}}return this}});AF.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(F,A){AF.fn[A]=function(G){return G?this.bind(A,G):this.trigger(A)};if(AF.attrFn){AF.attrFn[A]=true}});An.attachEvent&&!An.addEventListener&&An.attachEvent("onunload",function(){for(var F in AF.cache){if(AF.cache[F].handle){try{AF.event.remove(AF.cache[F].handle.elem)}catch(A){}}}});(function(){function Z(Ab){for(var Aa="",w,s=0;Ab[s];s++){w=Ab[s];if(w.nodeType===3||w.nodeType===4){Aa+=w.nodeValue}else{if(w.nodeType!==8){Aa+=Z(w.childNodes)}}}return Aa}function Y(BJ,BI,Ab,Aa,s,w){s=0;for(var BL=Aa.length;s<BL;s++){var BM=Aa[s];if(BM){BM=BM[BJ];for(var BK=false;BM;){if(BM.sizcache===Ab){BK=Aa[BM.sizset];break}if(BM.nodeType===1&&!w){BM.sizcache=Ab;BM.sizset=s}if(BM.nodeName.toLowerCase()===BI){BK=BM;break}BM=BM[BJ]}Aa[s]=BK}}}function X(BJ,BI,Ab,Aa,s,w){s=0;for(var BL=Aa.length;s<BL;s++){var BM=Aa[s];if(BM){BM=BM[BJ];for(var BK=false;BM;){if(BM.sizcache===Ab){BK=Aa[BM.sizset];break}if(BM.nodeType===1){if(!w){BM.sizcache=Ab;BM.sizset=s}if(typeof BI!=="string"){if(BM===BI){BK=true;break}}else{if(Q.filter(BI,[BM]).length>0){BK=BM;break}}}BM=BM[BJ]}Aa[s]=BK}}}var V=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,W=0,R=Object.prototype.toString,T=false,O=true;[0,0].sort(function(){O=false;return 0});var Q=function(BL,BK,BI,Ab){BI=BI||[];var w=BK=BK||x;if(BK.nodeType!==1&&BK.nodeType!==9){return[]}if(!BL||typeof BL!=="string"){return BI}for(var Aa=[],BQ,BR,BN,BJ,BP=true,BM=F(BK),BO=BL;(V.exec(""),BQ=V.exec(BO))!==null;){BO=BQ[3];Aa.push(BQ[1]);if(BQ[2]){BJ=BQ[3];break}}if(Aa.length>1&&L.exec(BL)){if(Aa.length===2&&P.relative[Aa[0]]){BR=c(Aa[0]+Aa[1],BK)}else{for(BR=P.relative[Aa[0]]?[BK]:Q(Aa.shift(),BK);Aa.length;){BL=Aa.shift();if(P.relative[BL]){BL+=Aa.shift()}BR=c(BL,BR)}}}else{if(!Ab&&Aa.length>1&&BK.nodeType===9&&!BM&&P.match.ID.test(Aa[0])&&!P.match.ID.test(Aa[Aa.length-1])){BQ=Q.find(Aa.shift(),BK,BM);BK=BQ.expr?Q.filter(BQ.expr,BQ.set)[0]:BQ.set[0]}if(BK){BQ=Ab?{expr:Aa.pop(),set:A(Ab)}:Q.find(Aa.pop(),Aa.length===1&&(Aa[0]==="~"||Aa[0]==="+")&&BK.parentNode?BK.parentNode:BK,BM);BR=BQ.expr?Q.filter(BQ.expr,BQ.set):BQ.set;if(Aa.length>0){BN=A(BR)}else{BP=false}for(;Aa.length;){var s=Aa.pop();BQ=s;if(P.relative[s]){BQ=Aa.pop()}else{s=""}if(BQ==null){BQ=BK}P.relative[s](BN,BQ,BM)}}else{BN=[]}}BN||(BN=BR);BN||Q.error(s||BL);if(R.call(BN)==="[object Array]"){if(BP){if(BK&&BK.nodeType===1){for(BL=0;BN[BL]!=null;BL++){if(BN[BL]&&(BN[BL]===true||BN[BL].nodeType===1&&J(BK,BN[BL]))){BI.push(BR[BL])}}}else{for(BL=0;BN[BL]!=null;BL++){BN[BL]&&BN[BL].nodeType===1&&BI.push(BR[BL])}}}else{BI.push.apply(BI,BN)}}else{A(BN,BI)}if(BJ){Q(BJ,w,BI,Ab);Q.uniqueSort(BI)}return BI};Q.uniqueSort=function(w){if(N){T=O;w.sort(N);if(T){for(var s=1;s<w.length;s++){w[s]===w[s-1]&&w.splice(s--,1)}}}return w};Q.matches=function(w,s){return Q(w,null,null,s)};Q.find=function(BJ,BI,Ab){var Aa,s;if(!BJ){return[]}for(var w=0,BL=P.order.length;w<BL;w++){var BM=P.order[w];if(s=P.leftMatch[BM].exec(BJ)){var BK=s[1];s.splice(1,1);if(BK.substr(BK.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");Aa=P.find[BM](s,BI,Ab);if(Aa!=null){BJ=BJ.replace(P.match[BM],"");break}}}}Aa||(Aa=BI.getElementsByTagName("*"));return{set:Aa,expr:BJ}};Q.filter=function(BM,BL,BJ,Ab){for(var w=BM,Aa=[],BS=BL,BT,BP,BK=BL&&BL[0]&&F(BL[0]);BM&&BL.length;){for(var BR in P.filter){if((BT=P.leftMatch[BR].exec(BM))!=null&&BT[2]){var BN=P.filter[BR],BQ,s;s=BT[1];BP=false;BT.splice(1,1);if(s.substr(s.length-1)!=="\\"){if(BS===Aa){Aa=[]}if(P.preFilter[BR]){if(BT=P.preFilter[BR](BT,BS,BJ,Aa,Ab,BK)){if(BT===true){continue}}else{BP=BQ=true}}if(BT){for(var BI=0;(s=BS[BI])!=null;BI++){if(s){BQ=BN(s,BT,BI,BS);var BO=Ab^!!BQ;if(BJ&&BQ!=null){if(BO){BP=true}else{BS[BI]=false}}else{if(BO){Aa.push(s);BP=true}}}}}if(BQ!==v){BJ||(BS=Aa);BM=BM.replace(P.match[BR],"");if(!BP){return[]}break}}}}if(BM===w){if(BP==null){Q.error(BM)}else{break}}w=BM}return BS};Q.error=function(s){throw"Syntax error, unrecognized expression: "+s};var P=Q.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(s){return s.getAttribute("href")}},relative:{"+":function(Ab,Aa){var w=typeof Aa==="string",s=w&&!/\W/.test(Aa);w=w&&!s;if(s){Aa=Aa.toLowerCase()}s=0;for(var BI=Ab.length,BJ;s<BI;s++){if(BJ=Ab[s]){for(;(BJ=BJ.previousSibling)&&BJ.nodeType!==1;){}Ab[s]=w||BJ&&BJ.nodeName.toLowerCase()===Aa?BJ||false:BJ===Aa}}w&&Q.filter(Aa,Ab,true)},">":function(Ab,Aa){var w=typeof Aa==="string";if(w&&!/\W/.test(Aa)){Aa=Aa.toLowerCase();for(var s=0,BI=Ab.length;s<BI;s++){var BJ=Ab[s];if(BJ){w=BJ.parentNode;Ab[s]=w.nodeName.toLowerCase()===Aa?w:false}}}else{s=0;for(BI=Ab.length;s<BI;s++){if(BJ=Ab[s]){Ab[s]=w?BJ.parentNode:BJ.parentNode===Aa}}w&&Q.filter(Aa,Ab,true)}},"":function(Ab,Aa,w){var s=W++,BI=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BJ=Aa=Aa.toLowerCase();BI=Y}BI("parentNode",Aa,s,Ab,BJ,w)},"~":function(Ab,Aa,w){var s=W++,BI=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BJ=Aa=Aa.toLowerCase();BI=Y}BI("previousSibling",Aa,s,Ab,BJ,w)}},find:{ID:function(Aa,w,s){if(typeof w.getElementById!=="undefined"&&!s){return(Aa=w.getElementById(Aa[1]))?[Aa]:[]}},NAME:function(Ab,Aa){if(typeof Aa.getElementsByName!=="undefined"){var w=[];Aa=Aa.getElementsByName(Ab[1]);for(var s=0,BI=Aa.length;s<BI;s++){Aa[s].getAttribute("name")===Ab[1]&&w.push(Aa[s])}return w.length===0?null:w}},TAG:function(w,s){return s.getElementsByTagName(w[1])}},preFilter:{CLASS:function(BI,Ab,w,s,BJ,BK){BI=" "+BI[1].replace(/\\/g,"")+" ";if(BK){return BI}BK=0;for(var Aa;(Aa=Ab[BK])!=null;BK++){if(Aa){if(BJ^(Aa.className&&(" "+Aa.className+" ").replace(/[\t\n]/g," ").indexOf(BI)>=0)){w||s.push(Aa)}else{if(w){Ab[BK]=false}}}}return false},ID:function(s){return s[1].replace(/\\/g,"")},TAG:function(s){return s[1].toLowerCase()},CHILD:function(w){if(w[1]==="nth"){var s=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(w[2]==="even"&&"2n"||w[2]==="odd"&&"2n+1"||!/\D/.test(w[2])&&"0n+"+w[2]||w[2]);w[2]=s[1]+(s[2]||1)-0;w[3]=s[3]-0}w[0]=W++;return w},ATTR:function(Ab,Aa,w,s,BI,BJ){Aa=Ab[1].replace(/\\/g,"");if(!BJ&&P.attrMap[Aa]){Ab[1]=P.attrMap[Aa]}if(Ab[2]==="~="){Ab[4]=" "+Ab[4]+" "}return Ab},PSEUDO:function(Ab,Aa,w,s,BI){if(Ab[1]==="not"){if((V.exec(Ab[3])||"").length>1||/^\w/.test(Ab[3])){Ab[3]=Q(Ab[3],null,null,Aa)}else{Ab=Q.filter(Ab[3],Aa,w,true^BI);w||s.push.apply(s,Ab);return false}}else{if(P.match.POS.test(Ab[0])||P.match.CHILD.test(Ab[0])){return true}}return Ab},POS:function(s){s.unshift(true);return s}},filters:{enabled:function(s){return s.disabled===false&&s.type!=="hidden"},disabled:function(s){return s.disabled===true},checked:function(s){return s.checked===true},selected:function(s){return s.selected===true},parent:function(s){return !!s.firstChild},empty:function(s){return !s.firstChild},has:function(Aa,w,s){return !!Q(s[3],Aa).length},header:function(s){return/h\d/i.test(s.nodeName)},text:function(s){return"text"===s.type},radio:function(s){return"radio"===s.type},checkbox:function(s){return"checkbox"===s.type},file:function(s){return"file"===s.type},password:function(s){return"password"===s.type},submit:function(s){return"submit"===s.type},image:function(s){return"image"===s.type},reset:function(s){return"reset"===s.type},button:function(s){return"button"===s.type||s.nodeName.toLowerCase()==="button"},input:function(s){return/input|select|textarea|button/i.test(s.nodeName)}},setFilters:{first:function(w,s){return s===0},last:function(Ab,Aa,w,s){return Aa===s.length-1},even:function(w,s){return s%2===0},odd:function(w,s){return s%2===1},lt:function(Aa,w,s){return w<s[3]-0},gt:function(Aa,w,s){return w>s[3]-0},nth:function(Aa,w,s){return s[3]-0===w},eq:function(Aa,w,s){return s[3]-0===w}},filter:{PSEUDO:function(Ab,Aa,w,s){var BI=Aa[1],BJ=P.filters[BI];if(BJ){return BJ(Ab,w,Aa,s)}else{if(BI==="contains"){return(Ab.textContent||Ab.innerText||Z([Ab])||"").indexOf(Aa[3])>=0}else{if(BI==="not"){Aa=Aa[3];w=0;for(s=Aa.length;w<s;w++){if(Aa[w]===Ab){return false}}return true}else{Q.error("Syntax error, unrecognized expression: "+BI)}}}},CHILD:function(BI,Ab){var w=Ab[1],s=BI;switch(w){case"only":case"first":for(;s=s.previousSibling;){if(s.nodeType===1){return false}}if(w==="first"){return true}s=BI;case"last":for(;s=s.nextSibling;){if(s.nodeType===1){return false}}return true;case"nth":w=Ab[2];var BJ=Ab[3];if(w===1&&BJ===0){return true}Ab=Ab[0];var BK=BI.parentNode;if(BK&&(BK.sizcache!==Ab||!BI.nodeIndex)){var Aa=0;for(s=BK.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++Aa}}BK.sizcache=Ab}BI=BI.nodeIndex-BJ;return w===0?BI===0:BI%w===0&&BI/w>=0}},ID:function(w,s){return w.nodeType===1&&w.getAttribute("id")===s},TAG:function(w,s){return s==="*"&&w.nodeType===1||w.nodeName.toLowerCase()===s},CLASS:function(w,s){return(" "+(w.className||w.getAttribute("class"))+" ").indexOf(s)>-1},ATTR:function(Ab,Aa){var w=Aa[1];Ab=P.attrHandle[w]?P.attrHandle[w](Ab):Ab[w]!=null?Ab[w]:Ab.getAttribute(w);w=Ab+"";var s=Aa[2];Aa=Aa[4];return Ab==null?s==="!=":s==="="?w===Aa:s==="*="?w.indexOf(Aa)>=0:s==="~="?(" "+w+" ").indexOf(Aa)>=0:!Aa?w&&Ab!==false:s==="!="?w!==Aa:s==="^="?w.indexOf(Aa)===0:s==="$="?w.substr(w.length-Aa.length)===Aa:s==="|="?w===Aa||w.substr(0,Aa.length+1)===Aa+"-":false},POS:function(Ab,Aa,w,s){var BI=P.setFilters[Aa[2]];if(BI){return BI(Ab,w,Aa,s)}}}},L=P.match.POS;for(var G in P.match){P.match[G]=new RegExp(P.match[G].source+/(?![^\[]*\])(?![^\(]*\))/.source);P.leftMatch[G]=new RegExp(/(^(?:.|\r|\n)*?)/.source+P.match[G].source.replace(/\\(\d+)/g,function(w,s){return"\\"+(s-0+1)}))}var A=function(w,s){w=Array.prototype.slice.call(w,0);if(s){s.push.apply(s,w);return s}return w};try{Array.prototype.slice.call(x.documentElement.childNodes,0)}catch(K){A=function(Ab,Aa){Aa=Aa||[];if(R.call(Ab)==="[object Array]"){Array.prototype.push.apply(Aa,Ab)}else{if(typeof Ab.length==="number"){for(var w=0,s=Ab.length;w<s;w++){Aa.push(Ab[w])}}else{for(w=0;Ab[w];w++){Aa.push(Ab[w])}}}return Aa}}var N;if(x.documentElement.compareDocumentPosition){N=function(w,s){if(!w.compareDocumentPosition||!s.compareDocumentPosition){if(w==s){T=true}return w.compareDocumentPosition?-1:1}w=w.compareDocumentPosition(s)&4?-1:w===s?0:1;if(w===0){T=true}return w}}else{if("sourceIndex" in x.documentElement){N=function(w,s){if(!w.sourceIndex||!s.sourceIndex){if(w==s){T=true}return w.sourceIndex?-1:1}w=w.sourceIndex-s.sourceIndex;if(w===0){T=true}return w}}else{if(x.createRange){N=function(Ab,Aa){if(!Ab.ownerDocument||!Aa.ownerDocument){if(Ab==Aa){T=true}return Ab.ownerDocument?-1:1}var w=Ab.ownerDocument.createRange(),s=Aa.ownerDocument.createRange();w.setStart(Ab,0);w.setEnd(Ab,0);s.setStart(Aa,0);s.setEnd(Aa,0);Ab=w.compareBoundaryPoints(Range.START_TO_END,s);if(Ab===0){T=true}return Ab}}}}(function(){var Aa=x.createElement("div"),w="script"+(new Date).getTime();Aa.innerHTML="<a name='"+w+"'/>";var s=x.documentElement;s.insertBefore(Aa,s.firstChild);if(x.getElementById(w)){P.find.ID=function(Ab,BI,BJ){if(typeof BI.getElementById!=="undefined"&&!BJ){return(BI=BI.getElementById(Ab[1]))?BI.id===Ab[1]||typeof BI.getAttributeNode!=="undefined"&&BI.getAttributeNode("id").nodeValue===Ab[1]?[BI]:v:[]}};P.filter.ID=function(Ab,BI){var BJ=typeof Ab.getAttributeNode!=="undefined"&&Ab.getAttributeNode("id");return Ab.nodeType===1&&BJ&&BJ.nodeValue===BI}}s.removeChild(Aa);s=Aa=null})();(function(){var s=x.createElement("div");s.appendChild(x.createComment(""));if(s.getElementsByTagName("*").length>0){P.find.TAG=function(Ab,Aa){Aa=Aa.getElementsByTagName(Ab[1]);if(Ab[1]==="*"){Ab=[];for(var w=0;Aa[w];w++){Aa[w].nodeType===1&&Ab.push(Aa[w])}Aa=Ab}return Aa}}s.innerHTML="<a href='#'></a>";if(s.firstChild&&typeof s.firstChild.getAttribute!=="undefined"&&s.firstChild.getAttribute("href")!=="#"){P.attrHandle.href=function(w){return w.getAttribute("href",2)}}s=null})();x.querySelectorAll&&function(){var Aa=Q,w=x.createElement("div");w.innerHTML="<p class='TEST'></p>";if(!(w.querySelectorAll&&w.querySelectorAll(".TEST").length===0)){Q=function(Ab,BK,BL,BI){BK=BK||x;if(!BI&&BK.nodeType===9&&!F(BK)){try{return A(BK.querySelectorAll(Ab),BL)}catch(BJ){}}return Aa(Ab,BK,BL,BI)};for(var s in Aa){Q[s]=Aa[s]}w=null}}();(function(){var s=x.createElement("div");s.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!s.getElementsByClassName||s.getElementsByClassName("e").length===0)){s.lastChild.className="e";if(s.getElementsByClassName("e").length!==1){P.order.splice(1,0,"CLASS");P.find.CLASS=function(Ab,Aa,w){if(typeof Aa.getElementsByClassName!=="undefined"&&!w){return Aa.getElementsByClassName(Ab[1])}};s=null}}})();var J=x.compareDocumentPosition?function(w,s){return !!(w.compareDocumentPosition(s)&16)}:function(w,s){return w!==s&&(w.contains?w.contains(s):true)},F=function(s){return(s=(s?s.ownerDocument||s:0).documentElement)?s.nodeName!=="HTML":false},c=function(Ab,Aa){var w=[],s="",BI;for(Aa=Aa.nodeType?[Aa]:Aa;BI=P.match.PSEUDO.exec(Ab);){s+=BI[0];Ab=Ab.replace(P.match.PSEUDO,"")}Ab=P.relative[Ab]?Ab+"*":Ab;BI=0;for(var BJ=Aa.length;BI<BJ;BI++){Q(Ab,Aa[BI],w)}return Q.filter(s,w)};AF.find=Q;AF.expr=Q.selectors;AF.expr[":"]=AF.expr.filters;AF.unique=Q.uniqueSort;AF.text=Z;AF.isXMLDoc=F;AF.contains=J})();var H=/Until$/,A8=/^(?:parents|prevUntil|prevAll)/,Av=/,/;AR=Array.prototype.slice;var Ak=function(F,A,J){if(AF.isFunction(A)){return AF.grep(F,function(L,K){return !!A.call(L,K,L)===J})}else{if(A.nodeType){return AF.grep(F,function(K){return K===A===J})}else{if(typeof A==="string"){var G=AF.grep(F,function(K){return K.nodeType===1});if(As.test(A)){return AF.filter(A,G,!J)}else{A=AF.filter(A,G)}}}}return AF.grep(F,function(K){return AF.inArray(K,A)>=0===J})};AF.fn.extend({find:function(F){for(var A=this.pushStack("","find",F),N=0,K=0,L=this.length;K<L;K++){N=A.length;AF.find(F,this[K],A);if(K>0){for(var G=N;G<A.length;G++){for(var J=0;J<N;J++){if(A[J]===A[G]){A.splice(G--,1);break}}}}}return A},has:function(F){var A=AF(F);return this.filter(function(){for(var J=0,G=A.length;J<G;J++){if(AF.contains(this,A[J])){return true}}})},not:function(A){return this.pushStack(Ak(this,A,false),"not",A)},filter:function(A){return this.pushStack(Ak(this,A,true),"filter",A)},is:function(A){return !!A&&AF.filter(A,this).length>0},closest:function(P,O){if(AF.isArray(P)){var N=[],K=this[0],L,G={},J;if(K&&P.length){L=0;for(var A=P.length;L<A;L++){J=P[L];G[J]||(G[J]=AF.expr.match.POS.test(J)?AF(J,O||this.context):J)}for(;K&&K.ownerDocument&&K!==O;){for(J in G){L=G[J];if(L.jquery?L.index(K)>-1:AF(K).is(L)){N.push({selector:J,elem:K});delete G[J]}}K=K.parentNode}}return N}var F=AF.expr.match.POS.test(P)?AF(P,O||this.context):null;return this.map(function(R,Q){for(;Q&&Q.ownerDocument&&Q!==O;){if(F?F.index(Q)>-1:AF(Q).is(P)){return Q}Q=Q.parentNode}return null})},index:function(A){if(!A||typeof A==="string"){return AF.inArray(this[0],A?AF(A):this.parent().children())}return AF.inArray(A.jquery?A[0]:A,this)},add:function(F,A){F=typeof F==="string"?AF(F,A||this.context):AF.makeArray(F);A=AF.merge(this.get(),F);return this.pushStack(b(F[0])||b(A[0])?A:AF.unique(A))},andSelf:function(){return this.add(this.prevObject)}});AF.each({parent:function(A){return(A=A.parentNode)&&A.nodeType!==11?A:null},parents:function(A){return AF.dir(A,"parentNode")},parentsUntil:function(F,A,G){return AF.dir(F,"parentNode",G)},next:function(A){return AF.nth(A,2,"nextSibling")},prev:function(A){return AF.nth(A,2,"previousSibling")},nextAll:function(A){return AF.dir(A,"nextSibling")},prevAll:function(A){return AF.dir(A,"previousSibling")},nextUntil:function(F,A,G){return AF.dir(F,"nextSibling",G)},prevUntil:function(F,A,G){return AF.dir(F,"previousSibling",G)},siblings:function(A){return AF.sibling(A.parentNode.firstChild,A)},children:function(A){return AF.sibling(A.firstChild)},contents:function(A){return AF.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:AF.makeArray(A.childNodes)}},function(F,A){AF.fn[F]=function(K,G){var J=AF.map(this,A,K);H.test(F)||(G=K);if(G&&typeof G==="string"){J=AF.filter(G,J)}J=this.length>1?AF.unique(J):J;if((this.length>1||Av.test(G))&&A8.test(F)){J=J.reverse()}return this.pushStack(J,F,AR.call(arguments).join(","))}});AF.extend({filter:function(F,A,G){if(G){F=":not("+F+")"}return AF.find.matches(F,A)},dir:function(F,A,J){var G=[];for(F=F[A];F&&F.nodeType!==9&&(J===v||F.nodeType!==1||!AF(F).is(J));){F.nodeType===1&&G.push(F);F=F[A]}return G},nth:function(F,A,J){A=A||1;for(var G=0;F;F=F[J]){if(F.nodeType===1&&++G===A){break}}return F},sibling:function(F,A){for(var G=[];F;F=F.nextSibling){F.nodeType===1&&F!==A&&G.push(F)}return G}});var AG=/ jQuery\d+="(?:\d+|null)"/g,AP=/^\s+/,p=/(<([\w:]+)[^>]*?)\/>/g,Ac=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,d=/<([\w:]+)/,AA=/<tbody/i,k=/<|&#?\w+;/,Ao=/<script|<object|<embed|<option|<style/i,AI=/checked\s*(?:[^=]|=\s*.checked.)/i,BH=function(F,A,G){return Ac.test(G)?F:A+"></"+G+">"},Ai={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,"",""]};Ai.optgroup=Ai.option;Ai.tbody=Ai.tfoot=Ai.colgroup=Ai.caption=Ai.thead;Ai.th=Ai.td;if(!AF.support.htmlSerialize){Ai._default=[1,"div<div>","</div>"]}AF.fn.extend({text:function(A){if(AF.isFunction(A)){return this.each(function(F){var G=AF(this);G.text(A.call(this,F,G.text()))})}if(typeof A!=="object"&&A!==v){return this.empty().append((this[0]&&this[0].ownerDocument||x).createTextNode(A))}return AF.text(this)},wrapAll:function(F){if(AF.isFunction(F)){return this.each(function(G){AF(this).wrapAll(F.call(this,G))})}if(this[0]){var A=AF(F,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&A.insertBefore(this[0]);A.map(function(){for(var G=this;G.firstChild&&G.firstChild.nodeType===1;){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(A){if(AF.isFunction(A)){return this.each(function(F){AF(this).wrapInner(A.call(this,F))})}return this.each(function(){var F=AF(this),G=F.contents();G.length?G.wrapAll(A):F.append(A)})},wrap:function(A){return this.each(function(){AF(this).wrapAll(A)})},unwrap:function(){return this.parent().each(function(){AF.nodeName(this,"body")||AF(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(A){this.nodeType===1&&this.appendChild(A)})},prepend:function(){return this.domManip(arguments,true,function(A){this.nodeType===1&&this.insertBefore(A,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this)})}else{if(arguments.length){var A=AF(arguments[0]);A.push.apply(A,this.toArray());return this.pushStack(A,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this.nextSibling)})}else{if(arguments.length){var A=this.pushStack(this,"after",arguments);A.push.apply(A,AF(arguments[0]).toArray());return A}}},remove:function(F,A){for(var J=0,G;(G=this[J])!=null;J++){if(!F||AF.filter(F,[G]).length){if(!A&&G.nodeType===1){AF.cleanData(G.getElementsByTagName("*"));AF.cleanData([G])}G.parentNode&&G.parentNode.removeChild(G)}}return this},empty:function(){for(var F=0,A;(A=this[F])!=null;F++){for(A.nodeType===1&&AF.cleanData(A.getElementsByTagName("*"));A.firstChild;){A.removeChild(A.firstChild)}}return this},clone:function(F){var A=this.map(function(){if(!AF.support.noCloneEvent&&!AF.isXMLDoc(this)){var J=this.outerHTML,G=this.ownerDocument;if(!J){J=G.createElement("div");J.appendChild(this.cloneNode(true));J=J.innerHTML}return AF.clean([J.replace(AG,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(AP,"")],G)[0]}else{return this.cloneNode(true)}});if(F===true){BG(this,A);BG(this.find("*"),A.find("*"))}return A},html:function(F){if(F===v){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(AG,""):null}else{if(typeof F==="string"&&!Ao.test(F)&&(AF.support.leadingWhitespace||!AP.test(F))&&!Ai[(d.exec(F)||["",""])[1].toLowerCase()]){F=F.replace(p,BH);try{for(var A=0,J=this.length;A<J;A++){if(this[A].nodeType===1){AF.cleanData(this[A].getElementsByTagName("*"));this[A].innerHTML=F}}}catch(G){this.empty().append(F)}}else{AF.isFunction(F)?this.each(function(N){var K=AF(this),L=K.html();K.empty().append(function(){return F.call(this,N,L)})}):this.empty().append(F)}}return this},replaceWith:function(A){if(this[0]&&this[0].parentNode){if(AF.isFunction(A)){return this.each(function(F){var J=AF(this),G=J.html();J.replaceWith(A.call(this,F,G))})}if(typeof A!=="string"){A=AF(A).detach()}return this.each(function(){var F=this.nextSibling,G=this.parentNode;AF(this).remove();F?AF(F).before(A):AF(G).append(A)})}else{return this.pushStack(AF(AF.isFunction(A)?A():A),"replaceWith",A)}},detach:function(A){return this.remove(A,true)},domManip:function(R,Q,P){function N(T){return AF.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}var O,K,L=R[0],F=[],J;if(!AF.support.checkClone&&arguments.length===3&&typeof L==="string"&&AI.test(L)){return this.each(function(){AF(this).domManip(R,Q,P,true)})}if(AF.isFunction(L)){return this.each(function(T){var V=AF(this);R[0]=L.call(this,T,Q?V.html():v);V.domManip(R,Q,P)})}if(this[0]){O=L&&L.parentNode;O=AF.support.parentNode&&O&&O.nodeType===11&&O.childNodes.length===this.length?{fragment:O}:A2(R,this,F);J=O.fragment;if(K=J.childNodes.length===1?(J=J.firstChild):J.firstChild){Q=Q&&AF.nodeName(K,"tr");for(var G=0,A=this.length;G<A;G++){P.call(Q?N(this[G],K):this[G],G>0||O.cacheable||this.length>1?J.cloneNode(true):J)}}F.length&&AF.each(F,t)}return this}});AF.fragments={};AF.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,A){AF.fn[F]=function(N){var K=[];N=AF(N);var L=this.length===1&&this[0].parentNode;if(L&&L.nodeType===11&&L.childNodes.length===1&&N.length===1){N[A](this[0]);return this}else{L=0;for(var G=N.length;L<G;L++){var J=(L>0?this.clone(true):this).get();AF.fn[A].apply(AF(N[L]),J);K=K.concat(J)}return this.pushStack(K,F,N.selector)}}});AF.extend({clean:function(R,Q,P,N){Q=Q||x;if(typeof Q.createElement==="undefined"){Q=Q.ownerDocument||Q[0]&&Q[0].ownerDocument||x}for(var O=[],K=0,L;(L=R[K])!=null;K++){if(typeof L==="number"){L+=""}if(L){if(typeof L==="string"&&!k.test(L)){L=Q.createTextNode(L)}else{if(typeof L==="string"){L=L.replace(p,BH);var F=(d.exec(L)||["",""])[1].toLowerCase(),J=Ai[F]||Ai._default,G=J[0],A=Q.createElement("div");for(A.innerHTML=J[1]+L+J[2];G--;){A=A.lastChild}if(!AF.support.tbody){G=AA.test(L);F=F==="table"&&!G?A.firstChild&&A.firstChild.childNodes:J[1]==="<table>"&&!G?A.childNodes:[];for(J=F.length-1;J>=0;--J){AF.nodeName(F[J],"tbody")&&!F[J].childNodes.length&&F[J].parentNode.removeChild(F[J])}}!AF.support.leadingWhitespace&&AP.test(L)&&A.insertBefore(Q.createTextNode(AP.exec(L)[0]),A.firstChild);L=A.childNodes}}if(L.nodeType){O.push(L)}else{O=AF.merge(O,L)}}}if(P){for(K=0;O[K];K++){if(N&&AF.nodeName(O[K],"script")&&(!O[K].type||O[K].type.toLowerCase()==="text/javascript")){N.push(O[K].parentNode?O[K].parentNode.removeChild(O[K]):O[K])}else{O[K].nodeType===1&&O.splice.apply(O,[K+1,0].concat(AF.makeArray(O[K].getElementsByTagName("script"))));P.appendChild(O[K])}}}return O},cleanData:function(P){for(var O,N,K=AF.cache,L=AF.event.special,G=AF.support.deleteExpando,J=0,A;(A=P[J])!=null;J++){if(N=A[AF.expando]){O=K[N];if(O.events){for(var F in O.events){L[F]?AF.event.remove(A,F):Af(A,F,O.handle)}}if(G){delete A[AF.expando]}else{A.removeAttribute&&A.removeAttribute(AF.expando)}delete K[N]}}}});var M=/z-?index|font-?weight|opacity|zoom|line-?height/i,A3=/alpha\([^)]*\)/,Ap=/opacity=([^)]*)/,Ad=/float/i,AB=/-([a-z])/ig,BC=/([A-Z])/g,Ay=/^-?\d+(?:px)?$/i,Ah=/^-?\d/,AD={position:"absolute",visibility:"hidden",display:"block"},n=["Left","Right"],a=["Top","Bottom"],BF=x.defaultView&&x.defaultView.getComputedStyle,AJ=AF.support.cssFloat?"cssFloat":"styleFloat",l=function(F,A){return A.toUpperCase()};AF.fn.css=function(F,A){return AN(this,F,A,true,function(K,G,J){if(J===v){return AF.curCSS(K,G)}if(typeof J==="number"&&!M.test(G)){J+="px"}AF.style(K,G,J)})};AF.extend({style:function(F,A,K){if(!F||F.nodeType===3||F.nodeType===8){return v}if((A==="width"||A==="height")&&parseFloat(K)<0){K=v}var G=F.style||F,J=K!==v;if(!AF.support.opacity&&A==="opacity"){if(J){G.zoom=1;A=parseInt(K,10)+""==="NaN"?"":"alpha(opacity="+K*100+")";F=G.filter||AF.curCSS(F,"filter")||"";G.filter=A3.test(F)?F.replace(A3,A):A}return G.filter&&G.filter.indexOf("opacity=")>=0?parseFloat(Ap.exec(G.filter)[1])/100+"":""}if(Ad.test(A)){A=AJ}A=A.replace(AB,l);if(J){G[A]=K}return G[A]},css:function(F,A,N,K){if(A==="width"||A==="height"){var L,G=A==="width"?n:a;function J(){L=A==="width"?F.offsetWidth:F.offsetHeight;K!=="border"&&AF.each(G,function(){K||(L-=parseFloat(AF.curCSS(F,"padding"+this,true))||0);if(K==="margin"){L+=parseFloat(AF.curCSS(F,"margin"+this,true))||0}else{L-=parseFloat(AF.curCSS(F,"border"+this+"Width",true))||0}})}F.offsetWidth!==0?J():AF.swap(F,AD,J);return Math.max(0,Math.round(L))}return AF.curCSS(F,A,N)},curCSS:function(F,A,L){var J,K=F.style;if(!AF.support.opacity&&A==="opacity"&&F.currentStyle){J=Ap.test(F.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return J===""?"1":J}if(Ad.test(A)){A=AJ}if(!L&&K&&K[A]){J=K[A]}else{if(BF){if(Ad.test(A)){A="float"}A=A.replace(BC,"-$1").toLowerCase();K=F.ownerDocument.defaultView;if(!K){return null}if(F=K.getComputedStyle(F,null)){J=F.getPropertyValue(A)}if(A==="opacity"&&J===""){J="1"}}else{if(F.currentStyle){L=A.replace(AB,l);J=F.currentStyle[A]||F.currentStyle[L];if(!Ay.test(J)&&Ah.test(J)){A=K.left;var G=F.runtimeStyle.left;F.runtimeStyle.left=F.currentStyle.left;K.left=L==="fontSize"?"1em":J||0;J=K.pixelLeft+"px";K.left=A;F.runtimeStyle.left=G}}}}return J},swap:function(F,A,K){var G={};for(var J in A){G[J]=F.style[J];F.style[J]=A[J]}K.call(F);for(J in A){F.style[J]=G[J]}}});if(AF.expr&&AF.expr.filters){AF.expr.filters.hidden=function(F){var A=F.offsetWidth,J=F.offsetHeight,G=F.nodeName.toLowerCase()==="tr";return A===0&&J===0&&!G?true:A>0&&J>0&&!G?false:AF.curCSS(F,"display")==="none"};AF.expr.filters.visible=function(A){return !AF.expr.filters.hidden(A)}}var A1=Ae(),Am=/<script(.|\s)*?\/script>/gi,AH=/select|textarea/i,q=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,AX=/=\?(&|$)/,S=/\?/,e=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,A4=/%20/g,Aq=AF.fn.load;AF.fn.extend({load:function(F,A,L){if(typeof F!=="string"){return Aq.call(this,F)}else{if(!this.length){return this}}var J=F.indexOf(" ");if(J>=0){var K=F.slice(J,F.length);F=F.slice(0,J)}J="GET";if(A){if(AF.isFunction(A)){L=A;A=null}else{if(typeof A==="object"){A=AF.param(A,AF.ajaxSettings.traditional);J="POST"}}}var G=this;AF.ajax({url:F,type:J,dataType:"html",data:A,complete:function(N,O){if(O==="success"||O==="notmodified"){G.html(K?AF("<div />").append(N.responseText.replace(Am,"")).find(K):N.responseText)}L&&G.each(L,[N.responseText,O,N])}});return this},serialize:function(){return AF.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?AF.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||AH.test(this.nodeName)||q.test(this.type))}).map(function(F,A){F=AF(this).val();return F==null?null:AF.isArray(F)?AF.map(F,function(G){return{name:A.name,value:G}}):{name:A.name,value:F}}).get()}});AF.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(F,A){AF.fn[A]=function(G){return this.bind(A,G)}});AF.extend({get:function(F,A,J,G){if(AF.isFunction(A)){G=G||J;J=A;A=null}return AF.ajax({type:"GET",url:F,data:A,success:J,dataType:G})},getScript:function(F,A){return AF.get(F,null,A,"script")},getJSON:function(F,A,G){return AF.get(F,A,G,"json")},post:function(F,A,J,G){if(AF.isFunction(A)){G=G||J;J=A;A={}}return AF.ajax({type:"POST",url:F,data:A,success:J,dataType:G})},ajaxSetup:function(A){AF.extend(AF.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:An.XMLHttpRequest&&(An.location.protocol!=="file:"||!An.ActiveXObject)?function(){return new An.XMLHttpRequest}:function(){try{return new An.ActiveXObject("Microsoft.XMLHTTP")}catch(A){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(Aa){function w(){c.success&&c.success.call(T,O,W,F);c.global&&Z("ajaxSuccess",[F,c])}function s(){c.complete&&c.complete.call(T,F,W);c.global&&Z("ajaxComplete",[F,c]);c.global&&!--AF.active&&AF.event.trigger("ajaxStop")}function Z(BI,BJ){(c.context?AF(c.context):AF.event).trigger(BI,BJ)}var c=AF.extend(true,{},AF.ajaxSettings,Aa),V,W,O,T=Aa&&Aa.context||c,P=c.type.toUpperCase();if(c.data&&c.processData&&typeof c.data!=="string"){c.data=AF.param(c.data,c.traditional)}if(c.dataType==="jsonp"){if(P==="GET"){AX.test(c.url)||(c.url+=(S.test(c.url)?"&":"?")+(c.jsonp||"callback")+"=?")}else{if(!c.data||!AX.test(c.data)){c.data=(c.data?c.data+"&":"")+(c.jsonp||"callback")+"=?"}}c.dataType="json"}if(c.dataType==="json"&&(c.data&&AX.test(c.data)||AX.test(c.url))){V=c.jsonpCallback||"jsonp"+A1++;if(c.data){c.data=(c.data+"").replace(AX,"="+V+"$1")}c.url=c.url.replace(AX,"="+V+"$1");c.dataType="script";An[V]=An[V]||function(BI){O=BI;w();s();An[V]=v;try{delete An[V]}catch(BJ){}A&&A.removeChild(K)}}if(c.dataType==="script"&&c.cache===null){c.cache=false}if(c.cache===false&&P==="GET"){var L=Ae(),G=c.url.replace(e,"$1_="+L+"$2");c.url=G+(G===c.url?(S.test(c.url)?"&":"?")+"_="+L:"")}if(c.data&&P==="GET"){c.url+=(S.test(c.url)?"&":"?")+c.data}c.global&&!AF.active++&&AF.event.trigger("ajaxStart");L=(L=B.exec(c.url))&&(L[1]&&L[1]!==location.protocol||L[2]!==location.host);if(c.dataType==="script"&&P==="GET"&&L){var A=x.getElementsByTagName("head")[0]||x.documentElement,K=x.createElement("script");K.src=c.url;if(c.scriptCharset){K.charset=c.scriptCharset}if(!V){var N=false;K.onload=K.onreadystatechange=function(){if(!N&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){N=true;w();s();K.onload=K.onreadystatechange=null;A&&K.parentNode&&A.removeChild(K)}}}A.insertBefore(K,A.firstChild);return v}var J=false,F=c.xhr();if(F){c.username?F.open(P,c.url,c.async,c.username,c.password):F.open(P,c.url,c.async);try{if(c.data||Aa&&Aa.contentType){F.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){AF.lastModified[c.url]&&F.setRequestHeader("If-Modified-Since",AF.lastModified[c.url]);AF.etag[c.url]&&F.setRequestHeader("If-None-Match",AF.etag[c.url])}L||F.setRequestHeader("X-Requested-With","XMLHttpRequest");F.setRequestHeader("Accept",c.dataType&&c.accepts[c.dataType]?c.accepts[c.dataType]+", */*":c.accepts._default)}catch(Ab){}if(c.beforeSend&&c.beforeSend.call(T,F,c)===false){c.global&&!--AF.active&&AF.event.trigger("ajaxStop");F.abort();return false}c.global&&Z("ajaxSend",[F,c]);var Y=F.onreadystatechange=function(BJ){if(!F||F.readyState===0||BJ==="abort"){J||s();J=true;if(F){F.onreadystatechange=AF.noop}}else{if(!J&&F&&(F.readyState===4||BJ==="timeout")){J=true;F.onreadystatechange=AF.noop;W=BJ==="timeout"?"timeout":!AF.httpSuccess(F)?"error":c.ifModified&&AF.httpNotModified(F,c.url)?"notmodified":"success";var BK;if(W==="success"){try{O=AF.httpData(F,c.dataType,c)}catch(BI){W="parsererror";BK=BI}}if(W==="success"||W==="notmodified"){V||w()}else{AF.handleError(c,F,W,BK)}s();BJ==="timeout"&&F.abort();if(c.async){F=null}}}};try{var X=F.abort;F.abort=function(){F&&X.call(F);Y("abort")}}catch(R){}c.async&&c.timeout>0&&setTimeout(function(){F&&!J&&Y("timeout")},c.timeout);try{F.send(P==="POST"||P==="PUT"||P==="DELETE"?c.data:null)}catch(Q){AF.handleError(c,F,null,Q);s()}c.async||Y();return F}},handleError:function(F,A,J,G){if(F.error){F.error.call(F.context||F,A,J,G)}if(F.global){(F.context?AF(F.context):AF.event).trigger("ajaxError",[A,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol==="file:"||F.status>=200&&F.status<300||F.status===304||F.status===1223||F.status===0}catch(A){}return false},httpNotModified:function(F,A){var J=F.getResponseHeader("Last-Modified"),G=F.getResponseHeader("Etag");if(J){AF.lastModified[A]=J}if(G){AF.etag[A]=G}return F.status===304||F.status===0},httpData:function(F,A,K){var G=F.getResponseHeader("content-type")||"",J=A==="xml"||!A&&G.indexOf("xml")>=0;F=J?F.responseXML:F.responseText;J&&F.documentElement.nodeName==="parsererror"&&AF.error("parsererror");if(K&&K.dataFilter){F=K.dataFilter(F,A)}if(typeof F==="string"){if(A==="json"||!A&&G.indexOf("json")>=0){F=AF.parseJSON(F)}else{if(A==="script"||!A&&G.indexOf("javascript")>=0){AF.globalEval(F)}}}return F},param:function(F,A){function L(N,O){if(AF.isArray(O)){AF.each(O,function(P,Q){A||/\[\]$/.test(N)?J(N,Q):L(N+"["+(typeof Q==="object"||AF.isArray(Q)?P:"")+"]",Q)})}else{!A&&O!=null&&typeof O==="object"?AF.each(O,function(P,Q){L(N+"["+P+"]",Q)}):J(N,O)}}function J(N,O){O=AF.isFunction(O)?O():O;K[K.length]=encodeURIComponent(N)+"="+encodeURIComponent(O)}var K=[];if(A===v){A=AF.ajaxSettings.traditional}if(AF.isArray(F)||F.jquery){AF.each(F,function(){J(this.name,this.value)})}else{for(var G in F){L(G,F[G])}}return K.join("&").replace(A4,"+")}});var BD={},A9=/toggle|show|hide/,Aw=/^([+-]=)?([\d+-.]+)(.*)$/,AO,r=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];AF.fn.extend({show:function(F,A){if(F||F===0){return this.animate(AZ("show",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var K=AF.data(this[F],"olddisplay");this[F].style.display=K||"";if(AF.css(this[F],"display")==="none"){K=this[F].nodeName;var G;if(BD[K]){G=BD[K]}else{var J=AF("<"+K+" />").appendTo("body");G=J.css("display");if(G==="none"){G="block"}J.remove();BD[K]=G}AF.data(this[F],"olddisplay",G)}}F=0;for(A=this.length;F<A;F++){this[F].style.display=AF.data(this[F],"olddisplay")||""}return this}},hide:function(F,A){if(F||F===0){return this.animate(AZ("hide",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var G=AF.data(this[F],"olddisplay");!G&&G!=="none"&&AF.data(this[F],"olddisplay",AF.css(this[F],"display"))}F=0;for(A=this.length;F<A;F++){this[F].style.display="none"}return this}},_toggle:AF.fn.toggle,toggle:function(F,A){var G=typeof F==="boolean";if(AF.isFunction(F)&&AF.isFunction(A)){this._toggle.apply(this,arguments)}else{F==null||G?this.each(function(){var J=G?F:AF(this).is(":hidden");AF(this)[J?"show":"hide"]()}):this.animate(AZ("toggle",3),F,A)}return this},fadeTo:function(F,A,G){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:A},F,G)},animate:function(F,A,K,G){var J=AF.speed(A,K,G);if(AF.isEmptyObject(F)){return this.each(J.complete)}return this[J.queue===false?"each":"queue"](function(){var N=AF.extend({},J),O,P=this.nodeType===1&&AF(this).is(":hidden"),L=this;for(O in F){var Q=O.replace(AB,l);if(O!==Q){F[Q]=F[O];delete F[O];O=Q}if(F[O]==="hide"&&P||F[O]==="show"&&!P){return N.complete.call(this)}if((O==="height"||O==="width")&&this.style){N.display=AF.css(this,"display");N.overflow=this.style.overflow}if(AF.isArray(F[O])){(N.specialEasing=N.specialEasing||{})[O]=F[O][1];F[O]=F[O][0]}}if(N.overflow!=null){this.style.overflow="hidden"}N.curAnim=AF.extend({},F);AF.each(F,function(T,R){var X=new AF.fx(L,N,T);if(A9.test(R)){X[R==="toggle"?P?"show":"hide":R](F)}else{var W=Aw.exec(R),Y=X.cur(true)||0;if(W){R=parseFloat(W[2]);var V=W[3]||"px";if(V!=="px"){L.style[T]=(R||1)+V;Y=(R||1)/X.cur(true)*Y;L.style[T]=Y+V}if(W[1]){R=(W[1]==="-="?-1:1)*R+Y}X.custom(Y,R,V)}else{X.custom(Y,R,"")}}});return true})},stop:function(F,A){var G=AF.timers;F&&this.queue([]);this.each(function(){for(var J=G.length-1;J>=0;J--){if(G[J].elem===this){A&&G[J](true);G.splice(J,1)}}});A||this.dequeue();return this}});AF.each({slideDown:AZ("show",1),slideUp:AZ("hide",1),slideToggle:AZ("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,A){AF.fn[F]=function(J,G){return this.animate(A,J,G)}});AF.extend({speed:function(F,A,J){var G=F&&typeof F==="object"?F:{complete:J||!J&&A||AF.isFunction(F)&&F,duration:F,easing:J&&A||A&&!AF.isFunction(A)&&A};G.duration=AF.fx.off?0:typeof G.duration==="number"?G.duration:AF.fx.speeds[G.duration]||AF.fx.speeds._default;G.old=G.complete;G.complete=function(){G.queue!==false&&AF(this).dequeue();AF.isFunction(G.old)&&G.old.call(this)};return G},easing:{linear:function(F,A,J,G){return J+G*F},swing:function(F,A,J,G){return(-Math.cos(F*Math.PI)/2+0.5)*G+J}},timers:[],fx:function(F,A,G){this.options=A;this.elem=F;this.prop=G;if(!A.orig){A.orig={}}}});AF.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(AF.fx.step[this.prop]||AF.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(A=parseFloat(AF.css(this.elem,this.prop,A)))&&A>-10000?A:parseFloat(AF.curCSS(this.elem,this.prop))||0},custom:function(F,A,K){function G(L){return J.step(L)}this.startTime=Ae();this.start=F;this.end=A;this.unit=K||this.unit||"px";this.now=this.start;this.pos=this.state=0;var J=this;G.elem=this.elem;if(G()&&AF.timers.push(G)&&!AO){AO=setInterval(AF.fx.tick,13)}},show:function(){this.options.orig[this.prop]=AF.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());AF(this.elem).show()},hide:function(){this.options.orig[this.prop]=AF.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(F){var A=Ae(),K=true;if(F||A>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var G in this.options.curAnim){if(this.options.curAnim[G]!==true){K=false}}if(K){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;F=AF.data(this.elem,"olddisplay");this.elem.style.display=F?F:this.options.display;if(AF.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&AF(this.elem).hide();if(this.options.hide||this.options.show){for(var J in this.options.curAnim){AF.style(this.elem,J,this.options.orig[J])}}this.options.complete.call(this.elem)}return false}else{J=A-this.startTime;this.state=J/this.options.duration;F=this.options.easing||(AF.easing.swing?"swing":"linear");this.pos=AF.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||F](this.state,J,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};AF.extend(AF.fx,{tick:function(){for(var F=AF.timers,A=0;A<F.length;A++){F[A]()||F.splice(A--,1)}F.length||AF.fx.stop()},stop:function(){clearInterval(AO);AO=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){AF.style(A.elem,"opacity",A.now)},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=(A.prop==="width"||A.prop==="height"?Math.max(0,A.now):A.now)+A.unit}else{A.elem[A.prop]=A.now}}}});if(AF.expr&&AF.expr.filters){AF.expr.filters.animated=function(A){return AF.grep(AF.timers,function(F){return A===F.elem}).length}}AF.fn.offset="getBoundingClientRect" in x.documentElement?function(F){var A=this[0];if(F){return this.each(function(K){AF.offset.setOffset(this,F,K)})}if(!A||!A.ownerDocument){return null}if(A===A.ownerDocument.body){return AF.offset.bodyOffset(A)}var J=A.getBoundingClientRect(),G=A.ownerDocument;A=G.body;G=G.documentElement;return{top:J.top+(self.pageYOffset||AF.support.boxModel&&G.scrollTop||A.scrollTop)-(G.clientTop||A.clientTop||0),left:J.left+(self.pageXOffset||AF.support.boxModel&&G.scrollLeft||A.scrollLeft)-(G.clientLeft||A.clientLeft||0)}}:function(Q){var P=this[0];if(Q){return this.each(function(R){AF.offset.setOffset(this,Q,R)})}if(!P||!P.ownerDocument){return null}if(P===P.ownerDocument.body){return AF.offset.bodyOffset(P)}AF.offset.initialize();var O=P.offsetParent,L=P,N=P.ownerDocument,J,K=N.documentElement,A=N.body;L=(N=N.defaultView)?N.getComputedStyle(P,null):P.currentStyle;for(var G=P.offsetTop,F=P.offsetLeft;(P=P.parentNode)&&P!==A&&P!==K;){if(AF.offset.supportsFixedPosition&&L.position==="fixed"){break}J=N?N.getComputedStyle(P,null):P.currentStyle;G-=P.scrollTop;F-=P.scrollLeft;if(P===O){G+=P.offsetTop;F+=P.offsetLeft;if(AF.offset.doesNotAddBorder&&!(AF.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(P.nodeName))){G+=parseFloat(J.borderTopWidth)||0;F+=parseFloat(J.borderLeftWidth)||0}L=O;O=P.offsetParent}if(AF.offset.subtractsBorderForOverflowNotVisible&&J.overflow!=="visible"){G+=parseFloat(J.borderTopWidth)||0;F+=parseFloat(J.borderLeftWidth)||0}L=J}if(L.position==="relative"||L.position==="static"){G+=A.offsetTop;F+=A.offsetLeft}if(AF.offset.supportsFixedPosition&&L.position==="fixed"){G+=Math.max(K.scrollTop,A.scrollTop);F+=Math.max(K.scrollLeft,A.scrollLeft)}return{top:G,left:F}};AF.offset={initialize:function(){var F=x.body,A=x.createElement("div"),L,J,K,G=parseFloat(AF.curCSS(F,"marginTop",true))||0;AF.extend(A.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});A.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>";F.insertBefore(A,F.firstChild);L=A.firstChild;J=L.firstChild;K=L.nextSibling.firstChild.firstChild;this.doesNotAddBorder=J.offsetTop!==5;this.doesAddBorderForTableAndCells=K.offsetTop===5;J.style.position="fixed";J.style.top="20px";this.supportsFixedPosition=J.offsetTop===20||J.offsetTop===15;J.style.position=J.style.top="";L.style.overflow="hidden";L.style.position="relative";this.subtractsBorderForOverflowNotVisible=J.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=F.offsetTop!==G;F.removeChild(A);AF.offset.initialize=AF.noop},bodyOffset:function(F){var A=F.offsetTop,G=F.offsetLeft;AF.offset.initialize();if(AF.offset.doesNotIncludeMarginInBodyOffset){A+=parseFloat(AF.curCSS(F,"marginTop",true))||0;G+=parseFloat(AF.curCSS(F,"marginLeft",true))||0}return{top:A,left:G}},setOffset:function(F,A,N){if(/static/.test(AF.curCSS(F,"position"))){F.style.position="relative"}var K=AF(F),L=K.offset(),G=parseInt(AF.curCSS(F,"top",true),10)||0,J=parseInt(AF.curCSS(F,"left",true),10)||0;if(AF.isFunction(A)){A=A.call(F,N,L)}N={top:A.top-L.top+G,left:A.left-L.left+J};"using" in A?A.using.call(F,N):K.css(N)}};AF.fn.extend({position:function(){if(!this[0]){return null}var F=this[0],A=this.offsetParent(),J=this.offset(),G=/^body|html$/i.test(A[0].nodeName)?{top:0,left:0}:A.offset();J.top-=parseFloat(AF.curCSS(F,"marginTop",true))||0;J.left-=parseFloat(AF.curCSS(F,"marginLeft",true))||0;G.top+=parseFloat(AF.curCSS(A[0],"borderTopWidth",true))||0;G.left+=parseFloat(AF.curCSS(A[0],"borderLeftWidth",true))||0;return{top:J.top-G.top,left:J.left-G.left}},offsetParent:function(){return this.map(function(){for(var A=this.offsetParent||x.body;A&&!/^body|html$/i.test(A.nodeName)&&AF.css(A,"position")==="static";){A=A.offsetParent}return A})}});AF.each(["Left","Top"],function(F,A){var G="scroll"+A;AF.fn[G]=function(K){var L=this[0],J;if(!L){return null}if(K!==v){return this.each(function(){if(J=f(this)){J.scrollTo(!F?K:AF(J).scrollLeft(),F?K:AF(J).scrollTop())}else{this[G]=K}})}else{return(J=f(L))?"pageXOffset" in J?J[F?"pageYOffset":"pageXOffset"]:AF.support.boxModel&&J.document.documentElement[G]||J.document.body[G]:L[G]}}});AF.each(["Height","Width"],function(F,A){var G=A.toLowerCase();AF.fn["inner"+A]=function(){return this[0]?AF.css(this[0],G,false,"padding"):null};AF.fn["outer"+A]=function(J){return this[0]?AF.css(this[0],G,false,J?"margin":"border"):null};AF.fn[G]=function(J){var K=this[0];if(!K){return J==null?null:this}if(AF.isFunction(J)){return this.each(function(L){var N=AF(this);N[G](J.call(this,L,N[G]()))})}return"scrollTo" in K&&K.document?K.document.compatMode==="CSS1Compat"&&K.document.documentElement["client"+A]||K.document.body["client"+A]:K.nodeType===9?Math.max(K.documentElement["client"+A],K.body["scroll"+A],K.documentElement["scroll"+A],K.body["offset"+A],K.documentElement["offset"+A]):J===v?AF.css(K,G):this.css(G,typeof J==="string"?J:J+"px")}});An.jQuery=An.$=AF})(window);jQuery.cookie=function(B,I,L){if(typeof I!="undefined"){L=L||{};if(I===null){I="";L.expires=-1}var E="";if(L.expires&&(typeof L.expires=="number"||L.expires.toUTCString)){var F;if(typeof L.expires=="number"){F=new Date();F.setTime(F.getTime()+(L.expires*24*60*60*1000))}else{F=L.expires}E="; expires="+F.toUTCString()}var K=L.path?"; path="+(L.path):"";var G=L.domain?"; domain="+(L.domain):"";var A=L.secure?"; secure":"";document.cookie=[B,"=",encodeURIComponent(I),E,K,G,A].join("")}else{var D=null;if(document.cookie&&document.cookie!=""){var J=document.cookie.split(";");for(var H=0;H<J.length;H++){var C=jQuery.trim(J[H]);if(C.substring(0,B.length+1)==(B+"=")){D=decodeURIComponent(C.substring(B.length+1));break}}}return D}};jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(B,C,A,E,D){return jQuery.easing[jQuery.easing.def](B,C,A,E,D)},easeInQuad:function(B,C,A,E,D){return E*(C/=D)*C+A},easeOutQuad:function(B,C,A,E,D){return -E*(C/=D)*(C-2)+A},easeInOutQuad:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C+A}return -E/2*((--C)*(C-2)-1)+A},easeInCubic:function(B,C,A,E,D){return E*(C/=D)*C*C+A},easeOutCubic:function(B,C,A,E,D){return E*((C=C/D-1)*C*C+1)+A},easeInOutCubic:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C+A}return E/2*((C-=2)*C*C+2)+A},easeInQuart:function(B,C,A,E,D){return E*(C/=D)*C*C*C+A},easeOutQuart:function(B,C,A,E,D){return -E*((C=C/D-1)*C*C*C-1)+A},easeInOutQuart:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C*C+A}return -E/2*((C-=2)*C*C*C-2)+A},easeInQuint:function(B,C,A,E,D){return E*(C/=D)*C*C*C*C+A},easeOutQuint:function(B,C,A,E,D){return E*((C=C/D-1)*C*C*C*C+1)+A},easeInOutQuint:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C*C*C+A}return E/2*((C-=2)*C*C*C*C+2)+A},easeInSine:function(B,C,A,E,D){return -E*Math.cos(C/D*(Math.PI/2))+E+A},easeOutSine:function(B,C,A,E,D){return E*Math.sin(C/D*(Math.PI/2))+A},easeInOutSine:function(B,C,A,E,D){return -E/2*(Math.cos(Math.PI*C/D)-1)+A},easeInExpo:function(B,C,A,E,D){return(C==0)?A:E*Math.pow(2,10*(C/D-1))+A},easeOutExpo:function(B,C,A,E,D){return(C==D)?A+E:E*(-Math.pow(2,-10*C/D)+1)+A},easeInOutExpo:function(B,C,A,E,D){if(C==0){return A}if(C==D){return A+E}if((C/=D/2)<1){return E/2*Math.pow(2,10*(C-1))+A}return E/2*(-Math.pow(2,-10*--C)+2)+A},easeInCirc:function(B,C,A,E,D){return -E*(Math.sqrt(1-(C/=D)*C)-1)+A},easeOutCirc:function(B,C,A,E,D){return E*Math.sqrt(1-(C=C/D-1)*C)+A},easeInOutCirc:function(B,C,A,E,D){if((C/=D/2)<1){return -E/2*(Math.sqrt(1-C*C)-1)+A}return E/2*(Math.sqrt(1-(C-=2)*C)+1)+A},easeInElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return -(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A},easeOutElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return C*Math.pow(2,-10*D)*Math.sin((D*G-E)*(2*Math.PI)/F)+H+A},easeInOutElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G/2)==2){return A+H}if(!F){F=G*(0.3*1.5)}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}if(D<1){return -0.5*(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A}return C*Math.pow(2,-10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F)*0.5+H+A},easeInBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}return F*(C/=E)*C*((D+1)*C-D)+A},easeOutBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}return F*((C=C/E-1)*C*((D+1)*C+D)+1)+A},easeInOutBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}if((C/=E/2)<1){return F/2*(C*C*(((D*=(1.525))+1)*C-D))+A}return F/2*((C-=2)*C*(((D*=(1.525))+1)*C+D)+2)+A},easeInBounce:function(B,C,A,E,D){return E-jQuery.easing.easeOutBounce(B,D-C,0,E,D)+A},easeOutBounce:function(B,C,A,E,D){if((C/=D)<(1/2.75)){return E*(7.5625*C*C)+A}else{if(C<(2/2.75)){return E*(7.5625*(C-=(1.5/2.75))*C+0.75)+A}else{if(C<(2.5/2.75)){return E*(7.5625*(C-=(2.25/2.75))*C+0.9375)+A}else{return E*(7.5625*(C-=(2.625/2.75))*C+0.984375)+A}}}},easeInOutBounce:function(B,C,A,E,D){if(C<D/2){return jQuery.easing.easeInBounce(B,C*2,0,E,D)*0.5+A}return jQuery.easing.easeOutBounce(B,C*2-D,0,E,D)*0.5+E*0.5+A}});(function(B){B.fn.ajaxSubmit=function(L){if(!this.length){A("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof L=="function"){L={success:L}}L=B.extend({url:this.attr("action")||window.location.toString(),type:this.attr("method")||"GET"},L||{});var N={};this.trigger("form-pre-serialize",[this,L,N]);if(N.veto){A("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}var H=this.formToArray(L.semantic);if(L.data){L.extraData=L.data;for(var E in L.data){H.push({name:E,value:L.data[E]})}}if(L.beforeSubmit&&L.beforeSubmit(H,this,L)===false){A("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[H,this,L,N]);if(N.veto){A("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var D=B.param(H);if(L.type.toUpperCase()=="GET"){L.url+=(L.url.indexOf("?")>=0?"&":"?")+D;L.data=null}else{L.data=D}var M=this,G=[];if(L.resetForm){G.push(function(){M.resetForm()})}if(L.clearForm){G.push(function(){M.clearForm()})}if(!L.dataType&&L.target){var J=L.success||function(){};G.push(function(O){B(L.target).html(O).each(J,arguments)})}else{if(L.success){G.push(L.success)}}L.success=function(R,P){for(var Q=0,O=G.length;Q<O;Q++){G[Q](R,P,M)}};var C=B("input:file",this).fieldValue();var K=false;for(var F=0;F<C.length;F++){if(C[F]){K=true}}if(L.iframe||K){if(B.browser.safari&&L.closeKeepAlive){B.get(L.closeKeepAlive,I)}else{I()}}else{B.ajax(L)}this.trigger("form-submit-notify",[this,L]);return this;function I(){var R=M[0];var P=B.extend({},B.ajaxSettings,L);var Q="jqFormIO"+(new Date().getTime());var V=B('<iframe id="'+Q+'" name="'+Q+'" />');var X=V[0];if(B.browser.msie||B.browser.opera){X.src='javascript:false;document.write("");'}V.css({position:"absolute",top:"-1000px",left:"-1000px"});var Y={responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){}};var W=P.global;if(W&&!B.active++){B.event.trigger("ajaxStart")}if(W){B.event.trigger("ajaxSend",[Y,P])}var O=0;var S=0;setTimeout(function(){var c=M.attr("target"),Z=M.attr("action");M.attr({target:Q,encoding:"multipart/form-data",enctype:"multipart/form-data",method:"POST",action:P.url});if(P.timeout){setTimeout(function(){S=true;T()},P.timeout)}var b=[];try{if(L.extraData){for(var d in L.extraData){b.push(B('<input type="hidden" name="'+d+'" value="'+L.extraData[d]+'" />').appendTo(R)[0])}}V.appendTo("body");X.attachEvent?X.attachEvent("onload",T):X.addEventListener("load",T,false);R.submit()}finally{M.attr("action",Z);c?M.attr("target",c):M.removeAttr("target");B(b).remove()}},10);function T(){if(O++){return }X.detachEvent?X.detachEvent("onload",T):X.removeEventListener("load",T,false);var a=0;var b=true;try{if(S){throw"timeout"}var c,f;f=X.contentWindow?X.contentWindow.document:X.contentDocument?X.contentDocument:X.document;if(f.body==null&&!a&&B.browser.opera){a=1;O--;setTimeout(T,100);return }Y.responseText=f.body?f.body.innerHTML:null;Y.responseXML=f.XMLDocument?f.XMLDocument:f;Y.getResponseHeader=function(g){var e={"content-type":P.dataType};return e[g]};if(P.dataType=="json"||P.dataType=="script"){var Z=f.getElementsByTagName("textarea")[0];Y.responseText=Z?Z.value:Y.responseText}else{if(P.dataType=="xml"&&!Y.responseXML&&Y.responseText!=null){Y.responseXML=U(Y.responseText)}}c=B.httpData(Y,P.dataType)}catch(d){b=false;B.handleError(P,Y,"error",d)}if(b){P.success(c,"success");if(W){B.event.trigger("ajaxSuccess",[Y,P])}}if(W){B.event.trigger("ajaxComplete",[Y,P])}if(W&&!--B.active){B.event.trigger("ajaxStop")}if(P.complete){P.complete(Y,b?"success":"error")}setTimeout(function(){V.remove();Y.responseXML=null},100)}function U(Z,a){if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";a.loadXML(Z)}else{a=(new DOMParser()).parseFromString(Z,"text/xml")}return(a&&a.documentElement&&a.documentElement.tagName!="parsererror")?a:null}}};B.fn.ajaxForm=function(C){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){B(this).ajaxSubmit(C);return false}).each(function(){B(":submit,input:image",this).bind("click.form-plugin",function(E){var D=this.form;D.clk=this;if(this.type=="image"){if(E.offsetX!=undefined){D.clk_x=E.offsetX;D.clk_y=E.offsetY}else{if(typeof B.fn.offset=="function"){var F=B(this).offset();D.clk_x=E.pageX-F.left;D.clk_y=E.pageY-F.top}else{D.clk_x=E.pageX-this.offsetLeft;D.clk_y=E.pageY-this.offsetTop}}}setTimeout(function(){D.clk=D.clk_x=D.clk_y=null},10)})})};B.fn.ajaxFormUnbind=function(){this.unbind("submit.form-plugin");return this.each(function(){B(":submit,input:image",this).unbind("click.form-plugin")})};B.fn.formToArray=function(N){var M=[];if(this.length==0){return M}var D=this[0];var H=N?D.getElementsByTagName("*"):D.elements;if(!H){return M}for(var I=0,K=H.length;I<K;I++){var E=H[I];var F=E.name;if(!F){continue}if(N&&D.clk&&E.type=="image"){if(!E.disabled&&D.clk==E){M.push({name:F+".x",value:D.clk_x},{name:F+".y",value:D.clk_y})}continue}var O=B.fieldValue(E,true);if(O&&O.constructor==Array){for(var G=0,C=O.length;G<C;G++){M.push({name:F,value:O[G]})}}else{if(O!==null&&typeof O!="undefined"){M.push({name:F,value:O})}}}if(!N&&D.clk){var J=D.getElementsByTagName("input");for(var I=0,K=J.length;I<K;I++){var L=J[I];var F=L.name;if(F&&!L.disabled&&L.type=="image"&&D.clk==L){M.push({name:F+".x",value:D.clk_x},{name:F+".y",value:D.clk_y})}}}return M};B.fn.formSerialize=function(C){return B.param(this.formToArray(C))};B.fn.fieldSerialize=function(D){var C=[];this.each(function(){var H=this.name;if(!H){return }var F=B.fieldValue(this,D);if(F&&F.constructor==Array){for(var G=0,E=F.length;G<E;G++){C.push({name:H,value:F[G]})}}else{if(F!==null&&typeof F!="undefined"){C.push({name:this.name,value:F})}}});return B.param(C)};B.fn.fieldValue=function(H){for(var G=[],E=0,C=this.length;E<C;E++){var F=this[E];var D=B.fieldValue(F,H);if(D===null||typeof D=="undefined"||(D.constructor==Array&&!D.length)){continue}D.constructor==Array?B.merge(G,D):G.push(D)}return G};B.fieldValue=function(C,I){var E=C.name,N=C.type,O=C.tagName.toLowerCase();if(typeof I=="undefined"){I=true}if(I&&(!E||C.disabled||N=="reset"||N=="button"||(N=="checkbox"||N=="radio")&&!C.checked||(N=="submit"||N=="image")&&C.form&&C.form.clk!=C||O=="select"&&C.selectedIndex==-1)){return null}if(O=="select"){var J=C.selectedIndex;if(J<0){return null}var L=[],D=C.options;var G=(N=="select-one");var K=(G?J+1:D.length);for(var F=(G?J:0);F<K;F++){var H=D[F];if(H.selected){var M=B.browser.msie&&!(H.attributes.value.specified)?H.text:H.value;if(G){return M}L.push(M)}}return L}return C.value};B.fn.clearForm=function(){return this.each(function(){B("input,select,textarea",this).clearFields()})};B.fn.clearFields=B.fn.clearInputs=function(){return this.each(function(){var D=this.type,C=this.tagName.toLowerCase();if(D=="text"||D=="password"||C=="textarea"){this.value=""}else{if(D=="checkbox"||D=="radio"){this.checked=false}else{if(C=="select"){this.selectedIndex=-1}}}})};B.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};B.fn.enable=function(C){if(C==undefined){C=true}return this.each(function(){this.disabled=!C})};B.fn.select=function(C){if(C==undefined){C=true}return this.each(function(){var D=this.type;if(D=="checkbox"||D=="radio"){this.checked=C}else{if(this.tagName.toLowerCase()=="option"){var E=B(this).parent("select");if(C&&E[0]&&E[0].type=="select-one"){E.find("option").select(false)}this.selected=C}}})};function A(){if(B.fn.ajaxSubmit.debug&&window.console&&window.console.log){window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}}})(jQuery);(function(A){A.fn.jScrollTouch=function(){if((navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i))||(navigator.userAgent.match(/iPad/i))){var B=1}else{var B=0}A(this).css({overflow:"auto",position:"relative"});return this.each(function(){var M=A(this);var L=0;var K=M.scrollTop();M.scrollTop(100000);L=M.scrollTop();M.scrollTop(K);var G=L+M.outerHeight();var I=M.innerHeight()*(M.innerHeight()/G)+2;var E=0;var H=M.scrollLeft();M.scrollLeft(100000);E=M.scrollLeft();M.scrollLeft(H);var D=E+M.outerWidth();var C=M.innerWidth()*(M.innerWidth()/D)+2;if(B){var J=A("<div></div>");J.css({display:"none",position:"absolute",width:"5px",height:I+"px",left:M.innerWidth()-7+"px",top:0,background:"black",border:"1px white solid","-webkit-border-radius":"5px",opacity:"0.9"});var F=A("<div></div>");F.css({display:"none",position:"absolute",height:"5px",width:C+"px",top:M.innerHeight()-7+"px",left:0,background:"black",border:"1px white solid","-webkit-border-radius":"5px",opacity:"0.9"});if(L){M.append(J)}if(E){M.append(F)}}M.bind("mousedown touchstart",function(O){K=M.scrollTop();if(B){O=O.originalEvent.touches[0]}if(B){J.show();F.show()}var N=O.pageY;var P=O.pageX;M.bind("mousemove touchmove ",function(Q){if(B){Q.preventDefault();Q=Q.originalEvent.touches[0]}var S=K-(Q.pageY-N);var R=H-(Q.pageX-P);M.scrollTop(S);K=M.scrollTop();N=Q.pageY;M.scrollLeft(R);H=M.scrollLeft();P=Q.pageX;if(B){J.css({left:Math.min(M.innerWidth()-7+H,D)+"px",top:Math.min(K+K*M.innerHeight()/G,G-I)+"px"});F.css({top:Math.min(M.innerHeight()-7+K,G)+"px",left:Math.min(H+H*M.innerWidth()/D,D-C)+"px"})}});M.bind("mouseup touchend",function(Q){M.unbind("mousemove touchmove mouseup touchend");if(B){J.fadeOut();F.fadeOut()}})})})}})(jQuery);TimeManager=function(){if(window.__TimeManager__){return }window.__TimeManager=this;this.timers=[];this.time=0;this.ids=0;this.frequency=250;this.timerId=setInterval("__TimeManager__.interval()",this.frequency)};TimeManager.prototype.interval=function(){var D;this.time+=this.frequency;var C=this.time;var B=[];for(var A=0;A<this.timers.length;A++){D=this.timers[A];if(D.endTime<C){D.obj[D.method](D.parameters);if(D.type=="timeout"){D.dead=true}else{D.endTime=this.time+D.time;B.push(D)}}else{B.push(D)}}this.timers=B};TimeManager.prototype.addTimer=function(A){A.startTime=this.time;A.endTime=this.time+A.time;A.id=this.ids++;this.timers.push(A);return A.id};TimeManager.prototype.kill=function(C){var B=[];for(var A=0;A<this.timers.length;A++){if(this.timers[A].id!=C){B.push(this.timers[A])}else{this.timers[A].dead=true}}this.timers=B};Timer=function(){if(!window.__TimeManager__){window.__TimeManager__=new TimeManager()}this.type="timeout";this.timerId=-1;this.obj=null;this.method="";this.time=0;this.parameters=[];this.dead=false};Timer.prototype.setTimeout=function(C,D,B,A){this.obj=C;this.method=D;this.time=B;this.triggerTime=this.startTime+B;this.parameters=A;__TimeManager__.addTimer(this)};Timer.prototype.setInterval=function(C,D,B,A){this.obj=C;this.type="interval";this.method=D;this.time=B;this.triggerTime=this.startTime+B;this.parameters=A;__TimeManager__.addTimer(this)};Timer.prototype.kill=function(){__TimeManager__.kill(this.id)};
