/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(Ao,x){function A0(){if(!AG.isReady){try{y.documentElement.doScroll("left")}catch(A){setTimeout(A0,1);return }AG.ready()}}function u(F,A){A.src?AG.ajax({url:A.src,async:false,dataType:"script"}):AG.globalEval(A.text||A.textContent||A.innerHTML||"");A.parentNode&&A.parentNode.removeChild(A)}function AO(F,A,O,K,L,G){var J=F.length;if(typeof A==="object"){for(var N in A){AO(F,N,A[N],K,L,O)}return F}if(O!==x){K=!G&&K&&AG.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):x}function Af(){return(new Date).getTime()}function AN(){return false}function AL(){return true}function Ak(F,A,G){G[0].type=F;return AG.event.handle.apply(A,G)}function AF(R){var Q,P=[],N=[],O=arguments,K,L,F,J,G,A;L=AG.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(AX,"")===R.type?N.push(L.selector):T.splice(J--,1)}K=AG(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=AG(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 p(F,A){return"live."+(F&&F!=="*"?F+".":"")+A.replace(/\./g,"`").replace(/ /g,"&")}function b(A){return !A||!A.parentNode||A.parentNode.nodeType===11}function BH(F,A){var G=0;A.each(function(){if(this.nodeName===(F[G]&&F[G].nodeName)){var L=AG.data(F[G++]),N=AG.data(this,L);if(L=L&&L.events){delete N.handle;N.events={};for(var J in L){for(var K in L[J]){AG.event.add(this,J,L[J][K],L[J][K].data)}}}}})}function A3(F,A,L){var J,K,G;A=A&&A[0]?A[0].ownerDocument||A[0]:y;if(F.length===1&&typeof F[0]==="string"&&F[0].length<512&&A===y&&!Ap.test(F[0])&&(AG.support.checkClone||!AJ.test(F[0]))){K=true;if(G=AG.fragments[F[0]]){if(G!==1){J=G}}}if(!J){J=A.createDocumentFragment();AG.clean(F,A,J,L)}if(K){AG.fragments[F[0]]=G?J:1}return{fragment:J,cacheable:K}}function Ac(F,A){var G={};AG.each(t.concat.apply([],t.slice(0,A)),function(){G[this]=F});return G}function f(A){return"scrollTo" in A&&A.document?A:A.nodeType===9?A.defaultView||A.parentWindow:false}var AG=function(F,A){return new AG.fn.init(F,A)},g=Ao.jQuery,D=Ao.$,y=Ao.document,AR,A7=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,At=/^.[^:#\[\.,]*$/,AM=/\S/,v=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,h=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,AV=navigator.userAgent,C=false,AT=[],AZ,A1=Object.prototype.toString,Av=Object.prototype.hasOwnProperty,AW=Array.prototype.push,AS=Array.prototype.slice,A6=Array.prototype.indexOf;AG.fn=AG.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=y;this[0]=y.body;this.selector="body";this.length=1;return this}if(typeof F==="string"){if((J=A7.exec(F))&&(J[1]||!A)){if(J[1]){G=A?A.ownerDocument||A:y;if(F=h.exec(F)){if(AG.isPlainObject(A)){F=[y.createElement(F[1])];AG.fn.attr.call(F,A,true)}else{F=[G.createElement(F[1])]}}else{F=A3([J[1]],[G]);F=(F.cacheable?F.fragment.cloneNode(true):F.fragment).childNodes}return AG.merge(this,F)}else{if(A=y.getElementById(J[2])){if(A.id!==J[2]){return AR.find(F)}this.length=1;this[0]=A}this.context=y;this.selector=F;return this}}else{if(!A&&/^\w+$/.test(F)){this.selector=F;this.context=y;F=y.getElementsByTagName(F);return AG.merge(this,F)}else{return !A||A.jquery?(A||AR).find(F):AG(A).find(F)}}}else{if(AG.isFunction(F)){return AR.ready(F)}}if(F.selector!==x){this.selector=F.selector;this.context=F.context}return AG.makeArray(F,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return AS.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=AG();AG.isArray(F)?AW.apply(G,F):AG.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 AG.each(this,F,A)},ready:function(A){AG.bindReady();if(AG.isReady){A.call(y,AG)}else{AT&&AT.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(AS.apply(this,arguments),"slice",AS.call(arguments).join(","))},map:function(A){return this.pushStack(AG.map(this,function(F,G){return A.call(F,G,F)}))},end:function(){return this.prevObject||AG(null)},push:AW,sort:[].sort,splice:[].splice};AG.fn.init.prototype=AG.fn;AG.extend=AG.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"&&!AG.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&&(AG.isPlainObject(N)||AG.isArray(N))){J=J&&(AG.isPlainObject(J)||AG.isArray(J))?J:AG.isArray(N)?[]:{};F[G]=AG.extend(K,J,N)}else{if(N!==x){F[G]=N}}}}}}return F};AG.extend({noConflict:function(A){Ao.$=D;if(A){Ao.jQuery=g}return AG},isReady:false,ready:function(){if(!AG.isReady){if(!y.body){return setTimeout(AG.ready,13)}AG.isReady=true;if(AT){for(var F,A=0;F=AT[A++];){F.call(y,AG)}AT=null}AG.fn.triggerHandler&&AG(y).triggerHandler("ready")}},bindReady:function(){if(!C){C=true;if(y.readyState==="complete"){return AG.ready()}if(y.addEventListener){y.addEventListener("DOMContentLoaded",AZ,false);Ao.addEventListener("load",AG.ready,false)}else{if(y.attachEvent){y.attachEvent("onreadystatechange",AZ);Ao.attachEvent("onload",AG.ready);var F=false;try{F=Ao.frameElement==null}catch(A){}y.documentElement.doScroll&&F&&A0()}}}},isFunction:function(A){return A1.call(A)==="[object Function]"},isArray:function(A){return A1.call(A)==="[object Array]"},isPlainObject:function(F){if(!F||A1.call(F)!=="[object Object]"||F.nodeType||F.setInterval){return false}if(F.constructor&&!Av.call(F,"constructor")&&!Av.call(F.constructor.prototype,"isPrototypeOf")){return false}var A;for(A in F){}return A===x||Av.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=AG.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 Ao.JSON&&Ao.JSON.parse?Ao.JSON.parse(A):(new Function("return "+A))()}else{AG.error("Invalid JSON: "+A)}},noop:function(){},globalEval:function(F){if(F&&AM.test(F)){var A=y.getElementsByTagName("head")[0]||y.documentElement,G=y.createElement("script");G.type="text/javascript";if(AG.support.scriptEval){G.appendChild(y.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===x||AG.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(v,"")},makeArray:function(F,A){A=A||[];if(F!=null){F.length==null||typeof F==="string"||AG.isFunction(F)||typeof F!=="function"&&F.setInterval?AW.call(A,F):AG.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]!==x;){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=x}else{if(A&&!AG.isFunction(A)){G=A;A=x}}}if(!A&&F){A=function(){return F.apply(G||this,arguments)}}if(F){A.guid=F.guid=F.guid||A.guid||AG.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:{}});AV=AG.uaMatch(AV);if(AV.browser){AG.browser[AV.browser]=true;AG.browser.version=AV.version}if(AG.browser.webkit){AG.browser.safari=true}if(A6){AG.inArray=function(F,A){return A6.call(A,F)}}AR=AG(y);if(y.addEventListener){AZ=function(){y.removeEventListener("DOMContentLoaded",AZ,false);AG.ready()}}else{if(y.attachEvent){AZ=function(){if(y.readyState==="complete"){y.detachEvent("onreadystatechange",AZ);AG.ready()}}}}(function(){AG.support={};var P=y.documentElement,O=y.createElement("script"),N=y.createElement("div"),K="script"+Af();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)){AG.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:y.createElement("select").appendChild(y.createElement("option")).selected,parentNode:N.removeChild(N.appendChild(y.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};O.type="text/javascript";try{O.appendChild(y.createTextNode("window."+K+"=1;"))}catch(J){}P.insertBefore(O,P.firstChild);if(Ao[K]){AG.support.scriptEval=true;delete Ao[K]}try{delete O.test}catch(A){AG.support.deleteExpando=false}P.removeChild(O);if(N.attachEvent&&N.fireEvent){N.attachEvent("onclick",function F(){AG.support.noCloneEvent=false;N.detachEvent("onclick",F)});N.cloneNode(true).fireEvent("onclick")}N=y.createElement("div");N.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";P=y.createDocumentFragment();P.appendChild(N.firstChild);AG.support.checkClone=P.cloneNode(true).cloneNode(true).lastChild.checked;AG(function(){var Q=y.createElement("div");Q.style.width=Q.style.paddingLeft="1px";y.body.appendChild(Q);AG.boxModel=AG.support.boxModel=Q.offsetWidth===2;y.body.removeChild(Q).style.display="none"});P=function(Q){var T=y.createElement("div");Q="on"+Q;var R=Q in T;if(!R){T.setAttribute(Q,"return;");R=typeof T[Q]==="function"}return R};AG.support.submitBubbles=P("submit");AG.support.changeBubbles=P("change");P=O=N=L=G=null}})();AG.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var Ah="jQuery"+Af(),E=0,As={};AG.extend({cache:{},expando:Ah,noData:{embed:true,object:true,applet:true},data:function(F,A,K){if(!(F.nodeName&&AG.noData[F.nodeName.toLowerCase()])){F=F==Ao?As:F;var G=F[Ah],J=AG.cache;if(!G&&typeof A==="string"&&K===x){return null}G||(G=++E);if(typeof A==="object"){F[Ah]=G;J[G]=AG.extend(true,{},A)}else{if(!J[G]){F[Ah]=G;J[G]={}}}F=J[G];if(K!==x){F[A]=K}return typeof A==="string"?F[A]:F}},removeData:function(F,A){if(!(F.nodeName&&AG.noData[F.nodeName.toLowerCase()])){F=F==Ao?As:F;var K=F[Ah],G=AG.cache,J=G[K];if(A){if(J){delete J[A];AG.isEmptyObject(J)&&AG.removeData(F)}}else{if(AG.support.deleteExpando){delete F[AG.expando]}else{F.removeAttribute&&F.removeAttribute(AG.expando)}delete G[K]}}}});AG.fn.extend({data:function(F,A){if(typeof F==="undefined"&&this.length){return AG.data(this[0])}else{if(typeof F==="object"){return this.each(function(){AG.data(this,F)})}}var J=F.split(".");J[1]=J[1]?"."+J[1]:"";if(A===x){var G=this.triggerHandler("getData"+J[1]+"!",[J[0]]);if(G===x&&this.length){G=AG.data(this[0],F)}return G===x&&J[1]?this.data(J[0]):G}else{return this.trigger("setData"+J[1]+"!",[J[0],A]).each(function(){AG.data(this,F,A)})}},removeData:function(A){return this.each(function(){AG.removeData(this,A)})}});AG.extend({queue:function(F,A,J){if(F){A=(A||"fx")+"queue";var G=AG.data(F,A);if(!J){return G||[]}if(!G||AG.isArray(J)){G=AG.data(F,A,AG.makeArray(J))}else{G.push(J)}return G}},dequeue:function(F,A){A=A||"fx";var J=AG.queue(F,A),G=J.shift();if(G==="inprogress"){G=J.shift()}if(G){A==="fx"&&J.unshift("inprogress");G.call(F,function(){AG.dequeue(F,A)})}}});AG.fn.extend({queue:function(F,A){if(typeof F!=="string"){A=F;F="fx"}if(A===x){return AG.queue(this[0],F)}return this.each(function(){var G=AG.queue(this,F,A);F==="fx"&&G[0]!=="inprogress"&&AG.dequeue(this,F)})},dequeue:function(A){return this.each(function(){AG.dequeue(this,A)})},delay:function(F,A){F=AG.fx?AG.fx.speeds[F]||F:F;A=A||"fx";return this.queue(A,function(){var G=this;setTimeout(function(){AG.dequeue(G,A)},F)})},clearQueue:function(A){return this.queue(A||"fx",[])}});var BC=/[\n\t]/g,AA=/\s+/,A8=/\r/g,Am=/href|src|style/,Au=/(button|input)/i,AU=/(button|input|object|select|textarea)/i,z=/^(a|area)$/i,Ay=/radio|checkbox/;AG.fn.extend({attr:function(F,A){return AO(this,F,A,true,AG.attr)},removeAttr:function(A){return this.each(function(){AG.attr(this,A,"");this.nodeType===1&&this.removeAttribute(A)})},addClass:function(P){if(AG.isFunction(P)){return this.each(function(R){var Q=AG(this);Q.addClass(P.call(this,R,Q.attr("class")))})}if(P&&typeof P==="string"){for(var O=(P||"").split(AA),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=AG.trim(J)}else{L.className=P}}}}return this},removeClass:function(F){if(AG.isFunction(F)){return this.each(function(P){var Q=AG(this);Q.removeClass(F.call(this,P,Q.attr("class")))})}if(F&&typeof F==="string"||F===x){for(var A=(F||"").split(AA),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(BC," "),J=0,N=A.length;J<N;J++){G=G.replace(" "+A[J]+" "," ")}L.className=AG.trim(G)}else{L.className=""}}}}return this},toggleClass:function(F,A){var J=typeof F,G=typeof A==="boolean";if(AG.isFunction(F)){return this.each(function(L){var K=AG(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=AG(this),P=A,K=F.split(AA);O=K[L++];){P=G?P:!N.hasClass(O);N[P?"addClass":"removeClass"](O)}}else{if(J==="undefined"||J==="boolean"){this.className&&AG.data(this,"__className__",this.className);this.className=this.className||F===false?"":AG.data(this,"__className__")||""}}})},hasClass:function(F){F=" "+F+" ";for(var A=0,G=this.length;A<G;A++){if((" "+this[A].className+" ").replace(BC," ").indexOf(F)>-1){return true}}return false},val:function(F){if(F===x){var A=this[0];if(A){if(AG.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text}if(AG.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=AG(J).val();if(A){return F}K.push(F)}}return K}if(Ay.test(A.type)&&!AG.support.checkOn){return A.getAttribute("value")===null?"on":A.value}return(A.value||"").replace(A8,"")}return x}var N=AG.isFunction(F);return this.each(function(P){var T=AG(this),R=F;if(this.nodeType===1){if(N){R=F.call(this,P,T.val())}if(typeof R==="number"){R+=""}if(AG.isArray(R)&&Ay.test(this.type)){this.checked=AG.inArray(T.val(),R)>=0}else{if(AG.nodeName(this,"select")){var Q=AG.makeArray(R);AG("option",this).each(function(){this.selected=AG.inArray(AG(this).val(),Q)>=0});if(!Q.length){this.selectedIndex=-1}}else{this.value=R}}}})}});AG.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 x}if(J&&A in AG.attrFn){return AG(F)[A](L)}J=F.nodeType!==1||!AG.isXMLDoc(F);var K=L!==x;A=J&&AG.props[A]||A;if(F.nodeType===1){var G=Am.test(A);if(A in F&&J&&!G){if(K){A==="type"&&Au.test(F.nodeName)&&F.parentNode&&AG.error("type property can't be changed");F[A]=L}if(AG.nodeName(F,"form")&&F.getAttributeNode(A)){return F.getAttributeNode(A).nodeValue}if(A==="tabIndex"){return(A=F.getAttributeNode("tabIndex"))&&A.specified?A.value:AU.test(F.nodeName)||z.test(F.nodeName)&&F.href?0:x}return F[A]}if(!AG.support.style&&J&&A==="style"){if(K){F.style.cssText=""+L}return F.style.cssText}K&&F.setAttribute(A,""+L);F=!AG.support.hrefNormalized&&J&&G?F.getAttribute(A,2):F.getAttribute(A);return F===null?x:F}return AG.style(F,A,L)}});var AX=/\.(.*)$/,j=function(A){return A.replace(/[^\w\s\.\|`]/g,function(F){return"\\"+F})};AG.event={add:function(T,R,P,N){if(!(T.nodeType===3||T.nodeType===8)){if(T.setInterval&&T!==Ao&&!T.frameElement){T=Ao}var O,K;if(P.handler){O=P;P=O.handler}if(!P.guid){P.guid=AG.guid++}if(K=AG.data(T)){var L=K.events=K.events||{},F=K.handle;if(!F){K.handle=F=function(){return typeof AG!=="undefined"&&!AG.event.triggered?AG.event.handle.apply(F.elem,arguments):x}}F.elem=T;R=R.split(" ");for(var J,G=0,A;J=R[G++];){K=O?AG.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=AG.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);AG.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=AG.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){AG.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("(^|\\.)"+AG.map(J.slice(0).sort(),j).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=F[Q]){if(R){K=AG.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){Ag(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)){AG.event.remove(W,K,X.handler,G);A.splice(G--,1)}}}}}if(AG.isEmptyObject(F)){if(V=T.handle){V.elem=null}delete T.events;delete T.handle;AG.isEmptyObject(T)&&AG.removeData(W)}}}}},trigger:function(Q,P,O,L){var N=Q.type||Q;if(!L){Q=typeof Q==="object"?Q[Ah]?Q:AG.extend(AG.Event(N),Q):AG.Event(N);if(N.indexOf("!")>=0){Q.type=N=N.slice(0,-1);Q.exclusive=true}if(!O){Q.stopPropagation();AG.event.global[N]&&AG.each(AG.cache,function(){this.events&&this.events[N]&&AG.event.trigger(Q,P,this.handle.elem)})}if(!O||O.nodeType===3||O.nodeType===8){return x}Q.result=x;Q.target=O;P=AG.makeArray(P);P.unshift(Q)}Q.currentTarget=O;(L=AG.data(O,"handle"))&&L.apply(O,P);L=O.parentNode||O.ownerDocument;try{if(!(O&&O.nodeName&&AG.noData[O.nodeName.toLowerCase()])){if(O["on"+N]&&O["on"+N].apply(O,P)===false){Q.result=false}}}catch(J){}if(!Q.isPropagationStopped()&&L){AG.event.trigger(Q,P,L,true)}else{if(!Q.isDefaultPrevented()){L=Q.target;var K,A=AG.nodeName(L,"a")&&N==="click",G=AG.event.special[N]||{};if((!G._default||G._default.call(O,Q)===false)&&!A&&!(L&&L.nodeName&&AG.noData[L.nodeName.toLowerCase()])){try{if(L[N]){if(K=L["on"+N]){L["on"+N]=null}AG.event.triggered=true;L[N]()}}catch(F){}if(K){L["on"+N]=K}AG.event.triggered=false}}}},handle:function(F){var A,N,K,L;F=arguments[0]=AG.event.fix(F||Ao.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=AG.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!==x){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[Ah]){return F}var A=F;F=AG.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||y}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=y.documentElement;J=y.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!==x){F.which=F.button&1?1:F.button&2?3:F.button&4?2:0}return F},guid:100000000,proxy:AG.proxy,special:{ready:{setup:AG.bindReady,teardown:AG.noop},live:{add:function(A){AG.event.add(this,A.origType,AG.extend({},A,{handler:AF}))},remove:function(F){var A=true,G=F.origType.replace(AX,"");AG.each(AG.data(this,"events").live||[],function(){if(G===this.origType.replace(AX,"")){return A=false}});A&&AG.event.remove(this,F.origType,AF)}},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 Ag=y.removeEventListener?function(F,A,G){F.removeEventListener(A,G,false)}:function(F,A,G){F.detachEvent("on"+A,G)};AG.Event=function(A){if(!this.preventDefault){return new AG.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Af();this[Ah]=true};AG.Event.prototype={preventDefault:function(){this.isDefaultPrevented=AL;var A=this.originalEvent;if(A){A.preventDefault&&A.preventDefault();A.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=AL;var A=this.originalEvent;if(A){A.stopPropagation&&A.stopPropagation();A.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=AL;this.stopPropagation()},isDefaultPrevented:AN,isPropagationStopped:AN,isImmediatePropagationStopped:AN};var AD=function(F){var A=F.relatedTarget;try{for(;A&&A!==this;){A=A.parentNode}if(A!==this){F.type=F.data;AG.event.handle.apply(this,arguments)}}catch(G){}},n=function(A){A.type=A.data;AG.event.handle.apply(this,arguments)};AG.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(F,A){AG.event.special[F]={setup:function(G){AG.event.add(this,A,G&&G.selector?n:AD,F)},teardown:function(G){AG.event.remove(this,A,G&&G.selector?n:AD)}}});if(!AG.support.submitBubbles){AG.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){AG.event.add(this,"click.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="submit"||G==="image")&&AG(A).closest("form").length){return Ak("submit",this,arguments)}});AG.event.add(this,"keypress.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="text"||G==="password")&&AG(A).closest("form").length&&F.keyCode===13){return Ak("submit",this,arguments)}})}else{return false}},teardown:function(){AG.event.remove(this,".specialSubmit")}}}if(!AG.support.changeBubbles){var k=/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?AG.map(F.options,function(J){return J.selected}).join("-"):""}else{if(F.nodeName.toLowerCase()==="select"){G=F.selectedIndex}}}return G},BB=function(F,A){var K=F.target,G,J;if(!(!k.test(K.nodeName)||K.readOnly)){G=AG.data(K,"_change_data");J=U(K);if(F.type!=="focusout"||K.type!=="radio"){AG.data(K,"_change_data",J)}if(!(G===x||J===G)){if(G!=null||J){F.type="change";return AG.event.trigger(F,A,K)}}}};AG.event.special.change={filters:{focusout:BB,click:function(F){var A=F.target,G=A.type;if(G==="radio"||G==="checkbox"||A.nodeName.toLowerCase()==="select"){return BB.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 BB.call(this,F)}},beforeactivate:function(A){A=A.target;AG.data(A,"_change_data",U(A))}},setup:function(){if(this.type==="file"){return false}for(var A in I){AG.event.add(this,A+".specialChange",I[A])}return k.test(this.nodeName)},teardown:function(){AG.event.remove(this,".specialChange");return k.test(this.nodeName)}};I=AG.event.special.change.filters}y.addEventListener&&AG.each({focus:"focusin",blur:"focusout"},function(F,A){function G(J){J=AG.event.fix(J);J.type=A;return AG.event.handle.call(this,J)}AG.event.special[A]={setup:function(){this.addEventListener(F,G,true)},teardown:function(){this.removeEventListener(F,G,true)}}});AG.each(["bind","one"],function(F,A){AG.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(AG.isFunction(K)){L=K;K=x}var J=A==="one"?AG.proxy(L,function(P){AG(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++){AG.event.add(this[G],O,J,K)}}return this}});AG.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++){AG.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(){AG.event.trigger(F,A,this)})},triggerHandler:function(F,A){if(this[0]){F=AG.Event(F);F.preventDefault();F.stopPropagation();AG.event.trigger(F,A,this[0]);return F.result}},toggle:function(F){for(var A=arguments,G=1;G<A.length;){AG.proxy(F,A[G++])}return this.click(AG.proxy(F,function(J){var K=(AG.data(this,"lastToggle"+F.guid)||0)%G;AG.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 BF={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};AG.each(["live","die"],function(F,A){AG.fn[A]=function(R,P,Q,N){var O,J=0,L,K,G=N||this.selector,T=N?this:AG(this.context);if(AG.isFunction(P)){Q=P;P=x}for(R=(R||"").split(" ");(O=R[J++])!=null;){N=AX.exec(O);L="";if(N){L=N[0];O=O.replace(AX,"")}if(O==="hover"){R.push("mouseenter"+L,"mouseleave"+L)}else{K=O;if(O==="focus"||O==="blur"){R.push(BF[O]+L);O+=L}else{O=(BF[O]||O)+L}A==="live"?T.each(function(){AG.event.add(this,p(O,G),{data:P,selector:G,handler:Q,origType:O,origHandler:Q,preType:K})}):T.unbind(p(O,G),Q)}}return this}});AG.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){AG.fn[A]=function(G){return G?this.bind(A,G):this.trigger(A)};if(AG.attrFn){AG.attrFn[A]=true}});Ao.attachEvent&&!Ao.addEventListener&&Ao.attachEvent("onunload",function(){for(var F in AG.cache){if(AG.cache[F].handle){try{AG.event.remove(AG.cache[F].handle.elem)}catch(A){}}}});(function(){function Z(Ab){for(var Aa="",w,s=0;Ab[s];s++){w=Ab[s];if(w.nodeType===3||w.nodeType===4){Aa+=w.nodeValue}else{if(w.nodeType!==8){Aa+=Z(w.childNodes)}}}return Aa}function Y(BK,BJ,Ab,Aa,s,w){s=0;for(var BM=Aa.length;s<BM;s++){var BN=Aa[s];if(BN){BN=BN[BK];for(var BL=false;BN;){if(BN.sizcache===Ab){BL=Aa[BN.sizset];break}if(BN.nodeType===1&&!w){BN.sizcache=Ab;BN.sizset=s}if(BN.nodeName.toLowerCase()===BJ){BL=BN;break}BN=BN[BK]}Aa[s]=BL}}}function X(BK,BJ,Ab,Aa,s,w){s=0;for(var BM=Aa.length;s<BM;s++){var BN=Aa[s];if(BN){BN=BN[BK];for(var BL=false;BN;){if(BN.sizcache===Ab){BL=Aa[BN.sizset];break}if(BN.nodeType===1){if(!w){BN.sizcache=Ab;BN.sizset=s}if(typeof BJ!=="string"){if(BN===BJ){BL=true;break}}else{if(Q.filter(BJ,[BN]).length>0){BL=BN;break}}}BN=BN[BK]}Aa[s]=BL}}}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(BM,BL,BJ,Ab){BJ=BJ||[];var w=BL=BL||y;if(BL.nodeType!==1&&BL.nodeType!==9){return[]}if(!BM||typeof BM!=="string"){return BJ}for(var Aa=[],BR,BS,BO,BK,BQ=true,BN=F(BL),BP=BM;(V.exec(""),BR=V.exec(BP))!==null;){BP=BR[3];Aa.push(BR[1]);if(BR[2]){BK=BR[3];break}}if(Aa.length>1&&L.exec(BM)){if(Aa.length===2&&P.relative[Aa[0]]){BS=c(Aa[0]+Aa[1],BL)}else{for(BS=P.relative[Aa[0]]?[BL]:Q(Aa.shift(),BL);Aa.length;){BM=Aa.shift();if(P.relative[BM]){BM+=Aa.shift()}BS=c(BM,BS)}}}else{if(!Ab&&Aa.length>1&&BL.nodeType===9&&!BN&&P.match.ID.test(Aa[0])&&!P.match.ID.test(Aa[Aa.length-1])){BR=Q.find(Aa.shift(),BL,BN);BL=BR.expr?Q.filter(BR.expr,BR.set)[0]:BR.set[0]}if(BL){BR=Ab?{expr:Aa.pop(),set:A(Ab)}:Q.find(Aa.pop(),Aa.length===1&&(Aa[0]==="~"||Aa[0]==="+")&&BL.parentNode?BL.parentNode:BL,BN);BS=BR.expr?Q.filter(BR.expr,BR.set):BR.set;if(Aa.length>0){BO=A(BS)}else{BQ=false}for(;Aa.length;){var s=Aa.pop();BR=s;if(P.relative[s]){BR=Aa.pop()}else{s=""}if(BR==null){BR=BL}P.relative[s](BO,BR,BN)}}else{BO=[]}}BO||(BO=BS);BO||Q.error(s||BM);if(R.call(BO)==="[object Array]"){if(BQ){if(BL&&BL.nodeType===1){for(BM=0;BO[BM]!=null;BM++){if(BO[BM]&&(BO[BM]===true||BO[BM].nodeType===1&&J(BL,BO[BM]))){BJ.push(BS[BM])}}}else{for(BM=0;BO[BM]!=null;BM++){BO[BM]&&BO[BM].nodeType===1&&BJ.push(BS[BM])}}}else{BJ.push.apply(BJ,BO)}}else{A(BO,BJ)}if(BK){Q(BK,w,BJ,Ab);Q.uniqueSort(BJ)}return BJ};Q.uniqueSort=function(w){if(N){T=O;w.sort(N);if(T){for(var s=1;s<w.length;s++){w[s]===w[s-1]&&w.splice(s--,1)}}}return w};Q.matches=function(w,s){return Q(w,null,null,s)};Q.find=function(BK,BJ,Ab){var Aa,s;if(!BK){return[]}for(var w=0,BM=P.order.length;w<BM;w++){var BN=P.order[w];if(s=P.leftMatch[BN].exec(BK)){var BL=s[1];s.splice(1,1);if(BL.substr(BL.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");Aa=P.find[BN](s,BJ,Ab);if(Aa!=null){BK=BK.replace(P.match[BN],"");break}}}}Aa||(Aa=BJ.getElementsByTagName("*"));return{set:Aa,expr:BK}};Q.filter=function(BN,BM,BK,Ab){for(var w=BN,Aa=[],BT=BM,BU,BQ,BL=BM&&BM[0]&&F(BM[0]);BN&&BM.length;){for(var BS in P.filter){if((BU=P.leftMatch[BS].exec(BN))!=null&&BU[2]){var BO=P.filter[BS],BR,s;s=BU[1];BQ=false;BU.splice(1,1);if(s.substr(s.length-1)!=="\\"){if(BT===Aa){Aa=[]}if(P.preFilter[BS]){if(BU=P.preFilter[BS](BU,BT,BK,Aa,Ab,BL)){if(BU===true){continue}}else{BQ=BR=true}}if(BU){for(var BJ=0;(s=BT[BJ])!=null;BJ++){if(s){BR=BO(s,BU,BJ,BT);var BP=Ab^!!BR;if(BK&&BR!=null){if(BP){BQ=true}else{BT[BJ]=false}}else{if(BP){Aa.push(s);BQ=true}}}}}if(BR!==x){BK||(BT=Aa);BN=BN.replace(P.match[BS],"");if(!BQ){return[]}break}}}}if(BN===w){if(BQ==null){Q.error(BN)}else{break}}w=BN}return BT};Q.error=function(s){throw"Syntax error, unrecognized expression: "+s};var P=Q.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(s){return s.getAttribute("href")}},relative:{"+":function(Ab,Aa){var w=typeof Aa==="string",s=w&&!/\W/.test(Aa);w=w&&!s;if(s){Aa=Aa.toLowerCase()}s=0;for(var BJ=Ab.length,BK;s<BJ;s++){if(BK=Ab[s]){for(;(BK=BK.previousSibling)&&BK.nodeType!==1;){}Ab[s]=w||BK&&BK.nodeName.toLowerCase()===Aa?BK||false:BK===Aa}}w&&Q.filter(Aa,Ab,true)},">":function(Ab,Aa){var w=typeof Aa==="string";if(w&&!/\W/.test(Aa)){Aa=Aa.toLowerCase();for(var s=0,BJ=Ab.length;s<BJ;s++){var BK=Ab[s];if(BK){w=BK.parentNode;Ab[s]=w.nodeName.toLowerCase()===Aa?w:false}}}else{s=0;for(BJ=Ab.length;s<BJ;s++){if(BK=Ab[s]){Ab[s]=w?BK.parentNode:BK.parentNode===Aa}}w&&Q.filter(Aa,Ab,true)}},"":function(Ab,Aa,w){var s=W++,BJ=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BK=Aa=Aa.toLowerCase();BJ=Y}BJ("parentNode",Aa,s,Ab,BK,w)},"~":function(Ab,Aa,w){var s=W++,BJ=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BK=Aa=Aa.toLowerCase();BJ=Y}BJ("previousSibling",Aa,s,Ab,BK,w)}},find:{ID:function(Aa,w,s){if(typeof w.getElementById!=="undefined"&&!s){return(Aa=w.getElementById(Aa[1]))?[Aa]:[]}},NAME:function(Ab,Aa){if(typeof Aa.getElementsByName!=="undefined"){var w=[];Aa=Aa.getElementsByName(Ab[1]);for(var s=0,BJ=Aa.length;s<BJ;s++){Aa[s].getAttribute("name")===Ab[1]&&w.push(Aa[s])}return w.length===0?null:w}},TAG:function(w,s){return s.getElementsByTagName(w[1])}},preFilter:{CLASS:function(BJ,Ab,w,s,BK,BL){BJ=" "+BJ[1].replace(/\\/g,"")+" ";if(BL){return BJ}BL=0;for(var Aa;(Aa=Ab[BL])!=null;BL++){if(Aa){if(BK^(Aa.className&&(" "+Aa.className+" ").replace(/[\t\n]/g," ").indexOf(BJ)>=0)){w||s.push(Aa)}else{if(w){Ab[BL]=false}}}}return false},ID:function(s){return s[1].replace(/\\/g,"")},TAG:function(s){return s[1].toLowerCase()},CHILD:function(w){if(w[1]==="nth"){var s=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(w[2]==="even"&&"2n"||w[2]==="odd"&&"2n+1"||!/\D/.test(w[2])&&"0n+"+w[2]||w[2]);w[2]=s[1]+(s[2]||1)-0;w[3]=s[3]-0}w[0]=W++;return w},ATTR:function(Ab,Aa,w,s,BJ,BK){Aa=Ab[1].replace(/\\/g,"");if(!BK&&P.attrMap[Aa]){Ab[1]=P.attrMap[Aa]}if(Ab[2]==="~="){Ab[4]=" "+Ab[4]+" "}return Ab},PSEUDO:function(Ab,Aa,w,s,BJ){if(Ab[1]==="not"){if((V.exec(Ab[3])||"").length>1||/^\w/.test(Ab[3])){Ab[3]=Q(Ab[3],null,null,Aa)}else{Ab=Q.filter(Ab[3],Aa,w,true^BJ);w||s.push.apply(s,Ab);return false}}else{if(P.match.POS.test(Ab[0])||P.match.CHILD.test(Ab[0])){return true}}return Ab},POS:function(s){s.unshift(true);return s}},filters:{enabled:function(s){return s.disabled===false&&s.type!=="hidden"},disabled:function(s){return s.disabled===true},checked:function(s){return s.checked===true},selected:function(s){return s.selected===true},parent:function(s){return !!s.firstChild},empty:function(s){return !s.firstChild},has:function(Aa,w,s){return !!Q(s[3],Aa).length},header:function(s){return/h\d/i.test(s.nodeName)},text:function(s){return"text"===s.type},radio:function(s){return"radio"===s.type},checkbox:function(s){return"checkbox"===s.type},file:function(s){return"file"===s.type},password:function(s){return"password"===s.type},submit:function(s){return"submit"===s.type},image:function(s){return"image"===s.type},reset:function(s){return"reset"===s.type},button:function(s){return"button"===s.type||s.nodeName.toLowerCase()==="button"},input:function(s){return/input|select|textarea|button/i.test(s.nodeName)}},setFilters:{first:function(w,s){return s===0},last:function(Ab,Aa,w,s){return Aa===s.length-1},even:function(w,s){return s%2===0},odd:function(w,s){return s%2===1},lt:function(Aa,w,s){return w<s[3]-0},gt:function(Aa,w,s){return w>s[3]-0},nth:function(Aa,w,s){return s[3]-0===w},eq:function(Aa,w,s){return s[3]-0===w}},filter:{PSEUDO:function(Ab,Aa,w,s){var BJ=Aa[1],BK=P.filters[BJ];if(BK){return BK(Ab,w,Aa,s)}else{if(BJ==="contains"){return(Ab.textContent||Ab.innerText||Z([Ab])||"").indexOf(Aa[3])>=0}else{if(BJ==="not"){Aa=Aa[3];w=0;for(s=Aa.length;w<s;w++){if(Aa[w]===Ab){return false}}return true}else{Q.error("Syntax error, unrecognized expression: "+BJ)}}}},CHILD:function(BJ,Ab){var w=Ab[1],s=BJ;switch(w){case"only":case"first":for(;s=s.previousSibling;){if(s.nodeType===1){return false}}if(w==="first"){return true}s=BJ;case"last":for(;s=s.nextSibling;){if(s.nodeType===1){return false}}return true;case"nth":w=Ab[2];var BK=Ab[3];if(w===1&&BK===0){return true}Ab=Ab[0];var BL=BJ.parentNode;if(BL&&(BL.sizcache!==Ab||!BJ.nodeIndex)){var Aa=0;for(s=BL.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++Aa}}BL.sizcache=Ab}BJ=BJ.nodeIndex-BK;return w===0?BJ===0:BJ%w===0&&BJ/w>=0}},ID:function(w,s){return w.nodeType===1&&w.getAttribute("id")===s},TAG:function(w,s){return s==="*"&&w.nodeType===1||w.nodeName.toLowerCase()===s},CLASS:function(w,s){return(" "+(w.className||w.getAttribute("class"))+" ").indexOf(s)>-1},ATTR:function(Ab,Aa){var w=Aa[1];Ab=P.attrHandle[w]?P.attrHandle[w](Ab):Ab[w]!=null?Ab[w]:Ab.getAttribute(w);w=Ab+"";var s=Aa[2];Aa=Aa[4];return Ab==null?s==="!=":s==="="?w===Aa:s==="*="?w.indexOf(Aa)>=0:s==="~="?(" "+w+" ").indexOf(Aa)>=0:!Aa?w&&Ab!==false:s==="!="?w!==Aa:s==="^="?w.indexOf(Aa)===0:s==="$="?w.substr(w.length-Aa.length)===Aa:s==="|="?w===Aa||w.substr(0,Aa.length+1)===Aa+"-":false},POS:function(Ab,Aa,w,s){var BJ=P.setFilters[Aa[2]];if(BJ){return BJ(Ab,w,Aa,s)}}}},L=P.match.POS;for(var G in P.match){P.match[G]=new RegExp(P.match[G].source+/(?![^\[]*\])(?![^\(]*\))/.source);P.leftMatch[G]=new RegExp(/(^(?:.|\r|\n)*?)/.source+P.match[G].source.replace(/\\(\d+)/g,function(w,s){return"\\"+(s-0+1)}))}var A=function(w,s){w=Array.prototype.slice.call(w,0);if(s){s.push.apply(s,w);return s}return w};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(K){A=function(Ab,Aa){Aa=Aa||[];if(R.call(Ab)==="[object Array]"){Array.prototype.push.apply(Aa,Ab)}else{if(typeof Ab.length==="number"){for(var w=0,s=Ab.length;w<s;w++){Aa.push(Ab[w])}}else{for(w=0;Ab[w];w++){Aa.push(Ab[w])}}}return Aa}}var N;if(y.documentElement.compareDocumentPosition){N=function(w,s){if(!w.compareDocumentPosition||!s.compareDocumentPosition){if(w==s){T=true}return w.compareDocumentPosition?-1:1}w=w.compareDocumentPosition(s)&4?-1:w===s?0:1;if(w===0){T=true}return w}}else{if("sourceIndex" in y.documentElement){N=function(w,s){if(!w.sourceIndex||!s.sourceIndex){if(w==s){T=true}return w.sourceIndex?-1:1}w=w.sourceIndex-s.sourceIndex;if(w===0){T=true}return w}}else{if(y.createRange){N=function(Ab,Aa){if(!Ab.ownerDocument||!Aa.ownerDocument){if(Ab==Aa){T=true}return Ab.ownerDocument?-1:1}var w=Ab.ownerDocument.createRange(),s=Aa.ownerDocument.createRange();w.setStart(Ab,0);w.setEnd(Ab,0);s.setStart(Aa,0);s.setEnd(Aa,0);Ab=w.compareBoundaryPoints(Range.START_TO_END,s);if(Ab===0){T=true}return Ab}}}}(function(){var Aa=y.createElement("div"),w="script"+(new Date).getTime();Aa.innerHTML="<a name='"+w+"'/>";var s=y.documentElement;s.insertBefore(Aa,s.firstChild);if(y.getElementById(w)){P.find.ID=function(Ab,BJ,BK){if(typeof BJ.getElementById!=="undefined"&&!BK){return(BJ=BJ.getElementById(Ab[1]))?BJ.id===Ab[1]||typeof BJ.getAttributeNode!=="undefined"&&BJ.getAttributeNode("id").nodeValue===Ab[1]?[BJ]:x:[]}};P.filter.ID=function(Ab,BJ){var BK=typeof Ab.getAttributeNode!=="undefined"&&Ab.getAttributeNode("id");return Ab.nodeType===1&&BK&&BK.nodeValue===BJ}}s.removeChild(Aa);s=Aa=null})();(function(){var s=y.createElement("div");s.appendChild(y.createComment(""));if(s.getElementsByTagName("*").length>0){P.find.TAG=function(Ab,Aa){Aa=Aa.getElementsByTagName(Ab[1]);if(Ab[1]==="*"){Ab=[];for(var w=0;Aa[w];w++){Aa[w].nodeType===1&&Ab.push(Aa[w])}Aa=Ab}return Aa}}s.innerHTML="<a href='#'></a>";if(s.firstChild&&typeof s.firstChild.getAttribute!=="undefined"&&s.firstChild.getAttribute("href")!=="#"){P.attrHandle.href=function(w){return w.getAttribute("href",2)}}s=null})();y.querySelectorAll&&function(){var Aa=Q,w=y.createElement("div");w.innerHTML="<p class='TEST'></p>";if(!(w.querySelectorAll&&w.querySelectorAll(".TEST").length===0)){Q=function(Ab,BL,BM,BJ){BL=BL||y;if(!BJ&&BL.nodeType===9&&!F(BL)){try{return A(BL.querySelectorAll(Ab),BM)}catch(BK){}}return Aa(Ab,BL,BM,BJ)};for(var s in Aa){Q[s]=Aa[s]}w=null}}();(function(){var s=y.createElement("div");s.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!s.getElementsByClassName||s.getElementsByClassName("e").length===0)){s.lastChild.className="e";if(s.getElementsByClassName("e").length!==1){P.order.splice(1,0,"CLASS");P.find.CLASS=function(Ab,Aa,w){if(typeof Aa.getElementsByClassName!=="undefined"&&!w){return Aa.getElementsByClassName(Ab[1])}};s=null}}})();var J=y.compareDocumentPosition?function(w,s){return !!(w.compareDocumentPosition(s)&16)}:function(w,s){return w!==s&&(w.contains?w.contains(s):true)},F=function(s){return(s=(s?s.ownerDocument||s:0).documentElement)?s.nodeName!=="HTML":false},c=function(Ab,Aa){var w=[],s="",BJ;for(Aa=Aa.nodeType?[Aa]:Aa;BJ=P.match.PSEUDO.exec(Ab);){s+=BJ[0];Ab=Ab.replace(P.match.PSEUDO,"")}Ab=P.relative[Ab]?Ab+"*":Ab;BJ=0;for(var BK=Aa.length;BJ<BK;BJ++){Q(Ab,Aa[BJ],w)}return Q.filter(s,w)};AG.find=Q;AG.expr=Q.selectors;AG.expr[":"]=AG.expr.filters;AG.unique=Q.uniqueSort;AG.text=Z;AG.isXMLDoc=F;AG.contains=J})();var H=/Until$/,A9=/^(?:parents|prevUntil|prevAll)/,Aw=/,/;AS=Array.prototype.slice;var Al=function(F,A,J){if(AG.isFunction(A)){return AG.grep(F,function(L,K){return !!A.call(L,K,L)===J})}else{if(A.nodeType){return AG.grep(F,function(K){return K===A===J})}else{if(typeof A==="string"){var G=AG.grep(F,function(K){return K.nodeType===1});if(At.test(A)){return AG.filter(A,G,!J)}else{A=AG.filter(A,G)}}}}return AG.grep(F,function(K){return AG.inArray(K,A)>=0===J})};AG.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;AG.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=AG(F);return this.filter(function(){for(var J=0,G=A.length;J<G;J++){if(AG.contains(this,A[J])){return true}}})},not:function(A){return this.pushStack(Al(this,A,false),"not",A)},filter:function(A){return this.pushStack(Al(this,A,true),"filter",A)},is:function(A){return !!A&&AG.filter(A,this).length>0},closest:function(P,O){if(AG.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]=AG.expr.match.POS.test(J)?AG(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:AG(K).is(L)){N.push({selector:J,elem:K});delete G[J]}}K=K.parentNode}}return N}var F=AG.expr.match.POS.test(P)?AG(P,O||this.context):null;return this.map(function(R,Q){for(;Q&&Q.ownerDocument&&Q!==O;){if(F?F.index(Q)>-1:AG(Q).is(P)){return Q}Q=Q.parentNode}return null})},index:function(A){if(!A||typeof A==="string"){return AG.inArray(this[0],A?AG(A):this.parent().children())}return AG.inArray(A.jquery?A[0]:A,this)},add:function(F,A){F=typeof F==="string"?AG(F,A||this.context):AG.makeArray(F);A=AG.merge(this.get(),F);return this.pushStack(b(F[0])||b(A[0])?A:AG.unique(A))},andSelf:function(){return this.add(this.prevObject)}});AG.each({parent:function(A){return(A=A.parentNode)&&A.nodeType!==11?A:null},parents:function(A){return AG.dir(A,"parentNode")},parentsUntil:function(F,A,G){return AG.dir(F,"parentNode",G)},next:function(A){return AG.nth(A,2,"nextSibling")},prev:function(A){return AG.nth(A,2,"previousSibling")},nextAll:function(A){return AG.dir(A,"nextSibling")},prevAll:function(A){return AG.dir(A,"previousSibling")},nextUntil:function(F,A,G){return AG.dir(F,"nextSibling",G)},prevUntil:function(F,A,G){return AG.dir(F,"previousSibling",G)},siblings:function(A){return AG.sibling(A.parentNode.firstChild,A)},children:function(A){return AG.sibling(A.firstChild)},contents:function(A){return AG.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:AG.makeArray(A.childNodes)}},function(F,A){AG.fn[F]=function(K,G){var J=AG.map(this,A,K);H.test(F)||(G=K);if(G&&typeof G==="string"){J=AG.filter(G,J)}J=this.length>1?AG.unique(J):J;if((this.length>1||Aw.test(G))&&A9.test(F)){J=J.reverse()}return this.pushStack(J,F,AS.call(arguments).join(","))}});AG.extend({filter:function(F,A,G){if(G){F=":not("+F+")"}return AG.find.matches(F,A)},dir:function(F,A,J){var G=[];for(F=F[A];F&&F.nodeType!==9&&(J===x||F.nodeType!==1||!AG(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 AH=/ jQuery\d+="(?:\d+|null)"/g,AQ=/^\s+/,q=/(<([\w:]+)[^>]*?)\/>/g,Ad=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,d=/<([\w:]+)/,AB=/<tbody/i,l=/<|&#?\w+;/,Ap=/<script|<object|<embed|<option|<style/i,AJ=/checked\s*(?:[^=]|=\s*.checked.)/i,BI=function(F,A,G){return Ad.test(G)?F:A+"></"+G+">"},Aj={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,"",""]};Aj.optgroup=Aj.option;Aj.tbody=Aj.tfoot=Aj.colgroup=Aj.caption=Aj.thead;Aj.th=Aj.td;if(!AG.support.htmlSerialize){Aj._default=[1,"div<div>","</div>"]}AG.fn.extend({text:function(A){if(AG.isFunction(A)){return this.each(function(F){var G=AG(this);G.text(A.call(this,F,G.text()))})}if(typeof A!=="object"&&A!==x){return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(A))}return AG.text(this)},wrapAll:function(F){if(AG.isFunction(F)){return this.each(function(G){AG(this).wrapAll(F.call(this,G))})}if(this[0]){var A=AG(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(AG.isFunction(A)){return this.each(function(F){AG(this).wrapInner(A.call(this,F))})}return this.each(function(){var F=AG(this),G=F.contents();G.length?G.wrapAll(A):F.append(A)})},wrap:function(A){return this.each(function(){AG(this).wrapAll(A)})},unwrap:function(){return this.parent().each(function(){AG.nodeName(this,"body")||AG(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=AG(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,AG(arguments[0]).toArray());return A}}},remove:function(F,A){for(var J=0,G;(G=this[J])!=null;J++){if(!F||AG.filter(F,[G]).length){if(!A&&G.nodeType===1){AG.cleanData(G.getElementsByTagName("*"));AG.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&&AG.cleanData(A.getElementsByTagName("*"));A.firstChild;){A.removeChild(A.firstChild)}}return this},clone:function(F){var A=this.map(function(){if(!AG.support.noCloneEvent&&!AG.isXMLDoc(this)){var J=this.outerHTML,G=this.ownerDocument;if(!J){J=G.createElement("div");J.appendChild(this.cloneNode(true));J=J.innerHTML}return AG.clean([J.replace(AH,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(AQ,"")],G)[0]}else{return this.cloneNode(true)}});if(F===true){BH(this,A);BH(this.find("*"),A.find("*"))}return A},html:function(F){if(F===x){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(AH,""):null}else{if(typeof F==="string"&&!Ap.test(F)&&(AG.support.leadingWhitespace||!AQ.test(F))&&!Aj[(d.exec(F)||["",""])[1].toLowerCase()]){F=F.replace(q,BI);try{for(var A=0,J=this.length;A<J;A++){if(this[A].nodeType===1){AG.cleanData(this[A].getElementsByTagName("*"));this[A].innerHTML=F}}}catch(G){this.empty().append(F)}}else{AG.isFunction(F)?this.each(function(N){var K=AG(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(AG.isFunction(A)){return this.each(function(F){var J=AG(this),G=J.html();J.replaceWith(A.call(this,F,G))})}if(typeof A!=="string"){A=AG(A).detach()}return this.each(function(){var F=this.nextSibling,G=this.parentNode;AG(this).remove();F?AG(F).before(A):AG(G).append(A)})}else{return this.pushStack(AG(AG.isFunction(A)?A():A),"replaceWith",A)}},detach:function(A){return this.remove(A,true)},domManip:function(R,Q,P){function N(T){return AG.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}var O,K,L=R[0],F=[],J;if(!AG.support.checkClone&&arguments.length===3&&typeof L==="string"&&AJ.test(L)){return this.each(function(){AG(this).domManip(R,Q,P,true)})}if(AG.isFunction(L)){return this.each(function(T){var V=AG(this);R[0]=L.call(this,T,Q?V.html():x);V.domManip(R,Q,P)})}if(this[0]){O=L&&L.parentNode;O=AG.support.parentNode&&O&&O.nodeType===11&&O.childNodes.length===this.length?{fragment:O}:A3(R,this,F);J=O.fragment;if(K=J.childNodes.length===1?(J=J.firstChild):J.firstChild){Q=Q&&AG.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&&AG.each(F,u)}return this}});AG.fragments={};AG.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,A){AG.fn[F]=function(N){var K=[];N=AG(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();AG.fn[A].apply(AG(N[L]),J);K=K.concat(J)}return this.pushStack(K,F,N.selector)}}});AG.extend({clean:function(R,Q,P,N){Q=Q||y;if(typeof Q.createElement==="undefined"){Q=Q.ownerDocument||Q[0]&&Q[0].ownerDocument||y}for(var O=[],K=0,L;(L=R[K])!=null;K++){if(typeof L==="number"){L+=""}if(L){if(typeof L==="string"&&!l.test(L)){L=Q.createTextNode(L)}else{if(typeof L==="string"){L=L.replace(q,BI);var F=(d.exec(L)||["",""])[1].toLowerCase(),J=Aj[F]||Aj._default,G=J[0],A=Q.createElement("div");for(A.innerHTML=J[1]+L+J[2];G--;){A=A.lastChild}if(!AG.support.tbody){G=AB.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){AG.nodeName(F[J],"tbody")&&!F[J].childNodes.length&&F[J].parentNode.removeChild(F[J])}}!AG.support.leadingWhitespace&&AQ.test(L)&&A.insertBefore(Q.createTextNode(AQ.exec(L)[0]),A.firstChild);L=A.childNodes}}if(L.nodeType){O.push(L)}else{O=AG.merge(O,L)}}}if(P){for(K=0;O[K];K++){if(N&&AG.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(AG.makeArray(O[K].getElementsByTagName("script"))));P.appendChild(O[K])}}}return O},cleanData:function(P){for(var O,N,K=AG.cache,L=AG.event.special,G=AG.support.deleteExpando,J=0,A;(A=P[J])!=null;J++){if(N=A[AG.expando]){O=K[N];if(O.events){for(var F in O.events){L[F]?AG.event.remove(A,F):Ag(A,F,O.handle)}}if(G){delete A[AG.expando]}else{A.removeAttribute&&A.removeAttribute(AG.expando)}delete K[N]}}}});var M=/z-?index|font-?weight|opacity|zoom|line-?height/i,A4=/alpha\([^)]*\)/,Aq=/opacity=([^)]*)/,Ae=/float/i,AC=/-([a-z])/ig,BD=/([A-Z])/g,Az=/^-?\d+(?:px)?$/i,Ai=/^-?\d/,AE={position:"absolute",visibility:"hidden",display:"block"},o=["Left","Right"],a=["Top","Bottom"],BG=y.defaultView&&y.defaultView.getComputedStyle,AK=AG.support.cssFloat?"cssFloat":"styleFloat",m=function(F,A){return A.toUpperCase()};AG.fn.css=function(F,A){return AO(this,F,A,true,function(K,G,J){if(J===x){return AG.curCSS(K,G)}if(typeof J==="number"&&!M.test(G)){J+="px"}AG.style(K,G,J)})};AG.extend({style:function(F,A,K){if(!F||F.nodeType===3||F.nodeType===8){return x}if((A==="width"||A==="height")&&parseFloat(K)<0){K=x}var G=F.style||F,J=K!==x;if(!AG.support.opacity&&A==="opacity"){if(J){G.zoom=1;A=parseInt(K,10)+""==="NaN"?"":"alpha(opacity="+K*100+")";F=G.filter||AG.curCSS(F,"filter")||"";G.filter=A4.test(F)?F.replace(A4,A):A}return G.filter&&G.filter.indexOf("opacity=")>=0?parseFloat(Aq.exec(G.filter)[1])/100+"":""}if(Ae.test(A)){A=AK}A=A.replace(AC,m);if(J){G[A]=K}return G[A]},css:function(F,A,N,K){if(A==="width"||A==="height"){var L,G=A==="width"?o:a;function J(){L=A==="width"?F.offsetWidth:F.offsetHeight;K!=="border"&&AG.each(G,function(){K||(L-=parseFloat(AG.curCSS(F,"padding"+this,true))||0);if(K==="margin"){L+=parseFloat(AG.curCSS(F,"margin"+this,true))||0}else{L-=parseFloat(AG.curCSS(F,"border"+this+"Width",true))||0}})}F.offsetWidth!==0?J():AG.swap(F,AE,J);return Math.max(0,Math.round(L))}return AG.curCSS(F,A,N)},curCSS:function(F,A,L){var J,K=F.style;if(!AG.support.opacity&&A==="opacity"&&F.currentStyle){J=Aq.test(F.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return J===""?"1":J}if(Ae.test(A)){A=AK}if(!L&&K&&K[A]){J=K[A]}else{if(BG){if(Ae.test(A)){A="float"}A=A.replace(BD,"-$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(AC,m);J=F.currentStyle[A]||F.currentStyle[L];if(!Az.test(J)&&Ai.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(AG.expr&&AG.expr.filters){AG.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:AG.curCSS(F,"display")==="none"};AG.expr.filters.visible=function(A){return !AG.expr.filters.hidden(A)}}var A2=Af(),An=/<script(.|\s)*?\/script>/gi,AI=/select|textarea/i,r=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,AY=/=\?(&|$)/,S=/\?/,e=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,A5=/%20/g,Ar=AG.fn.load;AG.fn.extend({load:function(F,A,L){if(typeof F!=="string"){return Ar.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(AG.isFunction(A)){L=A;A=null}else{if(typeof A==="object"){A=AG.param(A,AG.ajaxSettings.traditional);J="POST"}}}var G=this;AG.ajax({url:F,type:J,dataType:"html",data:A,complete:function(N,O){if(O==="success"||O==="notmodified"){G.html(K?AG("<div />").append(N.responseText.replace(An,"")).find(K):N.responseText)}L&&G.each(L,[N.responseText,O,N])}});return this},serialize:function(){return AG.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?AG.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||AI.test(this.nodeName)||r.test(this.type))}).map(function(F,A){F=AG(this).val();return F==null?null:AG.isArray(F)?AG.map(F,function(G){return{name:A.name,value:G}}):{name:A.name,value:F}}).get()}});AG.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(F,A){AG.fn[A]=function(G){return this.bind(A,G)}});AG.extend({get:function(F,A,J,G){if(AG.isFunction(A)){G=G||J;J=A;A=null}return AG.ajax({type:"GET",url:F,data:A,success:J,dataType:G})},getScript:function(F,A){return AG.get(F,null,A,"script")},getJSON:function(F,A,G){return AG.get(F,A,G,"json")},post:function(F,A,J,G){if(AG.isFunction(A)){G=G||J;J=A;A={}}return AG.ajax({type:"POST",url:F,data:A,success:J,dataType:G})},ajaxSetup:function(A){AG.extend(AG.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:Ao.XMLHttpRequest&&(Ao.location.protocol!=="file:"||!Ao.ActiveXObject)?function(){return new Ao.XMLHttpRequest}:function(){try{return new Ao.ActiveXObject("Microsoft.XMLHTTP")}catch(A){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(Aa){function w(){c.success&&c.success.call(T,O,W,F);c.global&&Z("ajaxSuccess",[F,c])}function s(){c.complete&&c.complete.call(T,F,W);c.global&&Z("ajaxComplete",[F,c]);c.global&&!--AG.active&&AG.event.trigger("ajaxStop")}function Z(BJ,BK){(c.context?AG(c.context):AG.event).trigger(BJ,BK)}var c=AG.extend(true,{},AG.ajaxSettings,Aa),V,W,O,T=Aa&&Aa.context||c,P=c.type.toUpperCase();if(c.data&&c.processData&&typeof c.data!=="string"){c.data=AG.param(c.data,c.traditional)}if(c.dataType==="jsonp"){if(P==="GET"){AY.test(c.url)||(c.url+=(S.test(c.url)?"&":"?")+(c.jsonp||"callback")+"=?")}else{if(!c.data||!AY.test(c.data)){c.data=(c.data?c.data+"&":"")+(c.jsonp||"callback")+"=?"}}c.dataType="json"}if(c.dataType==="json"&&(c.data&&AY.test(c.data)||AY.test(c.url))){V=c.jsonpCallback||"jsonp"+A2++;if(c.data){c.data=(c.data+"").replace(AY,"="+V+"$1")}c.url=c.url.replace(AY,"="+V+"$1");c.dataType="script";Ao[V]=Ao[V]||function(BJ){O=BJ;w();s();Ao[V]=x;try{delete Ao[V]}catch(BK){}A&&A.removeChild(K)}}if(c.dataType==="script"&&c.cache===null){c.cache=false}if(c.cache===false&&P==="GET"){var L=Af(),G=c.url.replace(e,"$1_="+L+"$2");c.url=G+(G===c.url?(S.test(c.url)?"&":"?")+"_="+L:"")}if(c.data&&P==="GET"){c.url+=(S.test(c.url)?"&":"?")+c.data}c.global&&!AG.active++&&AG.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=y.getElementsByTagName("head")[0]||y.documentElement,K=y.createElement("script");K.src=c.url;if(c.scriptCharset){K.charset=c.scriptCharset}if(!V){var N=false;K.onload=K.onreadystatechange=function(){if(!N&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){N=true;w();s();K.onload=K.onreadystatechange=null;A&&K.parentNode&&A.removeChild(K)}}}A.insertBefore(K,A.firstChild);return x}var J=false,F=c.xhr();if(F){c.username?F.open(P,c.url,c.async,c.username,c.password):F.open(P,c.url,c.async);try{if(c.data||Aa&&Aa.contentType){F.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){AG.lastModified[c.url]&&F.setRequestHeader("If-Modified-Since",AG.lastModified[c.url]);AG.etag[c.url]&&F.setRequestHeader("If-None-Match",AG.etag[c.url])}L||F.setRequestHeader("X-Requested-With","XMLHttpRequest");F.setRequestHeader("Accept",c.dataType&&c.accepts[c.dataType]?c.accepts[c.dataType]+", */*":c.accepts._default)}catch(Ab){}if(c.beforeSend&&c.beforeSend.call(T,F,c)===false){c.global&&!--AG.active&&AG.event.trigger("ajaxStop");F.abort();return false}c.global&&Z("ajaxSend",[F,c]);var Y=F.onreadystatechange=function(BK){if(!F||F.readyState===0||BK==="abort"){J||s();J=true;if(F){F.onreadystatechange=AG.noop}}else{if(!J&&F&&(F.readyState===4||BK==="timeout")){J=true;F.onreadystatechange=AG.noop;W=BK==="timeout"?"timeout":!AG.httpSuccess(F)?"error":c.ifModified&&AG.httpNotModified(F,c.url)?"notmodified":"success";var BL;if(W==="success"){try{O=AG.httpData(F,c.dataType,c)}catch(BJ){W="parsererror";BL=BJ}}if(W==="success"||W==="notmodified"){V||w()}else{AG.handleError(c,F,W,BL)}s();BK==="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){AG.handleError(c,F,null,Q);s()}c.async||Y();return F}},handleError:function(F,A,J,G){if(F.error){F.error.call(F.context||F,A,J,G)}if(F.global){(F.context?AG(F.context):AG.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){AG.lastModified[A]=J}if(G){AG.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"&&AG.error("parsererror");if(K&&K.dataFilter){F=K.dataFilter(F,A)}if(typeof F==="string"){if(A==="json"||!A&&G.indexOf("json")>=0){F=AG.parseJSON(F)}else{if(A==="script"||!A&&G.indexOf("javascript")>=0){AG.globalEval(F)}}}return F},param:function(F,A){function L(N,O){if(AG.isArray(O)){AG.each(O,function(P,Q){A||/\[\]$/.test(N)?J(N,Q):L(N+"["+(typeof Q==="object"||AG.isArray(Q)?P:"")+"]",Q)})}else{!A&&O!=null&&typeof O==="object"?AG.each(O,function(P,Q){L(N+"["+P+"]",Q)}):J(N,O)}}function J(N,O){O=AG.isFunction(O)?O():O;K[K.length]=encodeURIComponent(N)+"="+encodeURIComponent(O)}var K=[];if(A===x){A=AG.ajaxSettings.traditional}if(AG.isArray(F)||F.jquery){AG.each(F,function(){J(this.name,this.value)})}else{for(var G in F){L(G,F[G])}}return K.join("&").replace(A5,"+")}});var BE={},BA=/toggle|show|hide/,Ax=/^([+-]=)?([\d+-.]+)(.*)$/,AP,t=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];AG.fn.extend({show:function(F,A){if(F||F===0){return this.animate(Ac("show",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var K=AG.data(this[F],"olddisplay");this[F].style.display=K||"";if(AG.css(this[F],"display")==="none"){K=this[F].nodeName;var G;if(BE[K]){G=BE[K]}else{var J=AG("<"+K+" />").appendTo("body");G=J.css("display");if(G==="none"){G="block"}J.remove();BE[K]=G}AG.data(this[F],"olddisplay",G)}}F=0;for(A=this.length;F<A;F++){this[F].style.display=AG.data(this[F],"olddisplay")||""}return this}},hide:function(F,A){if(F||F===0){return this.animate(Ac("hide",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var G=AG.data(this[F],"olddisplay");!G&&G!=="none"&&AG.data(this[F],"olddisplay",AG.css(this[F],"display"))}F=0;for(A=this.length;F<A;F++){this[F].style.display="none"}return this}},_toggle:AG.fn.toggle,toggle:function(F,A){var G=typeof F==="boolean";if(AG.isFunction(F)&&AG.isFunction(A)){this._toggle.apply(this,arguments)}else{F==null||G?this.each(function(){var J=G?F:AG(this).is(":hidden");AG(this)[J?"show":"hide"]()}):this.animate(Ac("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=AG.speed(A,K,G);if(AG.isEmptyObject(F)){return this.each(J.complete)}return this[J.queue===false?"each":"queue"](function(){var N=AG.extend({},J),O,P=this.nodeType===1&&AG(this).is(":hidden"),L=this;for(O in F){var Q=O.replace(AC,m);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=AG.css(this,"display");N.overflow=this.style.overflow}if(AG.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=AG.extend({},F);AG.each(F,function(T,R){var X=new AG.fx(L,N,T);if(BA.test(R)){X[R==="toggle"?P?"show":"hide":R](F)}else{var W=Ax.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=AG.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}});AG.each({slideDown:Ac("show",1),slideUp:Ac("hide",1),slideToggle:Ac("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,A){AG.fn[F]=function(J,G){return this.animate(A,J,G)}});AG.extend({speed:function(F,A,J){var G=F&&typeof F==="object"?F:{complete:J||!J&&A||AG.isFunction(F)&&F,duration:F,easing:J&&A||A&&!AG.isFunction(A)&&A};G.duration=AG.fx.off?0:typeof G.duration==="number"?G.duration:AG.fx.speeds[G.duration]||AG.fx.speeds._default;G.old=G.complete;G.complete=function(){G.queue!==false&&AG(this).dequeue();AG.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={}}}});AG.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(AG.fx.step[this.prop]||AG.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(AG.css(this.elem,this.prop,A)))&&A>-10000?A:parseFloat(AG.curCSS(this.elem,this.prop))||0},custom:function(F,A,K){function G(L){return J.step(L)}this.startTime=Af();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()&&AG.timers.push(G)&&!AP){AP=setInterval(AG.fx.tick,13)}},show:function(){this.options.orig[this.prop]=AG.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());AG(this.elem).show()},hide:function(){this.options.orig[this.prop]=AG.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(F){var A=Af(),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=AG.data(this.elem,"olddisplay");this.elem.style.display=F?F:this.options.display;if(AG.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&AG(this.elem).hide();if(this.options.hide||this.options.show){for(var J in this.options.curAnim){AG.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||(AG.easing.swing?"swing":"linear");this.pos=AG.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}};AG.extend(AG.fx,{tick:function(){for(var F=AG.timers,A=0;A<F.length;A++){F[A]()||F.splice(A--,1)}F.length||AG.fx.stop()},stop:function(){clearInterval(AP);AP=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){AG.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(AG.expr&&AG.expr.filters){AG.expr.filters.animated=function(A){return AG.grep(AG.timers,function(F){return A===F.elem}).length}}AG.fn.offset="getBoundingClientRect" in y.documentElement?function(F){var A=this[0];if(F){return this.each(function(K){AG.offset.setOffset(this,F,K)})}if(!A||!A.ownerDocument){return null}if(A===A.ownerDocument.body){return AG.offset.bodyOffset(A)}var J=A.getBoundingClientRect(),G=A.ownerDocument;A=G.body;G=G.documentElement;return{top:J.top+(self.pageYOffset||AG.support.boxModel&&G.scrollTop||A.scrollTop)-(G.clientTop||A.clientTop||0),left:J.left+(self.pageXOffset||AG.support.boxModel&&G.scrollLeft||A.scrollLeft)-(G.clientLeft||A.clientLeft||0)}}:function(Q){var P=this[0];if(Q){return this.each(function(R){AG.offset.setOffset(this,Q,R)})}if(!P||!P.ownerDocument){return null}if(P===P.ownerDocument.body){return AG.offset.bodyOffset(P)}AG.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(AG.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(AG.offset.doesNotAddBorder&&!(AG.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(AG.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(AG.offset.supportsFixedPosition&&L.position==="fixed"){G+=Math.max(K.scrollTop,A.scrollTop);F+=Math.max(K.scrollLeft,A.scrollLeft)}return{top:G,left:F}};AG.offset={initialize:function(){var F=y.body,A=y.createElement("div"),L,J,K,G=parseFloat(AG.curCSS(F,"marginTop",true))||0;AG.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);AG.offset.initialize=AG.noop},bodyOffset:function(F){var A=F.offsetTop,G=F.offsetLeft;AG.offset.initialize();if(AG.offset.doesNotIncludeMarginInBodyOffset){A+=parseFloat(AG.curCSS(F,"marginTop",true))||0;G+=parseFloat(AG.curCSS(F,"marginLeft",true))||0}return{top:A,left:G}},setOffset:function(F,A,N){if(/static/.test(AG.curCSS(F,"position"))){F.style.position="relative"}var K=AG(F),L=K.offset(),G=parseInt(AG.curCSS(F,"top",true),10)||0,J=parseInt(AG.curCSS(F,"left",true),10)||0;if(AG.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)}};AG.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(AG.curCSS(F,"marginTop",true))||0;J.left-=parseFloat(AG.curCSS(F,"marginLeft",true))||0;G.top+=parseFloat(AG.curCSS(A[0],"borderTopWidth",true))||0;G.left+=parseFloat(AG.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||y.body;A&&!/^body|html$/i.test(A.nodeName)&&AG.css(A,"position")==="static";){A=A.offsetParent}return A})}});AG.each(["Left","Top"],function(F,A){var G="scroll"+A;AG.fn[G]=function(K){var L=this[0],J;if(!L){return null}if(K!==x){return this.each(function(){if(J=f(this)){J.scrollTo(!F?K:AG(J).scrollLeft(),F?K:AG(J).scrollTop())}else{this[G]=K}})}else{return(J=f(L))?"pageXOffset" in J?J[F?"pageYOffset":"pageXOffset"]:AG.support.boxModel&&J.document.documentElement[G]||J.document.body[G]:L[G]}}});AG.each(["Height","Width"],function(F,A){var G=A.toLowerCase();AG.fn["inner"+A]=function(){return this[0]?AG.css(this[0],G,false,"padding"):null};AG.fn["outer"+A]=function(J){return this[0]?AG.css(this[0],G,false,J?"margin":"border"):null};AG.fn[G]=function(J){var K=this[0];if(!K){return J==null?null:this}if(AG.isFunction(J)){return this.each(function(L){var N=AG(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===x?AG.css(K,G):this.css(G,typeof J==="string"?J:J+"px")}});Ao.jQuery=Ao.$=AG})(window);$.fn.resetClass=function(){this.attr("class",this.attr("class"))};$.fn.setPrompt=function(A){if(this.val()==""){this.val(A)}this.bind("focus",{defaultValue:A},function(B){if($(this).val()==B.data.defaultValue){$(this).val("")}return false});this.bind("blur",{defaultValue:A},function(B){if($(this).val()==""){$(this).val(B.data.defaultValue)}return false})};$.urlencode=function(A){return encodeURIComponent(A)};$.h=function(A){newText=A.replace(/&/g,"&amp;");newText=newText.replace(/>/g,"&gt;");newText=newText.replace(/</g,"&lt;");newText=newText.replace(/"/g,"&quot;");newText=newText.replace(/'/g,"&#039;");return newText};(function(L){L.fn.qtip=function(R,Y){var U,Z,S,a,V,W,X,T;if(typeof R=="string"){if(typeof L(this).data("qtip")!=="object"){L.fn.qtip.log.error.call(self,1,L.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(R=="api"){return L(this).data("qtip").interfaces[L(this).data("qtip").current]}else{if(R=="interfaces"){return L(this).data("qtip").interfaces}}}else{if(!R){R={}}if(typeof R.content!=="object"||(R.content.jquery&&R.content.length>0)){R.content={text:R.content}}if(typeof R.content.title!=="object"){R.content.title={text:R.content.title}}if(typeof R.position!=="object"){R.position={corner:R.position}}if(typeof R.position.corner!=="object"){R.position.corner={target:R.position.corner,tooltip:R.position.corner}}if(typeof R.show!=="object"){R.show={when:R.show}}if(typeof R.show.when!=="object"){R.show.when={event:R.show.when}}if(typeof R.show.effect!=="object"){R.show.effect={type:R.show.effect}}if(typeof R.hide!=="object"){R.hide={when:R.hide}}if(typeof R.hide.when!=="object"){R.hide.when={event:R.hide.when}}if(typeof R.hide.effect!=="object"){R.hide.effect={type:R.hide.effect}}if(typeof R.style!=="object"){R.style={name:R.style}}R.style=O(R.style);a=L.extend(true,{},L.fn.qtip.defaults,R);a.style=Q.call({options:a},a.style);a.user=L.extend(true,{},R)}return L(this).each(function(){if(typeof R=="string"){W=R.toLowerCase();S=L(this).qtip("interfaces");if(typeof S=="object"){if(Y===true&&W=="destroy"){while(S.length>0){S[S.length-1].destroy()}}else{if(Y!==true){S=[L(this).qtip("api")]}for(U=0;U<S.length;U++){if(W=="destroy"){S[U].destroy()}else{if(S[U].status.rendered===true){if(W=="show"){S[U].show()}else{if(W=="hide"){S[U].hide()}else{if(W=="focus"){S[U].focus()}else{if(W=="disable"){S[U].disable(true)}else{if(W=="enable"){S[U].disable(false)}}}}}}}}}}}else{X=L.extend(true,{},a);X.hide.effect.length=a.hide.effect.length;X.show.effect.length=a.show.effect.length;if(X.position.container===false){X.position.container=L(document.body)}if(X.position.target===false){X.position.target=L(this)}if(X.show.when.target===false){X.show.when.target=L(this)}if(X.hide.when.target===false){X.hide.when.target=L(this)}Z=L.fn.qtip.interfaces.length;for(U=0;U<Z;U++){if(typeof L.fn.qtip.interfaces[U]=="undefined"){Z=U;break}}V=new N(L(this),X,Z);L.fn.qtip.interfaces[Z]=V;if(typeof L(this).data("qtip")=="object"&&L(this).data("qtip")!==null){if(typeof L(this).attr("qtip")==="undefined"){L(this).data("qtip").current=L(this).data("qtip").interfaces.length}L(this).data("qtip").interfaces.push(V)}else{L(this).data("qtip",{current:0,interfaces:[V]})}if(X.content.prerender===false&&X.show.when.event!==false&&X.show.ready!==true){X.show.when.target.bind(X.show.when.event+".qtip-"+Z+"-create",{qtip:Z},function(b){T=L.fn.qtip.interfaces[b.data.qtip];T.options.show.when.target.unbind(T.options.show.when.event+".qtip-"+b.data.qtip+"-create");T.cache.mouse={x:b.pageX,y:b.pageY};C.call(T);T.options.show.when.target.trigger(T.options.show.when.event)})}else{V.cache.mouse={x:X.show.when.target.offset().left,y:X.show.when.target.offset().top};C.call(V)}}})};function N(S,T,R){var U=this;U.id=R;U.options=T;U.status={animated:false,rendered:false,disabled:false,focused:false};U.elements={target:S.addClass(U.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};U.cache={mouse:{},position:{},toggle:0};U.timers={};L.extend(U,U.options.api,{show:function(Y){var V,X;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(U.elements.tooltip.css("display")!=="none"){return U}U.elements.tooltip.stop(true,false);V=U.beforeShow.call(U,Y);if(V===false){return U}function W(){if(U.options.position.type!=="static"){U.focus()}U.onShow.call(U,Y);if(L.browser.msie){U.elements.tooltip.get(0).style.removeAttribute("filter")}}U.cache.toggle=1;if(U.options.position.type!=="static"){U.updatePosition(Y,(U.options.show.effect.length>0))}if(typeof U.options.show.solo=="object"){X=L(U.options.show.solo)}else{if(U.options.show.solo===true){X=L("div.qtip").not(U.elements.tooltip)}}if(X){X.each(function(){if(L(this).qtip("api").status.rendered===true){L(this).qtip("api").hide()}})}if(typeof U.options.show.effect.type=="function"){U.options.show.effect.type.call(U.elements.tooltip,U.options.show.effect.length);U.elements.tooltip.queue(function(){W();L(this).dequeue()})}else{switch(U.options.show.effect.type.toLowerCase()){case"fade":U.elements.tooltip.fadeIn(U.options.show.effect.length,W);break;case"slide":U.elements.tooltip.slideDown(U.options.show.effect.length,function(){W();if(U.options.position.type!=="static"){U.updatePosition(Y,true)}});break;case"grow":U.elements.tooltip.show(U.options.show.effect.length,W);break;default:U.elements.tooltip.show(null,W);break}U.elements.tooltip.addClass(U.options.style.classes.active)}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(X){var V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(U.elements.tooltip.css("display")==="none"){return U}}clearTimeout(U.timers.show);U.elements.tooltip.stop(true,false);V=U.beforeHide.call(U,X);if(V===false){return U}function W(){U.onHide.call(U,X)}U.cache.toggle=0;if(typeof U.options.hide.effect.type=="function"){U.options.hide.effect.type.call(U.elements.tooltip,U.options.hide.effect.length);U.elements.tooltip.queue(function(){W();L(this).dequeue()})}else{switch(U.options.hide.effect.type.toLowerCase()){case"fade":U.elements.tooltip.fadeOut(U.options.hide.effect.length,W);break;case"slide":U.elements.tooltip.slideUp(U.options.hide.effect.length,W);break;case"grow":U.elements.tooltip.hide(U.options.hide.effect.length,W);break;default:U.elements.tooltip.hide(null,W);break}U.elements.tooltip.removeClass(U.options.style.classes.active)}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(g,e){var W,j,a,d,h,l,c,f,X,V,b,Y,k,Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(U.options.position.type=="static"){return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}j={position:{left:0,top:0},dimensions:{height:0,width:0},corner:U.options.position.corner.target};a={position:U.getPosition(),dimensions:U.getDimensions(),corner:U.options.position.corner.tooltip};if(U.options.position.target!=="mouse"){if(U.options.position.target.get(0).nodeName.toLowerCase()=="area"){d=U.options.position.target.attr("coords").split(",");for(W=0;W<d.length;W++){d[W]=parseInt(d[W])}h=U.options.position.target.parent("map").attr("name");l=L('img[usemap="#'+h+'"]:first').offset();j.position={left:Math.floor(l.left+d[0]),top:Math.floor(l.top+d[1])};switch(U.options.position.target.attr("shape").toLowerCase()){case"rect":j.dimensions={width:Math.ceil(Math.abs(d[2]-d[0])),height:Math.ceil(Math.abs(d[3]-d[1]))};break;case"circle":j.dimensions={width:d[2]+1,height:d[2]+1};break;case"poly":j.dimensions={width:d[0],height:d[1]};for(W=0;W<d.length;W++){if(W%2==0){if(d[W]>j.dimensions.width){j.dimensions.width=d[W]}if(d[W]<d[0]){j.position.left=Math.floor(l.left+d[W])}}else{if(d[W]>j.dimensions.height){j.dimensions.height=d[W]}if(d[W]<d[1]){j.position.top=Math.floor(l.top+d[W])}}}j.dimensions.width=j.dimensions.width-(j.position.left-l.left);j.dimensions.height=j.dimensions.height-(j.position.top-l.top);break;default:return L.fn.qtip.log.error.call(U,4,L.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}j.dimensions.width-=2;j.dimensions.height-=2}else{if(U.options.position.target.add(document.body).length===1){j.position={left:L(document).scrollLeft(),top:L(document).scrollTop()};j.dimensions={height:L(window).height(),width:L(window).width()}}else{if(typeof U.options.position.target.attr("qtip")!=="undefined"){j.position=U.options.position.target.qtip("api").cache.position}else{j.position=U.options.position.target.offset()}j.dimensions={height:U.options.position.target.outerHeight(),width:U.options.position.target.outerWidth()}}}c=L.extend({},j.position);if(j.corner.search(/right/i)!==-1){c.left+=j.dimensions.width}if(j.corner.search(/bottom/i)!==-1){c.top+=j.dimensions.height}if(j.corner.search(/((top|bottom)Middle)|center/)!==-1){c.left+=(j.dimensions.width/2)}if(j.corner.search(/((left|right)Middle)|center/)!==-1){c.top+=(j.dimensions.height/2)}}else{j.position=c={left:U.cache.mouse.x,top:U.cache.mouse.y};j.dimensions={height:1,width:1}}if(a.corner.search(/right/i)!==-1){c.left-=a.dimensions.width}if(a.corner.search(/bottom/i)!==-1){c.top-=a.dimensions.height}if(a.corner.search(/((top|bottom)Middle)|center/)!==-1){c.left-=(a.dimensions.width/2)}if(a.corner.search(/((left|right)Middle)|center/)!==-1){c.top-=(a.dimensions.height/2)}f=(L.browser.msie)?1:0;X=(L.browser.msie&&parseInt(L.browser.version.charAt(0))===6)?1:0;if(U.options.style.border.radius>0){if(a.corner.search(/Left/)!==-1){c.left-=U.options.style.border.radius}else{if(a.corner.search(/Right/)!==-1){c.left+=U.options.style.border.radius}}if(a.corner.search(/Top/)!==-1){c.top-=U.options.style.border.radius}else{if(a.corner.search(/Bottom/)!==-1){c.top+=U.options.style.border.radius}}}if(f){if(a.corner.search(/top/)!==-1){c.top-=f}else{if(a.corner.search(/bottom/)!==-1){c.top+=f}}if(a.corner.search(/left/)!==-1){c.left-=f}else{if(a.corner.search(/right/)!==-1){c.left+=f}}if(a.corner.search(/leftMiddle|rightMiddle/)!==-1){c.top-=1}}if(U.options.position.adjust.screen===true){c=D.call(U,c,j,a)}if(U.options.position.target==="mouse"&&U.options.position.adjust.mouse===true){if(U.options.position.adjust.screen===true&&U.elements.tip){b=U.elements.tip.attr("rel")}else{b=U.options.position.corner.tooltip}c.left+=(b.search(/right/i)!==-1)?-6:6;c.top+=(b.search(/bottom/i)!==-1)?-6:6}if(!U.elements.bgiframe&&L.browser.msie&&parseInt(L.browser.version.charAt(0))==6){L("select, object").each(function(){Y=L(this).offset();Y.bottom=Y.top+L(this).height();Y.right=Y.left+L(this).width();if(c.top+a.dimensions.height>=Y.top&&c.left+a.dimensions.width>=Y.left){H.call(U)}})}c.left+=U.options.position.adjust.x;c.top+=U.options.position.adjust.y;k=U.getPosition();if(c.left!=k.left||c.top!=k.top){Z=U.beforePositionUpdate.call(U,g);if(Z===false){return U}U.cache.position=c;if(e===true){U.status.animated=true;U.elements.tooltip.animate(c,200,"swing",function(){U.status.animated=false})}else{U.elements.tooltip.css(c)}U.onPositionUpdate.call(U,g);if(typeof g!=="undefined"&&g.type&&g.type!=="mousemove"){L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return U},updateWidth:function(W){var V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(W&&typeof W!=="number"){return L.fn.qtip.log.error.call(U,2,"newWidth must be of type number","updateWidth")}}V=U.elements.contentWrapper.siblings().add(U.elements.tip).add(U.elements.button);if(!W){if(typeof U.options.style.width.value=="number"){W=U.options.style.width.value}else{U.elements.tooltip.css({width:"auto"});V.hide();if(L.browser.msie){U.elements.wrapper.add(U.elements.contentWrapper.children()).css({zoom:"normal"})}W=U.getDimensions().width+1;if(!U.options.style.width.value){if(W>U.options.style.width.max){W=U.options.style.width.max}if(W<U.options.style.width.min){W=U.options.style.width.min}}}}if(W%2!==0){W-=1}U.elements.tooltip.width(W);V.show();if(U.options.style.border.radius){U.elements.tooltip.find(".qtip-betweenCorners").each(function(X){L(this).width(W-(U.options.style.border.radius*2))})}if(L.browser.msie){U.elements.wrapper.add(U.elements.contentWrapper.children()).css({zoom:"1"});U.elements.wrapper.width(W);if(U.elements.bgiframe){U.elements.bgiframe.width(W).height(U.getDimensions.height)}}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(X){var Y,W,V,a,Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof X!=="string"||!L.fn.qtip.styles[X]){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}U.options.style=Q.call(U,L.fn.qtip.styles[X],U.options.user.style);U.elements.content.css(B(U.options.style));if(U.options.content.title.text!==false){U.elements.title.css(B(U.options.style.title,true))}U.elements.contentWrapper.css({borderColor:U.options.style.border.color});if(U.options.style.tip.corner!==false){if(L("<canvas>").get(0).getContext){Y=U.elements.tooltip.find(".qtip-tip canvas:first");V=Y.get(0).getContext("2d");V.clearRect(0,0,300,300);a=Y.parent("div[rel]:first").attr("rel");Z=P(a,U.options.style.tip.size.width,U.options.style.tip.size.height);J.call(U,Y,Z,U.options.style.tip.color||U.options.style.border.color)}else{if(L.browser.msie){Y=U.elements.tooltip.find('.qtip-tip [nodeName="shape"]');Y.attr("fillcolor",U.options.style.tip.color||U.options.style.border.color)}}}if(U.options.style.border.radius>0){U.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:U.options.style.border.color});if(L("<canvas>").get(0).getContext){W=K(U.options.style.border.radius);U.elements.tooltip.find(".qtip-wrapper canvas").each(function(){V=L(this).get(0).getContext("2d");V.clearRect(0,0,300,300);a=L(this).parent("div[rel]:first").attr("rel");A.call(U,L(this),W[a],U.options.style.border.radius,U.options.style.border.color)})}else{if(L.browser.msie){U.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){L(this).attr("fillcolor",U.options.style.border.color)})}}}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(W,a){var Y,V,X;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!W){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}Y=U.beforeContentUpdate.call(U,W);if(typeof Y=="string"){W=Y}else{if(Y===false){return }}if(L.browser.msie){U.elements.contentWrapper.children().css({zoom:"normal"})}if(W.jquery&&W.length>0){W.clone(true).appendTo(U.elements.content).show()}else{U.elements.content.html(W)}V=U.elements.content.find("img[complete=false]");if(V.length>0){X=0;V.each(function(b){L('<img src="'+L(this).attr("src")+'" />').load(function(){if(++X==V.length){Z()}})})}else{Z()}function Z(){U.updateWidth();if(a!==false){if(U.options.position.type!=="static"){U.updatePosition(U.elements.tooltip.is(":visible"),true)}if(U.options.style.tip.corner!==false){E.call(U)}}}U.onContentUpdate.call(U);return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(X,Y,W){var Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}Z=U.beforeContentLoad.call(U);if(Z===false){return U}if(W=="post"){L.post(X,Y,V)}else{L.get(X,Y,V)}function V(a){U.onContentLoad.call(U);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");U.updateContent(a)}return U},updateTitle:function(V){if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!V){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=U.beforeTitleUpdate.call(U);if(returned===false){return U}if(U.elements.button){U.elements.button=U.elements.button.clone(true)}U.elements.title.html(V);if(U.elements.button){U.elements.title.prepend(U.elements.button)}U.onTitleUpdate.call(U);return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(W){var Z,V,X,Y;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(U.options.position.type=="static"){return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}Z=parseInt(U.elements.tooltip.css("z-index"));V=6000+L("div.qtip[qtip]").length-1;if(!U.status.focused&&Z!==V){Y=U.beforeFocus.call(U,W);if(Y===false){return U}L("div.qtip[qtip]").not(U.elements.tooltip).each(function(){if(L(this).qtip("api").status.rendered===true){X=parseInt(L(this).css("z-index"));if(typeof X=="number"&&X>-1){L(this).css({zIndex:parseInt(L(this).css("z-index"))-1})}L(this).qtip("api").status.focused=false}});U.elements.tooltip.css({zIndex:V});U.status.focused=true;U.onFocus.call(U,W);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_FOCUSED,"focus")}return U},disable:function(V){if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(V){if(!U.status.disabled){U.status.disabled=true;L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_DISABLED,"disable")}else{L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(U.status.disabled){U.status.disabled=false;L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_ENABLED,"disable")}else{L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return U},destroy:function(){var W,V,X;V=U.beforeDestroy.call(U);if(V===false){return U}if(U.status.rendered){U.options.show.when.target.unbind("mousemove.qtip",U.updatePosition);U.options.show.when.target.unbind("mouseout.qtip",U.hide);U.options.show.when.target.unbind(U.options.show.when.event+".qtip");U.options.hide.when.target.unbind(U.options.hide.when.event+".qtip");U.elements.tooltip.unbind(U.options.hide.when.event+".qtip");U.elements.tooltip.unbind("mouseover.qtip",U.focus);U.elements.tooltip.remove()}else{U.options.show.when.target.unbind(U.options.show.when.event+".qtip-create")}if(typeof U.elements.target.data("qtip")=="object"){X=U.elements.target.data("qtip").interfaces;if(typeof X=="object"&&X.length>0){for(W=0;W<X.length-1;W++){if(X[W].id==U.id){X.splice(W,1)}}}}delete L.fn.qtip.interfaces[U.id];if(typeof X=="object"&&X.length>0){U.elements.target.data("qtip").current=X.length-1}else{U.elements.target.removeData("qtip")}U.onDestroy.call(U);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_DESTROYED,"destroy");return U.elements.target},getPosition:function(){var W,V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}W=(U.elements.tooltip.css("display")!=="none")?false:true;if(W){U.elements.tooltip.css({visiblity:"hidden"}).show()}V=U.elements.tooltip.offset();if(W){U.elements.tooltip.css({visiblity:"visible"}).hide()}return V},getDimensions:function(){var W,V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}W=(!U.elements.tooltip.is(":visible"))?true:false;if(W){U.elements.tooltip.css({visiblity:"hidden"}).show()}V={height:U.elements.tooltip.outerHeight(),width:U.elements.tooltip.outerWidth()};if(W){U.elements.tooltip.css({visiblity:"visible"}).hide()}return V}})}function C(){var W,S,U,V,T,X,R;W=this;W.beforeRender.call(W);W.status.rendered=true;W.elements.tooltip='<div qtip="'+W.id+'" class="qtip '+(W.options.style.classes.tooltip||W.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+W.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+W.options.style.classes.content+'"></div></div></div></div>';W.elements.tooltip=L(W.elements.tooltip);W.elements.tooltip.appendTo(W.options.position.container);W.elements.tooltip.data("qtip",{current:0,interfaces:[W]});W.elements.wrapper=W.elements.tooltip.children("div:first");W.elements.contentWrapper=W.elements.wrapper.children("div:first").css({background:W.options.style.background});W.elements.content=W.elements.contentWrapper.children("div:first").css(B(W.options.style));if(L.browser.msie){W.elements.wrapper.add(W.elements.content).css({zoom:1})}if(W.options.hide.when.event=="unfocus"){W.elements.tooltip.attr("unfocus",true)}if(typeof W.options.style.width.value=="number"){W.updateWidth()}if(L("<canvas>").get(0).getContext||L.browser.msie){if(W.options.style.border.radius>0){F.call(W)}else{W.elements.contentWrapper.css({border:W.options.style.border.width+"px solid "+W.options.style.border.color})}if(W.options.style.tip.corner!==false){M.call(W)}}else{W.elements.contentWrapper.css({border:W.options.style.border.width+"px solid "+W.options.style.border.color});W.options.style.border.radius=0;W.options.style.tip.corner=false;L.fn.qtip.log.error.call(W,2,L.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof W.options.content.text=="string"&&W.options.content.text.length>0)||(W.options.content.text.jquery&&W.options.content.text.length>0)){U=W.options.content.text}else{if(typeof W.elements.target.attr("title")=="string"&&W.elements.target.attr("title").length>0){U=W.elements.target.attr("title").replace("\\n","<br />");W.elements.target.attr("title","")}else{if(typeof W.elements.target.attr("alt")=="string"&&W.elements.target.attr("alt").length>0){U=W.elements.target.attr("alt").replace("\\n","<br />");W.elements.target.attr("alt","")}else{U=" ";L.fn.qtip.log.error.call(W,1,L.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(W.options.content.title.text!==false){I.call(W)}W.updateContent(U);G.call(W);if(W.options.show.ready===true){W.show()}if(W.options.content.url!==false){V=W.options.content.url;T=W.options.content.data;X=W.options.content.method||"get";W.loadContent(V,T,X)}W.onRender.call(W);L.fn.qtip.log.error.call(W,1,L.fn.qtip.constants.EVENT_RENDERED,"render")}function F(){var c,V,d,T,X,f,b,a,R,W,Y,S,U,e,Z;c=this;c.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();d=c.options.style.border.width;T=c.options.style.border.radius;X=c.options.style.border.color||c.options.style.tip.color;f=K(T);b={};for(V in f){b[V]='<div rel="'+V+'" style="'+((V.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+T+"px; width:"+T+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(L("<canvas>").get(0).getContext){b[V]+='<canvas height="'+T+'" width="'+T+'" style="vertical-align: top"></canvas>'}else{if(L.browser.msie){a=T*2+3;b[V]+='<v:arc stroked="false" fillcolor="'+X+'" startangle="'+f[V][0]+'" endangle="'+f[V][1]+'" style="width:'+a+"px; height:"+a+"px; margin-top:"+((V.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((V.search(/Right/)!==-1)?f[V][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}b[V]+="</div>"}R=c.getDimensions().width-(Math.max(d,T)*2);W='<div class="qtip-betweenCorners" style="height:'+T+"px; width:"+R+"px; overflow:hidden; background-color:"+X+'; line-height:0.1px; font-size:1px;">';Y='<div class="qtip-borderTop" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+b.topLeft+b.topRight+W;c.elements.wrapper.prepend(Y);S='<div class="qtip-borderBottom" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+b.bottomLeft+b.bottomRight+W;c.elements.wrapper.append(S);if(L("<canvas>").get(0).getContext){c.elements.wrapper.find("canvas").each(function(){U=f[L(this).parent("[rel]:first").attr("rel")];A.call(c,L(this),U,T,X)})}else{if(L.browser.msie){c.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}e=Math.max(T,(T+(d-T)));Z=Math.max(d-T,0);c.elements.contentWrapper.css({border:"0px solid "+X,borderWidth:Z+"px "+e+"px"})}function A(T,R,V,U){var S=T.get(0).getContext("2d");S.fillStyle=U;S.beginPath();S.arc(R[0],R[1],V,0,Math.PI*2,false);S.fill()}function M(T){var V,W,R,U,S;V=this;if(V.elements.tip!==null){V.elements.tip.remove()}W=V.options.style.tip.color||V.options.style.border.color;if(V.options.style.tip.corner===false){return }else{if(!T){T=V.options.style.tip.corner}}R=P(T,V.options.style.tip.size.width,V.options.style.tip.size.height);V.elements.tip='<div class="'+V.options.style.classes.tip+'" dir="ltr" rel="'+T+'" style="position:absolute; height:'+V.options.style.tip.size.height+"px; width:"+V.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(L("<canvas>").get(0).getContext){V.elements.tip+='<canvas height="'+V.options.style.tip.size.height+'" width="'+V.options.style.tip.size.width+'"></canvas>'}else{if(L.browser.msie){U=V.options.style.tip.size.width+","+V.options.style.tip.size.height;S="m"+R[0][0]+","+R[0][1];S+=" l"+R[1][0]+","+R[1][1];S+=" "+R[2][0]+","+R[2][1];S+=" xe";V.elements.tip+='<v:shape fillcolor="'+W+'" stroked="false" filled="true" path="'+S+'" coordsize="'+U+'" style="width:'+V.options.style.tip.size.width+"px; height:"+V.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((T.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';V.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';V.elements.contentWrapper.css("position","relative")}}V.elements.tooltip.prepend(V.elements.tip+"</div>");V.elements.tip=V.elements.tooltip.find("."+V.options.style.classes.tip).eq(0);if(L("<canvas>").get(0).getContext){J.call(V,V.elements.tip.find("canvas:first"),R,W)}if(T.search(/top/)!==-1&&L.browser.msie&&parseInt(L.browser.version.charAt(0))===6){V.elements.tip.css({marginTop:-4})}E.call(V,T)}function J(T,R,U){var S=T.get(0).getContext("2d");S.fillStyle=U;S.beginPath();S.moveTo(R[0][0],R[0][1]);S.lineTo(R[1][0],R[1][1]);S.lineTo(R[2][0],R[2][1]);S.fill()}function E(U){var V,S,W,R,T;V=this;if(V.options.style.tip.corner===false||!V.elements.tip){return }if(!U){U=V.elements.tip.attr("rel")}S=positionAdjust=(L.browser.msie)?1:0;V.elements.tip.css(U.match(/left|right|top|bottom/)[0],0);if(U.search(/top|bottom/)!==-1){if(L.browser.msie){if(parseInt(L.browser.version.charAt(0))===6){positionAdjust=(U.search(/top/)!==-1)?-3:1}else{positionAdjust=(U.search(/top/)!==-1)?1:2}}if(U.search(/Middle/)!==-1){V.elements.tip.css({left:"50%",marginLeft:-(V.options.style.tip.size.width/2)})}else{if(U.search(/Left/)!==-1){V.elements.tip.css({left:V.options.style.border.radius-S})}else{if(U.search(/Right/)!==-1){V.elements.tip.css({right:V.options.style.border.radius+S})}}}if(U.search(/top/)!==-1){V.elements.tip.css({top:-positionAdjust})}else{V.elements.tip.css({bottom:positionAdjust})}}else{if(U.search(/left|right/)!==-1){if(L.browser.msie){positionAdjust=(parseInt(L.browser.version.charAt(0))===6)?1:((U.search(/left/)!==-1)?1:2)}if(U.search(/Middle/)!==-1){V.elements.tip.css({top:"50%",marginTop:-(V.options.style.tip.size.height/2)})}else{if(U.search(/Top/)!==-1){V.elements.tip.css({top:V.options.style.border.radius-S})}else{if(U.search(/Bottom/)!==-1){V.elements.tip.css({bottom:V.options.style.border.radius+S})}}}if(U.search(/left/)!==-1){V.elements.tip.css({left:-positionAdjust})}else{V.elements.tip.css({right:positionAdjust})}}}W="padding-"+U.match(/left|right|top|bottom/)[0];R=V.options.style.tip.size[(W.search(/left|right/)!==-1)?"width":"height"];V.elements.tooltip.css("padding",0);V.elements.tooltip.css(W,R);if(L.browser.msie&&parseInt(L.browser.version.charAt(0))==6){T=parseInt(V.elements.tip.css("margin-top"))||0;T+=parseInt(V.elements.content.css("margin-top"))||0;V.elements.tip.css({marginTop:T})}}function I(){var R=this;if(R.elements.title!==null){R.elements.title.remove()}R.elements.title=L('<div class="'+R.options.style.classes.title+'">').css(B(R.options.style.title,true)).css({zoom:(L.browser.msie)?1:0}).prependTo(R.elements.contentWrapper);if(R.options.content.title.text){R.updateTitle.call(R,R.options.content.title.text)}if(R.options.content.title.button!==false&&typeof R.options.content.title.button=="string"){R.elements.button=L('<a class="'+R.options.style.classes.button+'" style="float:right; position: relative"></a>').css(B(R.options.style.button,true)).html(R.options.content.title.button).prependTo(R.elements.title).click(function(S){if(!R.status.disabled){R.hide(S)}})}}function G(){var V,T,U,W;V=this;T=V.options.show.when.target;U=V.options.hide.when.target;if(V.options.hide.fixed){U=U.add(V.elements.tooltip)}if(V.options.hide.when.event=="inactive"){W=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function X(Y){if(V.status.disabled===true){return }clearTimeout(V.timers.inactive);V.timers.inactive=setTimeout(function(){L(W).each(function(){U.unbind(this+".qtip-inactive");V.elements.content.unbind(this+".qtip-inactive")});V.hide(Y)},V.options.hide.delay)}}else{if(V.options.hide.fixed===true){V.elements.tooltip.bind("mouseover.qtip",function(){if(V.status.disabled===true){return }clearTimeout(V.timers.hide)})}}function R(Y){if(V.status.disabled===true){return }if(V.options.hide.when.event=="inactive"){L(W).each(function(){U.bind(this+".qtip-inactive",X);V.elements.content.bind(this+".qtip-inactive",X)});X()}clearTimeout(V.timers.show);clearTimeout(V.timers.hide);V.timers.show=setTimeout(function(){V.show(Y)},V.options.show.delay)}function S(Y){if(V.status.disabled===true){return }if(V.options.hide.fixed===true&&V.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&L(Y.relatedTarget).parents("div.qtip[qtip]").length>0){Y.stopPropagation();Y.preventDefault();clearTimeout(V.timers.hide);return false}clearTimeout(V.timers.show);clearTimeout(V.timers.hide);V.elements.tooltip.stop(true,true);V.timers.hide=setTimeout(function(){V.hide(Y)},V.options.hide.delay)}if((V.options.show.when.target.add(V.options.hide.when.target).length===1&&V.options.show.when.event==V.options.hide.when.event&&V.options.hide.when.event!=="inactive")||V.options.hide.when.event=="unfocus"){V.cache.toggle=0;T.bind(V.options.show.when.event+".qtip",function(Y){if(V.cache.toggle==0){R(Y)}else{S(Y)}})}else{T.bind(V.options.show.when.event+".qtip",R);if(V.options.hide.when.event!=="inactive"){U.bind(V.options.hide.when.event+".qtip",S)}}if(V.options.position.type.search(/(fixed|absolute)/)!==-1){V.elements.tooltip.bind("mouseover.qtip",V.focus)}if(V.options.position.target==="mouse"&&V.options.position.type!=="static"){T.bind("mousemove.qtip",function(Y){V.cache.mouse={x:Y.pageX,y:Y.pageY};if(V.status.disabled===false&&V.options.position.adjust.mouse===true&&V.options.position.type!=="static"&&V.elements.tooltip.css("display")!=="none"){V.updatePosition(Y)}})}}function D(X,W,R){var S,Z,U,T,Y,V;S=this;if(R.corner=="center"){return W.position}Z=L.extend({},X);T={x:false,y:false};Y={left:(Z.left<L.fn.qtip.cache.screen.scroll.left),right:(Z.left+R.dimensions.width+2>=L.fn.qtip.cache.screen.width+L.fn.qtip.cache.screen.scroll.left),top:(Z.top<L.fn.qtip.cache.screen.scroll.top),bottom:(Z.top+R.dimensions.height+2>=L.fn.qtip.cache.screen.height+L.fn.qtip.cache.screen.scroll.top)};U={left:(Y.left&&(R.corner.search(/right/i)!=-1||(R.corner.search(/right/i)==-1&&!Y.right))),right:(Y.right&&(R.corner.search(/left/i)!=-1||(R.corner.search(/left/i)==-1&&!Y.left))),top:(Y.top&&R.corner.search(/top/i)==-1),bottom:(Y.bottom&&R.corner.search(/bottom/i)==-1)};if(U.left){if(S.options.position.target!=="mouse"){Z.left=W.position.left+W.dimensions.width}else{Z.left=S.cache.mouse.x}T.x="Left"}else{if(U.right){if(S.options.position.target!=="mouse"){Z.left=W.position.left-R.dimensions.width}else{Z.left=S.cache.mouse.x-R.dimensions.width}T.x="Right"}}if(U.top){if(S.options.position.target!=="mouse"){Z.top=W.position.top+W.dimensions.height}else{Z.top=S.cache.mouse.y}T.y="top"}else{if(U.bottom){if(S.options.position.target!=="mouse"){Z.top=W.position.top-R.dimensions.height}else{Z.top=S.cache.mouse.y-R.dimensions.height}T.y="bottom"}}if(Z.left<0){Z.left=X.left;T.x=false}if(Z.top<0){Z.top=X.top;T.y=false}if(S.options.style.tip.corner!==false){Z.corner=new String(R.corner);if(T.x!==false){Z.corner=Z.corner.replace(/Left|Right|Middle/,T.x)}if(T.y!==false){Z.corner=Z.corner.replace(/top|bottom/,T.y)}if(Z.corner!==S.elements.tip.attr("rel")){M.call(S,Z.corner)}}return Z}function B(S,T){var R,U;R=L.extend(true,{},S);for(U in R){if(T===true&&U.search(/(tip|classes)/i)!==-1){delete R[U]}else{if(!T&&U.search(/(width|border|tip|title|classes|user)/i)!==-1){delete R[U]}}}return R}function O(R){if(typeof R.tip!=="object"){R.tip={corner:R.tip}}if(typeof R.tip.size!=="object"){R.tip.size={width:R.tip.size,height:R.tip.size}}if(typeof R.border!=="object"){R.border={width:R.border}}if(typeof R.width!=="object"){R.width={value:R.width}}if(typeof R.width.max=="string"){R.width.max=parseInt(R.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof R.width.min=="string"){R.width.min=parseInt(R.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof R.tip.size.x=="number"){R.tip.size.width=R.tip.size.x;delete R.tip.size.x}if(typeof R.tip.size.y=="number"){R.tip.size.height=R.tip.size.y;delete R.tip.size.y}return R}function Q(){var W,V,U,R,T,S;W=this;U=[true,{}];for(V=0;V<arguments.length;V++){U.push(arguments[V])}R=[L.extend.apply(L,U)];while(typeof R[0].name=="string"){R.unshift(O(L.fn.qtip.styles[R[0].name]))}R.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},L.fn.qtip.styles.defaults);T=L.extend.apply(L,R);S=(L.browser.msie)?1:0;T.tip.size.width+=S;T.tip.size.height+=S;if(T.tip.size.width%2>0){T.tip.size.width+=1}if(T.tip.size.height%2>0){T.tip.size.height+=1}if(T.tip.corner===true){T.tip.corner=(W.options.position.corner.tooltip==="center")?false:W.options.position.corner.tooltip}return T}function P(R,S,T){var U={bottomRight:[[0,0],[S,T],[S,0]],bottomLeft:[[0,0],[S,0],[0,T]],topRight:[[0,T],[S,0],[S,T]],topLeft:[[0,0],[0,T],[S,T]],topMiddle:[[0,T],[S/2,0],[S,T]],bottomMiddle:[[0,0],[S,0],[S/2,T]],rightMiddle:[[0,0],[S,T/2],[0,T]],leftMiddle:[[S,0],[S,T],[0,T/2]]};U.leftTop=U.bottomRight;U.rightTop=U.bottomLeft;U.leftBottom=U.topRight;U.rightBottom=U.topLeft;return U[R]}function K(S){var R;if(L("<canvas>").get(0).getContext){R={topLeft:[S,S],topRight:[0,S],bottomLeft:[S,0],bottomRight:[0,0]}}else{if(L.browser.msie){R={topLeft:[-90,90,0],topRight:[-90,90,-S],bottomLeft:[90,270,0],bottomRight:[90,270,-S]}}}return R}function H(){var T,S,R;T=this;R=T.getDimensions();S='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+R.height+"px; width:"+R.width+'px" />';T.elements.bgiframe=T.elements.wrapper.prepend(S).children(".qtip-bgiframe:first")}L(document).ready(function(){L.fn.qtip.cache={screen:{scroll:{left:L(window).scrollLeft(),top:L(window).scrollTop()},width:L(window).width(),height:L(window).height()}};var R;L(window).bind("resize scroll",function(S){clearTimeout(R);R=setTimeout(function(){if(S.type==="scroll"){L.fn.qtip.cache.screen.scroll={left:L(window).scrollLeft(),top:L(window).scrollTop()}}else{L.fn.qtip.cache.screen.width=L(window).width();L.fn.qtip.cache.screen.height=L(window).height()}for(i=0;i<L.fn.qtip.interfaces.length;i++){var T=L.fn.qtip.interfaces[i];if(T.status.rendered===true&&(T.options.position.type!=="static"||T.options.position.adjust.scroll&&S.type==="scroll"||T.options.position.adjust.resize&&S.type==="resize")){T.updatePosition(S,true)}}},100)});L(document).bind("mousedown.qtip",function(S){if(L(S.target).parents("div.qtip").length===0){L(".qtip[unfocus]").each(function(){var T=L(this).qtip("api");if(L(this).is(":visible")&&!T.status.disabled&&L(S.target).add(T.elements.target).length>1){T.hide(S)}})}})});L.fn.qtip.interfaces=[];L.fn.qtip.log={error:function(){return this}};L.fn.qtip.constants={};L.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};L.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
/*
 * jQuery UI 1.8.2
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI
 */
(function(A){A.ui=A.ui||{};if(!A.ui.version){A.extend(A.ui,{version:"1.8.2",plugin:{add:function(C,B,E){C=A.ui[C].prototype;for(var D in E){C.plugins[D]=C.plugins[D]||[];C.plugins[D].push([B,E[D]])}},call:function(C,B,E){if((B=C.plugins[B])&&C.element[0].parentNode){for(var D=0;D<B.length;D++){C.options[B[D][0]]&&B[D][1].apply(C.element,E)}}}},contains:function(C,B){return document.compareDocumentPosition?C.compareDocumentPosition(B)&16:C!==B&&C.contains(B)},hasScroll:function(C,B){if(A(C).css("overflow")=="hidden"){return false}B=B&&B=="left"?"scrollLeft":"scrollTop";var D=false;if(C[B]>0){return true}C[B]=1;D=C[B]>0;C[B]=0;return D},isOverAxis:function(C,B,D){return C>B&&C<B+D},isOver:function(C,B,G,F,E,D){return A.ui.isOverAxis(C,G,E)&&A.ui.isOverAxis(B,F,D)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});A.fn.extend({_focus:A.fn.focus,focus:function(C,B){return typeof C==="number"?this.each(function(){var D=this;setTimeout(function(){A(D).focus();B&&B.call(D)},C)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var B;B=A.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(A.curCSS(this,"position",1))&&/(auto|scroll)/.test(A.curCSS(this,"overflow",1)+A.curCSS(this,"overflow-y",1)+A.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(A.curCSS(this,"overflow",1)+A.curCSS(this,"overflow-y",1)+A.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!B.length?A(document):B},zIndex:function(C){if(C!==undefined){return this.css("zIndex",C)}if(this.length){C=A(this[0]);for(var B;C.length&&C[0]!==document;){B=C.css("position");if(B=="absolute"||B=="relative"||B=="fixed"){B=parseInt(C.css("zIndex"));if(!isNaN(B)&&B!=0){return B}}C=C.parent()}}return 0}});A.extend(A.expr[":"],{data:function(C,B,D){return !!A.data(C,D[3])},focusable:function(C){var B=C.nodeName.toLowerCase(),D=A.attr(C,"tabindex");return(/input|select|textarea|button|object/.test(B)?!C.disabled:"a"==B||"area"==B?C.href||!isNaN(D):!isNaN(D))&&!A(C)["area"==B?"parents":"closest"](":hidden").length},tabbable:function(C){var B=A.attr(C,"tabindex");return(isNaN(B)||B>=0)&&A(C).is(":focusable")}})}})(jQuery);
/*
 * jQuery UI Widget 1.8.2
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(A){var B=A.fn.remove;A.fn.remove=function(C,D){return this.each(function(){if(!D){if(!C||A.filter(C,[this]).length){A("*",this).add(this).each(function(){A(this).triggerHandler("remove")})}}return B.call(A(this),C,D)})};A.widget=function(C,G,F){var E=C.split(".")[0],D;C=C.split(".")[1];D=E+"-"+C;if(!F){F=G;G=A.Widget}A.expr[":"][D]=function(H){return !!A.data(H,C)};A[E]=A[E]||{};A[E][C]=function(H,I){arguments.length&&this._createWidget(H,I)};G=new G;G.options=A.extend({},G.options);A[E][C].prototype=A.extend(true,G,{namespace:E,widgetName:C,widgetEventPrefix:A[E][C].prototype.widgetEventPrefix||C,widgetBaseClass:D},F);A.widget.bridge(C,A[E][C])};A.widget.bridge=function(C,D){A.fn[C]=function(H){var G=typeof H==="string",F=Array.prototype.slice.call(arguments,1),E=this;H=!G&&F.length?A.extend.apply(null,[true,H].concat(F)):H;if(G&&H.substring(0,1)==="_"){return E}G?this.each(function(){var J=A.data(this,C),I=J&&A.isFunction(J[H])?J[H].apply(J,F):J;if(I!==J&&I!==undefined){E=I;return false}}):this.each(function(){var I=A.data(this,C);if(I){H&&I.option(H);I._init()}else{A.data(this,C,new D(H,this))}});return E}};A.Widget=function(C,D){arguments.length&&this._createWidget(C,D)};A.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(C,E){this.element=A(E).data(this.widgetName,this);this.options=A.extend(true,{},this.options,A.metadata&&A.metadata.get(E)[this.widgetName],C);var D=this;this.element.bind("remove."+this.widgetName,function(){D.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(C,F){var E=C,D=this;if(arguments.length===0){return A.extend({},D.options)}if(typeof C==="string"){if(F===undefined){return this.options[C]}E={};E[C]=F}A.each(E,function(H,G){D._setOption(H,G)});return D},_setOption:function(C,D){this.options[C]=D;if(C==="disabled"){this.widget()[D?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",D)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(C,G,F){var E=this.options[C];G=A.Event(G);G.type=(C===this.widgetEventPrefix?C:this.widgetEventPrefix+C).toLowerCase();F=F||{};if(G.originalEvent){C=A.event.props.length;for(var D;C;){D=A.event.props[--C];G[D]=G.originalEvent[D]}}this.element.trigger(G,F);return !(A.isFunction(E)&&E.call(this.element[0],G,F)===false||G.isDefaultPrevented())}}})(jQuery);
/*
 * jQuery UI Mouse 1.8.2
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(A){A.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var B=this;this.element.bind("mousedown."+this.widgetName,function(C){return B._mouseDown(C)}).bind("click."+this.widgetName,function(C){if(B._preventClickEvent){B._preventClickEvent=false;C.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(C){C.originalEvent=C.originalEvent||{};if(!C.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(C);this._mouseDownEvent=C;var B=this,E=C.which==1,D=typeof this.options.cancel=="string"?A(C.target).parents().add(C.target).filter(this.options.cancel).length:false;if(!E||D||!this._mouseCapture(C)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){B.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(C)&&this._mouseDelayMet(C)){this._mouseStarted=this._mouseStart(C)!==false;if(!this._mouseStarted){C.preventDefault();return true}}this._mouseMoveDelegate=function(F){return B._mouseMove(F)};this._mouseUpDelegate=function(F){return B._mouseUp(F)};A(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);A.browser.safari||C.preventDefault();return C.originalEvent.mouseHandled=true}},_mouseMove:function(B){if(A.browser.msie&&!B.button){return this._mouseUp(B)}if(this._mouseStarted){this._mouseDrag(B);return B.preventDefault()}if(this._mouseDistanceMet(B)&&this._mouseDelayMet(B)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,B)!==false)?this._mouseDrag(B):this._mouseUp(B)}return !this._mouseStarted},_mouseUp:function(B){A(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=B.target==this._mouseDownEvent.target;this._mouseStop(B)}return false},_mouseDistanceMet:function(B){return Math.max(Math.abs(this._mouseDownEvent.pageX-B.pageX),Math.abs(this._mouseDownEvent.pageY-B.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(E){E.ui=E.ui||{};var A=/left|center|right/,D=/top|center|bottom/,C=E.fn.position,B=E.fn.offset;E.fn.position=function(G){if(!G||!G.of){return C.apply(this,arguments)}G=E.extend({},G);var F=E(G.of),L=(G.collision||"flip").split(" "),K=G.offset?G.offset.split(" "):[0,0],J,I,H;if(G.of.nodeType===9){J=F.width();I=F.height();H={top:0,left:0}}else{if(G.of.scrollTo&&G.of.document){J=F.width();I=F.height();H={top:F.scrollTop(),left:F.scrollLeft()}}else{if(G.of.preventDefault){G.at="left top";J=I=0;H={top:G.of.pageY,left:G.of.pageX}}else{J=F.outerWidth();I=F.outerHeight();H=F.offset()}}}E.each(["my","at"],function(){var M=(G[this]||"").split(" ");if(M.length===1){M=A.test(M[0])?M.concat(["center"]):D.test(M[0])?["center"].concat(M):["center","center"]}M[0]=A.test(M[0])?M[0]:"center";M[1]=D.test(M[1])?M[1]:"center";G[this]=M});if(L.length===1){L[1]=L[0]}K[0]=parseInt(K[0],10)||0;if(K.length===1){K[1]=K[0]}K[1]=parseInt(K[1],10)||0;if(G.at[0]==="right"){H.left+=J}else{if(G.at[0]==="center"){H.left+=J/2}}if(G.at[1]==="bottom"){H.top+=I}else{if(G.at[1]==="center"){H.top+=I/2}}H.left+=K[0];H.top+=K[1];return this.each(function(){var P=E(this),N=P.outerWidth(),M=P.outerHeight(),O=E.extend({},H);if(G.my[0]==="right"){O.left-=N}else{if(G.my[0]==="center"){O.left-=N/2}}if(G.my[1]==="bottom"){O.top-=M}else{if(G.my[1]==="center"){O.top-=M/2}}O.left=parseInt(O.left);O.top=parseInt(O.top);E.each(["left","top"],function(R,Q){E.ui.position[L[R]]&&E.ui.position[L[R]][Q](O,{targetWidth:J,targetHeight:I,elemWidth:N,elemHeight:M,offset:K,my:G.my,at:G.at})});E.fn.bgiframe&&P.bgiframe();P.offset(E.extend(O,{using:G.using}))})};E.ui.position={fit:{left:function(G,F){var H=E(window);F=G.left+F.elemWidth-H.width()-H.scrollLeft();G.left=F>0?G.left-F:Math.max(0,G.left)},top:function(G,F){var H=E(window);F=G.top+F.elemHeight-H.height()-H.scrollTop();G.top=F>0?G.top-F:Math.max(0,G.top)}},flip:{left:function(G,F){if(F.at[0]!=="center"){var J=E(window);J=G.left+F.elemWidth-J.width()-J.scrollLeft();var I=F.my[0]==="left"?-F.elemWidth:F.my[0]==="right"?F.elemWidth:0,H=-2*F.offset[0];G.left+=G.left<0?I+F.targetWidth+H:J>0?I-F.targetWidth+H:0}},top:function(G,F){if(F.at[1]!=="center"){var K=E(window);K=G.top+F.elemHeight-K.height()-K.scrollTop();var J=F.my[1]==="top"?-F.elemHeight:F.my[1]==="bottom"?F.elemHeight:0,I=F.at[1]==="top"?F.targetHeight:-F.targetHeight,H=-2*F.offset[1];G.top+=G.top<0?J+F.targetHeight+H:K>0?J+I+H:0}}}};if(!E.offset.setOffset){E.offset.setOffset=function(G,F){if(/static/.test(E.curCSS(G,"position"))){G.style.position="relative"}var K=E(G),J=K.offset(),I=parseInt(E.curCSS(G,"top",true),10)||0,H=parseInt(E.curCSS(G,"left",true),10)||0;J={top:F.top-J.top+I,left:F.left-J.left+H};"using" in F?F.using.call(G,J):K.css(J)};E.fn.offset=function(G){var F=this[0];if(!F||!F.ownerDocument){return null}if(G){return this.each(function(){E.offset.setOffset(this,G)})}return B.call(this)}}})(jQuery);
/*
 * jQuery UI Mouse 1.8.2
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(A){A.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var B=this;this.element.bind("mousedown."+this.widgetName,function(C){return B._mouseDown(C)}).bind("click."+this.widgetName,function(C){if(B._preventClickEvent){B._preventClickEvent=false;C.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(D){D.originalEvent=D.originalEvent||{};if(D.originalEvent.mouseHandled){return }(this._mouseStarted&&this._mouseUp(D));this._mouseDownEvent=D;var C=this,E=(D.which==1),B=(typeof this.options.cancel=="string"?A(D.target).parents().add(D.target).filter(this.options.cancel).length:false);if(!E||B||!this._mouseCapture(D)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){C.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(D)&&this._mouseDelayMet(D)){this._mouseStarted=(this._mouseStart(D)!==false);if(!this._mouseStarted){D.preventDefault();return true}}this._mouseMoveDelegate=function(F){return C._mouseMove(F)};this._mouseUpDelegate=function(F){return C._mouseUp(F)};A(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(A.browser.safari||D.preventDefault());D.originalEvent.mouseHandled=true;return true},_mouseMove:function(B){if(A.browser.msie&&!B.button){return this._mouseUp(B)}if(this._mouseStarted){this._mouseDrag(B);return B.preventDefault()}if(this._mouseDistanceMet(B)&&this._mouseDelayMet(B)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,B)!==false);(this._mouseStarted?this._mouseDrag(B):this._mouseUp(B))}return !this._mouseStarted},_mouseUp:function(B){A(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(B.target==this._mouseDownEvent.target);this._mouseStop(B)}return false},_mouseDistanceMet:function(B){return(Math.max(Math.abs(this._mouseDownEvent.pageX-B.pageX),Math.abs(this._mouseDownEvent.pageY-B.pageY))>=this.options.distance)},_mouseDelayMet:function(B){return this.mouseDelayMet},_mouseStart:function(B){},_mouseDrag:function(B){},_mouseStop:function(B){},_mouseCapture:function(B){return true}})})(jQuery);(function(B){var A=5;B.widget("ui.slider",B.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var C=this,D=this.options;this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");if(D.disabled){this.element.addClass("ui-slider-disabled ui-disabled")}this.range=B([]);if(D.range){if(D.range===true){this.range=B("<div></div>");if(!D.values){D.values=[this._valueMin(),this._valueMin()]}if(D.values.length&&D.values.length!==2){D.values=[D.values[0],D.values[0]]}}else{this.range=B("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(D.range==="min"||D.range==="max"){this.range.addClass("ui-slider-range-"+D.range)}this.range.addClass("ui-widget-header")}if(B(".ui-slider-handle",this.element).length===0){B("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle")}if(D.values&&D.values.length){while(B(".ui-slider-handle",this.element).length<D.values.length){B("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle")}}this.handles=B(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(E){E.preventDefault()}).hover(function(){if(!D.disabled){B(this).addClass("ui-state-hover")}},function(){B(this).removeClass("ui-state-hover")}).focus(function(){if(!D.disabled){B(".ui-slider .ui-state-focus").removeClass("ui-state-focus");B(this).addClass("ui-state-focus")}else{B(this).blur()}}).blur(function(){B(this).removeClass("ui-state-focus")});this.handles.each(function(E){B(this).data("index.ui-slider-handle",E)});this.handles.keydown(function(J){var G=true,F=B(this).data("index.ui-slider-handle"),K,H,E,I;if(C.options.disabled){return }switch(J.keyCode){case B.ui.keyCode.HOME:case B.ui.keyCode.END:case B.ui.keyCode.PAGE_UP:case B.ui.keyCode.PAGE_DOWN:case B.ui.keyCode.UP:case B.ui.keyCode.RIGHT:case B.ui.keyCode.DOWN:case B.ui.keyCode.LEFT:G=false;if(!C._keySliding){C._keySliding=true;B(this).addClass("ui-state-active");K=C._start(J,F);if(K===false){return }}break}I=C.options.step;if(C.options.values&&C.options.values.length){H=E=C.values(F)}else{H=E=C.value()}switch(J.keyCode){case B.ui.keyCode.HOME:E=C._valueMin();break;case B.ui.keyCode.END:E=C._valueMax();break;case B.ui.keyCode.PAGE_UP:E=C._trimAlignValue(H+((C._valueMax()-C._valueMin())/A));break;case B.ui.keyCode.PAGE_DOWN:E=C._trimAlignValue(H-((C._valueMax()-C._valueMin())/A));break;case B.ui.keyCode.UP:case B.ui.keyCode.RIGHT:if(H===C._valueMax()){return }E=C._trimAlignValue(H+I);break;case B.ui.keyCode.DOWN:case B.ui.keyCode.LEFT:if(H===C._valueMin()){return }E=C._trimAlignValue(H-I);break}C._slide(J,F,E);return G}).keyup(function(F){var E=B(this).data("index.ui-slider-handle");if(C._keySliding){C._keySliding=false;C._stop(F,E);C._change(F,E);B(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(E){var F=this.options,I,K,D,G,M,J,L,H,C;if(F.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();I={x:E.pageX,y:E.pageY};K=this._normValueFromMouse(I);D=this._valueMax()-this._valueMin()+1;M=this;this.handles.each(function(N){var O=Math.abs(K-M.values(N));if(D>O){D=O;G=B(this);J=N}});if(F.range===true&&this.values(1)===F.min){J+=1;G=B(this.handles[J])}L=this._start(E,J);if(L===false){return false}this._mouseSliding=true;M._handleIndex=J;G.addClass("ui-state-active").focus();H=G.offset();C=!B(E.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=C?{left:0,top:0}:{left:E.pageX-H.left-(G.width()/2),top:E.pageY-H.top-(G.height()/2)-(parseInt(G.css("borderTopWidth"),10)||0)-(parseInt(G.css("borderBottomWidth"),10)||0)+(parseInt(G.css("marginTop"),10)||0)};K=this._normValueFromMouse(I);this._slide(E,J,K);this._animateOff=true;return true},_mouseStart:function(C){return true},_mouseDrag:function(E){var C={x:E.pageX,y:E.pageY},D=this._normValueFromMouse(C);this._slide(E,this._handleIndex,D);return false},_mouseStop:function(C){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(C,this._handleIndex);this._change(C,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(D){var C,G,F,E,H;if(this.orientation==="horizontal"){C=this.elementSize.width;G=D.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{C=this.elementSize.height;G=D.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}F=(G/C);if(F>1){F=1}if(F<0){F=0}if(this.orientation==="vertical"){F=1-F}E=this._valueMax()-this._valueMin();H=this._valueMin()+F*E;return this._trimAlignValue(H)},_start:function(E,D){var C={handle:this.handles[D],value:this.value()};if(this.options.values&&this.options.values.length){C.value=this.values(D);C.values=this.values()}return this._trigger("start",E,C)},_slide:function(G,F,E){var C,D,H;if(this.options.values&&this.options.values.length){C=this.values(F?0:1);if((this.options.values.length===2&&this.options.range===true)&&((F===0&&E>C)||(F===1&&E<C))){E=C}if(E!==this.values(F)){D=this.values();D[F]=E;H=this._trigger("slide",G,{handle:this.handles[F],value:E,values:D});C=this.values(F?0:1);if(H!==false){this.values(F,E,true)}}}else{if(E!==this.value()){H=this._trigger("slide",G,{handle:this.handles[F],value:E});if(H!==false){this.value(E)}}}},_stop:function(E,D){var C={handle:this.handles[D],value:this.value()};if(this.options.values&&this.options.values.length){C.value=this.values(D);C.values=this.values()}this._trigger("stop",E,C)},_change:function(E,D){if(!this._keySliding&&!this._mouseSliding){var C={handle:this.handles[D],value:this.value()};if(this.options.values&&this.options.values.length){C.value=this.values(D);C.values=this.values()}this._trigger("change",E,C)}},value:function(C){if(arguments.length){this.options.value=this._trimAlignValue(C);this._refreshValue();this._change(null,0)}return this._value()},values:function(D,G){var F,C,E;if(arguments.length>1){this.options.values[D]=this._trimAlignValue(G);this._refreshValue();this._change(null,D)}if(arguments.length){if(B.isArray(arguments[0])){F=this.options.values;C=arguments[0];for(E=0;E<F.length;E+=1){F[E]=this._trimAlignValue(C[E]);this._change(null,E)}this._refreshValue()}else{if(this.options.values&&this.options.values.length){return this._values(D)}else{return this.value()}}}else{return this._values()}},_setOption:function(D,E){var C,F=0;if(B.isArray(this.options.values)){F=this.options.values.length}B.Widget.prototype._setOption.apply(this,arguments);switch(D){case"disabled":if(E){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(C=0;C<F;C+=1){this._change(null,C)}this._animateOff=false;break}},_value:function(){var C=this.options.value;C=this._trimAlignValue(C);return C},_values:function(C){var F,E,D;if(arguments.length){F=this.options.values[C];F=this._trimAlignValue(F);return F}else{E=this.options.values.slice();for(D=0;D<E.length;D+=1){E[D]=this._trimAlignValue(E[D])}return E}},_trimAlignValue:function(F){if(F<this._valueMin()){return this._valueMin()}if(F>this._valueMax()){return this._valueMax()}var C=(this.options.step>0)?this.options.step:1,E=F%C,D=F-E;if(Math.abs(E)*2>=C){D+=(E>0)?C:(-C)}return parseFloat(D.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var F=this.options.range,E=this.options,L=this,D=(!this._animateOff)?E.animate:false,G,C={},H,J,I,K;if(this.options.values&&this.options.values.length){this.handles.each(function(N,M){G=(L.values(N)-L._valueMin())/(L._valueMax()-L._valueMin())*95;C[L.orientation==="horizontal"?"left":"bottom"]=G+"%";B(this).stop(1,1)[D?"animate":"css"](C,E.animate);if(L.options.range===true){if(L.orientation==="horizontal"){if(N===0){L.range.stop(1,1)[D?"animate":"css"]({left:G+"%"},E.animate)}if(N===1){L.range[D?"animate":"css"]({width:(G-H)+"%"},{queue:false,duration:E.animate})}}else{if(N===0){L.range.stop(1,1)[D?"animate":"css"]({bottom:(G)+"%"},E.animate)}if(N===1){L.range[D?"animate":"css"]({height:(G-H)+"%"},{queue:false,duration:E.animate})}}}H=G})}else{J=this.value();I=this._valueMin();K=this._valueMax();G=(K!==I)?(J-I)/(K-I)*87:0;C[L.orientation==="horizontal"?"left":"bottom"]=G+"%";this.handle.stop(1,1)[D?"animate":"css"](C,E.animate);if(F==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[D?"animate":"css"]({width:G+"%"},E.animate)}if(F==="max"&&this.orientation==="horizontal"){this.range[D?"animate":"css"]({width:(100-G)+"%"},{queue:false,duration:E.animate})}if(F==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[D?"animate":"css"]({height:G+"%"},E.animate)}if(F==="max"&&this.orientation==="vertical"){this.range[D?"animate":"css"]({height:(100-G)+"%"},{queue:false,duration:E.animate})}}}});B.extend(B.ui.slider,{version:"1.8.2"})}(jQuery));(function(C){var B=C.browser.msie&&parseInt(C.browser.version)==6&&typeof window.XMLHttpRequest!="object",D=null,A=[];C.modal=function(F,E){return C.modal.impl.init(F,E)};C.modal.close=function(){C.modal.impl.close()};C.fn.modal=function(E){return C.modal.impl.init(this,E)};C.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:200,minWidth:300,maxHeight:null,maxWidth:null,autoResize:false,zIndex:1000,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,persist:false,onOpen:null,onShow:null,onClose:null};C.modal.impl={opts:null,dialog:{},init:function(F,E){if(this.dialog.data){return false}D=C.browser.msie&&!C.boxModel;this.opts=C.extend({},C.modal.defaults,E);this.zIndex=this.opts.zIndex;this.occb=false;if(typeof F=="object"){F=F instanceof jQuery?F:C(F);if(F.parent().parent().size()>0){this.dialog.parentNode=F.parent();if(!this.opts.persist){this.dialog.orig=F.clone(true)}}}else{if(typeof F=="string"||typeof F=="number"){F=C("<div></div>").html(F)}else{alert("SimpleModal Error: Unsupported data type: "+typeof F);return false}}this.create(F);F=null;this.open();if(C.isFunction(this.opts.onShow)){this.opts.onShow.apply(this,[this.dialog])}return this},create:function(E){A=this.getDimensions();if(B){this.dialog.iframe=C('<iframe src="javascript:false;"></iframe>').css(C.extend(this.opts.iframeCss,{display:"none",opacity:0,position:"fixed",height:A[0],width:A[1],zIndex:this.opts.zIndex,top:0,left:0})).appendTo(this.opts.appendTo)}this.dialog.overlay=C("<div></div>").attr("id",this.opts.overlayId).addClass("simplemodal-overlay").css(C.extend(this.opts.overlayCss,{display:"none",opacity:this.opts.opacity/100,height:A[0],width:A[1],position:"fixed",left:0,top:0,zIndex:this.opts.zIndex+1})).appendTo(this.opts.appendTo);this.dialog.container=C("<div></div>").attr("id",this.opts.containerId).addClass("simplemodal-container").css(C.extend(this.opts.containerCss,{display:"none",position:"fixed",zIndex:this.opts.zIndex+2})).append(this.opts.close&&this.opts.closeHTML?C(this.opts.closeHTML).addClass(this.opts.closeClass):"").appendTo(this.opts.appendTo);this.dialog.wrap=C("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.dialog.container);this.dialog.data=E.attr("id",E.attr("id")||this.opts.dataId).addClass("simplemodal-data").css(C.extend(this.opts.dataCss,{display:"none"})).appendTo("body");E=null;this.setContainerDimensions();this.dialog.data.appendTo(this.dialog.wrap);if(B||D){this.fixIE()}},bindEvents:function(){var E=this;C("."+E.opts.closeClass).bind("click.simplemodal",function(F){F.preventDefault();E.close()});if(E.opts.close&&E.opts.overlayClose){E.dialog.overlay.bind("click.simplemodal",function(F){F.preventDefault();E.close()})}C(document).bind("keydown.simplemodal",function(F){if(E.opts.focus&&F.keyCode==9){E.watchTab(F)}else{if((E.opts.close&&E.opts.escClose)&&F.keyCode==27){F.preventDefault();E.close()}}});C(window).bind("resize.simplemodal",function(){A=E.getDimensions();E.opts.autoResize?E.setContainerDimensions():E.setPosition();if(B||D){E.fixIE()}else{E.dialog.iframe&&E.dialog.iframe.css({height:A[0],width:A[1]});E.dialog.overlay.css({height:A[0],width:A[1]})}})},unbindEvents:function(){C("."+this.opts.closeClass).unbind("click.simplemodal");C(document).unbind("keydown.simplemodal");C(window).unbind("resize.simplemodal");this.dialog.overlay.unbind("click.simplemodal")},fixIE:function(){var E=this.opts.position;C.each([this.dialog.iframe||null,this.dialog.overlay,this.dialog.container],function(P,I){if(I){var N="document.body.clientHeight",R="document.body.clientWidth",T="document.body.scrollHeight",Q="document.body.scrollLeft",L="document.body.scrollTop",H="document.body.scrollWidth",G="document.documentElement.clientHeight",O="document.documentElement.clientWidth",M="document.documentElement.scrollLeft",U="document.documentElement.scrollTop",V=I[0].style;V.position="absolute";if(P<2){V.removeExpression("height");V.removeExpression("width");V.setExpression("height",""+T+" > "+N+" ? "+T+" : "+N+' + "px"');V.setExpression("width",""+H+" > "+R+" ? "+H+" : "+R+' + "px"')}else{var K,F;if(E&&E.constructor==Array){var S=E[0]?typeof E[0]=="number"?E[0].toString():E[0].replace(/px/,""):I.css("top").replace(/px/,"");K=S.indexOf("%")==-1?S+" + (t = "+U+" ? "+U+" : "+L+') + "px"':parseInt(S.replace(/%/,""))+" * (("+G+" || "+N+") / 100) + (t = "+U+" ? "+U+" : "+L+') + "px"';if(E[1]){var J=typeof E[1]=="number"?E[1].toString():E[1].replace(/px/,"");F=J.indexOf("%")==-1?J+" + (t = "+M+" ? "+M+" : "+Q+') + "px"':parseInt(J.replace(/%/,""))+" * (("+O+" || "+R+") / 100) + (t = "+M+" ? "+M+" : "+Q+') + "px"'}}else{K="("+G+" || "+N+") / 2 - (this.offsetHeight / 2) + (t = "+U+" ? "+U+" : "+L+') + "px"';F="("+O+" || "+R+") / 2 - (this.offsetWidth / 2) + (t = "+M+" ? "+M+" : "+Q+') + "px"'}V.removeExpression("top");V.removeExpression("left");V.setExpression("top",K);V.setExpression("left",F)}}})},focus:function(H){var F=this,G=H||"first";var E=C(":input:enabled:visible:"+G,F.dialog.wrap);E.length>0?E.focus():F.dialog.wrap.focus()},getDimensions:function(){var F=C(window);var E=C.browser.opera&&C.browser.version>"9.5"&&C.fn.jquery<="1.2.6"?document.documentElement.clientHeight:C.browser.opera&&C.browser.version<"9.5"&&C.fn.jquery>"1.2.6"?window.innerHeight:F.height();return[E,F.width()]},getVal:function(E){return E=="auto"?0:parseInt(E.replace(/px/,""))},setContainerDimensions:function(){var H=this.getVal(this.dialog.container.css("height")),E=this.getVal(this.dialog.container.css("width")),I=this.dialog.data.height(),G=this.dialog.data.width();var F=this.opts.maxHeight&&this.opts.maxHeight<A[0]?this.opts.maxHeight:A[0],J=this.opts.maxWidth&&this.opts.maxWidth<A[1]?this.opts.maxWidth:A[1];if(!H){if(!I){H=this.opts.minHeight}else{if(I>F){H=F}else{if(I<this.opts.minHeight){H=this.opts.minHeight}else{H=I}}}}else{H=H>F?F:H}if(!E){if(!G){E=this.opts.minWidth}else{if(G>J){E=J}else{if(G<this.opts.minWidth){E=this.opts.minWidth}else{E=G}}}}else{E=E>J?J:E}this.dialog.container.css({height:H,width:E});if(I>H||G>E){this.dialog.wrap.css({overflow:"auto"})}this.setPosition()},setPosition:function(){var G,F,H=(A[0]/2)-((this.dialog.container.height()||this.dialog.data.height())/2),E=(A[1]/2)-((this.dialog.container.width()||this.dialog.data.width())/2);if(this.opts.position&&Object.prototype.toString.call(this.opts.position)==="[object Array]"){G=this.opts.position[0]||H;F=this.opts.position[1]||E}else{G=H;F=E}this.dialog.container.css({left:F,top:G})},watchTab:function(F){var E=this;if(C(F.target).parents(".simplemodal-container").length>0){E.inputs=C(":input:enabled:visible:first, :input:enabled:visible:last",E.dialog.data);if(!F.shiftKey&&F.target==E.inputs[E.inputs.length-1]||F.shiftKey&&F.target==E.inputs[0]||E.inputs.length==0){F.preventDefault();var G=F.shiftKey?"last":"first";setTimeout(function(){E.focus(G)},10)}}else{F.preventDefault();setTimeout(function(){E.focus()},10)}},open:function(){this.dialog.iframe&&this.dialog.iframe.show();if(C.isFunction(this.opts.onOpen)){this.opts.onOpen.apply(this,[this.dialog])}else{this.dialog.overlay.show();this.dialog.container.show();this.dialog.data.show()}this.focus();this.bindEvents()},close:function(){if(!this.dialog.data){return false}this.unbindEvents();if(C.isFunction(this.opts.onClose)&&!this.occb){this.occb=true;this.opts.onClose.apply(this,[this.dialog])}else{if(this.dialog.parentNode){if(this.opts.persist){this.dialog.data.hide().appendTo(this.dialog.parentNode)}else{this.dialog.data.hide().remove();this.dialog.orig.appendTo(this.dialog.parentNode)}}else{this.dialog.data.hide().remove()}this.dialog.container.hide().remove();this.dialog.overlay.hide().remove();this.dialog.iframe&&this.dialog.iframe.hide().remove();this.dialog={}}}}})(jQuery);if(!this.JSON){this.JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());$("#menu .categories a:first").mouseenter(function(){$("#menu .categories").css("background-color","#d8630c");if($("#menu .categories .flyout").length==0){$("#menu .categories").append('<ul class="flyout"><li><div class="seotags float_left" onclick="window.location.href=\'/kleidung\'" title="Mode"><div class="size66x66"><img src="http://static.edelight.de/img/categories/mode.jpg" class="float_left" alt="Mode" /></div><p><b>Mode</b><br />Kleider, Jeans, Jacken, Blusen, Dessous, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/schuhe\'" title="Schuhe"><div class="size66x66"><img src="http://static.edelight.de/img/categories/schuhe.jpg" class="float_left" alt="Schuhe" /></div><p><b>Schuhe</b><br />Ballerinas, Stiefel, Pumps, Sneaker, Sandaletten, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/taschen\'" title="Taschen"><div class="size66x66"><img src="http://static.edelight.de/img/categories/taschen.jpg" class="float_left" alt="Schuhe" /></div><p><b>Taschen</b><br />Handtaschen, Clutches, Schultertaschen, Shopper, Umh&auml;ngetaschen, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/accessoires\'" title="Accessoires"><div class="size66x66"><img src="http://static.edelight.de/img/categories/accessoires.jpg" class="float_left" alt="Accessoires" /></div><p><b>Accessoires</b><br />Sonnenbrillen, G&uuml;rtel, Portemonnaies, Schals & T&uuml;cher, M&uuml;tzen & H&uuml;te, ...</p></div><div class="clear"></div><div class="seotags float_left" onclick="window.location.href=\'/wohnen\'" title="Wohnen"><div class="size66x66"><img src="http://static.edelight.de/img/categories/wohnen.jpg" class="float_left" alt="Wohnen" /></div><p><b>Wohnen</b><br />Lampen, Betten, M&ouml;bel, Teppiche, Wandtattoos, Dekoration, K&uuml;che, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/kategorie/schmuck-und-uhren\'" title="Schmuck & Uhren"><div class="size66x66"><img src="http://static.edelight.de/img/categories/schmuck.jpg" class="float_left" alt="Schmuck & Uhren" /></div><p><b>Schmuck & Uhren</b><br />Ketten, Ohrringe, Chronographen, Ringe, Uhren, Armb&auml;nder, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/beauty\'" title="Beauty"><div class="size66x66"><img src="http://static.edelight.de/img/categories/beauty.jpg" class="float_left" alt="Beauty" /></div><p><b>Beauty</b><br />Parfums, Kosmetik, Make-Up, Lipgloss, Rasierer, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/spielzeug\'" title="Spielzeug"><div class="size66x66"><img src="http://static.edelight.de/img/categories/spielzeug.jpg" class="float_left" alt="Spielzeug" /></div><p><b>Spielzeug</b><br />USB Gadgets, Gadgets, Puzzles, Puppen, Autos, ...</p></div><div class="clear"></div><div class="seotags float_left" onclick="window.location.href=\'/geschenke\'" title="Geschenke"><div class="size66x66"><img src="http://static.edelight.de/img/categories/geschenke.jpg" class="float_left" alt="Geschenke" /></div><p><b>Geschenke</b><br />Weihnachten, Geburtstag, Nikolaus, Hochzeitstag, Jahrestag, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/sitemap\'" title="mehr Kategorien"><div class="size66x66"><img src="http://static.edelight.de/img/categories/more.gif" class="float_left" alt="mehr Kategorien" /></div><p><b>mehr Kategorien</b></p></div><div class="seotags float_left"></div><div class="seotags float_left"></div><div class="clear"></div></li></ul>')}});$("#menu .categories").mouseleave(function(){$(this).find(".flyout").remove();if($(this).attr("class")!="categories active active_categories"){$(this).css("background-color","#e77b2b")}});$("#menu .discover a:first").mouseenter(function(){$(this).css("background-position","-325px 0");if($("#menu .discover .flyout").length==0){$("#menu .discover").append('<ul class="flyout"><li><a href="/entdecken">... unsere Shopping-Mall</a></li><li><a href="/nutzer#header">... unsere Shopaholics</a></li><li><a href="/listen">... tolle Shoppinglisten</a></li><li><a href="/partner">... exklusive Partnershops</a></li><li><a href="/tools">... unsere Shoppinghelfer</a></li><li class="no-border"><a href="/stichworte">... aktuelle Shopping-Trends</a></li></ul>')}});$("#menu .discover").mouseleave(function(){$(this).find(".flyout").remove();if($("#menu .discover a:first").attr("class")!="active"){$("#menu .discover a:first").css("background-position","-185px 0")}});$("#menu .gifts a:first").mouseenter(function(){$("#menu .gifts").css("background-color","#d8630c");if($("#menu .gifts .flyout").length==0){$("#menu .gifts").append('<ul class="flyout"><li><a href="/geschenke/#gf">Selbst finden</a></li><li class="no-border"><a href="/geschenke/#hgf">Finden lassen</a></li></ul>')}});$("#menu .gifts").mouseleave(function(){$(this).find(".flyout").remove();if($(this).attr("class")!="gifts active active_gifts"){$(this).css("background-color","#e77b2b")}});var txtFieldData={"#search_text":"","#list_picture_from_url":"Bild-URL eingeben","#promo_url_text":"URL einf%FCgen","#pt_comment":"Meine Meinung ist...","#search_refine_age":"egal","#searchPriceSelectorLowerStr":"0","#searchPriceSelectorUpperStr":"egal","#product_search_name":"Namen eingeben","#fast_start_url":"URL","#PayoutAccount":"Ihr Kontoname (Email Login) bei Paypal","#enter_email":"Email - Adresse"};$(document).ready(function(){$("a.basic").click(function(A){A.preventDefault();$("#basic-modal-content").modal({containerCss:{width:460,height:165}})})});$(document).ready(function(){if($("#pd_description").length>0){$("#pd_description").jTruncate({length:180,moreText:"[mehr]",lessText:"[weniger]"})}});$(document).ready(function(){for(id in txtFieldData){if($(id).length>0){$(id).setPrompt(unescape(txtFieldData[id]))}}});function hideHelpText(A){document.getElementById(A).style.display="none"}function showHelpText(A){document.getElementById(A).style.display="block"}function showAdditionalDiv(A){document.getElementById(A).style.display="block";document.getElementById("more").style.display="none";document.getElementById("less").style.display="block"}function hideAdditionalDiv(A){document.getElementById(A).style.display="none";document.getElementById("more").style.display="block";document.getElementById("less").style.display="none"}function changeButton(D,A,B,C){if(C=="change"){firstClass="jcarousel-"+A+"-"+B;secondClass="jcarousel-"+A+"-"+B+"-jshover"}else{firstClass="jcarousel-"+A+"-"+B+"-jshover";secondClass="jcarousel-"+A+"-"+B}$(D).removeClass(firstClass);$(D).addClass(secondClass)}function openProductInfo(A){$(".product_info_style").hide();$("#"+A).slideDown("slow")}function closeProductInfo(A){$("#"+A).hide();$("#ivwPixel").remove()}function toggle(){$("#more_text").show();$("#toggle-link").hide();$("#more_dots").html("")}function addIntelliAdTracking(B,A){}$(document).ready(function(){var A=$(".selected").text();$(".filterSelected").html("<span>Filtern nach: <strong>"+A+'</strong></span><a href="/partner">Filter entfernen</a>')});$(".select").hover(function(){$(".select .options").css("display","block")},function(){$(".select .options").css("display","none")});$(".select ul li").click(function(){$(".select span").html($(this).html());$("#search-type").val($(this).attr("title"));$(".select .options").css("display","none")});if($("#channel_slider_wrap").length>0){$(document).ready(function(){var B=$("#channel_slider_wrap");var A=$(".channel_slider");var C=$(".scroll-bar").slider({slide:function(E,D){if(A.width()>B.width()){A.css("margin-left",Math.round(D.value/100*(B.width()-A.width()))+"px")}else{A.css("margin-left",0)}}})})}$(".login_help").qtip({content:"Wenn Du einen Account bei einem der unten angegebenen Anbieter hast, kannst Du diesen zum Einloggen auf edelight verwenden.<br />So ersparst Du Dir das Merken verschiedener Passw&ouml;rter",show:"mouseover",hide:"mouseout",position:{corner:{target:"topRight",tooltip:"bottomLeft"},adjust:{screen:true}},style:{name:"cream",color:"#808080",border:{width:2,radius:5,color:"#e77b2b"},background:"#ffffff",tip:{corner:"bottomLeft",color:"#e77b2b",size:{x:20,y:8}}}});var setContext="login";$(document).ready(function(){gigya.services.socialize.addEventHandlers(conf,{context:setContext,onLogin:onLoginHandler});$("#componentDiv").delegate("div","click",function(){$(".modal-login").mask("laden...")})});function onLoginHandler(B){if(B.context!="validation"){var A=B.user;A="userdata="+encodeURIComponent(JSON.stringify(A));$.ajax({type:"POST",url:"/login/gigya_check_user",data:A,success:function(C){if(C.success==1){window.location=window.location.href}else{$.modal.close();$.get("/login/get_ajax_form",function(D){$.modal(D,{containerCss:{width:605,height:275},onShow:function(){$("#login_provider").text(B.user.loginProvider);$(".loginProvider").val(B.user.loginProvider);$(".loginProviderUID").val(B.user.loginProviderUID);$("#UserScreenname").val(B.user.nickname);$("#UserEmail").val(B.user.email);if(B.user.gender=="m"){$('input[name="data[User][sex]"]')[0].checked=true}else{if(B.user.gender=="f"){$('input[name="data[User][sex]"]')[1].checked=true}}}})})}}});return false}}function logoutFromGS(){gigya.services.socialize.logout(conf,{})}var login_params={useHTML:"true",showTermsLink:"false",height:95,width:182,containerID:"componentDiv",UIConfig:'<config><body><controls><snbuttons buttonsize="35"></snbuttons></controls></body></config>',buttonsStyle:"standard"};gigya.services.socialize.showLoginUI(conf,login_params);function Popup(){this.width=450;this.height=400;this.url="/";this.name="";this.openedObject=null;this.features="";this.show=function(){this._generateFeaturesString();openedObject=window.open(this.url,this.name,this.features);openedObject.focus();return false},this._generateFeaturesString=function(){this.features="width="+this.width+",height="+this.height+",directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,alwaysRaised=yes,dependent=yes"}}function KarmaPopup(){this.show()}KarmaPopup.prototype=new Popup();KarmaPopup.prototype.width=250;KarmaPopup.prototype.height=220;KarmaPopup.prototype.url="/karma_popup";KarmaPopup.prototype.name="karma_popup";function ExplainPicPopup(){this.show()}ExplainPicPopup.prototype=new Popup();ExplainPicPopup.prototype.width=320;ExplainPicPopup.prototype.height=200;ExplainPicPopup.prototype.url="/explain_pic_popup";ExplainPicPopup.prototype.name="explain_pic_popup";function ExplainPopup(){this.show()}ExplainPopup.prototype=new Popup();ExplainPopup.prototype.width=550;ExplainPopup.prototype.height=400;ExplainPopup.prototype.url="/explain_popup";ExplainPopup.prototype.name="explain_popup";function ImportAddressbookPopup(){this.show()}ImportAddressbookPopup.prototype=new Popup();ImportAddressbookPopup.prototype.width=600;ImportAddressbookPopup.prototype.height=350;ImportAddressbookPopup.prototype.url="/addressbooks/invitecontacts";ImportAddressbookPopup.prototype.name="import_addressbook_popup";function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")}else{return B+A}}function AC_Generateobj_edelight(F,E,A,G){var D="<object ";for(var B in F){D+=B+'="'+F[B]+'" '}D+=">";for(var B in E){D+='<param name="'+B+'" value="'+E[B]+'" /> '}D+="<embed ";for(var B in A){D+=B+'="'+A[B]+'" '}D+=" ></embed></object>";var C=document.getElementById(G);C.innerHTML=D}function AC_Generateobj(E,D,A,F){var C="<object ";for(var B in E){C+=B+'="'+E[B]+'" '}C+=">";for(var B in D){C+='<param name="'+B+'" value="'+D[B]+'" /> '}C+="<embed ";for(var B in A){C+=B+'="'+A[B]+'" '}C+=" ></embed></object>";document.write(C)}function AC_FL_RunContent_edelight(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj_edelight(A.objAttrs,A.params,A.embedAttrs,A.parentId)}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_SW_RunContent(){var A=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_GetArgs(B,E,G,D,H){var A=new Object();A.embedAttrs=new Object();A.params=new Object();A.objAttrs=new Object();for(var C=0;C<B.length;C=C+2){var F=B[C].toLowerCase();switch(F){case"classid":break;case"pluginspage":A.embedAttrs[B[C]]=B[C+1];break;case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],E);A.embedAttrs.src=B[C+1];A.params[G]=B[C+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":A.objAttrs[B[C]]=B[C+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"id":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];break;case"parentid":A.parentId=B[C+1];break;default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]}}A.objAttrs.classid=D;if(H){A.embedAttrs.type=H}return A}function setRadiobutton(){document.getElementById("pictureFromUrl").checked="checked"}function reSetBorder(A){$(".rf_change_selected").attr("class","size80x80 rf_change_unselected");$("#picture_border_"+A).attr("class","size80x80 rf_change_selected");$(":radio#picture_"+A).attr("checked",true)}function startSlider(){var A=$("#addAgeSelectorLowerStr").val();var B=$("#addAgeSelectorUpperStr").val();$("#slider").slider({range:true,max:99,min:1,values:[A,B],slide:function(C,D){$("#addAgeSelectorLowerStr").val(D.values[0]);$("#addAgeSelectorUpperStr").val(D.values[1])}})}$(document).ready(function(){startSlider()});function check_it(checkbox,button){if(nameOfArray==undefined||nameOfArray==""){nameOfArray="Post"}_parent=$(checkbox).parent().parent();var _size=$(_parent[0]).find(":checkbox:checked").size();var maxsize=10000;if(button.name=="data["+nameOfArray+"][attributei]"){_po=$(_parent[0]).parent().parent();eval(" maxsize =  max_"+_po[0].id+"_for_posts;")}if(checkbox.checked){checkbox.checked=false;button.childNodes[0].className="";_test=$("span#id"+checkbox.value).remove()}else{if(_size<maxsize){checkbox.checked=true;if(button.name=="data["+nameOfArray+"][attributei]"){button.childNodes[0].className="underline checked";insert_attribute(checkbox.value,$(button).find("span").text(),_po[0].id)}else{button.childNodes[0].className="selected"}}}if(button.name=="data["+nameOfArray+"][attributei]"){}}function insert_attribute(C,A,B){spanText="";if(spanClasses!=undefined&&spanClasses!=""){spanText=" "+spanClasses}$("div.attributes_block#"+B+"Selected").append('<span class="submit_link'+spanText+'" id="id'+C+'">&nbsp;'+A+"<br></span>")}$(":radio.image").hide();$("div.popup").hide();$("div.rf_block").mouseover(function(){$(this).find("div.popup").show()});$("div.rf_block").mouseout(function(){$(this).find("div.popup").hide()});$("div.rf_blocks").mouseover(function(){$(this).find("div.popup").show()});$("div.rf_blocks").mouseout(function(){$(this).find("div.popup").hide()});$("li.attribute").mouseover(function(A){_test=$(this).find("div.select_attribute");_test[0].style.visibility="visible";_testi=$("div.select_attribute");for(i=0;i<_testi.length;i++){if(_test[0]!=_testi[i]){_testi[i].style.visibility="hidden"}}$(this).parent().parent().parent().parent().find("div.popup").show();A.stopPropagation()});function testi(){_test=$(this).find("div.select_attribute");for(i=0;i<_test.length;i++){_test[i].style.visibility="hidden"}}document.onmouseover=testi;$("input#addAgeSelectorLowerStr").keyup(function(){if(Math.floor($("input#addAgeSelectorLowerStr").attr("value"))<Math.floor($("input#addAgeSelectorUpperStr").attr("value"))){startSlider()}});$("input#addAgeSelectorUpperStr").keyup(function(){if(Math.floor($("input#addAgeSelectorUpperStr").attr("value"))>Math.floor($("input#addAgeSelectorLowerStr").attr("value"))){startSlider()}});window.google_adnum=0;function callAdsense(){if(adSenseSlots.length==0){return }edSlot=adSenseSlots.shift();window.google_ad_client="pub-9066453692879617";window.google_ad_output="js";window.google_language="de";window.google_feedback="on";window.google_max_num_ads=edSlot.amount;window.google_image_size=edSlot.size;window.google_ad_type=edSlot.type;window.google_ad_channel=edSlot.channel;window.adsenseSlotName=edSlot.slotName;window.google_skip=window.google_adnum;document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}function google_ad_request_done(B){var C="";var A;if(B.length==0){return }if(B[0].type=="flash"){C+='<div class="text_center"><a class="google_link" href="'+google_info.feedback_url+'" style="color:000000" target="_blank">Google-Anzeigen</a><div class="clear"></div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+google_ad.image_width+'" height="'+google_ad.image_height+'"> <param name="movie" value="'+google_ad.image_url+'"><param name="quality" value="high"><param name="AllowScriptAccess" value="never"><embed src="'+google_ad.image_url+'" width="'+google_ad.image_width+'" height="'+google_ad.image_height+'" TYPE="application/x-shockwave-flash" AllowScriptAccess="never"  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed></object></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B[0].type=="image"){C+='<div class="text_center"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div><a href="'+B[0].url+'" target="_blank" title="go to '+B[0].visible_url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+'\';return true"><img border="0" src="'+B[0].image_url+'"width="'+B[0].image_width+'"height="'+B[0].image_height+'"></a></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B[0].type=="html"){if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}C+='<div class="text_center">'+B[0].snippet+"</div>"}else{if(B.length==1){C+='<div class="google_ad single"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div><div class="google_ad_slot"><span class="google_ad_headline"><a class="google_ad_link" href="'+B[0].url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+"';return true\">"+B[0].line1+'</a></span><div class="clear"></div><span class="google_ad_text float_left">'+B[0].line2+" "+B[0].line3+'&nbsp;</span><span class="google_ad_visible_link"><a href="'+B[0].url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+"';return true\">"+B[0].visible_url+'</a></span><div class="clear"></div></div></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B.length>0){C+='<div class="google_ad"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div>';for(A=0;A<B.length;++A){C+='<div class="google_ad_slot"><span class="google_ad_headline"><a class="google_ad_link" href="'+B[A].url+'" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+B[A].visible_url+"';return true\">"+B[A].line1+'</a></span><div class="clear"></div><span class="google_ad_text">'+B[A].line2+" "+B[A].line3+'&nbsp;</span><span class="google_ad_visible_link"><a href="'+B[A].url+'" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+B[A].visible_url+"';return true\">"+B[A].visible_url+'</a></span><div class="clear"></div></div>'}if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}C+="</div>"}}}}}$("#"+adsenseSlotName).html(C);callAdsense();return true}callAdsense();(function(A){A.fn.mask=function(C,B){A(this).each(function(){if(B!==undefined&&B>0){var D=A(this);D.data("_mask_timeout",setTimeout(function(){A.maskElement(D,C)},B))}else{A.maskElement(A(this),C)}})};A.fn.unmask=function(){A(this).each(function(){A.unmaskElement(A(this))})};A.fn.isMasked=function(){return this.hasClass("masked")};A.maskElement=function(D,E){if(D.data("_mask_timeout")!==undefined){clearTimeout(D.data("_mask_timeout"));D.removeData("_mask_timeout")}if(D.isMasked()){A.unmaskElement(D)}if(D.css("position")=="static"){D.addClass("masked-relative")}D.addClass("masked");var C=A('<div class="loadmask"></div>');if(navigator.userAgent.toLowerCase().indexOf("msie")>-1){C.height(D.height()+parseInt(D.css("padding-top"))+parseInt(D.css("padding-bottom")));C.width(D.width()+parseInt(D.css("padding-left"))+parseInt(D.css("padding-right")))}if(navigator.userAgent.toLowerCase().indexOf("msie 6")>-1){D.find("select").addClass("masked-hidden")}D.append(C);if(E!==undefined){var B=A('<div class="loadmask-msg" style="display:none;"></div>');B.append("<div>"+E+"</div>");D.append(B);B.css("top",Math.round(D.height()/2-(B.height()-parseInt(B.css("padding-top"))-parseInt(B.css("padding-bottom")))/2)+"px");B.css("left",Math.round(D.width()/2-(B.width()-parseInt(B.css("padding-left"))-parseInt(B.css("padding-right")))/2)+"px");B.show()}};A.unmaskElement=function(B){if(B.data("_mask_timeout")!==undefined){clearTimeout(B.data("_mask_timeout"));B.removeData("_mask_timeout")}B.find(".loadmask-msg,.loadmask").remove();B.removeClass("masked");B.removeClass("masked-relative");B.find("select").removeClass("masked-hidden")}})(jQuery);
