
(function(Au,AD){function A6(){if(!AM.isReady){try{AE.documentElement.doScroll("left")}catch(A){setTimeout(A6,1);return }AM.ready()}}function AB(F,A){A.src?AM.ajax({url:A.src,async:false,dataType:"script"}):AM.globalEval(A.text||A.textContent||A.innerHTML||"");A.parentNode&&A.parentNode.removeChild(A)}function AU(F,A,O,K,L,G){var J=F.length;if(typeof A==="object"){for(var N in A){AU(F,N,A[N],K,L,O)}return F}if(O!==AD){K=!G&&K&&AM.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):AD}function Al(){return(new Date).getTime()}function AT(){return false}function AR(){return true}function Aq(F,A,G){G[0].type=F;return AM.event.handle.apply(A,G)}function AL(R){var Q,P=[],N=[],O=arguments,K,L,F,J,G,A;L=AM.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(Af,"")===R.type?N.push(L.selector):T.splice(J--,1)}K=AM(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=AM(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 u(F,A){return"live."+(F&&F!=="*"?F+".":"")+A.replace(/\./g,"`").replace(/ /g,"&")}function f(A){return !A||!A.parentNode||A.parentNode.nodeType===11}function BN(F,A){var G=0;A.each(function(){if(this.nodeName===(F[G]&&F[G].nodeName)){var L=AM.data(F[G++]),N=AM.data(this,L);if(L=L&&L.events){delete N.handle;N.events={};for(var J in L){for(var K in L[J]){AM.event.add(this,J,L[J][K],L[J][K].data)}}}}})}function A9(F,A,L){var J,K,G;A=A&&A[0]?A[0].ownerDocument||A[0]:AE;if(F.length===1&&typeof F[0]==="string"&&F[0].length<512&&A===AE&&!Av.test(F[0])&&(AM.support.checkClone||!AP.test(F[0]))){K=true;if(G=AM.fragments[F[0]]){if(G!==1){J=G}}}if(!J){J=A.createDocumentFragment();AM.clean(F,A,J,L)}if(K){AM.fragments[F[0]]=G?J:1}return{fragment:J,cacheable:K}}function Ai(F,A){var G={};AM.each(AA.concat.apply([],AA.slice(0,A)),function(){G[this]=F});return G}function k(A){return"scrollTo" in A&&A.document?A:A.nodeType===9?A.defaultView||A.parentWindow:false}var AM=function(F,A){return new AM.fn.init(F,A)},l=Au.jQuery,D=Au.$,AE=Au.document,AX,BD=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Az=/^.[^:#\[\.,]*$/,AS=/\S/,AC=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Ad=navigator.userAgent,C=false,AZ=[],Ah,A7=Object.prototype.toString,A1=Object.prototype.hasOwnProperty,Ae=Array.prototype.push,AY=Array.prototype.slice,BC=Array.prototype.indexOf;AM.fn=AM.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=AE;this[0]=AE.body;this.selector="body";this.length=1;return this}if(typeof F==="string"){if((J=BD.exec(F))&&(J[1]||!A)){if(J[1]){G=A?A.ownerDocument||A:AE;if(F=m.exec(F)){if(AM.isPlainObject(A)){F=[AE.createElement(F[1])];AM.fn.attr.call(F,A,true)}else{F=[G.createElement(F[1])]}}else{F=A9([J[1]],[G]);F=(F.cacheable?F.fragment.cloneNode(true):F.fragment).childNodes}return AM.merge(this,F)}else{if(A=AE.getElementById(J[2])){if(A.id!==J[2]){return AX.find(F)}this.length=1;this[0]=A}this.context=AE;this.selector=F;return this}}else{if(!A&&/^\w+$/.test(F)){this.selector=F;this.context=AE;F=AE.getElementsByTagName(F);return AM.merge(this,F)}else{return !A||A.jquery?(A||AX).find(F):AM(A).find(F)}}}else{if(AM.isFunction(F)){return AX.ready(F)}}if(F.selector!==AD){this.selector=F.selector;this.context=F.context}return AM.makeArray(F,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return AY.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=AM();AM.isArray(F)?Ae.apply(G,F):AM.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 AM.each(this,F,A)},ready:function(A){AM.bindReady();if(AM.isReady){A.call(AE,AM)}else{AZ&&AZ.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(AY.apply(this,arguments),"slice",AY.call(arguments).join(","))},map:function(A){return this.pushStack(AM.map(this,function(F,G){return A.call(F,G,F)}))},end:function(){return this.prevObject||AM(null)},push:Ae,sort:[].sort,splice:[].splice};AM.fn.init.prototype=AM.fn;AM.extend=AM.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"&&!AM.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&&(AM.isPlainObject(N)||AM.isArray(N))){J=J&&(AM.isPlainObject(J)||AM.isArray(J))?J:AM.isArray(N)?[]:{};F[G]=AM.extend(K,J,N)}else{if(N!==AD){F[G]=N}}}}}}return F};AM.extend({noConflict:function(A){Au.$=D;if(A){Au.jQuery=l}return AM},isReady:false,ready:function(){if(!AM.isReady){if(!AE.body){return setTimeout(AM.ready,13)}AM.isReady=true;if(AZ){for(var F,A=0;F=AZ[A++];){F.call(AE,AM)}AZ=null}AM.fn.triggerHandler&&AM(AE).triggerHandler("ready")}},bindReady:function(){if(!C){C=true;if(AE.readyState==="complete"){return AM.ready()}if(AE.addEventListener){AE.addEventListener("DOMContentLoaded",Ah,false);Au.addEventListener("load",AM.ready,false)}else{if(AE.attachEvent){AE.attachEvent("onreadystatechange",Ah);Au.attachEvent("onload",AM.ready);var F=false;try{F=Au.frameElement==null}catch(A){}AE.documentElement.doScroll&&F&&A6()}}}},isFunction:function(A){return A7.call(A)==="[object Function]"},isArray:function(A){return A7.call(A)==="[object Array]"},isPlainObject:function(F){if(!F||A7.call(F)!=="[object Object]"||F.nodeType||F.setInterval){return false}if(F.constructor&&!A1.call(F,"constructor")&&!A1.call(F.constructor.prototype,"isPrototypeOf")){return false}var A;for(A in F){}return A===AD||A1.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=AM.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 Au.JSON&&Au.JSON.parse?Au.JSON.parse(A):(new Function("return "+A))()}else{AM.error("Invalid JSON: "+A)}},noop:function(){},globalEval:function(F){if(F&&AS.test(F)){var A=AE.getElementsByTagName("head")[0]||AE.documentElement,G=AE.createElement("script");G.type="text/javascript";if(AM.support.scriptEval){G.appendChild(AE.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===AD||AM.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(AC,"")},makeArray:function(F,A){A=A||[];if(F!=null){F.length==null||typeof F==="string"||AM.isFunction(F)||typeof F!=="function"&&F.setInterval?Ae.call(A,F):AM.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]!==AD;){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=AD}else{if(A&&!AM.isFunction(A)){G=A;A=AD}}}if(!A&&F){A=function(){return F.apply(G||this,arguments)}}if(F){A.guid=F.guid=F.guid||A.guid||AM.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:{}});Ad=AM.uaMatch(Ad);if(Ad.browser){AM.browser[Ad.browser]=true;AM.browser.version=Ad.version}if(AM.browser.webkit){AM.browser.safari=true}if(BC){AM.inArray=function(F,A){return BC.call(A,F)}}AX=AM(AE);if(AE.addEventListener){Ah=function(){AE.removeEventListener("DOMContentLoaded",Ah,false);AM.ready()}}else{if(AE.attachEvent){Ah=function(){if(AE.readyState==="complete"){AE.detachEvent("onreadystatechange",Ah);AM.ready()}}}}(function(){AM.support={};var P=AE.documentElement,O=AE.createElement("script"),N=AE.createElement("div"),K="script"+Al();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)){AM.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:AE.createElement("select").appendChild(AE.createElement("option")).selected,parentNode:N.removeChild(N.appendChild(AE.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};O.type="text/javascript";try{O.appendChild(AE.createTextNode("window."+K+"=1;"))}catch(J){}P.insertBefore(O,P.firstChild);if(Au[K]){AM.support.scriptEval=true;delete Au[K]}try{delete O.test}catch(A){AM.support.deleteExpando=false}P.removeChild(O);if(N.attachEvent&&N.fireEvent){N.attachEvent("onclick",function F(){AM.support.noCloneEvent=false;N.detachEvent("onclick",F)});N.cloneNode(true).fireEvent("onclick")}N=AE.createElement("div");N.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";P=AE.createDocumentFragment();P.appendChild(N.firstChild);AM.support.checkClone=P.cloneNode(true).cloneNode(true).lastChild.checked;AM(function(){var Q=AE.createElement("div");Q.style.width=Q.style.paddingLeft="1px";AE.body.appendChild(Q);AM.boxModel=AM.support.boxModel=Q.offsetWidth===2;AE.body.removeChild(Q).style.display="none"});P=function(Q){var T=AE.createElement("div");Q="on"+Q;var R=Q in T;if(!R){T.setAttribute(Q,"return;");R=typeof T[Q]==="function"}return R};AM.support.submitBubbles=P("submit");AM.support.changeBubbles=P("change");P=O=N=L=G=null}})();AM.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var An="jQuery"+Al(),E=0,Ay={};AM.extend({cache:{},expando:An,noData:{embed:true,object:true,applet:true},data:function(F,A,K){if(!(F.nodeName&&AM.noData[F.nodeName.toLowerCase()])){F=F==Au?Ay:F;var G=F[An],J=AM.cache;if(!G&&typeof A==="string"&&K===AD){return null}G||(G=++E);if(typeof A==="object"){F[An]=G;J[G]=AM.extend(true,{},A)}else{if(!J[G]){F[An]=G;J[G]={}}}F=J[G];if(K!==AD){F[A]=K}return typeof A==="string"?F[A]:F}},removeData:function(F,A){if(!(F.nodeName&&AM.noData[F.nodeName.toLowerCase()])){F=F==Au?Ay:F;var K=F[An],G=AM.cache,J=G[K];if(A){if(J){delete J[A];AM.isEmptyObject(J)&&AM.removeData(F)}}else{if(AM.support.deleteExpando){delete F[AM.expando]}else{F.removeAttribute&&F.removeAttribute(AM.expando)}delete G[K]}}}});AM.fn.extend({data:function(F,A){if(typeof F==="undefined"&&this.length){return AM.data(this[0])}else{if(typeof F==="object"){return this.each(function(){AM.data(this,F)})}}var J=F.split(".");J[1]=J[1]?"."+J[1]:"";if(A===AD){var G=this.triggerHandler("getData"+J[1]+"!",[J[0]]);if(G===AD&&this.length){G=AM.data(this[0],F)}return G===AD&&J[1]?this.data(J[0]):G}else{return this.trigger("setData"+J[1]+"!",[J[0],A]).each(function(){AM.data(this,F,A)})}},removeData:function(A){return this.each(function(){AM.removeData(this,A)})}});AM.extend({queue:function(F,A,J){if(F){A=(A||"fx")+"queue";var G=AM.data(F,A);if(!J){return G||[]}if(!G||AM.isArray(J)){G=AM.data(F,A,AM.makeArray(J))}else{G.push(J)}return G}},dequeue:function(F,A){A=A||"fx";var J=AM.queue(F,A),G=J.shift();if(G==="inprogress"){G=J.shift()}if(G){A==="fx"&&J.unshift("inprogress");G.call(F,function(){AM.dequeue(F,A)})}}});AM.fn.extend({queue:function(F,A){if(typeof F!=="string"){A=F;F="fx"}if(A===AD){return AM.queue(this[0],F)}return this.each(function(){var G=AM.queue(this,F,A);F==="fx"&&G[0]!=="inprogress"&&AM.dequeue(this,F)})},dequeue:function(A){return this.each(function(){AM.dequeue(this,A)})},delay:function(F,A){F=AM.fx?AM.fx.speeds[F]||F:F;A=A||"fx";return this.queue(A,function(){var G=this;setTimeout(function(){AM.dequeue(G,A)},F)})},clearQueue:function(A){return this.queue(A||"fx",[])}});var BI=/[\n\t]/g,AG=/\s+/,BE=/\r/g,As=/href|src|style/,A0=/(button|input)/i,Ac=/(button|input|object|select|textarea)/i,AF=/^(a|area)$/i,A4=/radio|checkbox/;AM.fn.extend({attr:function(F,A){return AU(this,F,A,true,AM.attr)},removeAttr:function(A){return this.each(function(){AM.attr(this,A,"");this.nodeType===1&&this.removeAttribute(A)})},addClass:function(P){if(AM.isFunction(P)){return this.each(function(R){var Q=AM(this);Q.addClass(P.call(this,R,Q.attr("class")))})}if(P&&typeof P==="string"){for(var O=(P||"").split(AG),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=AM.trim(J)}else{L.className=P}}}}return this},removeClass:function(F){if(AM.isFunction(F)){return this.each(function(P){var Q=AM(this);Q.removeClass(F.call(this,P,Q.attr("class")))})}if(F&&typeof F==="string"||F===AD){for(var A=(F||"").split(AG),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(BI," "),J=0,N=A.length;J<N;J++){G=G.replace(" "+A[J]+" "," ")}L.className=AM.trim(G)}else{L.className=""}}}}return this},toggleClass:function(F,A){var J=typeof F,G=typeof A==="boolean";if(AM.isFunction(F)){return this.each(function(L){var K=AM(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=AM(this),P=A,K=F.split(AG);O=K[L++];){P=G?P:!N.hasClass(O);N[P?"addClass":"removeClass"](O)}}else{if(J==="undefined"||J==="boolean"){this.className&&AM.data(this,"__className__",this.className);this.className=this.className||F===false?"":AM.data(this,"__className__")||""}}})},hasClass:function(F){F=" "+F+" ";for(var A=0,G=this.length;A<G;A++){if((" "+this[A].className+" ").replace(BI," ").indexOf(F)>-1){return true}}return false},val:function(F){if(F===AD){var A=this[0];if(A){if(AM.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text}if(AM.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=AM(J).val();if(A){return F}K.push(F)}}return K}if(A4.test(A.type)&&!AM.support.checkOn){return A.getAttribute("value")===null?"on":A.value}return(A.value||"").replace(BE,"")}return AD}var N=AM.isFunction(F);return this.each(function(P){var T=AM(this),R=F;if(this.nodeType===1){if(N){R=F.call(this,P,T.val())}if(typeof R==="number"){R+=""}if(AM.isArray(R)&&A4.test(this.type)){this.checked=AM.inArray(T.val(),R)>=0}else{if(AM.nodeName(this,"select")){var Q=AM.makeArray(R);AM("option",this).each(function(){this.selected=AM.inArray(AM(this).val(),Q)>=0});if(!Q.length){this.selectedIndex=-1}}else{this.value=R}}}})}});AM.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 AD}if(J&&A in AM.attrFn){return AM(F)[A](L)}J=F.nodeType!==1||!AM.isXMLDoc(F);var K=L!==AD;A=J&&AM.props[A]||A;if(F.nodeType===1){var G=As.test(A);if(A in F&&J&&!G){if(K){A==="type"&&A0.test(F.nodeName)&&F.parentNode&&AM.error("type property can't be changed");F[A]=L}if(AM.nodeName(F,"form")&&F.getAttributeNode(A)){return F.getAttributeNode(A).nodeValue}if(A==="tabIndex"){return(A=F.getAttributeNode("tabIndex"))&&A.specified?A.value:Ac.test(F.nodeName)||AF.test(F.nodeName)&&F.href?0:AD}return F[A]}if(!AM.support.style&&J&&A==="style"){if(K){F.style.cssText=""+L}return F.style.cssText}K&&F.setAttribute(A,""+L);F=!AM.support.hrefNormalized&&J&&G?F.getAttribute(A,2):F.getAttribute(A);return F===null?AD:F}return AM.style(F,A,L)}});var Af=/\.(.*)$/,n=function(A){return A.replace(/[^\w\s\.\|`]/g,function(F){return"\\"+F})};AM.event={add:function(T,R,P,N){if(!(T.nodeType===3||T.nodeType===8)){if(T.setInterval&&T!==Au&&!T.frameElement){T=Au}var O,K;if(P.handler){O=P;P=O.handler}if(!P.guid){P.guid=AM.guid++}if(K=AM.data(T)){var L=K.events=K.events||{},F=K.handle;if(!F){K.handle=F=function(){return typeof AM!=="undefined"&&!AM.event.triggered?AM.event.handle.apply(F.elem,arguments):AD}}F.elem=T;R=R.split(" ");for(var J,G=0,A;J=R[G++];){K=O?AM.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=AM.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);AM.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=AM.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){AM.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("(^|\\.)"+AM.map(J.slice(0).sort(),n).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=F[Q]){if(R){K=AM.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){Am(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)){AM.event.remove(W,K,X.handler,G);A.splice(G--,1)}}}}}if(AM.isEmptyObject(F)){if(V=T.handle){V.elem=null}delete T.events;delete T.handle;AM.isEmptyObject(T)&&AM.removeData(W)}}}}},trigger:function(Q,P,O,L){var N=Q.type||Q;if(!L){Q=typeof Q==="object"?Q[An]?Q:AM.extend(AM.Event(N),Q):AM.Event(N);if(N.indexOf("!")>=0){Q.type=N=N.slice(0,-1);Q.exclusive=true}if(!O){Q.stopPropagation();AM.event.global[N]&&AM.each(AM.cache,function(){this.events&&this.events[N]&&AM.event.trigger(Q,P,this.handle.elem)})}if(!O||O.nodeType===3||O.nodeType===8){return AD}Q.result=AD;Q.target=O;P=AM.makeArray(P);P.unshift(Q)}Q.currentTarget=O;(L=AM.data(O,"handle"))&&L.apply(O,P);L=O.parentNode||O.ownerDocument;try{if(!(O&&O.nodeName&&AM.noData[O.nodeName.toLowerCase()])){if(O["on"+N]&&O["on"+N].apply(O,P)===false){Q.result=false}}}catch(J){}if(!Q.isPropagationStopped()&&L){AM.event.trigger(Q,P,L,true)}else{if(!Q.isDefaultPrevented()){L=Q.target;var K,A=AM.nodeName(L,"a")&&N==="click",G=AM.event.special[N]||{};if((!G._default||G._default.call(O,Q)===false)&&!A&&!(L&&L.nodeName&&AM.noData[L.nodeName.toLowerCase()])){try{if(L[N]){if(K=L["on"+N]){L["on"+N]=null}AM.event.triggered=true;L[N]()}}catch(F){}if(K){L["on"+N]=K}AM.event.triggered=false}}}},handle:function(F){var A,N,K,L;F=arguments[0]=AM.event.fix(F||Au.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=AM.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!==AD){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[An]){return F}var A=F;F=AM.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||AE}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=AE.documentElement;J=AE.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!==AD){F.which=F.button&1?1:F.button&2?3:F.button&4?2:0}return F},guid:100000000,proxy:AM.proxy,special:{ready:{setup:AM.bindReady,teardown:AM.noop},live:{add:function(A){AM.event.add(this,A.origType,AM.extend({},A,{handler:AL}))},remove:function(F){var A=true,G=F.origType.replace(Af,"");AM.each(AM.data(this,"events").live||[],function(){if(G===this.origType.replace(Af,"")){return A=false}});A&&AM.event.remove(this,F.origType,AL)}},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 Am=AE.removeEventListener?function(F,A,G){F.removeEventListener(A,G,false)}:function(F,A,G){F.detachEvent("on"+A,G)};AM.Event=function(A){if(!this.preventDefault){return new AM.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Al();this[An]=true};AM.Event.prototype={preventDefault:function(){this.isDefaultPrevented=AR;var A=this.originalEvent;if(A){A.preventDefault&&A.preventDefault();A.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=AR;var A=this.originalEvent;if(A){A.stopPropagation&&A.stopPropagation();A.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=AR;this.stopPropagation()},isDefaultPrevented:AT,isPropagationStopped:AT,isImmediatePropagationStopped:AT};var AJ=function(F){var A=F.relatedTarget;try{for(;A&&A!==this;){A=A.parentNode}if(A!==this){F.type=F.data;AM.event.handle.apply(this,arguments)}}catch(G){}},r=function(A){A.type=A.data;AM.event.handle.apply(this,arguments)};AM.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(F,A){AM.event.special[F]={setup:function(G){AM.event.add(this,A,G&&G.selector?r:AJ,F)},teardown:function(G){AM.event.remove(this,A,G&&G.selector?r:AJ)}}});if(!AM.support.submitBubbles){AM.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){AM.event.add(this,"click.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="submit"||G==="image")&&AM(A).closest("form").length){return Aq("submit",this,arguments)}});AM.event.add(this,"keypress.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="text"||G==="password")&&AM(A).closest("form").length&&F.keyCode===13){return Aq("submit",this,arguments)}})}else{return false}},teardown:function(){AM.event.remove(this,".specialSubmit")}}}if(!AM.support.changeBubbles){var o=/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?AM.map(F.options,function(J){return J.selected}).join("-"):""}else{if(F.nodeName.toLowerCase()==="select"){G=F.selectedIndex}}}return G},BH=function(F,A){var K=F.target,G,J;if(!(!o.test(K.nodeName)||K.readOnly)){G=AM.data(K,"_change_data");J=U(K);if(F.type!=="focusout"||K.type!=="radio"){AM.data(K,"_change_data",J)}if(!(G===AD||J===G)){if(G!=null||J){F.type="change";return AM.event.trigger(F,A,K)}}}};AM.event.special.change={filters:{focusout:BH,click:function(F){var A=F.target,G=A.type;if(G==="radio"||G==="checkbox"||A.nodeName.toLowerCase()==="select"){return BH.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 BH.call(this,F)}},beforeactivate:function(A){A=A.target;AM.data(A,"_change_data",U(A))}},setup:function(){if(this.type==="file"){return false}for(var A in I){AM.event.add(this,A+".specialChange",I[A])}return o.test(this.nodeName)},teardown:function(){AM.event.remove(this,".specialChange");return o.test(this.nodeName)}};I=AM.event.special.change.filters}AE.addEventListener&&AM.each({focus:"focusin",blur:"focusout"},function(F,A){function G(J){J=AM.event.fix(J);J.type=A;return AM.event.handle.call(this,J)}AM.event.special[A]={setup:function(){this.addEventListener(F,G,true)},teardown:function(){this.removeEventListener(F,G,true)}}});AM.each(["bind","one"],function(F,A){AM.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(AM.isFunction(K)){L=K;K=AD}var J=A==="one"?AM.proxy(L,function(P){AM(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++){AM.event.add(this[G],O,J,K)}}return this}});AM.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++){AM.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(){AM.event.trigger(F,A,this)})},triggerHandler:function(F,A){if(this[0]){F=AM.Event(F);F.preventDefault();F.stopPropagation();AM.event.trigger(F,A,this[0]);return F.result}},toggle:function(F){for(var A=arguments,G=1;G<A.length;){AM.proxy(F,A[G++])}return this.click(AM.proxy(F,function(J){var K=(AM.data(this,"lastToggle"+F.guid)||0)%G;AM.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 BL={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};AM.each(["live","die"],function(F,A){AM.fn[A]=function(R,P,Q,N){var O,J=0,L,K,G=N||this.selector,T=N?this:AM(this.context);if(AM.isFunction(P)){Q=P;P=AD}for(R=(R||"").split(" ");(O=R[J++])!=null;){N=Af.exec(O);L="";if(N){L=N[0];O=O.replace(Af,"")}if(O==="hover"){R.push("mouseenter"+L,"mouseleave"+L)}else{K=O;if(O==="focus"||O==="blur"){R.push(BL[O]+L);O+=L}else{O=(BL[O]||O)+L}A==="live"?T.each(function(){AM.event.add(this,u(O,G),{data:P,selector:G,handler:Q,origType:O,origHandler:Q,preType:K})}):T.unbind(u(O,G),Q)}}return this}});AM.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){AM.fn[A]=function(G){return G?this.bind(A,G):this.trigger(A)};if(AM.attrFn){AM.attrFn[A]=true}});Au.attachEvent&&!Au.addEventListener&&Au.attachEvent("onunload",function(){for(var F in AM.cache){if(AM.cache[F].handle){try{AM.event.remove(AM.cache[F].handle.elem)}catch(A){}}}});(function(){function Z(BP){for(var Ab="",Aa,w=0;BP[w];w++){Aa=BP[w];if(Aa.nodeType===3||Aa.nodeType===4){Ab+=Aa.nodeValue}else{if(Aa.nodeType!==8){Ab+=Z(Aa.childNodes)}}}return Ab}function Y(BR,BQ,BP,Ab,w,Aa){w=0;for(var BT=Ab.length;w<BT;w++){var BU=Ab[w];if(BU){BU=BU[BR];for(var BS=false;BU;){if(BU.sizcache===BP){BS=Ab[BU.sizset];break}if(BU.nodeType===1&&!Aa){BU.sizcache=BP;BU.sizset=w}if(BU.nodeName.toLowerCase()===BQ){BS=BU;break}BU=BU[BR]}Ab[w]=BS}}}function X(BR,BQ,BP,Ab,w,Aa){w=0;for(var BT=Ab.length;w<BT;w++){var BU=Ab[w];if(BU){BU=BU[BR];for(var BS=false;BU;){if(BU.sizcache===BP){BS=Ab[BU.sizset];break}if(BU.nodeType===1){if(!Aa){BU.sizcache=BP;BU.sizset=w}if(typeof BQ!=="string"){if(BU===BQ){BS=true;break}}else{if(Q.filter(BQ,[BU]).length>0){BS=BU;break}}}BU=BU[BR]}Ab[w]=BS}}}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(BT,BS,BQ,BP){BQ=BQ||[];var Aa=BS=BS||AE;if(BS.nodeType!==1&&BS.nodeType!==9){return[]}if(!BT||typeof BT!=="string"){return BQ}for(var Ab=[],BY,BZ,BV,BR,BX=true,BU=F(BS),BW=BT;(V.exec(""),BY=V.exec(BW))!==null;){BW=BY[3];Ab.push(BY[1]);if(BY[2]){BR=BY[3];break}}if(Ab.length>1&&L.exec(BT)){if(Ab.length===2&&P.relative[Ab[0]]){BZ=c(Ab[0]+Ab[1],BS)}else{for(BZ=P.relative[Ab[0]]?[BS]:Q(Ab.shift(),BS);Ab.length;){BT=Ab.shift();if(P.relative[BT]){BT+=Ab.shift()}BZ=c(BT,BZ)}}}else{if(!BP&&Ab.length>1&&BS.nodeType===9&&!BU&&P.match.ID.test(Ab[0])&&!P.match.ID.test(Ab[Ab.length-1])){BY=Q.find(Ab.shift(),BS,BU);BS=BY.expr?Q.filter(BY.expr,BY.set)[0]:BY.set[0]}if(BS){BY=BP?{expr:Ab.pop(),set:A(BP)}:Q.find(Ab.pop(),Ab.length===1&&(Ab[0]==="~"||Ab[0]==="+")&&BS.parentNode?BS.parentNode:BS,BU);BZ=BY.expr?Q.filter(BY.expr,BY.set):BY.set;if(Ab.length>0){BV=A(BZ)}else{BX=false}for(;Ab.length;){var w=Ab.pop();BY=w;if(P.relative[w]){BY=Ab.pop()}else{w=""}if(BY==null){BY=BS}P.relative[w](BV,BY,BU)}}else{BV=[]}}BV||(BV=BZ);BV||Q.error(w||BT);if(R.call(BV)==="[object Array]"){if(BX){if(BS&&BS.nodeType===1){for(BT=0;BV[BT]!=null;BT++){if(BV[BT]&&(BV[BT]===true||BV[BT].nodeType===1&&J(BS,BV[BT]))){BQ.push(BZ[BT])}}}else{for(BT=0;BV[BT]!=null;BT++){BV[BT]&&BV[BT].nodeType===1&&BQ.push(BZ[BT])}}}else{BQ.push.apply(BQ,BV)}}else{A(BV,BQ)}if(BR){Q(BR,Aa,BQ,BP);Q.uniqueSort(BQ)}return BQ};Q.uniqueSort=function(Aa){if(N){T=O;Aa.sort(N);if(T){for(var w=1;w<Aa.length;w++){Aa[w]===Aa[w-1]&&Aa.splice(w--,1)}}}return Aa};Q.matches=function(Aa,w){return Q(Aa,null,null,w)};Q.find=function(BR,BQ,BP){var Ab,w;if(!BR){return[]}for(var Aa=0,BT=P.order.length;Aa<BT;Aa++){var BU=P.order[Aa];if(w=P.leftMatch[BU].exec(BR)){var BS=w[1];w.splice(1,1);if(BS.substr(BS.length-1)!=="\\"){w[1]=(w[1]||"").replace(/\\/g,"");Ab=P.find[BU](w,BQ,BP);if(Ab!=null){BR=BR.replace(P.match[BU],"");break}}}}Ab||(Ab=BQ.getElementsByTagName("*"));return{set:Ab,expr:BR}};Q.filter=function(BU,BT,BR,BP){for(var Aa=BU,Ab=[],Ba=BT,Bb,BX,BS=BT&&BT[0]&&F(BT[0]);BU&&BT.length;){for(var BZ in P.filter){if((Bb=P.leftMatch[BZ].exec(BU))!=null&&Bb[2]){var BV=P.filter[BZ],BY,w;w=Bb[1];BX=false;Bb.splice(1,1);if(w.substr(w.length-1)!=="\\"){if(Ba===Ab){Ab=[]}if(P.preFilter[BZ]){if(Bb=P.preFilter[BZ](Bb,Ba,BR,Ab,BP,BS)){if(Bb===true){continue}}else{BX=BY=true}}if(Bb){for(var BQ=0;(w=Ba[BQ])!=null;BQ++){if(w){BY=BV(w,Bb,BQ,Ba);var BW=BP^!!BY;if(BR&&BY!=null){if(BW){BX=true}else{Ba[BQ]=false}}else{if(BW){Ab.push(w);BX=true}}}}}if(BY!==AD){BR||(Ba=Ab);BU=BU.replace(P.match[BZ],"");if(!BX){return[]}break}}}}if(BU===Aa){if(BX==null){Q.error(BU)}else{break}}Aa=BU}return Ba};Q.error=function(w){throw"Syntax error, unrecognized expression: "+w};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(w){return w.getAttribute("href")}},relative:{"+":function(BP,Ab){var Aa=typeof Ab==="string",w=Aa&&!/\W/.test(Ab);Aa=Aa&&!w;if(w){Ab=Ab.toLowerCase()}w=0;for(var BQ=BP.length,BR;w<BQ;w++){if(BR=BP[w]){for(;(BR=BR.previousSibling)&&BR.nodeType!==1;){}BP[w]=Aa||BR&&BR.nodeName.toLowerCase()===Ab?BR||false:BR===Ab}}Aa&&Q.filter(Ab,BP,true)},">":function(BP,Ab){var Aa=typeof Ab==="string";if(Aa&&!/\W/.test(Ab)){Ab=Ab.toLowerCase();for(var w=0,BQ=BP.length;w<BQ;w++){var BR=BP[w];if(BR){Aa=BR.parentNode;BP[w]=Aa.nodeName.toLowerCase()===Ab?Aa:false}}}else{w=0;for(BQ=BP.length;w<BQ;w++){if(BR=BP[w]){BP[w]=Aa?BR.parentNode:BR.parentNode===Ab}}Aa&&Q.filter(Ab,BP,true)}},"":function(BP,Ab,Aa){var w=W++,BQ=X;if(typeof Ab==="string"&&!/\W/.test(Ab)){var BR=Ab=Ab.toLowerCase();BQ=Y}BQ("parentNode",Ab,w,BP,BR,Aa)},"~":function(BP,Ab,Aa){var w=W++,BQ=X;if(typeof Ab==="string"&&!/\W/.test(Ab)){var BR=Ab=Ab.toLowerCase();BQ=Y}BQ("previousSibling",Ab,w,BP,BR,Aa)}},find:{ID:function(Ab,Aa,w){if(typeof Aa.getElementById!=="undefined"&&!w){return(Ab=Aa.getElementById(Ab[1]))?[Ab]:[]}},NAME:function(BP,Ab){if(typeof Ab.getElementsByName!=="undefined"){var Aa=[];Ab=Ab.getElementsByName(BP[1]);for(var w=0,BQ=Ab.length;w<BQ;w++){Ab[w].getAttribute("name")===BP[1]&&Aa.push(Ab[w])}return Aa.length===0?null:Aa}},TAG:function(Aa,w){return w.getElementsByTagName(Aa[1])}},preFilter:{CLASS:function(BQ,BP,Aa,w,BR,BS){BQ=" "+BQ[1].replace(/\\/g,"")+" ";if(BS){return BQ}BS=0;for(var Ab;(Ab=BP[BS])!=null;BS++){if(Ab){if(BR^(Ab.className&&(" "+Ab.className+" ").replace(/[\t\n]/g," ").indexOf(BQ)>=0)){Aa||w.push(Ab)}else{if(Aa){BP[BS]=false}}}}return false},ID:function(w){return w[1].replace(/\\/g,"")},TAG:function(w){return w[1].toLowerCase()},CHILD:function(Aa){if(Aa[1]==="nth"){var w=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Aa[2]==="even"&&"2n"||Aa[2]==="odd"&&"2n+1"||!/\D/.test(Aa[2])&&"0n+"+Aa[2]||Aa[2]);Aa[2]=w[1]+(w[2]||1)-0;Aa[3]=w[3]-0}Aa[0]=W++;return Aa},ATTR:function(BP,Ab,Aa,w,BQ,BR){Ab=BP[1].replace(/\\/g,"");if(!BR&&P.attrMap[Ab]){BP[1]=P.attrMap[Ab]}if(BP[2]==="~="){BP[4]=" "+BP[4]+" "}return BP},PSEUDO:function(BP,Ab,Aa,w,BQ){if(BP[1]==="not"){if((V.exec(BP[3])||"").length>1||/^\w/.test(BP[3])){BP[3]=Q(BP[3],null,null,Ab)}else{BP=Q.filter(BP[3],Ab,Aa,true^BQ);Aa||w.push.apply(w,BP);return false}}else{if(P.match.POS.test(BP[0])||P.match.CHILD.test(BP[0])){return true}}return BP},POS:function(w){w.unshift(true);return w}},filters:{enabled:function(w){return w.disabled===false&&w.type!=="hidden"},disabled:function(w){return w.disabled===true},checked:function(w){return w.checked===true},selected:function(w){return w.selected===true},parent:function(w){return !!w.firstChild},empty:function(w){return !w.firstChild},has:function(Ab,Aa,w){return !!Q(w[3],Ab).length},header:function(w){return/h\d/i.test(w.nodeName)},text:function(w){return"text"===w.type},radio:function(w){return"radio"===w.type},checkbox:function(w){return"checkbox"===w.type},file:function(w){return"file"===w.type},password:function(w){return"password"===w.type},submit:function(w){return"submit"===w.type},image:function(w){return"image"===w.type},reset:function(w){return"reset"===w.type},button:function(w){return"button"===w.type||w.nodeName.toLowerCase()==="button"},input:function(w){return/input|select|textarea|button/i.test(w.nodeName)}},setFilters:{first:function(Aa,w){return w===0},last:function(BP,Ab,Aa,w){return Ab===w.length-1},even:function(Aa,w){return w%2===0},odd:function(Aa,w){return w%2===1},lt:function(Ab,Aa,w){return Aa<w[3]-0},gt:function(Ab,Aa,w){return Aa>w[3]-0},nth:function(Ab,Aa,w){return w[3]-0===Aa},eq:function(Ab,Aa,w){return w[3]-0===Aa}},filter:{PSEUDO:function(BP,Ab,Aa,w){var BQ=Ab[1],BR=P.filters[BQ];if(BR){return BR(BP,Aa,Ab,w)}else{if(BQ==="contains"){return(BP.textContent||BP.innerText||Z([BP])||"").indexOf(Ab[3])>=0}else{if(BQ==="not"){Ab=Ab[3];Aa=0;for(w=Ab.length;Aa<w;Aa++){if(Ab[Aa]===BP){return false}}return true}else{Q.error("Syntax error, unrecognized expression: "+BQ)}}}},CHILD:function(BQ,BP){var Aa=BP[1],w=BQ;switch(Aa){case"only":case"first":for(;w=w.previousSibling;){if(w.nodeType===1){return false}}if(Aa==="first"){return true}w=BQ;case"last":for(;w=w.nextSibling;){if(w.nodeType===1){return false}}return true;case"nth":Aa=BP[2];var BR=BP[3];if(Aa===1&&BR===0){return true}BP=BP[0];var BS=BQ.parentNode;if(BS&&(BS.sizcache!==BP||!BQ.nodeIndex)){var Ab=0;for(w=BS.firstChild;w;w=w.nextSibling){if(w.nodeType===1){w.nodeIndex=++Ab}}BS.sizcache=BP}BQ=BQ.nodeIndex-BR;return Aa===0?BQ===0:BQ%Aa===0&&BQ/Aa>=0}},ID:function(Aa,w){return Aa.nodeType===1&&Aa.getAttribute("id")===w},TAG:function(Aa,w){return w==="*"&&Aa.nodeType===1||Aa.nodeName.toLowerCase()===w},CLASS:function(Aa,w){return(" "+(Aa.className||Aa.getAttribute("class"))+" ").indexOf(w)>-1},ATTR:function(BP,Ab){var Aa=Ab[1];BP=P.attrHandle[Aa]?P.attrHandle[Aa](BP):BP[Aa]!=null?BP[Aa]:BP.getAttribute(Aa);Aa=BP+"";var w=Ab[2];Ab=Ab[4];return BP==null?w==="!=":w==="="?Aa===Ab:w==="*="?Aa.indexOf(Ab)>=0:w==="~="?(" "+Aa+" ").indexOf(Ab)>=0:!Ab?Aa&&BP!==false:w==="!="?Aa!==Ab:w==="^="?Aa.indexOf(Ab)===0:w==="$="?Aa.substr(Aa.length-Ab.length)===Ab:w==="|="?Aa===Ab||Aa.substr(0,Ab.length+1)===Ab+"-":false},POS:function(BP,Ab,Aa,w){var BQ=P.setFilters[Ab[2]];if(BQ){return BQ(BP,Aa,Ab,w)}}}},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(Aa,w){return"\\"+(w-0+1)}))}var A=function(Aa,w){Aa=Array.prototype.slice.call(Aa,0);if(w){w.push.apply(w,Aa);return w}return Aa};try{Array.prototype.slice.call(AE.documentElement.childNodes,0)}catch(K){A=function(BP,Ab){Ab=Ab||[];if(R.call(BP)==="[object Array]"){Array.prototype.push.apply(Ab,BP)}else{if(typeof BP.length==="number"){for(var Aa=0,w=BP.length;Aa<w;Aa++){Ab.push(BP[Aa])}}else{for(Aa=0;BP[Aa];Aa++){Ab.push(BP[Aa])}}}return Ab}}var N;if(AE.documentElement.compareDocumentPosition){N=function(Aa,w){if(!Aa.compareDocumentPosition||!w.compareDocumentPosition){if(Aa==w){T=true}return Aa.compareDocumentPosition?-1:1}Aa=Aa.compareDocumentPosition(w)&4?-1:Aa===w?0:1;if(Aa===0){T=true}return Aa}}else{if("sourceIndex" in AE.documentElement){N=function(Aa,w){if(!Aa.sourceIndex||!w.sourceIndex){if(Aa==w){T=true}return Aa.sourceIndex?-1:1}Aa=Aa.sourceIndex-w.sourceIndex;if(Aa===0){T=true}return Aa}}else{if(AE.createRange){N=function(BP,Ab){if(!BP.ownerDocument||!Ab.ownerDocument){if(BP==Ab){T=true}return BP.ownerDocument?-1:1}var Aa=BP.ownerDocument.createRange(),w=Ab.ownerDocument.createRange();Aa.setStart(BP,0);Aa.setEnd(BP,0);w.setStart(Ab,0);w.setEnd(Ab,0);BP=Aa.compareBoundaryPoints(Range.START_TO_END,w);if(BP===0){T=true}return BP}}}}(function(){var Ab=AE.createElement("div"),Aa="script"+(new Date).getTime();Ab.innerHTML="<a name='"+Aa+"'/>";var w=AE.documentElement;w.insertBefore(Ab,w.firstChild);if(AE.getElementById(Aa)){P.find.ID=function(BP,BQ,BR){if(typeof BQ.getElementById!=="undefined"&&!BR){return(BQ=BQ.getElementById(BP[1]))?BQ.id===BP[1]||typeof BQ.getAttributeNode!=="undefined"&&BQ.getAttributeNode("id").nodeValue===BP[1]?[BQ]:AD:[]}};P.filter.ID=function(BP,BQ){var BR=typeof BP.getAttributeNode!=="undefined"&&BP.getAttributeNode("id");return BP.nodeType===1&&BR&&BR.nodeValue===BQ}}w.removeChild(Ab);w=Ab=null})();(function(){var w=AE.createElement("div");w.appendChild(AE.createComment(""));if(w.getElementsByTagName("*").length>0){P.find.TAG=function(BP,Ab){Ab=Ab.getElementsByTagName(BP[1]);if(BP[1]==="*"){BP=[];for(var Aa=0;Ab[Aa];Aa++){Ab[Aa].nodeType===1&&BP.push(Ab[Aa])}Ab=BP}return Ab}}w.innerHTML="<a href='#'></a>";if(w.firstChild&&typeof w.firstChild.getAttribute!=="undefined"&&w.firstChild.getAttribute("href")!=="#"){P.attrHandle.href=function(Aa){return Aa.getAttribute("href",2)}}w=null})();AE.querySelectorAll&&function(){var Ab=Q,Aa=AE.createElement("div");Aa.innerHTML="<p class='TEST'></p>";if(!(Aa.querySelectorAll&&Aa.querySelectorAll(".TEST").length===0)){Q=function(BP,BS,BT,BQ){BS=BS||AE;if(!BQ&&BS.nodeType===9&&!F(BS)){try{return A(BS.querySelectorAll(BP),BT)}catch(BR){}}return Ab(BP,BS,BT,BQ)};for(var w in Ab){Q[w]=Ab[w]}Aa=null}}();(function(){var w=AE.createElement("div");w.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!w.getElementsByClassName||w.getElementsByClassName("e").length===0)){w.lastChild.className="e";if(w.getElementsByClassName("e").length!==1){P.order.splice(1,0,"CLASS");P.find.CLASS=function(BP,Ab,Aa){if(typeof Ab.getElementsByClassName!=="undefined"&&!Aa){return Ab.getElementsByClassName(BP[1])}};w=null}}})();var J=AE.compareDocumentPosition?function(Aa,w){return !!(Aa.compareDocumentPosition(w)&16)}:function(Aa,w){return Aa!==w&&(Aa.contains?Aa.contains(w):true)},F=function(w){return(w=(w?w.ownerDocument||w:0).documentElement)?w.nodeName!=="HTML":false},c=function(BP,Ab){var Aa=[],w="",BQ;for(Ab=Ab.nodeType?[Ab]:Ab;BQ=P.match.PSEUDO.exec(BP);){w+=BQ[0];BP=BP.replace(P.match.PSEUDO,"")}BP=P.relative[BP]?BP+"*":BP;BQ=0;for(var BR=Ab.length;BQ<BR;BQ++){Q(BP,Ab[BQ],Aa)}return Q.filter(w,Aa)};AM.find=Q;AM.expr=Q.selectors;AM.expr[":"]=AM.expr.filters;AM.unique=Q.uniqueSort;AM.text=Z;AM.isXMLDoc=F;AM.contains=J})();var H=/Until$/,BF=/^(?:parents|prevUntil|prevAll)/,A2=/,/;AY=Array.prototype.slice;var Ar=function(F,A,J){if(AM.isFunction(A)){return AM.grep(F,function(L,K){return !!A.call(L,K,L)===J})}else{if(A.nodeType){return AM.grep(F,function(K){return K===A===J})}else{if(typeof A==="string"){var G=AM.grep(F,function(K){return K.nodeType===1});if(Az.test(A)){return AM.filter(A,G,!J)}else{A=AM.filter(A,G)}}}}return AM.grep(F,function(K){return AM.inArray(K,A)>=0===J})};AM.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;AM.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=AM(F);return this.filter(function(){for(var J=0,G=A.length;J<G;J++){if(AM.contains(this,A[J])){return true}}})},not:function(A){return this.pushStack(Ar(this,A,false),"not",A)},filter:function(A){return this.pushStack(Ar(this,A,true),"filter",A)},is:function(A){return !!A&&AM.filter(A,this).length>0},closest:function(P,O){if(AM.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]=AM.expr.match.POS.test(J)?AM(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:AM(K).is(L)){N.push({selector:J,elem:K});delete G[J]}}K=K.parentNode}}return N}var F=AM.expr.match.POS.test(P)?AM(P,O||this.context):null;return this.map(function(R,Q){for(;Q&&Q.ownerDocument&&Q!==O;){if(F?F.index(Q)>-1:AM(Q).is(P)){return Q}Q=Q.parentNode}return null})},index:function(A){if(!A||typeof A==="string"){return AM.inArray(this[0],A?AM(A):this.parent().children())}return AM.inArray(A.jquery?A[0]:A,this)},add:function(F,A){F=typeof F==="string"?AM(F,A||this.context):AM.makeArray(F);A=AM.merge(this.get(),F);return this.pushStack(f(F[0])||f(A[0])?A:AM.unique(A))},andSelf:function(){return this.add(this.prevObject)}});AM.each({parent:function(A){return(A=A.parentNode)&&A.nodeType!==11?A:null},parents:function(A){return AM.dir(A,"parentNode")},parentsUntil:function(F,A,G){return AM.dir(F,"parentNode",G)},next:function(A){return AM.nth(A,2,"nextSibling")},prev:function(A){return AM.nth(A,2,"previousSibling")},nextAll:function(A){return AM.dir(A,"nextSibling")},prevAll:function(A){return AM.dir(A,"previousSibling")},nextUntil:function(F,A,G){return AM.dir(F,"nextSibling",G)},prevUntil:function(F,A,G){return AM.dir(F,"previousSibling",G)},siblings:function(A){return AM.sibling(A.parentNode.firstChild,A)},children:function(A){return AM.sibling(A.firstChild)},contents:function(A){return AM.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:AM.makeArray(A.childNodes)}},function(F,A){AM.fn[F]=function(K,G){var J=AM.map(this,A,K);H.test(F)||(G=K);if(G&&typeof G==="string"){J=AM.filter(G,J)}J=this.length>1?AM.unique(J):J;if((this.length>1||A2.test(G))&&BF.test(F)){J=J.reverse()}return this.pushStack(J,F,AY.call(arguments).join(","))}});AM.extend({filter:function(F,A,G){if(G){F=":not("+F+")"}return AM.find.matches(F,A)},dir:function(F,A,J){var G=[];for(F=F[A];F&&F.nodeType!==9&&(J===AD||F.nodeType!==1||!AM(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 AN=/ jQuery\d+="(?:\d+|null)"/g,AW=/^\s+/,v=/(<([\w:]+)[^>]*?)\/>/g,Aj=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,g=/<([\w:]+)/,AH=/<tbody/i,p=/<|&#?\w+;/,Av=/<script|<object|<embed|<option|<style/i,AP=/checked\s*(?:[^=]|=\s*.checked.)/i,BO=function(F,A,G){return Aj.test(G)?F:A+"></"+G+">"},Ap={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,"",""]};Ap.optgroup=Ap.option;Ap.tbody=Ap.tfoot=Ap.colgroup=Ap.caption=Ap.thead;Ap.th=Ap.td;if(!AM.support.htmlSerialize){Ap._default=[1,"div<div>","</div>"]}AM.fn.extend({text:function(A){if(AM.isFunction(A)){return this.each(function(F){var G=AM(this);G.text(A.call(this,F,G.text()))})}if(typeof A!=="object"&&A!==AD){return this.empty().append((this[0]&&this[0].ownerDocument||AE).createTextNode(A))}return AM.text(this)},wrapAll:function(F){if(AM.isFunction(F)){return this.each(function(G){AM(this).wrapAll(F.call(this,G))})}if(this[0]){var A=AM(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(AM.isFunction(A)){return this.each(function(F){AM(this).wrapInner(A.call(this,F))})}return this.each(function(){var F=AM(this),G=F.contents();G.length?G.wrapAll(A):F.append(A)})},wrap:function(A){return this.each(function(){AM(this).wrapAll(A)})},unwrap:function(){return this.parent().each(function(){AM.nodeName(this,"body")||AM(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=AM(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,AM(arguments[0]).toArray());return A}}},remove:function(F,A){for(var J=0,G;(G=this[J])!=null;J++){if(!F||AM.filter(F,[G]).length){if(!A&&G.nodeType===1){AM.cleanData(G.getElementsByTagName("*"));AM.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&&AM.cleanData(A.getElementsByTagName("*"));A.firstChild;){A.removeChild(A.firstChild)}}return this},clone:function(F){var A=this.map(function(){if(!AM.support.noCloneEvent&&!AM.isXMLDoc(this)){var J=this.outerHTML,G=this.ownerDocument;if(!J){J=G.createElement("div");J.appendChild(this.cloneNode(true));J=J.innerHTML}return AM.clean([J.replace(AN,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(AW,"")],G)[0]}else{return this.cloneNode(true)}});if(F===true){BN(this,A);BN(this.find("*"),A.find("*"))}return A},html:function(F){if(F===AD){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(AN,""):null}else{if(typeof F==="string"&&!Av.test(F)&&(AM.support.leadingWhitespace||!AW.test(F))&&!Ap[(g.exec(F)||["",""])[1].toLowerCase()]){F=F.replace(v,BO);try{for(var A=0,J=this.length;A<J;A++){if(this[A].nodeType===1){AM.cleanData(this[A].getElementsByTagName("*"));this[A].innerHTML=F}}}catch(G){this.empty().append(F)}}else{AM.isFunction(F)?this.each(function(N){var K=AM(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(AM.isFunction(A)){return this.each(function(F){var J=AM(this),G=J.html();J.replaceWith(A.call(this,F,G))})}if(typeof A!=="string"){A=AM(A).detach()}return this.each(function(){var F=this.nextSibling,G=this.parentNode;AM(this).remove();F?AM(F).before(A):AM(G).append(A)})}else{return this.pushStack(AM(AM.isFunction(A)?A():A),"replaceWith",A)}},detach:function(A){return this.remove(A,true)},domManip:function(R,Q,P){function N(T){return AM.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}var O,K,L=R[0],F=[],J;if(!AM.support.checkClone&&arguments.length===3&&typeof L==="string"&&AP.test(L)){return this.each(function(){AM(this).domManip(R,Q,P,true)})}if(AM.isFunction(L)){return this.each(function(T){var V=AM(this);R[0]=L.call(this,T,Q?V.html():AD);V.domManip(R,Q,P)})}if(this[0]){O=L&&L.parentNode;O=AM.support.parentNode&&O&&O.nodeType===11&&O.childNodes.length===this.length?{fragment:O}:A9(R,this,F);J=O.fragment;if(K=J.childNodes.length===1?(J=J.firstChild):J.firstChild){Q=Q&&AM.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&&AM.each(F,AB)}return this}});AM.fragments={};AM.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,A){AM.fn[F]=function(N){var K=[];N=AM(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();AM.fn[A].apply(AM(N[L]),J);K=K.concat(J)}return this.pushStack(K,F,N.selector)}}});AM.extend({clean:function(R,Q,P,N){Q=Q||AE;if(typeof Q.createElement==="undefined"){Q=Q.ownerDocument||Q[0]&&Q[0].ownerDocument||AE}for(var O=[],K=0,L;(L=R[K])!=null;K++){if(typeof L==="number"){L+=""}if(L){if(typeof L==="string"&&!p.test(L)){L=Q.createTextNode(L)}else{if(typeof L==="string"){L=L.replace(v,BO);var F=(g.exec(L)||["",""])[1].toLowerCase(),J=Ap[F]||Ap._default,G=J[0],A=Q.createElement("div");for(A.innerHTML=J[1]+L+J[2];G--;){A=A.lastChild}if(!AM.support.tbody){G=AH.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){AM.nodeName(F[J],"tbody")&&!F[J].childNodes.length&&F[J].parentNode.removeChild(F[J])}}!AM.support.leadingWhitespace&&AW.test(L)&&A.insertBefore(Q.createTextNode(AW.exec(L)[0]),A.firstChild);L=A.childNodes}}if(L.nodeType){O.push(L)}else{O=AM.merge(O,L)}}}if(P){for(K=0;O[K];K++){if(N&&AM.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(AM.makeArray(O[K].getElementsByTagName("script"))));P.appendChild(O[K])}}}return O},cleanData:function(P){for(var O,N,K=AM.cache,L=AM.event.special,G=AM.support.deleteExpando,J=0,A;(A=P[J])!=null;J++){if(N=A[AM.expando]){O=K[N];if(O.events){for(var F in O.events){L[F]?AM.event.remove(A,F):Am(A,F,O.handle)}}if(G){delete A[AM.expando]}else{A.removeAttribute&&A.removeAttribute(AM.expando)}delete K[N]}}}});var M=/z-?index|font-?weight|opacity|zoom|line-?height/i,BA=/alpha\([^)]*\)/,Aw=/opacity=([^)]*)/,Ak=/float/i,AI=/-([a-z])/ig,BJ=/([A-Z])/g,A5=/^-?\d+(?:px)?$/i,Ao=/^-?\d/,AK={position:"absolute",visibility:"hidden",display:"block"},t=["Left","Right"],d=["Top","Bottom"],BM=AE.defaultView&&AE.defaultView.getComputedStyle,AQ=AM.support.cssFloat?"cssFloat":"styleFloat",q=function(F,A){return A.toUpperCase()};AM.fn.css=function(F,A){return AU(this,F,A,true,function(K,G,J){if(J===AD){return AM.curCSS(K,G)}if(typeof J==="number"&&!M.test(G)){J+="px"}AM.style(K,G,J)})};AM.extend({style:function(F,A,K){if(!F||F.nodeType===3||F.nodeType===8){return AD}if((A==="width"||A==="height")&&parseFloat(K)<0){K=AD}var G=F.style||F,J=K!==AD;if(!AM.support.opacity&&A==="opacity"){if(J){G.zoom=1;A=parseInt(K,10)+""==="NaN"?"":"alpha(opacity="+K*100+")";F=G.filter||AM.curCSS(F,"filter")||"";G.filter=BA.test(F)?F.replace(BA,A):A}return G.filter&&G.filter.indexOf("opacity=")>=0?parseFloat(Aw.exec(G.filter)[1])/100+"":""}if(Ak.test(A)){A=AQ}A=A.replace(AI,q);if(J){G[A]=K}return G[A]},css:function(F,A,N,K){if(A==="width"||A==="height"){var L,G=A==="width"?t:d;function J(){L=A==="width"?F.offsetWidth:F.offsetHeight;K!=="border"&&AM.each(G,function(){K||(L-=parseFloat(AM.curCSS(F,"padding"+this,true))||0);if(K==="margin"){L+=parseFloat(AM.curCSS(F,"margin"+this,true))||0}else{L-=parseFloat(AM.curCSS(F,"border"+this+"Width",true))||0}})}F.offsetWidth!==0?J():AM.swap(F,AK,J);return Math.max(0,Math.round(L))}return AM.curCSS(F,A,N)},curCSS:function(F,A,L){var J,K=F.style;if(!AM.support.opacity&&A==="opacity"&&F.currentStyle){J=Aw.test(F.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return J===""?"1":J}if(Ak.test(A)){A=AQ}if(!L&&K&&K[A]){J=K[A]}else{if(BM){if(Ak.test(A)){A="float"}A=A.replace(BJ,"-$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(AI,q);J=F.currentStyle[A]||F.currentStyle[L];if(!A5.test(J)&&Ao.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(AM.expr&&AM.expr.filters){AM.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:AM.curCSS(F,"display")==="none"};AM.expr.filters.visible=function(A){return !AM.expr.filters.hidden(A)}}var A8=Al(),At=/<script(.|\s)*?\/script>/gi,AO=/select|textarea/i,y=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Ag=/=\?(&|$)/,S=/\?/,h=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,BB=/%20/g,Ax=AM.fn.load;AM.fn.extend({load:function(F,A,L){if(typeof F!=="string"){return Ax.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(AM.isFunction(A)){L=A;A=null}else{if(typeof A==="object"){A=AM.param(A,AM.ajaxSettings.traditional);J="POST"}}}var G=this;AM.ajax({url:F,type:J,dataType:"html",data:A,complete:function(N,O){if(O==="success"||O==="notmodified"){G.html(K?AM("<div />").append(N.responseText.replace(At,"")).find(K):N.responseText)}L&&G.each(L,[N.responseText,O,N])}});return this},serialize:function(){return AM.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?AM.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||AO.test(this.nodeName)||y.test(this.type))}).map(function(F,A){F=AM(this).val();return F==null?null:AM.isArray(F)?AM.map(F,function(G){return{name:A.name,value:G}}):{name:A.name,value:F}}).get()}});AM.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(F,A){AM.fn[A]=function(G){return this.bind(A,G)}});AM.extend({get:function(F,A,J,G){if(AM.isFunction(A)){G=G||J;J=A;A=null}return AM.ajax({type:"GET",url:F,data:A,success:J,dataType:G})},getScript:function(F,A){return AM.get(F,null,A,"script")},getJSON:function(F,A,G){return AM.get(F,A,G,"json")},post:function(F,A,J,G){if(AM.isFunction(A)){G=G||J;J=A;A={}}return AM.ajax({type:"POST",url:F,data:A,success:J,dataType:G})},ajaxSetup:function(A){AM.extend(AM.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:Au.XMLHttpRequest&&(Au.location.protocol!=="file:"||!Au.ActiveXObject)?function(){return new Au.XMLHttpRequest}:function(){try{return new Au.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(Ab){function Aa(){c.success&&c.success.call(T,O,W,F);c.global&&Z("ajaxSuccess",[F,c])}function w(){c.complete&&c.complete.call(T,F,W);c.global&&Z("ajaxComplete",[F,c]);c.global&&!--AM.active&&AM.event.trigger("ajaxStop")}function Z(BQ,BR){(c.context?AM(c.context):AM.event).trigger(BQ,BR)}var c=AM.extend(true,{},AM.ajaxSettings,Ab),V,W,O,T=Ab&&Ab.context||c,P=c.type.toUpperCase();if(c.data&&c.processData&&typeof c.data!=="string"){c.data=AM.param(c.data,c.traditional)}if(c.dataType==="jsonp"){if(P==="GET"){Ag.test(c.url)||(c.url+=(S.test(c.url)?"&":"?")+(c.jsonp||"callback")+"=?")}else{if(!c.data||!Ag.test(c.data)){c.data=(c.data?c.data+"&":"")+(c.jsonp||"callback")+"=?"}}c.dataType="json"}if(c.dataType==="json"&&(c.data&&Ag.test(c.data)||Ag.test(c.url))){V=c.jsonpCallback||"jsonp"+A8++;if(c.data){c.data=(c.data+"").replace(Ag,"="+V+"$1")}c.url=c.url.replace(Ag,"="+V+"$1");c.dataType="script";Au[V]=Au[V]||function(BQ){O=BQ;Aa();w();Au[V]=AD;try{delete Au[V]}catch(BR){}A&&A.removeChild(K)}}if(c.dataType==="script"&&c.cache===null){c.cache=false}if(c.cache===false&&P==="GET"){var L=Al(),G=c.url.replace(h,"$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&&!AM.active++&&AM.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=AE.getElementsByTagName("head")[0]||AE.documentElement,K=AE.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;Aa();w();K.onload=K.onreadystatechange=null;A&&K.parentNode&&A.removeChild(K)}}}A.insertBefore(K,A.firstChild);return AD}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||Ab&&Ab.contentType){F.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){AM.lastModified[c.url]&&F.setRequestHeader("If-Modified-Since",AM.lastModified[c.url]);AM.etag[c.url]&&F.setRequestHeader("If-None-Match",AM.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(BP){}if(c.beforeSend&&c.beforeSend.call(T,F,c)===false){c.global&&!--AM.active&&AM.event.trigger("ajaxStop");F.abort();return false}c.global&&Z("ajaxSend",[F,c]);var Y=F.onreadystatechange=function(BR){if(!F||F.readyState===0||BR==="abort"){J||w();J=true;if(F){F.onreadystatechange=AM.noop}}else{if(!J&&F&&(F.readyState===4||BR==="timeout")){J=true;F.onreadystatechange=AM.noop;W=BR==="timeout"?"timeout":!AM.httpSuccess(F)?"error":c.ifModified&&AM.httpNotModified(F,c.url)?"notmodified":"success";var BS;if(W==="success"){try{O=AM.httpData(F,c.dataType,c)}catch(BQ){W="parsererror";BS=BQ}}if(W==="success"||W==="notmodified"){V||Aa()}else{AM.handleError(c,F,W,BS)}w();BR==="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){AM.handleError(c,F,null,Q);w()}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?AM(F.context):AM.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){AM.lastModified[A]=J}if(G){AM.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"&&AM.error("parsererror");if(K&&K.dataFilter){F=K.dataFilter(F,A)}if(typeof F==="string"){if(A==="json"||!A&&G.indexOf("json")>=0){F=AM.parseJSON(F)}else{if(A==="script"||!A&&G.indexOf("javascript")>=0){AM.globalEval(F)}}}return F},param:function(F,A){function L(N,O){if(AM.isArray(O)){AM.each(O,function(P,Q){A||/\[\]$/.test(N)?J(N,Q):L(N+"["+(typeof Q==="object"||AM.isArray(Q)?P:"")+"]",Q)})}else{!A&&O!=null&&typeof O==="object"?AM.each(O,function(P,Q){L(N+"["+P+"]",Q)}):J(N,O)}}function J(N,O){O=AM.isFunction(O)?O():O;K[K.length]=encodeURIComponent(N)+"="+encodeURIComponent(O)}var K=[];if(A===AD){A=AM.ajaxSettings.traditional}if(AM.isArray(F)||F.jquery){AM.each(F,function(){J(this.name,this.value)})}else{for(var G in F){L(G,F[G])}}return K.join("&").replace(BB,"+")}});var BK={},BG=/toggle|show|hide/,A3=/^([+-]=)?([\d+-.]+)(.*)$/,AV,AA=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];AM.fn.extend({show:function(F,A){if(F||F===0){return this.animate(Ai("show",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var K=AM.data(this[F],"olddisplay");this[F].style.display=K||"";if(AM.css(this[F],"display")==="none"){K=this[F].nodeName;var G;if(BK[K]){G=BK[K]}else{var J=AM("<"+K+" />").appendTo("body");G=J.css("display");if(G==="none"){G="block"}J.remove();BK[K]=G}AM.data(this[F],"olddisplay",G)}}F=0;for(A=this.length;F<A;F++){this[F].style.display=AM.data(this[F],"olddisplay")||""}return this}},hide:function(F,A){if(F||F===0){return this.animate(Ai("hide",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var G=AM.data(this[F],"olddisplay");!G&&G!=="none"&&AM.data(this[F],"olddisplay",AM.css(this[F],"display"))}F=0;for(A=this.length;F<A;F++){this[F].style.display="none"}return this}},_toggle:AM.fn.toggle,toggle:function(F,A){var G=typeof F==="boolean";if(AM.isFunction(F)&&AM.isFunction(A)){this._toggle.apply(this,arguments)}else{F==null||G?this.each(function(){var J=G?F:AM(this).is(":hidden");AM(this)[J?"show":"hide"]()}):this.animate(Ai("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=AM.speed(A,K,G);if(AM.isEmptyObject(F)){return this.each(J.complete)}return this[J.queue===false?"each":"queue"](function(){var N=AM.extend({},J),O,P=this.nodeType===1&&AM(this).is(":hidden"),L=this;for(O in F){var Q=O.replace(AI,q);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=AM.css(this,"display");N.overflow=this.style.overflow}if(AM.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=AM.extend({},F);AM.each(F,function(T,R){var X=new AM.fx(L,N,T);if(BG.test(R)){X[R==="toggle"?P?"show":"hide":R](F)}else{var W=A3.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=AM.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}});AM.each({slideDown:Ai("show",1),slideUp:Ai("hide",1),slideToggle:Ai("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,A){AM.fn[F]=function(J,G){return this.animate(A,J,G)}});AM.extend({speed:function(F,A,J){var G=F&&typeof F==="object"?F:{complete:J||!J&&A||AM.isFunction(F)&&F,duration:F,easing:J&&A||A&&!AM.isFunction(A)&&A};G.duration=AM.fx.off?0:typeof G.duration==="number"?G.duration:AM.fx.speeds[G.duration]||AM.fx.speeds._default;G.old=G.complete;G.complete=function(){G.queue!==false&&AM(this).dequeue();AM.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={}}}});AM.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(AM.fx.step[this.prop]||AM.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(AM.css(this.elem,this.prop,A)))&&A>-10000?A:parseFloat(AM.curCSS(this.elem,this.prop))||0},custom:function(F,A,K){function G(L){return J.step(L)}this.startTime=Al();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()&&AM.timers.push(G)&&!AV){AV=setInterval(AM.fx.tick,13)}},show:function(){this.options.orig[this.prop]=AM.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());AM(this.elem).show()},hide:function(){this.options.orig[this.prop]=AM.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(F){var A=Al(),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=AM.data(this.elem,"olddisplay");this.elem.style.display=F?F:this.options.display;if(AM.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&AM(this.elem).hide();if(this.options.hide||this.options.show){for(var J in this.options.curAnim){AM.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||(AM.easing.swing?"swing":"linear");this.pos=AM.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}};AM.extend(AM.fx,{tick:function(){for(var F=AM.timers,A=0;A<F.length;A++){F[A]()||F.splice(A--,1)}F.length||AM.fx.stop()},stop:function(){clearInterval(AV);AV=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){AM.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(AM.expr&&AM.expr.filters){AM.expr.filters.animated=function(A){return AM.grep(AM.timers,function(F){return A===F.elem}).length}}AM.fn.offset="getBoundingClientRect" in AE.documentElement?function(F){var A=this[0];if(F){return this.each(function(K){AM.offset.setOffset(this,F,K)})}if(!A||!A.ownerDocument){return null}if(A===A.ownerDocument.body){return AM.offset.bodyOffset(A)}var J=A.getBoundingClientRect(),G=A.ownerDocument;A=G.body;G=G.documentElement;return{top:J.top+(self.pageYOffset||AM.support.boxModel&&G.scrollTop||A.scrollTop)-(G.clientTop||A.clientTop||0),left:J.left+(self.pageXOffset||AM.support.boxModel&&G.scrollLeft||A.scrollLeft)-(G.clientLeft||A.clientLeft||0)}}:function(Q){var P=this[0];if(Q){return this.each(function(R){AM.offset.setOffset(this,Q,R)})}if(!P||!P.ownerDocument){return null}if(P===P.ownerDocument.body){return AM.offset.bodyOffset(P)}AM.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(AM.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(AM.offset.doesNotAddBorder&&!(AM.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(AM.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(AM.offset.supportsFixedPosition&&L.position==="fixed"){G+=Math.max(K.scrollTop,A.scrollTop);F+=Math.max(K.scrollLeft,A.scrollLeft)}return{top:G,left:F}};AM.offset={initialize:function(){var F=AE.body,A=AE.createElement("div"),L,J,K,G=parseFloat(AM.curCSS(F,"marginTop",true))||0;AM.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);AM.offset.initialize=AM.noop},bodyOffset:function(F){var A=F.offsetTop,G=F.offsetLeft;AM.offset.initialize();if(AM.offset.doesNotIncludeMarginInBodyOffset){A+=parseFloat(AM.curCSS(F,"marginTop",true))||0;G+=parseFloat(AM.curCSS(F,"marginLeft",true))||0}return{top:A,left:G}},setOffset:function(F,A,N){if(/static/.test(AM.curCSS(F,"position"))){F.style.position="relative"}var K=AM(F),L=K.offset(),G=parseInt(AM.curCSS(F,"top",true),10)||0,J=parseInt(AM.curCSS(F,"left",true),10)||0;if(AM.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)}};AM.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(AM.curCSS(F,"marginTop",true))||0;J.left-=parseFloat(AM.curCSS(F,"marginLeft",true))||0;G.top+=parseFloat(AM.curCSS(A[0],"borderTopWidth",true))||0;G.left+=parseFloat(AM.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||AE.body;A&&!/^body|html$/i.test(A.nodeName)&&AM.css(A,"position")==="static";){A=A.offsetParent}return A})}});AM.each(["Left","Top"],function(F,A){var G="scroll"+A;AM.fn[G]=function(K){var L=this[0],J;if(!L){return null}if(K!==AD){return this.each(function(){if(J=k(this)){J.scrollTo(!F?K:AM(J).scrollLeft(),F?K:AM(J).scrollTop())}else{this[G]=K}})}else{return(J=k(L))?"pageXOffset" in J?J[F?"pageYOffset":"pageXOffset"]:AM.support.boxModel&&J.document.documentElement[G]||J.document.body[G]:L[G]}}});AM.each(["Height","Width"],function(F,A){var G=A.toLowerCase();AM.fn["inner"+A]=function(){return this[0]?AM.css(this[0],G,false,"padding"):null};AM.fn["outer"+A]=function(J){return this[0]?AM.css(this[0],G,false,J?"margin":"border"):null};AM.fn[G]=function(J){var K=this[0];if(!K){return J==null?null:this}if(AM.isFunction(J)){return this.each(function(L){var N=AM(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===AD?AM.css(K,G):this.css(G,typeof J==="string"?J:J+"px")}});Au.jQuery=Au.$=AM})(window);

if(typeof (cdc)=="undefined"){cdc={}}if(typeof cdc.debug=="undefined"){cdc.debug={}}cdc.debug.log=function(){};cdc.debug.dump=function(){};cdc.debug.alert=function(){};cdc.cookie={setCookie:function(C){if(!C.cookieName){C={cookieName:C,cookieValue:arguments[1]};if(arguments.length>2){C.days=arguments[2]}}var B="";var E="";var A="";var G=parseInt(C.msecs);if(isNaN(G)&&C.days){G=C.days*24*60*60*1000}if(!isNaN(G)){var D=new Date();D.setTime(D.getTime()+G);B="; expires="+D.toUTCString()}if(C.path){E="; path="+C.path+";"}else{E="; path=/;"}if(C.domain){A="; domain="+C.domain}try{document.cookie=C.cookieName+"="+escape(C.cookieValue)+B+E+A}catch(F){return false}return true},getCookie:function(A){if(!A.cookieName){A={cookieName:A}}var B=cdc.cookie.unpackParamString(document.cookie,/\s*;\s*/);return B[A.cookieName]||""},deleteCookie:function(B){var C={};for(var A in B){if(B.hasOwnProperty(A)){C[A]=B[A]}}C.msecs=C.days=-1;C.cookieValue="";return cdc.cookie.setCookie(C)},daysFutureToTimeMS:function(C){if(isNaN(parseInt(C))){return 0}var B=new Date();B.setTime(B.getTime()+((C)*24*60*60*1000));var A=Date.parse(B);return A},addCookieChip:function(A){if(!A.cookieName){A={cookieName:A,chipName:arguments[1],chipValue:arguments[2]}}var B=cdc.cookie.getCookie(A),C=cdc.cookie.unpackParamString(B);C[A.chipName]=A.chipValue;cdc.cookie.setCookie({cookieName:A.cookieName,cookieValue:cdc.cookie.packParamString(C),days:366})},extractCookieChip:function(A){if(!A.cookieName){A={cookieName:A,chipName:arguments[1]}}var B=cdc.cookie.getCookie(A),C=cdc.cookie.unpackParamString(B);return C[A.chipName]||""},crumbleCookieChip:function(A){if(!A.cookieName){A={cookieName:A,chipName:arguments[1]}}var C=cdc.cookie.getCookie(A),E=cdc.cookie.unpackParamString(C),B=E.hasOwnProperty(A.chipName),D;delete E[A.chipName];D=cdc.cookie.packParamString(E);if(!D){cdc.cookie.deleteCookie(A)}else{cdc.cookie.setCookie({cookieName:A.cookieName,cookieValue:D,days:366})}return B},packParamString:function(D,B){B=B||"&";var C=[];for(var A in D){if(!D.hasOwnProperty(A)){continue}C.push(escape(A)+"="+escape(D[A]))}return C.join(B)},unpackParamString:function(F,I){I=I||"&";var E=F.split(I),C={},H,G,A,B,D;for(D=0;D<E.length&&(H=E[D]);D++){G=H.indexOf("=");if(G<0){continue}A=unescape(H.substring(0,G));B=unescape(H.substring(G+1));C[A]=B}return C}};cdc.cookie.newUser={newUserEndTime:168,cookieName:"cdc.cookie.newUser",updateUserVal:function(){var D;var A=cdc.cookie.getCookie({cookieName:this.cookieName});if(!A){D=this.setValidCookie()}else{var B=new Date();var C=B.getTime();if(A==0){D=0}else{if(A<C){D=this.endNewUser()}else{D=A}}}return D},setValidCookie:function(){var C=new Date();var D=C.getTime();var B=D+(1000*60*60*this.newUserEndTime);var A=1000*60*60*24*365*25;cdc.cookie.setCookie({cookieName:this.cookieName,cookieValue:B,msecs:A});return B},endNewUser:function(){var B=0;var A=1000*60*60*24*365*25;cdc.cookie.setCookie({cookieName:this.cookieName,cookieValue:B,msecs:A});return B}};jQuery(document).ready(function(){cdc.cookie.newUser.updateUserVal()});

if(typeof (cdc)=="undefined"){cdc={}}if(typeof (cdc.util)=="undefined"){cdc.util={}}cdc.util.ensureNamespace=function(B){if(!B){return }var C=B.split(".");var D=window;for(var A=0;A<C.length;A++){var E=C[A];if(typeof (D[E])!="object"){D[E]={}}D=D[E]}};if(typeof cdc.debug=="undefined"){cdc.debug={}}cdc.debug.log=function(){};cdc.debug.dump=function(){};cdc.debug.alert=function(){};cdc.util.openCdcPopup=function(D,E,A){if(!D){return true}var F="";var G="";var C="globalCDCpopup";if(typeof (D)=="object"){E=D.width;A=D.height;xtop=typeof (D.top)!="undefined"?D.top:"";left=typeof (D.left)!="undefined"?D.left:"";G="top="+xtop+",left="+left+",";if(typeof (D.windowName)!="undefined"){C=D.windowName}if(D.controls!=false){if(typeof (D.location)!="undefined"&&D.location=="no"){var F=",toolbar=yes,location=no,menubar=yes"}else{var F=",toolbar=yes,location=yes,menubar=yes"}}D=D.address}E=isNaN(parseInt(E))?550:parseInt(E);A=isNaN(parseInt(A))?550:parseInt(A);if(document.all){E=E+20}G+="width="+E+",height="+A+",status=yes,scrollbars=yes,resizable=yes"+F;var B=window.open(D,C,G);if(B){B.focus()}return false};cdc.util.getParameter=function(D){var C="";var A=window.location.search;var E=A.indexOf(D);if(E!=-1){E+=D.length+1;var B=A.indexOf("&",E);if(B==-1){B=A.length}C=A.substring(E,B)}return C};function timedPop(C,G,B,E,A,D){myDomain=window.location.host;if((myDomain=="cisco.com"||myDomain=="www.cisco.com"||myDomain=="elovejoy-lnx"||myDomain=="maunaloa"||myDomain=="maunaloa.cisco.com"||myDomain=="newsroom.cisco.com")&&window.location.pathname.match("/en/US/")){timeCookie="CDCsitetimer";now=new Date();nowMinutes=now.getTime()/60000;var F=cdc.cookie.daysFutureToTimeMS(0);if(cookietime=cdc.cookie.getCookie({cookieName:timeCookie})){if(cookietime!="Done"&&(nowMinutes-cookietime)>=C){randomPop(G,B,E,A,D);cdc.cookie.setCookie({cookieName:"timeCookie",cookieValue:"Done",msecs:F})}}else{cdc.cookie.setCookie({cookieName:"timeCookie",cookieValue:nowMinutes,msecs:F})}}}function randomPop(H,D,G,A,F){var B="IntSurP";var C;var E;H<=1?E=1:E=Math.ceil(H*Math.random());if((E==1)){C=cdc.cookie.extractCookieChip(B,G);if(C&&C<Date.parse(Date())){cdc.cookie.crumbleCookieChip(B,G);C=""}if(!C){A=cdc.cookie.daysFutureToTimeMS(A);cdc.cookie.addCookieChip(B,G,A);if(F=="medium"){openMediumPopup(D,"popWin")}else{if(F=="small"){openSmallPopup(D,"popWin")}else{openLargePopup(D,"popWin")}}}}}cdc.util.checkClear=function(A,B){if(A.value==B){A.value=""}if(A.id=="searchPhrase"){if(!document.getElementById("search-drop-down")){setupSearch()}if(document.getElementById("search-drop-down")){showSuggestionsContainer()}}};cdc.util.displayImageWhenLoaded=function(A,B){A.tempImg=new Image();A.tempImg.onload=function(){A.onload=null;A.src=A.tempImg.src;A.tempImg.onload=null;if(A.id=="bam_img"){A.parentNode.href=A.src.replace("image.ng","click.ng")}};A.tempImg.src=B};cdc.util.cacheBust=function(B,D){if(!D){D="cacheReset"}var C="?";if(B.match(/(ng-prod1|\?)/)){C="&"}var A=C+D+"=";return B+A+cdc.util.randomNumber()};cdc.util.randomNumber=function(A){if(!A){A=1000}var C=Math.floor(Math.random()*A)+1;var B=(new Date).getTime();var D=B+"-"+C;return D};cdc.util.getSiteArea=function(){var C="";var D="";var I=[["/web/about/","About Cisco"],["/web/learning/","Learning and Events"],["/web/ordering/","Ordering"],["/web/partners/","Partners and Resellers"],["/web/strategy/","Industry Solutions"]];for(z=0;z<I.length;z++){if(location.href.search(I[z][0])!=-1){C=I[z][1];D="url"}}try{C=document.getElementById("framework-column-left").getElementsByTagName("li")[1].getElementsByTagName("a")[0].innerHTML;D="hinav"}catch(F){}var B=document.getElementsByTagName("meta");for(var A=0;A<B.length;A++){var E=B[A].getAttribute("name");var G=B[A].getAttribute("content");if(E=="iaPath"){var H=G.split("#");C=H[1]?H[1]:C;D="meta"}}for(A=0;A<B.length;A++){var E=B[A].getAttribute("name");var G=B[A].getAttribute("content");if(E=="contentType"){if(G.indexOf("postSales")>0){C="Support";D="meta(support)"}}}C=C.toLowerCase();var J=C.split(" ");C="";for(var A=0;A<J.length;A++){if(J[A]=="and"){C+=J[A]+" "}else{C+=J[A].substring(0,1).toUpperCase()+J[A].substring(1)+" "}}C=C.replace(/ $/,"");C=C.replace(/ &amp; /,"_and_");C=C.replace(/ /g,"_");C=C.replace(/Partner_Central/,"Partners_and_Resellers");C=C.replace(/Support/,"Tech_Support");return C};cdc.util.setToHash=function(B,D){var C=cdc.util.getFromHash();var A="";if(B&&D){C[B]=D}for(B in C){A+=B+"~"+C[B]+","}A=A.substr(0,A.length-1);A="#~"+A;window.location.hash=A};cdc.util.getFromHash=function(){var A={};var B=window.location.hash;if(B.indexOf("#~")<0){return A}B=B.substr(2);currHashArr=B.split(",");for(B=0;B<currHashArr.length;B++){var C=new Array();C=currHashArr[B].split("~");if(!(C[1])){A.tab=C[0]}else{A[C[0]]=C[1]}}return A};cdc.util.isAuthenticated=function(){var A=cdc.cookie.getCookie("SMSESSION");var B=null;if(A&&A!=""&&A!="LOGGEDOFF"){B=true}else{B=false}return B};cdc.util.htmlEscape=function(A,B){if(!A||typeof (A)!="string"){return A}if(typeof (B)=="undefined"){B="<>'"}var C=new RegExp("(["+B+"])","g");return A.replace(C,function(D){return"&#"+D.charCodeAt(0)+";"})};cdc.util.addCorners=function(A,B){if(B){jQuery(A).append('<div class="ctl"></div><div class="ctr"></div><div class="cbl"></div><div class="cbr"></div>')}else{jQuery(A).prepend('<span class="cl-top-corners"><span></span></span>').append('<span class="cl-bottom-corners"><span></span></span>')}};cdc.util.formatString=function(A){var B=arguments.length>1?Array.prototype.slice.call(arguments,1):[];var C=A.replace(/\{\d+\}/g,function(E){var D=parseInt(E.substring(1,E.length-1));return B.length>D?B[D]:E});return C};cdc.bam={};cdc.bam.mediaCallback=function(A){jQuery(A.domId).show();jQuery(A.domId).html(A.blob);A.readyCallback()};cdc.util.ensureNamespace("cdc.newsfeed");cdc.newsfeed.renderNews=function(A){alert("cdc.newsfeed.renderNews() has not been defined by a consumer! Specify for your own component incoming json: "+A)};cdc.util.ensureNamespace("cdc.homepage.newsfeed");cdc.homepage.newsfeed.renderNews=function(A){cdc.newsfeed.renderNews(A)};cdc.mru={serviceHost:"",serviceUrl:"/cisco/web/cdc/psa/mru?command=update&callbackFunctionName=somevalue",timeOutMsecs:250,makeMruRequest:function(B,A){var E=cdc.mru.serviceHost+cdc.mru.serviceUrl;if(A){E+=A}else{if(B.mruExpando){E+=B.mruExpando}else{if(B.rel){E+=B.rel}}}var D=B.href;var C=B.href;if(cdc.debug.on){C+="?timeout";D+="?serviceReturn"}var F=function(){window.location.href=D};cdc.mru.tempDoc=document.createElement("iframe");document.getElementById("framework-footer").appendChild(cdc.mru.tempDoc);if(cdc.mru.tempDoc.attachEvent){cdc.mru.tempDoc.attachEvent("onload",F)}else{cdc.mru.tempDoc.onload=F}cdc.mru.tempDoc.src=E;jQuery(cdc.mru.tempDoc).hide();setTimeout("window.location.href='"+C+"'",cdc.mru.timeOutMsecs);return false}};cdc.mru.timeOutMsecs=50000;cdc.util.is1x=(window.location.href.indexOf("/en/US/")>1);cdc.util.campPlatforms=new Array("tools.cisco.com","tools-dev.cisco.com","tools-stage.cisco.com","apps.cisco.com","apps-dev.cisco.com","apps-stage.cisco.com","/cgi-bin/","/pcgi-bin/");cdc.util.isCamp=false;for(platform in cdc.util.campPlatforms){if(window.location.href.indexOf(cdc.util.campPlatforms[platform])>1){cdc.util.isCamp=true;break}}cdc.util.ensureNamespace("cdc.util.logoutdialog");cdc.util.logoutdialog.show=function(){cdc.util.ensureNamespace("cdc.local.wpx");if(!jQuery("#logoutmsg").length){cdc.local.wpx=jQuery.extend({LOGOUT_MODAL_TITLE:"Log Out",LOGOUT_MODAL_QUERY:"You are about to log out of Cisco.com.<br />If your task is incomplete, please click Cancel to finish or save.",LOGOUT_YES_BUTTON_TEXT:"Log Out",LOGOUT_NO_BUTTON_TEXT:"Cancel"},cdc.local.wpx);cdc.util.logoutdialog.url=this.href;cdc.util.logoutdialog.html='<div id="logoutmsg"><span id="lm-corner-top"><span></span></span><h4>'+cdc.local.wpx.LOGOUT_MODAL_TITLE+"</h4><div>"+cdc.local.wpx.LOGOUT_MODAL_QUERY+'</div><a class="a00v1" href="'+cdc.util.logoutdialog.url+'">'+cdc.local.wpx.LOGOUT_YES_BUTTON_TEXT+'</a><a id="logoutclose" class="a00v1" href="javascript:return false">'+cdc.local.wpx.LOGOUT_NO_BUTTON_TEXT+'</a><span id="lm-corner-bot"><span></span></span></div>';jQuery(this).append(cdc.util.logoutdialog.html);jQuery("#logoutmsg").jqm({modal:true,toTop:true}).jqmAddClose("#logoutmsg #logoutclose")}jQuery("#logoutmsg").css("left",jQuery("#fw-banner").offset().left+240);jQuery("#logoutmsg").jqmShow();return false};if(!(jQuery.browser.msie&&jQuery.browser.version<"7")){jQuery(".ft-logout a[href]").live("click",cdc.util.logoutdialog.show)}jQuery(document).ready(function(){var A="2010";if(jQuery("#footer-copyright-year").html()<A){jQuery("#footer-copyright-year").html(A)}});document.write("<style>.showForJs{display:block;}.showInlineForJs{display:inline;}.hideForJs{display:none;}</style>");cdc.util.onElementLoadById=(function(){var A=false;jQuery(document).ready(function(){A=true});function B(C){if(A){return true}while(C){if(C.nextSibling){return true}C=C.parentNode}return false}return function(E,D){var C=false;(function(){C=C||document.getElementById(E);if(C&&B(C)){D.call(C)}else{window.setTimeout(arguments.callee,100)}})()}})();

(function(B,D){if(B.cleanData){var C=B.cleanData;B.cleanData=function(E){for(var F=0,G;(G=E[F])!=null;F++){B(G).triggerHandler("remove")}C(E)}}else{var A=B.fn.remove;B.fn.remove=function(E,F){return this.each(function(){if(!F){if(!E||B.filter(E,[this]).length){B("*",this).add([this]).each(function(){B(this).triggerHandler("remove")})}}return A.call(B(this),E,F)})}}B.widget=function(F,H,E){var G=F.split(".")[0],J;F=F.split(".")[1];J=G+"-"+F;if(!E){E=H;H=B.Widget}B.expr[":"][J]=function(K){return !!B.data(K,F)};B[G]=B[G]||{};B[G][F]=function(K,L){if(arguments.length){this._createWidget(K,L)}};var I=new H();I.options=B.extend(true,{},I.options);B[G][F].prototype=B.extend(true,I,{namespace:G,widgetName:F,widgetEventPrefix:B[G][F].prototype.widgetEventPrefix||F,widgetBaseClass:J},E);B.widget.bridge(F,B[G][F])};B.widget.bridge=function(F,E){B.fn[F]=function(I){var G=typeof I==="string",H=Array.prototype.slice.call(arguments,1),J=this;I=!G&&H.length?B.extend.apply(null,[true,I].concat(H)):I;if(G&&I.substring(0,1)==="_"){return J}if(G){this.each(function(){var K=B.data(this,F);if(!K){throw"cannot call methods on "+F+" prior to initialization; attempted to call method '"+I+"'"}if(!B.isFunction(K[I])){throw"no such method '"+I+"' for "+F+" widget instance"}var L=K[I].apply(K,H);if(L!==K&&L!==D){J=L;return false}})}else{this.each(function(){var K=B.data(this,F);if(K){K.option(I||{})._init()}else{B.data(this,F,new E(I,this))}})}return J}};B.Widget=function(E,F){if(arguments.length){this._createWidget(E,F)}};B.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(F,G){B.data(G,this.widgetName,this);this.element=B(G);this.options=B.extend(true,{},this.options,B.metadata&&B.metadata.get(G)[this.widgetName],F);var E=this;this.element.bind("remove."+this.widgetName,function(){E.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(G,H){var F=G,E=this;if(arguments.length===0){return B.extend({},E.options)}if(typeof G==="string"){if(H===D){return this.options[G]}F={};F[G]=H}B.each(F,function(I,J){E._setOption(I,J)});return E},_setOption:function(E,F){this.options[E]=F;if(E==="disabled"){this.widget()[F?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",F)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(F,G,H){var J=this.options[F];G=B.Event(G);G.type=(F===this.widgetEventPrefix?F:this.widgetEventPrefix+F).toLowerCase();H=H||{};if(G.originalEvent){for(var E=B.event.props.length,I;E;){I=B.event.props[--E];G[I]=G.originalEvent[I]}}this.element.trigger(G,H);return !(B.isFunction(J)&&J.call(this.element[0],G,H)===false||G.isDefaultPrevented())}}})(jQuery);
/*

 */
(function(A,B){A.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var C=this;this.element.bind("mousedown."+this.widgetName,function(D){return C._mouseDown(D)}).bind("click."+this.widgetName,function(D){if(C._preventClickEvent){C._preventClickEvent=false;D.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(E){E.originalEvent=E.originalEvent||{};if(E.originalEvent.mouseHandled){return }(this._mouseStarted&&this._mouseUp(E));this._mouseDownEvent=E;var D=this,F=(E.which==1),C=(typeof this.options.cancel=="string"?A(E.target).parents().add(E.target).filter(this.options.cancel).length:false);if(!F||C||!this._mouseCapture(E)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){D.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(E)&&this._mouseDelayMet(E)){this._mouseStarted=(this._mouseStart(E)!==false);if(!this._mouseStarted){E.preventDefault();return true}}this._mouseMoveDelegate=function(G){return D._mouseMove(G)};this._mouseUpDelegate=function(G){return D._mouseUp(G)};A(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(A.browser.safari||E.preventDefault());E.originalEvent.mouseHandled=true;return true},_mouseMove:function(C){if(A.browser.msie&&!C.button){return this._mouseUp(C)}if(this._mouseStarted){this._mouseDrag(C);return C.preventDefault()}if(this._mouseDistanceMet(C)&&this._mouseDelayMet(C)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,C)!==false);(this._mouseStarted?this._mouseDrag(C):this._mouseUp(C))}return !this._mouseStarted},_mouseUp:function(C){A(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(C.target==this._mouseDownEvent.target);this._mouseStop(C)}return false},_mouseDistanceMet:function(C){return(Math.max(Math.abs(this._mouseDownEvent.pageX-C.pageX),Math.abs(this._mouseDownEvent.pageY-C.pageY))>=this.options.distance)},_mouseDelayMet:function(C){return this.mouseDelayMet},_mouseStart:function(C){},_mouseDrag:function(C){},_mouseStop:function(C){},_mouseCapture:function(C){return true}})})(jQuery);
/*
 * BEGIN /web/fw/lib/jquery.ui.sortable.js
 */
(function(A,B){A.widget("ui.sortable",A.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000},_create:function(){var C=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?(/left|right/).test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var C=this.items.length-1;C>=0;C--){this.items[C].item.removeData("sortable-item")}return this},_setOption:function(C,D){if(C==="disabled"){this.options[C]=D;this.widget()[D?"addClass":"removeClass"]("ui-sortable-disabled")}else{A.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(F,G){if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(F);var E=null,D=this,C=A(F.target).parents().each(function(){if(A.data(this,"sortable-item")==D){E=A(this);return false}});if(A.data(F.target,"sortable-item")==D){E=A(F.target)}if(!E){return false}if(this.options.handle&&!G){var H=false;A(this.options.handle,E).find("*").andSelf().each(function(){if(this==F.target){H=true}});if(!H){return false}}this.currentItem=E;this._removeCurrentsFromItems();return true},_mouseStart:function(F,G,C){var H=this.options,D=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(F);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");A.extend(this.offset,{click:{left:F.pageX-this.offset.left,top:F.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(F);this.originalPageX=F.pageX;this.originalPageY=F.pageY;(H.cursorAt&&this._adjustOffsetFromHelper(H.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!=this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(H.containment){this._setContainment()}if(H.cursor){if(A("body").css("cursor")){this._storedCursor=A("body").css("cursor")}A("body").css("cursor",H.cursor)}if(H.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",H.opacity)}if(H.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",H.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",F,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!C){for(var E=this.containers.length-1;E>=0;E--){this.containers[E]._trigger("activate",F,D._uiHash(this))}}if(A.ui.ddmanager){A.ui.ddmanager.current=this}if(A.ui.ddmanager&&!H.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,F)}this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(F);return true},_mouseDrag:function(G){this.position=this._generatePosition(G);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var H=this.options,C=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-G.pageY<H.scrollSensitivity){this.scrollParent[0].scrollTop=C=this.scrollParent[0].scrollTop+H.scrollSpeed}else{if(G.pageY-this.overflowOffset.top<H.scrollSensitivity){this.scrollParent[0].scrollTop=C=this.scrollParent[0].scrollTop-H.scrollSpeed}}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-G.pageX<H.scrollSensitivity){this.scrollParent[0].scrollLeft=C=this.scrollParent[0].scrollLeft+H.scrollSpeed}else{if(G.pageX-this.overflowOffset.left<H.scrollSensitivity){this.scrollParent[0].scrollLeft=C=this.scrollParent[0].scrollLeft-H.scrollSpeed}}}else{if(G.pageY-A(document).scrollTop()<H.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()-H.scrollSpeed)}else{if(A(window).height()-(G.pageY-A(document).scrollTop())<H.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()+H.scrollSpeed)}}if(G.pageX-A(document).scrollLeft()<H.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()-H.scrollSpeed)}else{if(A(window).width()-(G.pageX-A(document).scrollLeft())<H.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()+H.scrollSpeed)}}}if(C!==false&&A.ui.ddmanager&&!H.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,G)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}for(var E=this.items.length-1;E>=0;E--){var F=this.items[E],D=F.item[0],I=this._intersectsWithPointer(F);if(!I){continue}if(D!=this.currentItem[0]&&this.placeholder[I==1?"next":"prev"]()[0]!=D&&!A.ui.contains(this.placeholder[0],D)&&(this.options.type=="semi-dynamic"?!A.ui.contains(this.element[0],D):true)){this.direction=I==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(F)){this._rearrange(G,F)}else{break}this._trigger("change",G,this._uiHash());break}}this._contactContainers(G);if(A.ui.ddmanager){A.ui.ddmanager.drag(this,G)}this._trigger("sort",G,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(D,E){if(!D){return }if(A.ui.ddmanager&&!this.options.dropBehaviour){A.ui.ddmanager.drop(this,D)}if(this.options.revert){var C=this;var F=C.placeholder.offset();C.reverting=true;A(this.helper).animate({left:F.left-this.offset.parent.left-C.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:F.top-this.offset.parent.top-C.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){C._clear(D)})}else{this._clear(D,E)}return false},cancel:function(){var C=this;if(this.dragging){this._mouseUp();if(this.options.helper=="original"){this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}for(var D=this.containers.length-1;D>=0;D--){this.containers[D]._trigger("deactivate",null,C._uiHash(this));if(this.containers[D].containerCache.over){this.containers[D]._trigger("out",null,C._uiHash(this));this.containers[D].containerCache.over=0}}}if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}A.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){A(this.domPosition.prev).after(this.currentItem)}else{A(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(E){var C=this._getItemsAsjQuery(E&&E.connected);var D=[];E=E||{};A(C).each(function(){var F=(A(E.item||this).attr(E.attribute||"id")||"").match(E.expression||(/(.+)[-=_](.+)/));if(F){D.push((E.key||F[1]+"[]")+"="+(E.key&&E.expression?F[1]:F[2]))}});if(!D.length&&E.key){D.push(E.key+"=")}return D.join("&")},toArray:function(E){var C=this._getItemsAsjQuery(E&&E.connected);var D=[];E=E||{};C.each(function(){D.push(A(E.item||this).attr(E.attribute||"id")||"")});return D},_intersectsWith:function(L){var E=this.positionAbs.left,D=E+this.helperProportions.width,K=this.positionAbs.top,J=K+this.helperProportions.height;var F=L.left,C=F+L.width,M=L.top,I=M+L.height;var N=this.offset.click.top,H=this.offset.click.left;var G=(K+N)>M&&(K+N)<I&&(E+H)>F&&(E+H)<C;if(this.options.tolerance=="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>L[this.floating?"width":"height"])){return G}else{return(F<E+(this.helperProportions.width/2)&&D-(this.helperProportions.width/2)<C&&M<K+(this.helperProportions.height/2)&&J-(this.helperProportions.height/2)<I)}},_intersectsWithPointer:function(E){var F=A.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,E.top,E.height),D=A.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,E.left,E.width),H=F&&D,C=this._getDragVerticalDirection(),G=this._getDragHorizontalDirection();if(!H){return false}return this.floating?(((G&&G=="right")||C=="down")?2:1):(C&&(C=="down"?2:1))},_intersectsWithSides:function(F){var D=A.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,F.top+(F.height/2),F.height),E=A.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,F.left+(F.width/2),F.width),C=this._getDragVerticalDirection(),G=this._getDragHorizontalDirection();if(this.floating&&G){return((G=="right"&&E)||(G=="left"&&!E))}else{return C&&((C=="down"&&D)||(C=="up"&&!D))}},_getDragVerticalDirection:function(){var C=this.positionAbs.top-this.lastPositionAbs.top;return C!=0&&(C>0?"down":"up")},_getDragHorizontalDirection:function(){var C=this.positionAbs.left-this.lastPositionAbs.left;return C!=0&&(C>0?"right":"left")},refresh:function(C){this._refreshItems(C);this.refreshPositions();return this},_connectWith:function(){var C=this.options;return C.connectWith.constructor==String?[C.connectWith]:C.connectWith},_getItemsAsjQuery:function(C){var K=this;var H=[];var F=[];var I=this._connectWith();if(I&&C){for(var E=I.length-1;E>=0;E--){var J=A(I[E]);for(var D=J.length-1;D>=0;D--){var G=A.data(J[D],"sortable");if(G&&G!=this&&!G.options.disabled){F.push([A.isFunction(G.options.items)?G.options.items.call(G.element):A(G.options.items,G.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),G])}}}}F.push([A.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):A(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var E=F.length-1;E>=0;E--){F[E][0].each(function(){H.push(this)})}return A(H)},_removeCurrentsFromItems:function(){var E=this.currentItem.find(":data(sortable-item)");for(var D=0;D<this.items.length;D++){for(var C=0;C<E.length;C++){if(E[C]==this.items[D].item[0]){this.items.splice(D,1)}}}},_refreshItems:function(C){this.items=[];this.containers=[this];var I=this.items;var O=this;var G=[[A.isFunction(this.options.items)?this.options.items.call(this.element[0],C,{item:this.currentItem}):A(this.options.items,this.element),this]];var K=this._connectWith();if(K){for(var F=K.length-1;F>=0;F--){var L=A(K[F]);for(var E=L.length-1;E>=0;E--){var H=A.data(L[E],"sortable");if(H&&H!=this&&!H.options.disabled){G.push([A.isFunction(H.options.items)?H.options.items.call(H.element[0],C,{item:this.currentItem}):A(H.options.items,H.element),H]);this.containers.push(H)}}}}for(var F=G.length-1;F>=0;F--){var J=G[F][1];var D=G[F][0];for(var E=0,M=D.length;E<M;E++){var N=A(D[E]);N.data("sortable-item",J);I.push({item:N,instance:J,width:0,height:0,left:0,top:0})}}},refreshPositions:function(C){if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}for(var E=this.items.length-1;E>=0;E--){var F=this.items[E];var D=this.options.toleranceElement?A(this.options.toleranceElement,F.item):F.item;if(!C){F.width=D.outerWidth();F.height=D.outerHeight()}var G=D.offset();F.left=G.left;F.top=G.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(var E=this.containers.length-1;E>=0;E--){var G=this.containers[E].element.offset();this.containers[E].containerCache.left=G.left;this.containers[E].containerCache.top=G.top;this.containers[E].containerCache.width=this.containers[E].element.outerWidth();this.containers[E].containerCache.height=this.containers[E].element.outerHeight()}}return this},_createPlaceholder:function(E){var C=E||this,F=C.options;if(!F.placeholder||F.placeholder.constructor==String){var D=F.placeholder;F.placeholder={element:function(){var G=A(document.createElement(C.currentItem[0].nodeName)).addClass(D||C.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!D){G.style.visibility="hidden"}return G},update:function(G,H){if(D&&!F.forcePlaceholderSize){return }if(!H.height()||H.css("height")=="auto"){H.height(C.currentItem.height())}if(!H.width()){H.width(C.currentItem.width())}}}}C.placeholder=A(F.placeholder.element.call(C.element,C.currentItem));C.currentItem.after(C.placeholder);F.placeholder.update(C,C.placeholder)},_contactContainers:function(C){var E=null,J=null;for(var G=this.containers.length-1;G>=0;G--){if(A.ui.contains(this.currentItem[0],this.containers[G].element[0])){continue}if(this._intersectsWith(this.containers[G].containerCache)){if(E&&A.ui.contains(this.containers[G].element[0],E.element[0])){continue}E=this.containers[G];J=G}else{if(this.containers[G].containerCache.over){this.containers[G]._trigger("out",C,this._uiHash(this));this.containers[G].containerCache.over=0}}}if(!E){return }if(this.containers.length===1){this.containers[J]._trigger("over",C,this._uiHash(this));this.containers[J].containerCache.over=1}else{if(this.currentContainer!=this.containers[J]){var I=10000;var H=null;var D=this.positionAbs[this.containers[J].floating?"left":"top"];for(var F=this.items.length-1;F>=0;F--){if(!A.ui.contains(this.containers[J].element[0],this.items[F].item[0])){continue}var K=this.items[F][this.containers[J].floating?"left":"top"];if(Math.abs(K-D)<I){I=Math.abs(K-D);H=this.items[F]}}if(!H&&!this.options.dropOnEmpty){return }this.currentContainer=this.containers[J];H?this._rearrange(C,H,null,true):this._rearrange(C,null,this.containers[J].element,true);this._trigger("change",C,this._uiHash());this.containers[J]._trigger("change",C,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[J]._trigger("over",C,this._uiHash(this));this.containers[J].containerCache.over=1}}},_createHelper:function(D){var E=this.options;var C=A.isFunction(E.helper)?A(E.helper.apply(this.element[0],[D,this.currentItem])):(E.helper=="clone"?this.currentItem.clone():this.currentItem);if(!C.parents("body").length){A(E.appendTo!="parent"?E.appendTo:this.currentItem[0].parentNode)[0].appendChild(C[0])}if(C[0]==this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(C[0].style.width==""||E.forceHelperSize){C.width(this.currentItem.width())}if(C[0].style.height==""||E.forceHelperSize){C.height(this.currentItem.height())}return C},_adjustOffsetFromHelper:function(C){if(typeof C=="string"){C=C.split(" ")}if(A.isArray(C)){C={left:+C[0],top:+C[1]||0}}if("left" in C){this.offset.click.left=C.left+this.margins.left}if("right" in C){this.offset.click.left=this.helperProportions.width-C.right+this.margins.left}if("top" in C){this.offset.click.top=C.top+this.margins.top}if("bottom" in C){this.offset.click.top=this.helperProportions.height-C.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var C=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0])){C.left+=this.scrollParent.scrollLeft();C.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&A.browser.msie)){C={top:0,left:0}}return{top:C.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:C.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var C=this.currentItem.position();return{top:C.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:C.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var F=this.options;if(F.containment=="parent"){F.containment=this.helper[0].parentNode}if(F.containment=="document"||F.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,A(F.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(A(F.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(F.containment)){var D=A(F.containment)[0];var E=A(F.containment).offset();var C=(A(D).css("overflow")!="hidden");this.containment=[E.left+(parseInt(A(D).css("borderLeftWidth"),10)||0)+(parseInt(A(D).css("paddingLeft"),10)||0)-this.margins.left,E.top+(parseInt(A(D).css("borderTopWidth"),10)||0)+(parseInt(A(D).css("paddingTop"),10)||0)-this.margins.top,E.left+(C?Math.max(D.scrollWidth,D.offsetWidth):D.offsetWidth)-(parseInt(A(D).css("borderLeftWidth"),10)||0)-(parseInt(A(D).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,E.top+(C?Math.max(D.scrollHeight,D.offsetHeight):D.offsetHeight)-(parseInt(A(D).css("borderTopWidth"),10)||0)-(parseInt(A(D).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(F,H){if(!H){H=this.position}var D=F=="absolute"?1:-1;var E=this.options,C=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,G=(/(html|body)/i).test(C[0].tagName);return{top:(H.top+this.offset.relative.top*D+this.offset.parent.top*D-(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(G?0:C.scrollTop()))*D)),left:(H.left+this.offset.relative.left*D+this.offset.parent.left*D-(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():G?0:C.scrollLeft())*D))}},_generatePosition:function(F){var I=this.options,C=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,J=(/(html|body)/i).test(C[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var E=F.pageX;var D=F.pageY;if(this.originalPosition){if(this.containment){if(F.pageX-this.offset.click.left<this.containment[0]){E=this.containment[0]+this.offset.click.left}if(F.pageY-this.offset.click.top<this.containment[1]){D=this.containment[1]+this.offset.click.top}if(F.pageX-this.offset.click.left>this.containment[2]){E=this.containment[2]+this.offset.click.left}if(F.pageY-this.offset.click.top>this.containment[3]){D=this.containment[3]+this.offset.click.top}}if(I.grid){var H=this.originalPageY+Math.round((D-this.originalPageY)/I.grid[1])*I.grid[1];D=this.containment?(!(H-this.offset.click.top<this.containment[1]||H-this.offset.click.top>this.containment[3])?H:(!(H-this.offset.click.top<this.containment[1])?H-I.grid[1]:H+I.grid[1])):H;var G=this.originalPageX+Math.round((E-this.originalPageX)/I.grid[0])*I.grid[0];E=this.containment?(!(G-this.offset.click.left<this.containment[0]||G-this.offset.click.left>this.containment[2])?G:(!(G-this.offset.click.left<this.containment[0])?G-I.grid[0]:G+I.grid[0])):G}}return{top:(D-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(J?0:C.scrollTop())))),left:(E-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():J?0:C.scrollLeft())))}},_rearrange:function(H,G,D,F){D?D[0].appendChild(this.placeholder[0]):G.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction=="down"?G.item[0]:G.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var E=this,C=this.counter;window.setTimeout(function(){if(C==E.counter){E.refreshPositions(!F)}},0)},_clear:function(E,F){this.reverting=false;var G=[],C=this;if(!this._noFinalSort&&this.currentItem[0].parentNode){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var D in this._storedCSS){if(this._storedCSS[D]=="auto"||this._storedCSS[D]=="static"){this._storedCSS[D]=""}}this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!F){G.push(function(H){this._trigger("receive",H,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!F){G.push(function(H){this._trigger("update",H,this._uiHash())})}if(!A.ui.contains(this.element[0],this.currentItem[0])){if(!F){G.push(function(H){this._trigger("remove",H,this._uiHash())})}for(var D=this.containers.length-1;D>=0;D--){if(A.ui.contains(this.containers[D].element[0],this.currentItem[0])&&!F){G.push((function(H){return function(I){H._trigger("receive",I,this._uiHash(this))}}).call(this,this.containers[D]));G.push((function(H){return function(I){H._trigger("update",I,this._uiHash(this))}}).call(this,this.containers[D]))}}}for(var D=this.containers.length-1;D>=0;D--){if(!F){G.push((function(H){return function(I){H._trigger("deactivate",I,this._uiHash(this))}}).call(this,this.containers[D]))}if(this.containers[D].containerCache.over){G.push((function(H){return function(I){H._trigger("out",I,this._uiHash(this))}}).call(this,this.containers[D]));this.containers[D].containerCache.over=0}}if(this._storedCursor){A("body").css("cursor",this._storedCursor)}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!F){this._trigger("beforeStop",E,this._uiHash());for(var D=0;D<G.length;D++){G[D].call(this,E)}this._trigger("stop",E,this._uiHash())}return false}if(!F){this._trigger("beforeStop",E,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(this.helper[0]!=this.currentItem[0]){this.helper.remove()}this.helper=null;if(!F){for(var D=0;D<G.length;D++){G[D].call(this,E)}this._trigger("stop",E,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){if(A.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(D){var C=D||this;return{helper:C.helper,placeholder:C.placeholder||A([]),position:C.position,originalPosition:C.originalPosition,offset:C.positionAbs,item:C.currentItem,sender:D?D.element:null}}});A.extend(A.ui.sortable,{version:"1.8.5"})})(jQuery);

(function(D){var M=function(O){try{return encodeURIComponent(O)}catch(N){return escape(O)}},G=function(O){try{return decodeURIComponent(O)}catch(N){return unescape(O)}};function I(P){if(!P||typeof P!=="object"){return P+""}var N=[];for(var O in P){if(P.hasOwnProperty(O)){N.push(M(O)+"="+M(I(P[O])))}}return N.join(";")}function A(R){var N={};var T=R.split(/\s*;\s*/);if(T.length===1&&T[0].indexOf("=")===-1){return R}for(var P=0;P<T.length;P++){var Q=T[P].indexOf("=");if(Q<0){continue}var S=T[P].substring(0,Q);var O=T[P].substring(Q+1);N[G(S)]=A(G(O))}return N}function C(N){var O=A(document.cookie);if(O.hasOwnProperty("mmst")&&O.mmst.hasOwnProperty(N)){return O.mmst[N].t}return null}function H(P,O,Q){Q=Q||0;var R=A(document.cookie);if(R.hasOwnProperty("mmst")){var U=R.mmst||{};if(U.hasOwnProperty(P)&&parseInt(U[P].p)>Q&&O){return }}else{var U={}}if(O){U[P]={t:O,p:Q}}else{delete U[P]}var T=new Date();T.setTime(T.getTime()+1000*60*60*24*365);var N=I(U);if(N===""){T.setTime(0)}var S=location.hostname.split(".");while(S.length>2){S.shift()}S="."+S.join(".");document.cookie="mmst="+M(N)+"; path=/; domain="+S+"; expires="+T.toUTCString()}function J(N){H(N,null)}var L=/(home\.cisco\.com)|(\/consumer\/)/;var B=/(\/small_business\/)/;var K=G(location.href);if(L.test(K)){H("products-mmt","home-mmt-container",1)}else{if(B.test(K)){H("products-mmt","smb-mmt-container",1)}}D(".mmt-content a[href]").live("click",function(){var O=D(this).parents(".mmt")[0];var N=D(this).parents(".mmt-container")[0];if(O.id=="products-mmt"&&N.id==="enterprise-mmt-container"){J(O.id)}else{H(O.id,N.id,2)}});D(".mmt-container").live("mouseenter focus",function(O){if(D(this).hasClass("mmt-current")){return }var N=D(this).parents(".mmt")[0];D(".mmt-container",N).each(function(){D(this).removeClass("mmt-current")});D(this).addClass("mmt-current")});(function(){var Q=null;D("html").live("focusin click",function(S){var R=S.target;if(Q&&!D.contains(Q,R)){D(Q).removeClass("mm-focused");Q=null}var T=D(R).parents(".mm-item");if(T.length>0){Q=T[0];D(Q).addClass("mm-focused")}});var P=0;function O(S,R){if(R){D(".mm-focused",S.parentNode).filter(function(){return this!==S}).removeClass("mm-focused");D(S).addClass("mm-hovered")}else{P=window.setTimeout(function(){D(".mm-focused",S.parentNode).filter(function(){return this!==S}).removeClass("mm-focused");D(S).addClass("mm-hovered")},250)}}function N(R){window.clearTimeout(P);window.setTimeout(function(){D(R).removeClass("mm-hovered")},20)}D(".mm-item").live("mouseenter mouseleave",function(R){var S=D(R.relatedTarget).hasClass("mm-hovered")||D(R.relatedTarget).parents(".mm-hovered").length>0;R.type==="mouseover"?O(this,S):N(this)})})();D(".mm-item").live("mouseenter focus",function(O){var N=this;D(".mm-reflink[href*=#]",this).each(function(P){var R=this;var Q=R.href;D(R).remove();if(P>0){return }(function(S){S.setHandlers({failBeforeSetup:function(T){},setup:function(){D(N).append('<div class="mm-menu"><div class="mm-container"><div class="mm-content mm-cols-1"><div class="mm-loading mm-col"></div></div></div></div>');D(".mm-menu",N).each(function(){F(this);E(this)})},failAfterSetup:function(T){D(".mm-menu",N).remove()},success:function(T){D(".mm-menu",N).remove();D(N).append(T);D(".mm-menu",N).each(function(){F(this);E(this)})},caching:true});S.open("GET",Q);S.send(null)})(new cdc.util.cors.CORS())})});function F(O){if(O.whacked){return }O.whacked=true;if(!(D.browser.msie&&D.browser.version<7)){var N='<span class="mms"><span class="mms-tc"></span><span class="mms-tr"></span><span class="mms-mr"></span><span class="mms-br"></span><span class="mms-bc"></span><span class="mms-bl"></span><span class="mms-ml"></span><span class="mms-tl"></span><span class="mms-mc"></span></span>';if(!D(".mmt",O).length){N+='<span class="mmc"><span class="cbl"></span><span class="cbr"></span></span>'}D(".mm-container",O).prepend(N);D(".mm-sidebar",O).append('<div class="ctl"></div><div class="ctr"></div><div class="cbl"></div><div class="cbr"></div>')}D(".mmt",O).each(function(){var P=D(".mmt-container",this);D(this).addClass("mmt-has"+P.length);D(P).each(function(Q){D(this).addClass("mmt-container"+(Q+1))})});D(".mmt",O).each(function(){var Q=C(this.id);var P=false;D("#"+Q,this).each(function(R){if(R>0){return }D(this).addClass("mmt-current");P=true});if(!P){D(".mmt-container",this).each(function(R){if(R>0){return }D(this).addClass("mmt-current")})}})}function E(N){if(N.positioned){return }N.positioned=true;var d=D(N).parents("#fw-mb-w1")[0];var k=D(N).find(".mm-container")[0];var V=D(N).parents(".mm-items")[0];var f=D(N).parents(".mm-item")[0];var l=D(f).offset().left;var S=D(f).outerWidth()+l;var P=D(V).offset().left;var h=P+D(V).outerWidth();var R=D(d).outerWidth();var c=D(d).offset().left;var U=c+R;var g=D(k).outerWidth();var Y=D(k).offset().left;var O=Y+g;var Q=(Math.abs(Y-l)>Math.abs(O-S));if(D(N).hasClass("mm-center")){var T=R-g;var X=0-((Y-c)-(T/2));if(!Q){D(N).css({left:X+"px"})}else{D(N).css({right:(-X)+"px"})}}else{if(!Q&&O>U){var Z=U-O;D(k).css({left:Z+"px"})}else{if(Q&&Y<c){var W=Y-c;D(k).css({right:W+"px"})}}}(function(){var n=D(".mm-content",N)[0].offsetWidth;var m=/(^|\s)mm\-cols((\-\d+)+)(\s|$)/;D(".mm-content, .mmt-content",N).filter(function(){return(D(".mmt-content",this).length<1&&m.test(this.className))}).each(function(){var u=D(".mm-col",this);var r=D(u).map(function(){return 1});D(this.className.match(m)[2].substring(1).split("-")).each(function(v){r[v]=parseInt(this)});var q=0;for(var o=0;o<r.length;o++){q+=r[o]}D(u[0]).addClass("mm-first-col");var t=48;if(D(this).closest("#support-mm-menu").length==1){t-=8;n-=8}for(var o=0;o<u.length;o++){var p=Math.floor((r[o]/q)*n);D(u[o]).css({width:(p-t)+"px"})}})})()}D(document).ready(function(){D(".mm-menu").each(function(){F(this);E(this)})})})(jQuery);


