(function(aQ,S){function a2(){if(!aj.isReady){try{U.documentElement.doScroll("left");}catch(c){setTimeout(a2,1);return;}aj.ready();}}function I(s,c){c.src?aj.ajax({url:c.src,async:false,dataType:"script"}):aj.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c);}function ar(s,c,K,F,G,w){var A=s.length;if(typeof c==="object"){for(var J in c){ar(s,J,c[J],F,G,K);}return s;}if(K!==S){F=!w&&F&&aj.isFunction(K);for(J=0;J<A;J++){G(s[J],c,F?K.call(s[J],J,G(s[J],c)):K,w);}return s;}return A?G(s[0],c):S;}function aH(){return(new Date).getTime();}function aq(){return false;}function ao(){return true;}function aM(s,c,w){w[0].type=s;return aj.event.handle.apply(c,w);}function ai(O){var N,L=[],J=[],K=arguments,F,G,s,A,w,c;G=aj.data(this,"events");if(!(O.liveFired===this||!G||!G.live||O.button&&O.type==="click")){O.liveFired=this;var P=G.live.slice(0);for(A=0;A<P.length;A++){G=P[A];G.origType.replace(aB,"")===O.type?J.push(G.selector):P.splice(A--,1);}F=aj(O.target).closest(J,O.currentTarget);w=0;for(c=F.length;w<c;w++){for(A=0;A<P.length;A++){G=P[A];if(F[w].selector===G.selector){s=F[w].elem;J=null;if(G.preType==="mouseenter"||G.preType==="mouseleave"){J=aj(O.relatedTarget).closest(G.selector)[0];}if(!J||J!==s){L.push({elem:s,handleObj:G});}}}}w=0;for(c=L.length;w<c;w++){F=L[w];O.currentTarget=F.elem;O.data=F.handleObj.data;O.handleObj=F.handleObj;if(F.handleObj.origHandler.apply(F.elem,K)===false){N=false;break;}}return N;}}function C(s,c){return"live."+(s&&s!=="*"?s+".":"")+c.replace(/\./g,"`").replace(/ /g,"&");}function n(c){return !c||!c.parentNode||c.parentNode.nodeType===11;}function bl(s,c){var w=0;c.each(function(){if(this.nodeName===(s[w]&&s[w].nodeName)){var G=aj.data(s[w++]),J=aj.data(this,G);if(G=G&&G.events){delete J.handle;J.events={};for(var A in G){for(var F in G[A]){aj.event.add(this,A,G[A][F],G[A][F].data);}}}}});}function a5(s,c,G){var A,F,w;c=c&&c[0]?c[0].ownerDocument||c[0]:U;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&c===U&&!aR.test(s[0])&&(aj.support.checkClone||!am.test(s[0]))){F=true;if(w=aj.fragments[s[0]]){if(w!==1){A=w;}}}if(!A){A=c.createDocumentFragment();aj.clean(s,c,A,G);}if(F){aj.fragments[s[0]]=w?A:1;}return{fragment:A,cacheable:F};}function aE(s,c){var w={};aj.each(H.concat.apply([],H.slice(0,c)),function(){w[this]=s;});return w;}function q(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false;}var aj=function(s,c){return new aj.fn.init(s,c);},r=aQ.jQuery,d=aQ.$,U=aQ.document,av,a9=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aV=/^.[^:#\[\.,]*$/,ap=/\S/,M=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,t=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,az=navigator.userAgent,b=false,ax=[],aD,a3=Object.prototype.toString,aX=Object.prototype.hasOwnProperty,aA=Array.prototype.push,aw=Array.prototype.slice,a8=Array.prototype.indexOf;aj.fn=aj.prototype={init:function(s,c){var A,w;if(!s){return this;}if(s.nodeType){this.context=this[0]=s;this.length=1;return this;}if(s==="body"&&!c){this.context=U;this[0]=U.body;this.selector="body";this.length=1;return this;}if(typeof s==="string"){if((A=a9.exec(s))&&(A[1]||!c)){if(A[1]){w=c?c.ownerDocument||c:U;if(s=t.exec(s)){if(aj.isPlainObject(c)){s=[U.createElement(s[1])];aj.fn.attr.call(s,c,true);}else{s=[w.createElement(s[1])];}}else{s=a5([A[1]],[w]);s=(s.cacheable?s.fragment.cloneNode(true):s.fragment).childNodes;}return aj.merge(this,s);}else{if(c=U.getElementById(A[2])){if(c.id!==A[2]){return av.find(s);}this.length=1;this[0]=c;}this.context=U;this.selector=s;return this;}}else{if(!c&&/^\w+$/.test(s)){this.selector=s;this.context=U;s=U.getElementsByTagName(s);return aj.merge(this,s);}else{return !c||c.jquery?(c||av).find(s):aj(c).find(s);}}}else{if(aj.isFunction(s)){return av.ready(s);}}if(s.selector!==S){this.selector=s.selector;this.context=s.context;}return aj.makeArray(s,this);},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length;},toArray:function(){return aw.call(this,0);},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c];},pushStack:function(s,c,A){var w=aj();aj.isArray(s)?aA.apply(w,s):aj.merge(w,s);w.prevObject=this;w.context=this.context;if(c==="find"){w.selector=this.selector+(this.selector?" ":"")+A;}else{if(c){w.selector=this.selector+"."+c+"("+A+")";}}return w;},each:function(s,c){return aj.each(this,s,c);},ready:function(c){aj.bindReady();if(aj.isReady){c.call(U,aj);}else{ax&&ax.push(c);}return this;},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1);},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(aw.apply(this,arguments),"slice",aw.call(arguments).join(","));},map:function(c){return this.pushStack(aj.map(this,function(s,w){return c.call(s,w,s);}));},end:function(){return this.prevObject||aj(null);},push:aA,sort:[].sort,splice:[].splice};aj.fn.init.prototype=aj.fn;aj.extend=aj.fn.extend=function(){var s=arguments[0]||{},c=1,K=arguments.length,F=false,G,w,A,J;if(typeof s==="boolean"){F=s;s=arguments[1]||{};c=2;}if(typeof s!=="object"&&!aj.isFunction(s)){s={};}if(K===c){s=this;--c;}for(;c<K;c++){if((G=arguments[c])!=null){for(w in G){A=s[w];J=G[w];if(s!==J){if(F&&J&&(aj.isPlainObject(J)||aj.isArray(J))){A=A&&(aj.isPlainObject(A)||aj.isArray(A))?A:aj.isArray(J)?[]:{};s[w]=aj.extend(F,A,J);}else{if(J!==S){s[w]=J;}}}}}}return s;};aj.extend({noConflict:function(c){aQ.$=d;if(c){aQ.jQuery=r;}return aj;},isReady:false,ready:function(){if(!aj.isReady){if(!U.body){return setTimeout(aj.ready,13);}aj.isReady=true;if(ax){for(var s,c=0;s=ax[c++];){s.call(U,aj);}ax=null;}aj.fn.triggerHandler&&aj(U).triggerHandler("ready");}},bindReady:function(){if(!b){b=true;if(U.readyState==="complete"){return aj.ready();}if(U.addEventListener){U.addEventListener("DOMContentLoaded",aD,false);aQ.addEventListener("load",aj.ready,false);}else{if(U.attachEvent){U.attachEvent("onreadystatechange",aD);aQ.attachEvent("onload",aj.ready);var s=false;try{s=aQ.frameElement==null;}catch(c){}U.documentElement.doScroll&&s&&a2();}}}},isFunction:function(c){return a3.call(c)==="[object Function]";},isArray:function(c){return a3.call(c)==="[object Array]";},isPlainObject:function(s){if(!s||a3.call(s)!=="[object Object]"||s.nodeType||s.setInterval){return false;}if(s.constructor&&!aX.call(s,"constructor")&&!aX.call(s.constructor.prototype,"isPrototypeOf")){return false;}var c;for(c in s){}return c===S||aX.call(s,c);},isEmptyObject:function(s){for(var c in s){return false;}return true;},error:function(c){throw c;},parseJSON:function(c){if(typeof c!=="string"||!c){return null;}c=aj.trim(c);if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aQ.JSON&&aQ.JSON.parse?aQ.JSON.parse(c):(new Function("return "+c))();}else{aj.error("Invalid JSON: "+c);}},noop:function(){},globalEval:function(s){if(s&&ap.test(s)){var c=U.getElementsByTagName("head")[0]||U.documentElement,w=U.createElement("script");w.type="text/javascript";if(aj.support.scriptEval){w.appendChild(U.createTextNode(s));}else{w.text=s;}c.insertBefore(w,c.firstChild);c.removeChild(w);}},nodeName:function(s,c){return s.nodeName&&s.nodeName.toUpperCase()===c.toUpperCase();},each:function(s,c,J){var F,G=0,w=s.length,A=w===S||aj.isFunction(s);if(J){if(A){for(F in s){if(c.apply(s[F],J)===false){break;}}}else{for(;G<w;){if(c.apply(s[G++],J)===false){break;}}}}else{if(A){for(F in s){if(c.call(s[F],F,s[F])===false){break;}}}else{for(J=s[0];G<w&&c.call(J,G,J)!==false;J=s[++G]){}}}return s;},trim:function(c){return(c||"").replace(M,"");},makeArray:function(s,c){c=c||[];if(s!=null){s.length==null||typeof s==="string"||aj.isFunction(s)||typeof s!=="function"&&s.setInterval?aA.call(c,s):aj.merge(c,s);}return c;},inArray:function(s,c){if(c.indexOf){return c.indexOf(s);}for(var A=0,w=c.length;A<w;A++){if(c[A]===s){return A;}}return -1;},merge:function(s,c){var F=s.length,w=0;if(typeof c.length==="number"){for(var A=c.length;w<A;w++){s[F++]=c[w];}}else{for(;c[w]!==S;){s[F++]=c[w++];}}s.length=F;return s;},grep:function(s,c,G){for(var A=[],F=0,w=s.length;F<w;F++){!G!==!c(s[F],F)&&A.push(s[F]);}return A;},map:function(s,c,J){for(var F=[],G,w=0,A=s.length;w<A;w++){G=c(s[w],w,J);if(G!=null){F[F.length]=G;}}return F.concat.apply([],F);},guid:1,proxy:function(s,c,w){if(arguments.length===2){if(typeof c==="string"){w=s;s=w[c];c=S;}else{if(c&&!aj.isFunction(c)){w=c;c=S;}}}if(!c&&s){c=function(){return s.apply(w||this,arguments);};}if(s){c.guid=s.guid=s.guid||c.guid||aj.guid++;}return c;},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"};},browser:{}});az=aj.uaMatch(az);if(az.browser){aj.browser[az.browser]=true;aj.browser.version=az.version;}if(aj.browser.webkit){aj.browser.safari=true;}if(a8){aj.inArray=function(s,c){return a8.call(c,s);};}av=aj(U);if(U.addEventListener){aD=function(){U.removeEventListener("DOMContentLoaded",aD,false);aj.ready();};}else{if(U.attachEvent){aD=function(){if(U.readyState==="complete"){U.detachEvent("onreadystatechange",aD);aj.ready();}};}}(function(){aj.support={};var L=U.documentElement,K=U.createElement("script"),J=U.createElement("div"),F="script"+aH();J.style.display="none";J.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var G=J.getElementsByTagName("*"),w=J.getElementsByTagName("a")[0];if(!(!G||!G.length||!w)){aj.support={leadingWhitespace:J.firstChild.nodeType===3,tbody:!J.getElementsByTagName("tbody").length,htmlSerialize:!!J.getElementsByTagName("link").length,style:/red/.test(w.getAttribute("style")),hrefNormalized:w.getAttribute("href")==="/a",opacity:/^0.55$/.test(w.style.opacity),cssFloat:!!w.style.cssFloat,checkOn:J.getElementsByTagName("input")[0].value==="on",optSelected:U.createElement("select").appendChild(U.createElement("option")).selected,parentNode:J.removeChild(J.appendChild(U.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};K.type="text/javascript";try{K.appendChild(U.createTextNode("window."+F+"=1;"));}catch(A){}L.insertBefore(K,L.firstChild);if(aQ[F]){aj.support.scriptEval=true;delete aQ[F];}try{delete K.test;}catch(c){aj.support.deleteExpando=false;}L.removeChild(K);if(J.attachEvent&&J.fireEvent){J.attachEvent("onclick",function s(){aj.support.noCloneEvent=false;J.detachEvent("onclick",s);});J.cloneNode(true).fireEvent("onclick");}J=U.createElement("div");J.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";L=U.createDocumentFragment();L.appendChild(J.firstChild);aj.support.checkClone=L.cloneNode(true).cloneNode(true).lastChild.checked;aj(function(){var N=U.createElement("div");N.style.width=N.style.paddingLeft="1px";U.body.appendChild(N);aj.boxModel=aj.support.boxModel=N.offsetWidth===2;U.body.removeChild(N).style.display="none";});L=function(N){var P=U.createElement("div");N="on"+N;var O=N in P;if(!O){P.setAttribute(N,"return;");O=typeof P[N]==="function";}return O;};aj.support.submitBubbles=L("submit");aj.support.changeBubbles=L("change");L=K=J=G=w=null;}})();aj.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aJ="jQuery"+aH(),e=0,aU={};aj.extend({cache:{},expando:aJ,noData:{embed:true,object:true,applet:true},data:function(s,c,F){if(!(s.nodeName&&aj.noData[s.nodeName.toLowerCase()])){s=s==aQ?aU:s;var w=s[aJ],A=aj.cache;if(!w&&typeof c==="string"&&F===S){return null;}w||(w=++e);if(typeof c==="object"){s[aJ]=w;A[w]=aj.extend(true,{},c);}else{if(!A[w]){s[aJ]=w;A[w]={};}}s=A[w];if(F!==S){s[c]=F;}return typeof c==="string"?s[c]:s;}},removeData:function(s,c){if(!(s.nodeName&&aj.noData[s.nodeName.toLowerCase()])){s=s==aQ?aU:s;var F=s[aJ],w=aj.cache,A=w[F];if(c){if(A){delete A[c];aj.isEmptyObject(A)&&aj.removeData(s);}}else{if(aj.support.deleteExpando){delete s[aj.expando];}else{s.removeAttribute&&s.removeAttribute(aj.expando);}delete w[F];}}}});aj.fn.extend({data:function(s,c){if(typeof s==="undefined"&&this.length){return aj.data(this[0]);}else{if(typeof s==="object"){return this.each(function(){aj.data(this,s);});}}var A=s.split(".");A[1]=A[1]?"."+A[1]:"";if(c===S){var w=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(w===S&&this.length){w=aj.data(this[0],s);}return w===S&&A[1]?this.data(A[0]):w;}else{return this.trigger("setData"+A[1]+"!",[A[0],c]).each(function(){aj.data(this,s,c);});}},removeData:function(c){return this.each(function(){aj.removeData(this,c);});}});aj.extend({queue:function(s,c,A){if(s){c=(c||"fx")+"queue";var w=aj.data(s,c);if(!A){return w||[];}if(!w||aj.isArray(A)){w=aj.data(s,c,aj.makeArray(A));}else{w.push(A);}return w;}},dequeue:function(s,c){c=c||"fx";var A=aj.queue(s,c),w=A.shift();if(w==="inprogress"){w=A.shift();}if(w){c==="fx"&&A.unshift("inprogress");w.call(s,function(){aj.dequeue(s,c);});}}});aj.fn.extend({queue:function(s,c){if(typeof s!=="string"){c=s;s="fx";}if(c===S){return aj.queue(this[0],s);}return this.each(function(){var w=aj.queue(this,s,c);s==="fx"&&w[0]!=="inprogress"&&aj.dequeue(this,s);});},dequeue:function(c){return this.each(function(){aj.dequeue(this,c);});},delay:function(s,c){s=aj.fx?aj.fx.speeds[s]||s:s;c=c||"fx";return this.queue(c,function(){var w=this;setTimeout(function(){aj.dequeue(w,c);},s);});},clearQueue:function(c){return this.queue(c||"fx",[]);}});var bg=/[\n\t]/g,ad=/\s+/,bc=/\r/g,aO=/href|src|style/,aW=/(button|input)/i,ay=/(button|input|object|select|textarea)/i,ac=/^(a|area)$/i,a0=/radio|checkbox/;aj.fn.extend({attr:function(s,c){return ar(this,s,c,true,aj.attr);},removeAttr:function(c){return this.each(function(){aj.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c);});},addClass:function(L){if(aj.isFunction(L)){return this.each(function(O){var N=aj(this);N.addClass(L.call(this,O,N.attr("class")));});}if(L&&typeof L==="string"){for(var K=(L||"").split(ad),J=0,F=this.length;J<F;J++){var G=this[J];if(G.nodeType===1){if(G.className){for(var w=" "+G.className+" ",A=G.className,c=0,s=K.length;c<s;c++){if(w.indexOf(" "+K[c]+" ")<0){A+=" "+K[c];}}G.className=aj.trim(A);}else{G.className=L;}}}}return this;},removeClass:function(s){if(aj.isFunction(s)){return this.each(function(L){var N=aj(this);N.removeClass(s.call(this,L,N.attr("class")));});}if(s&&typeof s==="string"||s===S){for(var c=(s||"").split(ad),K=0,F=this.length;K<F;K++){var G=this[K];if(G.nodeType===1&&G.className){if(s){for(var w=(" "+G.className+" ").replace(bg," "),A=0,J=c.length;A<J;A++){w=w.replace(" "+c[A]+" "," ");}G.className=aj.trim(w);}else{G.className="";}}}}return this;},toggleClass:function(s,c){var A=typeof s,w=typeof c==="boolean";if(aj.isFunction(s)){return this.each(function(G){var F=aj(this);F.toggleClass(s.call(this,G,F.attr("class"),c),c);});}return this.each(function(){if(A==="string"){for(var K,G=0,J=aj(this),L=c,F=s.split(ad);K=F[G++];){L=w?L:!J.hasClass(K);J[L?"addClass":"removeClass"](K);}}else{if(A==="undefined"||A==="boolean"){this.className&&aj.data(this,"__className__",this.className);this.className=this.className||s===false?"":aj.data(this,"__className__")||"";}}});},hasClass:function(s){s=" "+s+" ";for(var c=0,w=this.length;c<w;c++){if((" "+this[c].className+" ").replace(bg," ").indexOf(s)>-1){return true;}}return false;},val:function(s){if(s===S){var c=this[0];if(c){if(aj.nodeName(c,"option")){return(c.attributes.value||{}).specified?c.value:c.text;}if(aj.nodeName(c,"select")){var K=c.selectedIndex,F=[],G=c.options;c=c.type==="select-one";if(K<0){return null;}var w=c?K:0;for(K=c?K+1:G.length;w<K;w++){var A=G[w];if(A.selected){s=aj(A).val();if(c){return s;}F.push(s);}}return F;}if(a0.test(c.type)&&!aj.support.checkOn){return c.getAttribute("value")===null?"on":c.value;}return(c.value||"").replace(bc,"");}return S;}var J=aj.isFunction(s);return this.each(function(L){var P=aj(this),O=s;if(this.nodeType===1){if(J){O=s.call(this,L,P.val());}if(typeof O==="number"){O+="";}if(aj.isArray(O)&&a0.test(this.type)){this.checked=aj.inArray(P.val(),O)>=0;}else{if(aj.nodeName(this,"select")){var N=aj.makeArray(O);aj("option",this).each(function(){this.selected=aj.inArray(aj(this).val(),N)>=0;});if(!N.length){this.selectedIndex=-1;}}else{this.value=O;}}}});}});aj.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,c,G,A){if(!s||s.nodeType===3||s.nodeType===8){return S;}if(A&&c in aj.attrFn){return aj(s)[c](G);}A=s.nodeType!==1||!aj.isXMLDoc(s);var F=G!==S;c=A&&aj.props[c]||c;if(s.nodeType===1){var w=aO.test(c);if(c in s&&A&&!w){if(F){c==="type"&&aW.test(s.nodeName)&&s.parentNode&&aj.error("type property can't be changed");s[c]=G;}if(aj.nodeName(s,"form")&&s.getAttributeNode(c)){return s.getAttributeNode(c).nodeValue;}if(c==="tabIndex"){return(c=s.getAttributeNode("tabIndex"))&&c.specified?c.value:ay.test(s.nodeName)||ac.test(s.nodeName)&&s.href?0:S;}return s[c];}if(!aj.support.style&&A&&c==="style"){if(F){s.style.cssText=""+G;}return s.style.cssText;}F&&s.setAttribute(c,""+G);s=!aj.support.hrefNormalized&&A&&w?s.getAttribute(c,2):s.getAttribute(c);return s===null?S:s;}return aj.style(s,c,G);}});var aB=/\.(.*)$/,u=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s;});};aj.event={add:function(P,O,L,J){if(!(P.nodeType===3||P.nodeType===8)){if(P.setInterval&&P!==aQ&&!P.frameElement){P=aQ;}var K,F;if(L.handler){K=L;L=K.handler;}if(!L.guid){L.guid=aj.guid++;}if(F=aj.data(P)){var G=F.events=F.events||{},s=F.handle;if(!s){F.handle=s=function(){return typeof aj!=="undefined"&&!aj.event.triggered?aj.event.handle.apply(s.elem,arguments):S;};}s.elem=P;O=O.split(" ");for(var A,w=0,c;A=O[w++];){F=K?aj.extend({},K):{handler:L,data:J};if(A.indexOf(".")>-1){c=A.split(".");A=c.shift();F.namespace=c.slice(0).sort().join(".");}else{c=[];F.namespace="";}F.type=A;F.guid=L.guid;var Q=G[A],N=aj.event.special[A]||{};if(!Q){Q=G[A]=[];if(!N.setup||N.setup.call(P,J,c,s)===false){if(P.addEventListener){P.addEventListener(A,s,false);}else{P.attachEvent&&P.attachEvent("on"+A,s);}}}if(N.add){N.add.call(P,F);if(!F.handler.guid){F.handler.guid=L.guid;}}Q.push(F);aj.event.global[A]=true;}P=null;}}},global:{},remove:function(R,Q,O,L){if(!(R.nodeType===3||R.nodeType===8)){var N,J=0,K,A,G,F,c,T,P=aj.data(R),s=P&&P.events;if(P&&s){if(Q&&Q.type){O=Q.handler;Q=Q.type;}if(!Q||typeof Q==="string"&&Q.charAt(0)==="."){Q=Q||"";for(N in s){aj.event.remove(R,N+Q);}}else{for(Q=Q.split(" ");N=Q[J++];){F=N;K=N.indexOf(".")<0;A=[];if(!K){A=N.split(".");N=A.shift();G=new RegExp("(^|\\.)"+aj.map(A.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)");}if(c=s[N]){if(O){F=aj.event.special[N]||{};for(w=L||0;w<c.length;w++){T=c[w];if(O.guid===T.guid){if(K||G.test(T.namespace)){L==null&&c.splice(w--,1);F.remove&&F.remove.call(R,T);}if(L!=null){break;}}}if(c.length===0||L!=null&&c.length===1){if(!F.teardown||F.teardown.call(R,A)===false){aI(R,N,P.handle);}delete s[N];}}else{for(var w=0;w<c.length;w++){T=c[w];if(K||G.test(T.namespace)){aj.event.remove(R,F,T.handler,w);c.splice(w--,1);}}}}}if(aj.isEmptyObject(s)){if(Q=P.handle){Q.elem=null;}delete P.events;delete P.handle;aj.isEmptyObject(P)&&aj.removeData(R);}}}}},trigger:function(N,L,K,G){var J=N.type||N;if(!G){N=typeof N==="object"?N[aJ]?N:aj.extend(aj.Event(J),N):aj.Event(J);if(J.indexOf("!")>=0){N.type=J=J.slice(0,-1);N.exclusive=true;}if(!K){N.stopPropagation();aj.event.global[J]&&aj.each(aj.cache,function(){this.events&&this.events[J]&&aj.event.trigger(N,L,this.handle.elem);});}if(!K||K.nodeType===3||K.nodeType===8){return S;}N.result=S;N.target=K;L=aj.makeArray(L);L.unshift(N);}N.currentTarget=K;(G=aj.data(K,"handle"))&&G.apply(K,L);G=K.parentNode||K.ownerDocument;try{if(!(K&&K.nodeName&&aj.noData[K.nodeName.toLowerCase()])){if(K["on"+J]&&K["on"+J].apply(K,L)===false){N.result=false;}}}catch(A){}if(!N.isPropagationStopped()&&G){aj.event.trigger(N,L,G,true);}else{if(!N.isDefaultPrevented()){G=N.target;var F,c=aj.nodeName(G,"a")&&J==="click",w=aj.event.special[J]||{};if((!w._default||w._default.call(K,N)===false)&&!c&&!(G&&G.nodeName&&aj.noData[G.nodeName.toLowerCase()])){try{if(G[J]){if(F=G["on"+J]){G["on"+J]=null;}aj.event.triggered=true;G[J]();}}catch(s){}if(F){G["on"+J]=F;}aj.event.triggered=false;}}}},handle:function(s){var c,J,F,G;s=arguments[0]=aj.event.fix(s||aQ.event);s.currentTarget=this;c=s.type.indexOf(".")<0&&!s.exclusive;if(!c){J=s.type.split(".");s.type=J.shift();F=new RegExp("(^|\\.)"+J.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");}G=aj.data(this,"events");J=G[s.type];if(G&&J){J=J.slice(0);G=0;for(var w=J.length;G<w;G++){var A=J[G];if(c||F.test(A.namespace)){s.handler=A.handler;s.data=A.data;s.handleObj=A;A=A.handler.apply(this,arguments);if(A!==S){s.result=A;if(A===false){s.preventDefault();s.stopPropagation();}}if(s.isImmediatePropagationStopped()){break;}}}}return s.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(s){if(s[aJ]){return s;}var c=s;s=aj.Event(c);for(var A=this.props.length,w;A;){w=this.props[--A];s[w]=c[w];}if(!s.target){s.target=s.srcElement||U;}if(s.target.nodeType===3){s.target=s.target.parentNode;}if(!s.relatedTarget&&s.fromElement){s.relatedTarget=s.fromElement===s.target?s.toElement:s.fromElement;}if(s.pageX==null&&s.clientX!=null){c=U.documentElement;A=U.body;s.pageX=s.clientX+(c&&c.scrollLeft||A&&A.scrollLeft||0)-(c&&c.clientLeft||A&&A.clientLeft||0);s.pageY=s.clientY+(c&&c.scrollTop||A&&A.scrollTop||0)-(c&&c.clientTop||A&&A.clientTop||0);}if(!s.which&&(s.charCode||s.charCode===0?s.charCode:s.keyCode)){s.which=s.charCode||s.keyCode;}if(!s.metaKey&&s.ctrlKey){s.metaKey=s.ctrlKey;}if(!s.which&&s.button!==S){s.which=s.button&1?1:s.button&2?3:s.button&4?2:0;}return s;},guid:100000000,proxy:aj.proxy,special:{ready:{setup:aj.bindReady,teardown:aj.noop},live:{add:function(c){aj.event.add(this,c.origType,aj.extend({},c,{handler:ai}));},remove:function(s){var c=true,w=s.origType.replace(aB,"");aj.each(aj.data(this,"events").live||[],function(){if(w===this.origType.replace(aB,"")){return c=false;}});c&&aj.event.remove(this,s.origType,ai);}},beforeunload:{setup:function(s,c,w){if(this.setInterval){this.onbeforeunload=w;}return false;},teardown:function(s,c){if(this.onbeforeunload===c){this.onbeforeunload=null;}}}}};var aI=U.removeEventListener?function(s,c,w){s.removeEventListener(c,w,false);}:function(s,c,w){s.detachEvent("on"+c,w);};aj.Event=function(c){if(!this.preventDefault){return new aj.Event(c);}if(c&&c.type){this.originalEvent=c;this.type=c.type;}else{this.type=c;}this.timeStamp=aH();this[aJ]=true;};aj.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ao;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false;}},stopPropagation:function(){this.isPropagationStopped=ao;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true;}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ao;this.stopPropagation();},isDefaultPrevented:aq,isPropagationStopped:aq,isImmediatePropagationStopped:aq};var ag=function(s){var c=s.relatedTarget;try{for(;c&&c!==this;){c=c.parentNode;}if(c!==this){s.type=s.data;aj.event.handle.apply(this,arguments);}}catch(w){}},z=function(c){c.type=c.data;aj.event.handle.apply(this,arguments);};aj.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(s,c){aj.event.special[s]={setup:function(w){aj.event.add(this,c,w&&w.selector?z:ag,s);},teardown:function(w){aj.event.remove(this,c,w&&w.selector?z:ag);}};});if(!aj.support.submitBubbles){aj.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){aj.event.add(this,"click.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="submit"||w==="image")&&aj(c).closest("form").length){return aM("submit",this,arguments);}});aj.event.add(this,"keypress.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="text"||w==="password")&&aj(c).closest("form").length&&s.keyCode===13){return aM("submit",this,arguments);}});}else{return false;}},teardown:function(){aj.event.remove(this,".specialSubmit");}};}if(!aj.support.changeBubbles){var v=/textarea|input|select/i,g,l=function(s){var c=s.type,w=s.value;if(c==="radio"||c==="checkbox"){w=s.checked;}else{if(c==="select-multiple"){w=s.selectedIndex>-1?aj.map(s.options,function(A){return A.selected;}).join("-"):"";}else{if(s.nodeName.toLowerCase()==="select"){w=s.selectedIndex;}}}return w;},bf=function(s,c){var F=s.target,w,A;if(!(!v.test(F.nodeName)||F.readOnly)){w=aj.data(F,"_change_data");A=l(F);if(s.type!=="focusout"||F.type!=="radio"){aj.data(F,"_change_data",A);}if(!(w===S||A===w)){if(w!=null||A){s.type="change";return aj.event.trigger(s,c,F);}}}};aj.event.special.change={filters:{focusout:bf,click:function(s){var c=s.target,w=c.type;if(w==="radio"||w==="checkbox"||c.nodeName.toLowerCase()==="select"){return bf.call(this,s);}},keydown:function(s){var c=s.target,w=c.type;if(s.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||s.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return bf.call(this,s);}},beforeactivate:function(c){c=c.target;aj.data(c,"_change_data",l(c));}},setup:function(){if(this.type==="file"){return false;}for(var c in g){aj.event.add(this,c+".specialChange",g[c]);}return v.test(this.nodeName);},teardown:function(){aj.event.remove(this,".specialChange");return v.test(this.nodeName);}};g=aj.event.special.change.filters;}U.addEventListener&&aj.each({focus:"focusin",blur:"focusout"},function(s,c){function w(A){A=aj.event.fix(A);A.type=c;return aj.event.handle.call(this,A);}aj.event.special[c]={setup:function(){this.addEventListener(s,w,true);},teardown:function(){this.removeEventListener(s,w,true);}};});aj.each(["bind","one"],function(s,c){aj.fn[c]=function(K,F,G){if(typeof K==="object"){for(var w in K){this[c](w,F,K[w],G);}return this;}if(aj.isFunction(F)){G=F;F=S;}var A=c==="one"?aj.proxy(G,function(L){aj(this).unbind(L,A);return G.apply(this,arguments);}):G;if(K==="unload"&&c!=="one"){this.one(K,F,G);}else{w=0;for(var J=this.length;w<J;w++){aj.event.add(this[w],K,A,F);}}return this;};});aj.fn.extend({unbind:function(s,c){if(typeof s==="object"&&!s.preventDefault){for(var A in s){this.unbind(A,s[A]);}}else{A=0;for(var w=this.length;A<w;A++){aj.event.remove(this[A],s,c);}}return this;},delegate:function(s,c,A,w){return this.live(c,A,w,s);},undelegate:function(s,c,w){return arguments.length===0?this.unbind("live"):this.die(c,null,w,s);},trigger:function(s,c){return this.each(function(){aj.event.trigger(s,c,this);});},triggerHandler:function(s,c){if(this[0]){s=aj.Event(s);s.preventDefault();s.stopPropagation();aj.event.trigger(s,c,this[0]);return s.result;}},toggle:function(s){for(var c=arguments,w=1;w<c.length;){aj.proxy(s,c[w++]);}return this.click(aj.proxy(s,function(A){var F=(aj.data(this,"lastToggle"+s.guid)||0)%w;aj.data(this,"lastToggle"+s.guid,F+1);A.preventDefault();return c[F].apply(this,arguments)||false;}));},hover:function(s,c){return this.mouseenter(s).mouseleave(c||s);}});var bj={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};aj.each(["live","die"],function(s,c){aj.fn[c]=function(O,L,N,J){var K,A=0,G,F,w=J||this.selector,P=J?this:aj(this.context);if(aj.isFunction(L)){N=L;L=S;}for(O=(O||"").split(" ");(K=O[A++])!=null;){J=aB.exec(K);G="";if(J){G=J[0];K=K.replace(aB,"");}if(K==="hover"){O.push("mouseenter"+G,"mouseleave"+G);}else{F=K;if(K==="focus"||K==="blur"){O.push(bj[K]+G);K+=G;}else{K=(bj[K]||K)+G;}c==="live"?P.each(function(){aj.event.add(this,C(K,w),{data:L,selector:w,handler:N,origType:K,origHandler:N,preType:F});}):P.unbind(C(K,w),N);}}return this;};});aj.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(s,c){aj.fn[c]=function(w){return w?this.bind(c,w):this.trigger(c);};if(aj.attrFn){aj.attrFn[c]=true;}});aQ.attachEvent&&!aQ.addEventListener&&aQ.attachEvent("onunload",function(){for(var s in aj.cache){if(aj.cache[s].handle){try{aj.event.remove(aj.cache[s].handle.elem);}catch(c){}}}});(function(){function W(ab){for(var aa="",Z,Y=0;ab[Y];Y++){Z=ab[Y];if(Z.nodeType===3||Z.nodeType===4){aa+=Z.nodeValue;}else{if(Z.nodeType!==8){aa+=W(Z.childNodes);}}}return aa;}function V(bb,ba,ab,aa,Y,Z){Y=0;for(var bo=aa.length;Y<bo;Y++){var bp=aa[Y];if(bp){bp=bp[bb];for(var bn=false;bp;){if(bp.sizcache===ab){bn=aa[bp.sizset];break;}if(bp.nodeType===1&&!Z){bp.sizcache=ab;bp.sizset=Y;}if(bp.nodeName.toLowerCase()===ba){bn=bp;break;}bp=bp[bb];}aa[Y]=bn;}}}function T(bb,ba,ab,aa,Y,Z){Y=0;for(var bo=aa.length;Y<bo;Y++){var bp=aa[Y];if(bp){bp=bp[bb];for(var bn=false;bp;){if(bp.sizcache===ab){bn=aa[bp.sizset];break;}if(bp.nodeType===1){if(!Z){bp.sizcache=ab;bp.sizset=Y;}if(typeof ba!=="string"){if(bp===ba){bn=true;break;}}else{if(N.filter(ba,[bp]).length>0){bn=bp;break;}}}bp=bp[bb];}aa[Y]=bn;}}}var Q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,R=0,O=Object.prototype.toString,P=false,K=true;[0,0].sort(function(){K=false;return 0;});var N=function(bo,bn,ba,ab){ba=ba||[];var Z=bn=bn||U;if(bn.nodeType!==1&&bn.nodeType!==9){return[];}if(!bo||typeof bo!=="string"){return ba;}for(var aa=[],bt,bu,bq,bb,bs=true,bp=s(bn),br=bo;(Q.exec(""),bt=Q.exec(br))!==null;){br=bt[3];aa.push(bt[1]);if(bt[2]){bb=bt[3];break;}}if(aa.length>1&&G.exec(bo)){if(aa.length===2&&L.relative[aa[0]]){bu=X(aa[0]+aa[1],bn);}else{for(bu=L.relative[aa[0]]?[bn]:N(aa.shift(),bn);aa.length;){bo=aa.shift();if(L.relative[bo]){bo+=aa.shift();}bu=X(bo,bu);}}}else{if(!ab&&aa.length>1&&bn.nodeType===9&&!bp&&L.match.ID.test(aa[0])&&!L.match.ID.test(aa[aa.length-1])){bt=N.find(aa.shift(),bn,bp);bn=bt.expr?N.filter(bt.expr,bt.set)[0]:bt.set[0];}if(bn){bt=ab?{expr:aa.pop(),set:c(ab)}:N.find(aa.pop(),aa.length===1&&(aa[0]==="~"||aa[0]==="+")&&bn.parentNode?bn.parentNode:bn,bp);bu=bt.expr?N.filter(bt.expr,bt.set):bt.set;if(aa.length>0){bq=c(bu);}else{bs=false;}for(;aa.length;){var Y=aa.pop();bt=Y;if(L.relative[Y]){bt=aa.pop();}else{Y="";}if(bt==null){bt=bn;}L.relative[Y](bq,bt,bp);}}else{bq=[];}}bq||(bq=bu);bq||N.error(Y||bo);if(O.call(bq)==="[object Array]"){if(bs){if(bn&&bn.nodeType===1){for(bo=0;bq[bo]!=null;bo++){if(bq[bo]&&(bq[bo]===true||bq[bo].nodeType===1&&A(bn,bq[bo]))){ba.push(bu[bo]);}}}else{for(bo=0;bq[bo]!=null;bo++){bq[bo]&&bq[bo].nodeType===1&&ba.push(bu[bo]);}}}else{ba.push.apply(ba,bq);}}else{c(bq,ba);}if(bb){N(bb,Z,ba,ab);N.uniqueSort(ba);}return ba;};N.uniqueSort=function(Z){if(J){P=K;Z.sort(J);if(P){for(var Y=1;Y<Z.length;Y++){Z[Y]===Z[Y-1]&&Z.splice(Y--,1);}}}return Z;};N.matches=function(Z,Y){return N(Z,null,null,Y);};N.find=function(bb,ba,ab){var aa,Y;if(!bb){return[];}for(var Z=0,bo=L.order.length;Z<bo;Z++){var bp=L.order[Z];if(Y=L.leftMatch[bp].exec(bb)){var bn=Y[1];Y.splice(1,1);if(bn.substr(bn.length-1)!=="\\"){Y[1]=(Y[1]||"").replace(/\\/g,"");aa=L.find[bp](Y,ba,ab);if(aa!=null){bb=bb.replace(L.match[bp],"");break;}}}}aa||(aa=ba.getElementsByTagName("*"));return{set:aa,expr:bb};};N.filter=function(bp,bo,bb,ab){for(var Z=bp,aa=[],bv=bo,bw,bs,bn=bo&&bo[0]&&s(bo[0]);bp&&bo.length;){for(var bu in L.filter){if((bw=L.leftMatch[bu].exec(bp))!=null&&bw[2]){var bq=L.filter[bu],bt,Y;Y=bw[1];bs=false;bw.splice(1,1);if(Y.substr(Y.length-1)!=="\\"){if(bv===aa){aa=[];}if(L.preFilter[bu]){if(bw=L.preFilter[bu](bw,bv,bb,aa,ab,bn)){if(bw===true){continue;}}else{bs=bt=true;}}if(bw){for(var ba=0;(Y=bv[ba])!=null;ba++){if(Y){bt=bq(Y,bw,ba,bv);var br=ab^!!bt;if(bb&&bt!=null){if(br){bs=true;}else{bv[ba]=false;}}else{if(br){aa.push(Y);bs=true;}}}}}if(bt!==S){bb||(bv=aa);bp=bp.replace(L.match[bu],"");if(!bs){return[];}break;}}}}if(bp===Z){if(bs==null){N.error(bp);}else{break;}}Z=bp;}return bv;};N.error=function(Y){throw"Syntax error, unrecognized expression: "+Y;};var L=N.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(Y){return Y.getAttribute("href");}},relative:{"+":function(ab,aa){var Z=typeof aa==="string",Y=Z&&!/\W/.test(aa);Z=Z&&!Y;if(Y){aa=aa.toLowerCase();}Y=0;for(var ba=ab.length,bb;Y<ba;Y++){if(bb=ab[Y]){for(;(bb=bb.previousSibling)&&bb.nodeType!==1;){}ab[Y]=Z||bb&&bb.nodeName.toLowerCase()===aa?bb||false:bb===aa;}}Z&&N.filter(aa,ab,true);},">":function(ab,aa){var Z=typeof aa==="string";if(Z&&!/\W/.test(aa)){aa=aa.toLowerCase();for(var Y=0,ba=ab.length;Y<ba;Y++){var bb=ab[Y];if(bb){Z=bb.parentNode;ab[Y]=Z.nodeName.toLowerCase()===aa?Z:false;}}}else{Y=0;for(ba=ab.length;Y<ba;Y++){if(bb=ab[Y]){ab[Y]=Z?bb.parentNode:bb.parentNode===aa;}}Z&&N.filter(aa,ab,true);}},"":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V;}ba("parentNode",aa,Y,ab,bb,Z);},"~":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V;}ba("previousSibling",aa,Y,ab,bb,Z);}},find:{ID:function(aa,Z,Y){if(typeof Z.getElementById!=="undefined"&&!Y){return(aa=Z.getElementById(aa[1]))?[aa]:[];}},NAME:function(ab,aa){if(typeof aa.getElementsByName!=="undefined"){var Z=[];aa=aa.getElementsByName(ab[1]);for(var Y=0,ba=aa.length;Y<ba;Y++){aa[Y].getAttribute("name")===ab[1]&&Z.push(aa[Y]);}return Z.length===0?null:Z;}},TAG:function(Z,Y){return Y.getElementsByTagName(Z[1]);}},preFilter:{CLASS:function(ba,ab,Z,Y,bb,bn){ba=" "+ba[1].replace(/\\/g,"")+" ";if(bn){return ba;}bn=0;for(var aa;(aa=ab[bn])!=null;bn++){if(aa){if(bb^(aa.className&&(" "+aa.className+" ").replace(/[\t\n]/g," ").indexOf(ba)>=0)){Z||Y.push(aa);}else{if(Z){ab[bn]=false;}}}}return false;},ID:function(Y){return Y[1].replace(/\\/g,"");},TAG:function(Y){return Y[1].toLowerCase();},CHILD:function(Z){if(Z[1]==="nth"){var Y=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Z[2]==="even"&&"2n"||Z[2]==="odd"&&"2n+1"||!/\D/.test(Z[2])&&"0n+"+Z[2]||Z[2]);Z[2]=Y[1]+(Y[2]||1)-0;Z[3]=Y[3]-0;}Z[0]=R++;return Z;},ATTR:function(ab,aa,Z,Y,ba,bb){aa=ab[1].replace(/\\/g,"");if(!bb&&L.attrMap[aa]){ab[1]=L.attrMap[aa];}if(ab[2]==="~="){ab[4]=" "+ab[4]+" ";}return ab;},PSEUDO:function(ab,aa,Z,Y,ba){if(ab[1]==="not"){if((Q.exec(ab[3])||"").length>1||/^\w/.test(ab[3])){ab[3]=N(ab[3],null,null,aa);}else{ab=N.filter(ab[3],aa,Z,true^ba);Z||Y.push.apply(Y,ab);return false;}}else{if(L.match.POS.test(ab[0])||L.match.CHILD.test(ab[0])){return true;}}return ab;},POS:function(Y){Y.unshift(true);return Y;}},filters:{enabled:function(Y){return Y.disabled===false&&Y.type!=="hidden";},disabled:function(Y){return Y.disabled===true;},checked:function(Y){return Y.checked===true;},selected:function(Y){return Y.selected===true;},parent:function(Y){return !!Y.firstChild;},empty:function(Y){return !Y.firstChild;},has:function(aa,Z,Y){return !!N(Y[3],aa).length;},header:function(Y){return/h\d/i.test(Y.nodeName);},text:function(Y){return"text"===Y.type;},radio:function(Y){return"radio"===Y.type;},checkbox:function(Y){return"checkbox"===Y.type;},file:function(Y){return"file"===Y.type;},password:function(Y){return"password"===Y.type;},submit:function(Y){return"submit"===Y.type;},image:function(Y){return"image"===Y.type;},reset:function(Y){return"reset"===Y.type;},button:function(Y){return"button"===Y.type||Y.nodeName.toLowerCase()==="button";},input:function(Y){return/input|select|textarea|button/i.test(Y.nodeName);}},setFilters:{first:function(Z,Y){return Y===0;},last:function(ab,aa,Z,Y){return aa===Y.length-1;},even:function(Z,Y){return Y%2===0;},odd:function(Z,Y){return Y%2===1;},lt:function(aa,Z,Y){return Z<Y[3]-0;},gt:function(aa,Z,Y){return Z>Y[3]-0;},nth:function(aa,Z,Y){return Y[3]-0===Z;},eq:function(aa,Z,Y){return Y[3]-0===Z;}},filter:{PSEUDO:function(ab,aa,Z,Y){var ba=aa[1],bb=L.filters[ba];if(bb){return bb(ab,Z,aa,Y);}else{if(ba==="contains"){return(ab.textContent||ab.innerText||W([ab])||"").indexOf(aa[3])>=0;}else{if(ba==="not"){aa=aa[3];Z=0;for(Y=aa.length;Z<Y;Z++){if(aa[Z]===ab){return false;}}return true;}else{N.error("Syntax error, unrecognized expression: "+ba);}}}},CHILD:function(ba,ab){var Z=ab[1],Y=ba;switch(Z){case"only":case"first":for(;Y=Y.previousSibling;){if(Y.nodeType===1){return false;}}if(Z==="first"){return true;}Y=ba;case"last":for(;Y=Y.nextSibling;){if(Y.nodeType===1){return false;}}return true;case"nth":Z=ab[2];var bb=ab[3];if(Z===1&&bb===0){return true;}ab=ab[0];var bn=ba.parentNode;if(bn&&(bn.sizcache!==ab||!ba.nodeIndex)){var aa=0;for(Y=bn.firstChild;Y;Y=Y.nextSibling){if(Y.nodeType===1){Y.nodeIndex=++aa;}}bn.sizcache=ab;}ba=ba.nodeIndex-bb;return Z===0?ba===0:ba%Z===0&&ba/Z>=0;}},ID:function(Z,Y){return Z.nodeType===1&&Z.getAttribute("id")===Y;},TAG:function(Z,Y){return Y==="*"&&Z.nodeType===1||Z.nodeName.toLowerCase()===Y;},CLASS:function(Z,Y){return(" "+(Z.className||Z.getAttribute("class"))+" ").indexOf(Y)>-1;},ATTR:function(ab,aa){var Z=aa[1];ab=L.attrHandle[Z]?L.attrHandle[Z](ab):ab[Z]!=null?ab[Z]:ab.getAttribute(Z);Z=ab+"";var Y=aa[2];aa=aa[4];return ab==null?Y==="!=":Y==="="?Z===aa:Y==="*="?Z.indexOf(aa)>=0:Y==="~="?(" "+Z+" ").indexOf(aa)>=0:!aa?Z&&ab!==false:Y==="!="?Z!==aa:Y==="^="?Z.indexOf(aa)===0:Y==="$="?Z.substr(Z.length-aa.length)===aa:Y==="|="?Z===aa||Z.substr(0,aa.length+1)===aa+"-":false;},POS:function(ab,aa,Z,Y){var ba=L.setFilters[aa[2]];if(ba){return ba(ab,Z,aa,Y);}}}},G=L.match.POS;for(var w in L.match){L.match[w]=new RegExp(L.match[w].source+/(?![^\[]*\])(?![^\(]*\))/.source);L.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+L.match[w].source.replace(/\\(\d+)/g,function(Z,Y){return"\\"+(Y-0+1);}));}var c=function(Z,Y){Z=Array.prototype.slice.call(Z,0);if(Y){Y.push.apply(Y,Z);return Y;}return Z;};try{Array.prototype.slice.call(U.documentElement.childNodes,0);}catch(F){c=function(ab,aa){aa=aa||[];if(O.call(ab)==="[object Array]"){Array.prototype.push.apply(aa,ab);}else{if(typeof ab.length==="number"){for(var Z=0,Y=ab.length;Z<Y;Z++){aa.push(ab[Z]);}}else{for(Z=0;ab[Z];Z++){aa.push(ab[Z]);}}}return aa;};}var J;if(U.documentElement.compareDocumentPosition){J=function(Z,Y){if(!Z.compareDocumentPosition||!Y.compareDocumentPosition){if(Z==Y){P=true;}return Z.compareDocumentPosition?-1:1;}Z=Z.compareDocumentPosition(Y)&4?-1:Z===Y?0:1;if(Z===0){P=true;}return Z;};}else{if("sourceIndex" in U.documentElement){J=function(Z,Y){if(!Z.sourceIndex||!Y.sourceIndex){if(Z==Y){P=true;}return Z.sourceIndex?-1:1;}Z=Z.sourceIndex-Y.sourceIndex;if(Z===0){P=true;}return Z;};}else{if(U.createRange){J=function(ab,aa){if(!ab.ownerDocument||!aa.ownerDocument){if(ab==aa){P=true;}return ab.ownerDocument?-1:1;}var Z=ab.ownerDocument.createRange(),Y=aa.ownerDocument.createRange();Z.setStart(ab,0);Z.setEnd(ab,0);Y.setStart(aa,0);Y.setEnd(aa,0);ab=Z.compareBoundaryPoints(Range.START_TO_END,Y);if(ab===0){P=true;}return ab;};}}}(function(){var aa=U.createElement("div"),Z="script"+(new Date).getTime();aa.innerHTML="<a name='"+Z+"'/>";var Y=U.documentElement;Y.insertBefore(aa,Y.firstChild);if(U.getElementById(Z)){L.find.ID=function(ab,ba,bb){if(typeof ba.getElementById!=="undefined"&&!bb){return(ba=ba.getElementById(ab[1]))?ba.id===ab[1]||typeof ba.getAttributeNode!=="undefined"&&ba.getAttributeNode("id").nodeValue===ab[1]?[ba]:S:[];}};L.filter.ID=function(ab,ba){var bb=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&bb&&bb.nodeValue===ba;};}Y.removeChild(aa);Y=aa=null;})();(function(){var Y=U.createElement("div");Y.appendChild(U.createComment(""));if(Y.getElementsByTagName("*").length>0){L.find.TAG=function(ab,aa){aa=aa.getElementsByTagName(ab[1]);if(ab[1]==="*"){ab=[];for(var Z=0;aa[Z];Z++){aa[Z].nodeType===1&&ab.push(aa[Z]);}aa=ab;}return aa;};}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){L.attrHandle.href=function(Z){return Z.getAttribute("href",2);};}Y=null;})();U.querySelectorAll&&function(){var aa=N,Z=U.createElement("div");Z.innerHTML="<p class='TEST'></p>";if(!(Z.querySelectorAll&&Z.querySelectorAll(".TEST").length===0)){N=function(ab,bn,bo,ba){bn=bn||U;if(!ba&&bn.nodeType===9&&!s(bn)){try{return c(bn.querySelectorAll(ab),bo);}catch(bb){}}return aa(ab,bn,bo,ba);};for(var Y in aa){N[Y]=aa[Y];}Z=null;}}();(function(){var Y=U.createElement("div");Y.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Y.getElementsByClassName||Y.getElementsByClassName("e").length===0)){Y.lastChild.className="e";if(Y.getElementsByClassName("e").length!==1){L.order.splice(1,0,"CLASS");L.find.CLASS=function(ab,aa,Z){if(typeof aa.getElementsByClassName!=="undefined"&&!Z){return aa.getElementsByClassName(ab[1]);}};Y=null;}}})();var A=U.compareDocumentPosition?function(Z,Y){return !!(Z.compareDocumentPosition(Y)&16);}:function(Z,Y){return Z!==Y&&(Z.contains?Z.contains(Y):true);},s=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false;},X=function(ab,aa){var Z=[],Y="",ba;for(aa=aa.nodeType?[aa]:aa;ba=L.match.PSEUDO.exec(ab);){Y+=ba[0];ab=ab.replace(L.match.PSEUDO,"");}ab=L.relative[ab]?ab+"*":ab;ba=0;for(var bb=aa.length;ba<bb;ba++){N(ab,aa[ba],Z);}return N.filter(Y,Z);};aj.find=N;aj.expr=N.selectors;aj.expr[":"]=aj.expr.filters;aj.unique=N.uniqueSort;aj.text=W;aj.isXMLDoc=s;aj.contains=A;})();var f=/Until$/,bd=/^(?:parents|prevUntil|prevAll)/,aY=/,/;aw=Array.prototype.slice;var aN=function(s,c,A){if(aj.isFunction(c)){return aj.grep(s,function(G,F){return !!c.call(G,F,G)===A;});}else{if(c.nodeType){return aj.grep(s,function(F){return F===c===A;});}else{if(typeof c==="string"){var w=aj.grep(s,function(F){return F.nodeType===1;});if(aV.test(c)){return aj.filter(c,w,!A);}else{c=aj.filter(c,w);}}}}return aj.grep(s,function(F){return aj.inArray(F,c)>=0===A;});};aj.fn.extend({find:function(s){for(var c=this.pushStack("","find",s),J=0,F=0,G=this.length;F<G;F++){J=c.length;aj.find(s,this[F],c);if(F>0){for(var w=J;w<c.length;w++){for(var A=0;A<J;A++){if(c[A]===c[w]){c.splice(w--,1);break;}}}}}return c;},has:function(s){var c=aj(s);return this.filter(function(){for(var A=0,w=c.length;A<w;A++){if(aj.contains(this,c[A])){return true;}}});},not:function(c){return this.pushStack(aN(this,c,false),"not",c);},filter:function(c){return this.pushStack(aN(this,c,true),"filter",c);},is:function(c){return !!c&&aj.filter(c,this).length>0;},closest:function(L,K){if(aj.isArray(L)){var J=[],F=this[0],G,w={},A;if(F&&L.length){G=0;for(var c=L.length;G<c;G++){A=L[G];w[A]||(w[A]=aj.expr.match.POS.test(A)?aj(A,K||this.context):A);}for(;F&&F.ownerDocument&&F!==K;){for(A in w){G=w[A];if(G.jquery?G.index(F)>-1:aj(F).is(G)){J.push({selector:A,elem:F});delete w[A];}}F=F.parentNode;}}return J;}var s=aj.expr.match.POS.test(L)?aj(L,K||this.context):null;return this.map(function(O,N){for(;N&&N.ownerDocument&&N!==K;){if(s?s.index(N)>-1:aj(N).is(L)){return N;}N=N.parentNode;}return null;});},index:function(c){if(!c||typeof c==="string"){return aj.inArray(this[0],c?aj(c):this.parent().children());}return aj.inArray(c.jquery?c[0]:c,this);},add:function(s,c){s=typeof s==="string"?aj(s,c||this.context):aj.makeArray(s);c=aj.merge(this.get(),s);return this.pushStack(n(s[0])||n(c[0])?c:aj.unique(c));},andSelf:function(){return this.add(this.prevObject);}});aj.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null;},parents:function(c){return aj.dir(c,"parentNode");},parentsUntil:function(s,c,w){return aj.dir(s,"parentNode",w);},next:function(c){return aj.nth(c,2,"nextSibling");},prev:function(c){return aj.nth(c,2,"previousSibling");},nextAll:function(c){return aj.dir(c,"nextSibling");},prevAll:function(c){return aj.dir(c,"previousSibling");},nextUntil:function(s,c,w){return aj.dir(s,"nextSibling",w);},prevUntil:function(s,c,w){return aj.dir(s,"previousSibling",w);},siblings:function(c){return aj.sibling(c.parentNode.firstChild,c);},children:function(c){return aj.sibling(c.firstChild);},contents:function(c){return aj.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:aj.makeArray(c.childNodes);}},function(s,c){aj.fn[s]=function(F,w){var A=aj.map(this,c,F);f.test(s)||(w=F);if(w&&typeof w==="string"){A=aj.filter(w,A);}A=this.length>1?aj.unique(A):A;if((this.length>1||aY.test(w))&&bd.test(s)){A=A.reverse();}return this.pushStack(A,s,aw.call(arguments).join(","));};});aj.extend({filter:function(s,c,w){if(w){s=":not("+s+")";}return aj.find.matches(s,c);},dir:function(s,c,A){var w=[];for(s=s[c];s&&s.nodeType!==9&&(A===S||s.nodeType!==1||!aj(s).is(A));){s.nodeType===1&&w.push(s);s=s[c];}return w;},nth:function(s,c,A){c=c||1;for(var w=0;s;s=s[A]){if(s.nodeType===1&&++w===c){break;}}return s;},sibling:function(s,c){for(var w=[];s;s=s.nextSibling){s.nodeType===1&&s!==c&&w.push(s);}return w;}});var ak=/ jQuery\d+="(?:\d+|null)"/g,au=/^\s+/,D=/(<([\w:]+)[^>]*?)\/>/g,aF=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,o=/<([\w:]+)/,ae=/<tbody/i,x=/<|&#?\w+;/,aR=/<script|<object|<embed|<option|<style/i,am=/checked\s*(?:[^=]|=\s*.checked.)/i,bm=function(s,c,w){return aF.test(w)?s:c+"></"+w+">";},aL={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,"",""]};aL.optgroup=aL.option;aL.tbody=aL.tfoot=aL.colgroup=aL.caption=aL.thead;aL.th=aL.td;if(!aj.support.htmlSerialize){aL._default=[1,"div<div>","</div>"];}aj.fn.extend({text:function(c){if(aj.isFunction(c)){return this.each(function(s){var w=aj(this);w.text(c.call(this,s,w.text()));});}if(typeof c!=="object"&&c!==S){return this.empty().append((this[0]&&this[0].ownerDocument||U).createTextNode(c));}return aj.text(this);},wrapAll:function(s){if(aj.isFunction(s)){return this.each(function(w){aj(this).wrapAll(s.call(this,w));});}if(this[0]){var c=aj(s,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var w=this;w.firstChild&&w.firstChild.nodeType===1;){w=w.firstChild;}return w;}).append(this);}return this;},wrapInner:function(c){if(aj.isFunction(c)){return this.each(function(s){aj(this).wrapInner(c.call(this,s));});}return this.each(function(){var s=aj(this),w=s.contents();w.length?w.wrapAll(c):s.append(c);});},wrap:function(c){return this.each(function(){aj(this).wrapAll(c);});},unwrap:function(){return this.parent().each(function(){aj.nodeName(this,"body")||aj(this).replaceWith(this.childNodes);}).end();},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c);});},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild);});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this);});}else{if(arguments.length){var c=aj(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments);}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this.nextSibling);});}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,aj(arguments[0]).toArray());return c;}}},remove:function(s,c){for(var A=0,w;(w=this[A])!=null;A++){if(!s||aj.filter(s,[w]).length){if(!c&&w.nodeType===1){aj.cleanData(w.getElementsByTagName("*"));aj.cleanData([w]);}w.parentNode&&w.parentNode.removeChild(w);}}return this;},empty:function(){for(var s=0,c;(c=this[s])!=null;s++){for(c.nodeType===1&&aj.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild);}}return this;},clone:function(s){var c=this.map(function(){if(!aj.support.noCloneEvent&&!aj.isXMLDoc(this)){var A=this.outerHTML,w=this.ownerDocument;if(!A){A=w.createElement("div");A.appendChild(this.cloneNode(true));A=A.innerHTML;}return aj.clean([A.replace(ak,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(au,"")],w)[0];}else{return this.cloneNode(true);}});if(s===true){bl(this,c);bl(this.find("*"),c.find("*"));}return c;},html:function(s){if(s===S){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ak,""):null;}else{if(typeof s==="string"&&!aR.test(s)&&(aj.support.leadingWhitespace||!au.test(s))&&!aL[(o.exec(s)||["",""])[1].toLowerCase()]){s=s.replace(D,bm);try{for(var c=0,A=this.length;c<A;c++){if(this[c].nodeType===1){aj.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=s;}}}catch(w){this.empty().append(s);}}else{aj.isFunction(s)?this.each(function(J){var F=aj(this),G=F.html();F.empty().append(function(){return s.call(this,J,G);});}):this.empty().append(s);}}return this;},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(aj.isFunction(c)){return this.each(function(s){var A=aj(this),w=A.html();A.replaceWith(c.call(this,s,w));});}if(typeof c!=="string"){c=aj(c).detach();}return this.each(function(){var s=this.nextSibling,w=this.parentNode;aj(this).remove();s?aj(s).before(c):aj(w).append(c);});}else{return this.pushStack(aj(aj.isFunction(c)?c():c),"replaceWith",c);}},detach:function(c){return this.remove(c,true);},domManip:function(O,N,L){function J(P){return aj.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P;}var K,F,G=O[0],s=[],A;if(!aj.support.checkClone&&arguments.length===3&&typeof G==="string"&&am.test(G)){return this.each(function(){aj(this).domManip(O,N,L,true);});}if(aj.isFunction(G)){return this.each(function(P){var Q=aj(this);O[0]=G.call(this,P,N?Q.html():S);Q.domManip(O,N,L);});}if(this[0]){K=G&&G.parentNode;K=aj.support.parentNode&&K&&K.nodeType===11&&K.childNodes.length===this.length?{fragment:K}:a5(O,this,s);A=K.fragment;if(F=A.childNodes.length===1?(A=A.firstChild):A.firstChild){N=N&&aj.nodeName(F,"tr");for(var w=0,c=this.length;w<c;w++){L.call(N?J(this[w],F):this[w],w>0||K.cacheable||this.length>1?A.cloneNode(true):A);}}s.length&&aj.each(s,I);}return this;}});aj.fragments={};aj.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,c){aj.fn[s]=function(J){var F=[];J=aj(J);var G=this.length===1&&this[0].parentNode;if(G&&G.nodeType===11&&G.childNodes.length===1&&J.length===1){J[c](this[0]);return this;}else{G=0;for(var w=J.length;G<w;G++){var A=(G>0?this.clone(true):this).get();aj.fn[c].apply(aj(J[G]),A);F=F.concat(A);}return this.pushStack(F,s,J.selector);}};});aj.extend({clean:function(O,N,L,J){N=N||U;if(typeof N.createElement==="undefined"){N=N.ownerDocument||N[0]&&N[0].ownerDocument||U;}for(var K=[],F=0,G;(G=O[F])!=null;F++){if(typeof G==="number"){G+="";}if(G){if(typeof G==="string"&&!x.test(G)){G=N.createTextNode(G);}else{if(typeof G==="string"){G=G.replace(D,bm);var s=(o.exec(G)||["",""])[1].toLowerCase(),A=aL[s]||aL._default,w=A[0],c=N.createElement("div");for(c.innerHTML=A[1]+G+A[2];w--;){c=c.lastChild;}if(!aj.support.tbody){w=ae.test(G);s=s==="table"&&!w?c.firstChild&&c.firstChild.childNodes:A[1]==="<table>"&&!w?c.childNodes:[];for(A=s.length-1;A>=0;--A){aj.nodeName(s[A],"tbody")&&!s[A].childNodes.length&&s[A].parentNode.removeChild(s[A]);}}!aj.support.leadingWhitespace&&au.test(G)&&c.insertBefore(N.createTextNode(au.exec(G)[0]),c.firstChild);G=c.childNodes;}}if(G.nodeType){K.push(G);}else{K=aj.merge(K,G);}}}if(L){for(F=0;K[F];F++){if(J&&aj.nodeName(K[F],"script")&&(!K[F].type||K[F].type.toLowerCase()==="text/javascript")){J.push(K[F].parentNode?K[F].parentNode.removeChild(K[F]):K[F]);}else{K[F].nodeType===1&&K.splice.apply(K,[F+1,0].concat(aj.makeArray(K[F].getElementsByTagName("script"))));L.appendChild(K[F]);}}}return K;},cleanData:function(L){for(var K,J,F=aj.cache,G=aj.event.special,w=aj.support.deleteExpando,A=0,c;(c=L[A])!=null;A++){if(J=c[aj.expando]){K=F[J];if(K.events){for(var s in K.events){G[s]?aj.event.remove(c,s):aI(c,s,K.handle);}}if(w){delete c[aj.expando];}else{c.removeAttribute&&c.removeAttribute(aj.expando);}delete F[J];}}}});var h=/z-?index|font-?weight|opacity|zoom|line-?height/i,a6=/alpha\([^)]*\)/,aS=/opacity=([^)]*)/,aG=/float/i,af=/-([a-z])/ig,bh=/([A-Z])/g,a1=/^-?\d+(?:px)?$/i,aK=/^-?\d/,ah={position:"absolute",visibility:"hidden",display:"block"},B=["Left","Right"],m=["Top","Bottom"],bk=U.defaultView&&U.defaultView.getComputedStyle,an=aj.support.cssFloat?"cssFloat":"styleFloat",y=function(s,c){return c.toUpperCase();};aj.fn.css=function(s,c){return ar(this,s,c,true,function(F,w,A){if(A===S){return aj.curCSS(F,w);}if(typeof A==="number"&&!h.test(w)){A+="px";}aj.style(F,w,A);});};aj.extend({style:function(s,c,F){if(!s||s.nodeType===3||s.nodeType===8){return S;}if((c==="width"||c==="height")&&parseFloat(F)<0){F=S;}var w=s.style||s,A=F!==S;if(!aj.support.opacity&&c==="opacity"){if(A){w.zoom=1;c=parseInt(F,10)+""==="NaN"?"":"alpha(opacity="+F*100+")";s=w.filter||aj.curCSS(s,"filter")||"";w.filter=a6.test(s)?s.replace(a6,c):c;}return w.filter&&w.filter.indexOf("opacity=")>=0?parseFloat(aS.exec(w.filter)[1])/100+"":"";}if(aG.test(c)){c=an;}c=c.replace(af,y);if(A){w[c]=F;}return w[c];},css:function(s,c,J,F){if(c==="width"||c==="height"){var G,w=c==="width"?B:m;function A(){G=c==="width"?s.offsetWidth:s.offsetHeight;F!=="border"&&aj.each(w,function(){F||(G-=parseFloat(aj.curCSS(s,"padding"+this,true))||0);if(F==="margin"){G+=parseFloat(aj.curCSS(s,"margin"+this,true))||0;}else{G-=parseFloat(aj.curCSS(s,"border"+this+"Width",true))||0;}});}s.offsetWidth!==0?A():aj.swap(s,ah,A);return Math.max(0,Math.round(G));}return aj.curCSS(s,c,J);},curCSS:function(s,c,G){var A,F=s.style;if(!aj.support.opacity&&c==="opacity"&&s.currentStyle){A=aS.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return A===""?"1":A;}if(aG.test(c)){c=an;}if(!G&&F&&F[c]){A=F[c];}else{if(bk){if(aG.test(c)){c="float";}c=c.replace(bh,"-$1").toLowerCase();F=s.ownerDocument.defaultView;if(!F){return null;}if(s=F.getComputedStyle(s,null)){A=s.getPropertyValue(c);}if(c==="opacity"&&A===""){A="1";}}else{if(s.currentStyle){G=c.replace(af,y);A=s.currentStyle[c]||s.currentStyle[G];if(!a1.test(A)&&aK.test(A)){c=F.left;var w=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;F.left=G==="fontSize"?"1em":A||0;A=F.pixelLeft+"px";F.left=c;s.runtimeStyle.left=w;}}}}return A;},swap:function(s,c,F){var w={};for(var A in c){w[A]=s.style[A];s.style[A]=c[A];}F.call(s);for(A in c){s.style[A]=w[A];}}});if(aj.expr&&aj.expr.filters){aj.expr.filters.hidden=function(s){var c=s.offsetWidth,A=s.offsetHeight,w=s.nodeName.toLowerCase()==="tr";return c===0&&A===0&&!w?true:c>0&&A>0&&!w?false:aj.curCSS(s,"display")==="none";};aj.expr.filters.visible=function(c){return !aj.expr.filters.hidden(c);};}var a4=aH(),aP=/<script(.|\s)*?\/script>/gi,al=/select|textarea/i,E=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,aC=/=\?(&|$)/,k=/\?/,p=/(\?|&)_=.*?(&|$)/,a=/^(\w+:)?\/\/([^\/?#]+)/,a7=/%20/g,aT=aj.fn.load;aj.fn.extend({load:function(s,c,G){if(typeof s!=="string"){return aT.call(this,s);}else{if(!this.length){return this;}}var A=s.indexOf(" ");if(A>=0){var F=s.slice(A,s.length);s=s.slice(0,A);}A="GET";if(c){if(aj.isFunction(c)){G=c;c=null;}else{if(typeof c==="object"){c=aj.param(c,aj.ajaxSettings.traditional);A="POST";}}}var w=this;aj.ajax({url:s,type:A,dataType:"html",data:c,complete:function(J,K){if(K==="success"||K==="notmodified"){w.html(F?aj("<div />").append(J.responseText.replace(aP,"")).find(F):J.responseText);}G&&w.each(G,[J.responseText,K,J]);}});return this;},serialize:function(){return aj.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?aj.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||al.test(this.nodeName)||E.test(this.type));}).map(function(s,c){s=aj(this).val();return s==null?null:aj.isArray(s)?aj.map(s,function(w){return{name:c.name,value:w};}):{name:c.name,value:s};}).get();}});aj.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(s,c){aj.fn[c]=function(w){return this.bind(c,w);};});aj.extend({get:function(s,c,A,w){if(aj.isFunction(c)){w=w||A;A=c;c=null;}return aj.ajax({type:"GET",url:s,data:c,success:A,dataType:w});},getScript:function(s,c){return aj.get(s,null,c,"script");},getJSON:function(s,c,w){return aj.get(s,c,w,"json");},post:function(s,c,A,w){if(aj.isFunction(c)){w=w||A;A=c;c={};}return aj.ajax({type:"POST",url:s,data:c,success:A,dataType:w});},ajaxSetup:function(c){aj.extend(aj.ajaxSettings,c);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aQ.XMLHttpRequest&&(aQ.location.protocol!=="file:"||!aQ.ActiveXObject)?function(){return new aQ.XMLHttpRequest;}:function(){try{return new aQ.ActiveXObject("Microsoft.XMLHTTP");}catch(c){}},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 Z(){X.success&&X.success.call(P,K,R,s);X.global&&W("ajaxSuccess",[s,X]);}function Y(){X.complete&&X.complete.call(P,s,R);X.global&&W("ajaxComplete",[s,X]);X.global&&!--aj.active&&aj.event.trigger("ajaxStop");}function W(ba,bb){(X.context?aj(X.context):aj.event).trigger(ba,bb);}var X=aj.extend(true,{},aj.ajaxSettings,aa),Q,R,K,P=aa&&aa.context||X,L=X.type.toUpperCase();if(X.data&&X.processData&&typeof X.data!=="string"){X.data=aj.param(X.data,X.traditional);}if(X.dataType==="jsonp"){if(L==="GET"){aC.test(X.url)||(X.url+=(k.test(X.url)?"&":"?")+(X.jsonp||"callback")+"=?");}else{if(!X.data||!aC.test(X.data)){X.data=(X.data?X.data+"&":"")+(X.jsonp||"callback")+"=?";}}X.dataType="json";}if(X.dataType==="json"&&(X.data&&aC.test(X.data)||aC.test(X.url))){Q=X.jsonpCallback||"jsonp"+a4++;if(X.data){X.data=(X.data+"").replace(aC,"="+Q+"$1");}X.url=X.url.replace(aC,"="+Q+"$1");X.dataType="script";aQ[Q]=aQ[Q]||function(ba){K=ba;Z();Y();aQ[Q]=S;try{delete aQ[Q];}catch(bb){}c&&c.removeChild(F);};}if(X.dataType==="script"&&X.cache===null){X.cache=false;}if(X.cache===false&&L==="GET"){var G=aH(),w=X.url.replace(p,"$1_="+G+"$2");X.url=w+(w===X.url?(k.test(X.url)?"&":"?")+"_="+G:"");}if(X.data&&L==="GET"){X.url+=(k.test(X.url)?"&":"?")+X.data;}X.global&&!aj.active++&&aj.event.trigger("ajaxStart");G=(G=a.exec(X.url))&&(G[1]&&G[1]!==location.protocol||G[2]!==location.host);if(X.dataType==="script"&&L==="GET"&&G){var c=U.getElementsByTagName("head")[0]||U.documentElement,F=U.createElement("script");F.src=X.url;if(X.scriptCharset){F.charset=X.scriptCharset;}if(!Q){var J=false;F.onload=F.onreadystatechange=function(){if(!J&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){J=true;Z();Y();F.onload=F.onreadystatechange=null;c&&F.parentNode&&c.removeChild(F);}};}c.insertBefore(F,c.firstChild);return S;}var A=false,s=X.xhr();if(s){X.username?s.open(L,X.url,X.async,X.username,X.password):s.open(L,X.url,X.async);try{if(X.data||aa&&aa.contentType){s.setRequestHeader("Content-Type",X.contentType);}if(X.ifModified){aj.lastModified[X.url]&&s.setRequestHeader("If-Modified-Since",aj.lastModified[X.url]);aj.etag[X.url]&&s.setRequestHeader("If-None-Match",aj.etag[X.url]);}G||s.setRequestHeader("X-Requested-With","XMLHttpRequest");s.setRequestHeader("Accept",X.dataType&&X.accepts[X.dataType]?X.accepts[X.dataType]+", */*":X.accepts._default);}catch(ab){}if(X.beforeSend&&X.beforeSend.call(P,s,X)===false){X.global&&!--aj.active&&aj.event.trigger("ajaxStop");s.abort();return false;}X.global&&W("ajaxSend",[s,X]);var V=s.onreadystatechange=function(bb){if(!s||s.readyState===0||bb==="abort"){A||Y();A=true;if(s){s.onreadystatechange=aj.noop;}}else{if(!A&&s&&(s.readyState===4||bb==="timeout")){A=true;s.onreadystatechange=aj.noop;R=bb==="timeout"?"timeout":!aj.httpSuccess(s)?"error":X.ifModified&&aj.httpNotModified(s,X.url)?"notmodified":"success";var bn;if(R==="success"){try{K=aj.httpData(s,X.dataType,X);}catch(ba){R="parsererror";bn=ba;}}if(R==="success"||R==="notmodified"){Q||Z();}else{aj.handleError(X,s,R,bn);}Y();bb==="timeout"&&s.abort();if(X.async){s=null;}}}};try{var T=s.abort;s.abort=function(){s&&T.call(s);V("abort");};}catch(O){}X.async&&X.timeout>0&&setTimeout(function(){s&&!A&&V("timeout");},X.timeout);try{s.send(L==="POST"||L==="PUT"||L==="DELETE"?X.data:null);}catch(N){aj.handleError(X,s,null,N);Y();}X.async||V();return s;}},handleError:function(s,c,A,w){if(s.error){s.error.call(s.context||s,c,A,w);}if(s.global){(s.context?aj(s.context):aj.event).trigger("ajaxError",[c,s,w]);}},active:0,httpSuccess:function(s){try{return !s.status&&location.protocol==="file:"||s.status>=200&&s.status<300||s.status===304||s.status===1223||s.status===0;}catch(c){}return false;},httpNotModified:function(s,c){var A=s.getResponseHeader("Last-Modified"),w=s.getResponseHeader("Etag");if(A){aj.lastModified[c]=A;}if(w){aj.etag[c]=w;}return s.status===304||s.status===0;},httpData:function(s,c,F){var w=s.getResponseHeader("content-type")||"",A=c==="xml"||!c&&w.indexOf("xml")>=0;s=A?s.responseXML:s.responseText;A&&s.documentElement.nodeName==="parsererror"&&aj.error("parsererror");if(F&&F.dataFilter){s=F.dataFilter(s,c);}if(typeof s==="string"){if(c==="json"||!c&&w.indexOf("json")>=0){s=aj.parseJSON(s);}else{if(c==="script"||!c&&w.indexOf("javascript")>=0){aj.globalEval(s);}}}return s;},param:function(s,c){function G(J,K){if(aj.isArray(K)){aj.each(K,function(L,N){c||/\[\]$/.test(J)?A(J,N):G(J+"["+(typeof N==="object"||aj.isArray(N)?L:"")+"]",N);});}else{!c&&K!=null&&typeof K==="object"?aj.each(K,function(L,N){G(J+"["+L+"]",N);}):A(J,K);}}function A(J,K){K=aj.isFunction(K)?K():K;F[F.length]=encodeURIComponent(J)+"="+encodeURIComponent(K);}var F=[];if(c===S){c=aj.ajaxSettings.traditional;}if(aj.isArray(s)||s.jquery){aj.each(s,function(){A(this.name,this.value);});}else{for(var w in s){G(w,s[w]);}}return F.join("&").replace(a7,"+");}});var bi={},be=/toggle|show|hide/,aZ=/^([+-]=)?([\d+-.]+)(.*)$/,at,H=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];aj.fn.extend({show:function(s,c){if(s||s===0){return this.animate(aE("show",3),s,c);}else{s=0;for(c=this.length;s<c;s++){var F=aj.data(this[s],"olddisplay");this[s].style.display=F||"";if(aj.css(this[s],"display")==="none"){F=this[s].nodeName;var w;if(bi[F]){w=bi[F];}else{var A=aj("<"+F+" />").appendTo("body");w=A.css("display");if(w==="none"){w="block";}A.remove();bi[F]=w;}aj.data(this[s],"olddisplay",w);}}s=0;for(c=this.length;s<c;s++){this[s].style.display=aj.data(this[s],"olddisplay")||"";}return this;}},hide:function(s,c){if(s||s===0){return this.animate(aE("hide",3),s,c);}else{s=0;for(c=this.length;s<c;s++){var w=aj.data(this[s],"olddisplay");!w&&w!=="none"&&aj.data(this[s],"olddisplay",aj.css(this[s],"display"));}s=0;for(c=this.length;s<c;s++){this[s].style.display="none";}return this;}},_toggle:aj.fn.toggle,toggle:function(s,c){var w=typeof s==="boolean";if(aj.isFunction(s)&&aj.isFunction(c)){this._toggle.apply(this,arguments);}else{s==null||w?this.each(function(){var A=w?s:aj(this).is(":hidden");aj(this)[A?"show":"hide"]();}):this.animate(aE("toggle",3),s,c);}return this;},fadeTo:function(s,c,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},s,w);},animate:function(s,c,F,w){var A=aj.speed(c,F,w);if(aj.isEmptyObject(s)){return this.each(A.complete);}return this[A.queue===false?"each":"queue"](function(){var J=aj.extend({},A),K,L=this.nodeType===1&&aj(this).is(":hidden"),G=this;for(K in s){var N=K.replace(af,y);if(K!==N){s[N]=s[K];delete s[K];K=N;}if(s[K]==="hide"&&L||s[K]==="show"&&!L){return J.complete.call(this);}if((K==="height"||K==="width")&&this.style){J.display=aj.css(this,"display");J.overflow=this.style.overflow;}if(aj.isArray(s[K])){(J.specialEasing=J.specialEasing||{})[K]=s[K][1];s[K]=s[K][0];}}if(J.overflow!=null){this.style.overflow="hidden";}J.curAnim=aj.extend({},s);aj.each(s,function(P,O){var T=new aj.fx(G,J,P);if(be.test(O)){T[O==="toggle"?L?"show":"hide":O](s);}else{var R=aZ.exec(O),V=T.cur(true)||0;if(R){O=parseFloat(R[2]);var Q=R[3]||"px";if(Q!=="px"){G.style[P]=(O||1)+Q;V=(O||1)/T.cur(true)*V;G.style[P]=V+Q;}if(R[1]){O=(R[1]==="-="?-1:1)*O+V;}T.custom(V,O,Q);}else{T.custom(V,O,"");}}});return true;});},stop:function(s,c){var w=aj.timers;s&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){c&&w[A](true);w.splice(A,1);}}});c||this.dequeue();return this;}});aj.each({slideDown:aE("show",1),slideUp:aE("hide",1),slideToggle:aE("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(s,c){aj.fn[s]=function(A,w){return this.animate(c,A,w);};});aj.extend({speed:function(s,c,A){var w=s&&typeof s==="object"?s:{complete:A||!A&&c||aj.isFunction(s)&&s,duration:s,easing:A&&c||c&&!aj.isFunction(c)&&c};w.duration=aj.fx.off?0:typeof w.duration==="number"?w.duration:aj.fx.speeds[w.duration]||aj.fx.speeds._default;w.old=w.complete;w.complete=function(){w.queue!==false&&aj(this).dequeue();aj.isFunction(w.old)&&w.old.call(this);};return w;},easing:{linear:function(s,c,A,w){return A+w*s;},swing:function(s,c,A,w){return(-Math.cos(s*Math.PI)/2+0.5)*w+A;}},timers:[],fx:function(s,c,w){this.options=c;this.elem=s;this.prop=w;if(!c.orig){c.orig={};}}});aj.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(aj.fx.step[this.prop]||aj.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block";}},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}return(c=parseFloat(aj.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(aj.curCSS(this.elem,this.prop))||0;},custom:function(s,c,F){function w(G){return A.step(G);}this.startTime=aH();this.start=s;this.end=c;this.unit=F||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;w.elem=this.elem;if(w()&&aj.timers.push(w)&&!at){at=setInterval(aj.fx.tick,13);}},show:function(){this.options.orig[this.prop]=aj.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());aj(this.elem).show();},hide:function(){this.options.orig[this.prop]=aj.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(s){var c=aH(),F=true;if(s||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var w in this.options.curAnim){if(this.options.curAnim[w]!==true){F=false;}}if(F){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;s=aj.data(this.elem,"olddisplay");this.elem.style.display=s?s:this.options.display;if(aj.css(this.elem,"display")==="none"){this.elem.style.display="block";}}this.options.hide&&aj(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){aj.style(this.elem,A,this.options.orig[A]);}}this.options.complete.call(this.elem);}return false;}else{A=c-this.startTime;this.state=A/this.options.duration;s=this.options.easing||(aj.easing.swing?"swing":"linear");this.pos=aj.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||s](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update();}return true;}};aj.extend(aj.fx,{tick:function(){for(var s=aj.timers,c=0;c<s.length;c++){s[c]()||s.splice(c--,1);}s.length||aj.fx.stop();},stop:function(){clearInterval(at);at=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){aj.style(c.elem,"opacity",c.now);},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit;}else{c.elem[c.prop]=c.now;}}}});if(aj.expr&&aj.expr.filters){aj.expr.filters.animated=function(c){return aj.grep(aj.timers,function(s){return c===s.elem;}).length;};}aj.fn.offset="getBoundingClientRect" in U.documentElement?function(s){var c=this[0];if(s){return this.each(function(F){aj.offset.setOffset(this,s,F);});}if(!c||!c.ownerDocument){return null;}if(c===c.ownerDocument.body){return aj.offset.bodyOffset(c);}var A=c.getBoundingClientRect(),w=c.ownerDocument;c=w.body;w=w.documentElement;return{top:A.top+(self.pageYOffset||aj.support.boxModel&&w.scrollTop||c.scrollTop)-(w.clientTop||c.clientTop||0),left:A.left+(self.pageXOffset||aj.support.boxModel&&w.scrollLeft||c.scrollLeft)-(w.clientLeft||c.clientLeft||0)};}:function(N){var L=this[0];if(N){return this.each(function(O){aj.offset.setOffset(this,N,O);});}if(!L||!L.ownerDocument){return null;}if(L===L.ownerDocument.body){return aj.offset.bodyOffset(L);}aj.offset.initialize();var K=L.offsetParent,G=L,J=L.ownerDocument,A,F=J.documentElement,c=J.body;G=(J=J.defaultView)?J.getComputedStyle(L,null):L.currentStyle;for(var w=L.offsetTop,s=L.offsetLeft;(L=L.parentNode)&&L!==c&&L!==F;){if(aj.offset.supportsFixedPosition&&G.position==="fixed"){break;}A=J?J.getComputedStyle(L,null):L.currentStyle;w-=L.scrollTop;s-=L.scrollLeft;if(L===K){w+=L.offsetTop;s+=L.offsetLeft;if(aj.offset.doesNotAddBorder&&!(aj.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(L.nodeName))){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0;}G=K;K=L.offsetParent;}if(aj.offset.subtractsBorderForOverflowNotVisible&&A.overflow!=="visible"){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0;}G=A;}if(G.position==="relative"||G.position==="static"){w+=c.offsetTop;s+=c.offsetLeft;}if(aj.offset.supportsFixedPosition&&G.position==="fixed"){w+=Math.max(F.scrollTop,c.scrollTop);s+=Math.max(F.scrollLeft,c.scrollLeft);}return{top:w,left:s};};aj.offset={initialize:function(){var s=U.body,c=U.createElement("div"),G,A,F,w=parseFloat(aj.curCSS(s,"marginTop",true))||0;aj.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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>";s.insertBefore(c,s.firstChild);G=c.firstChild;A=G.firstChild;F=G.nextSibling.firstChild.firstChild;this.doesNotAddBorder=A.offsetTop!==5;this.doesAddBorderForTableAndCells=F.offsetTop===5;A.style.position="fixed";A.style.top="20px";this.supportsFixedPosition=A.offsetTop===20||A.offsetTop===15;A.style.position=A.style.top="";G.style.overflow="hidden";G.style.position="relative";this.subtractsBorderForOverflowNotVisible=A.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==w;s.removeChild(c);aj.offset.initialize=aj.noop;},bodyOffset:function(s){var c=s.offsetTop,w=s.offsetLeft;aj.offset.initialize();if(aj.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(aj.curCSS(s,"marginTop",true))||0;w+=parseFloat(aj.curCSS(s,"marginLeft",true))||0;}return{top:c,left:w};},setOffset:function(s,c,J){if(/static/.test(aj.curCSS(s,"position"))){s.style.position="relative";}var F=aj(s),G=F.offset(),w=parseInt(aj.curCSS(s,"top",true),10)||0,A=parseInt(aj.curCSS(s,"left",true),10)||0;if(aj.isFunction(c)){c=c.call(s,J,G);}J={top:c.top-G.top+w,left:c.left-G.left+A};"using" in c?c.using.call(s,J):F.css(J);}};aj.fn.extend({position:function(){if(!this[0]){return null;}var s=this[0],c=this.offsetParent(),A=this.offset(),w=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();A.top-=parseFloat(aj.curCSS(s,"marginTop",true))||0;A.left-=parseFloat(aj.curCSS(s,"marginLeft",true))||0;w.top+=parseFloat(aj.curCSS(c[0],"borderTopWidth",true))||0;w.left+=parseFloat(aj.curCSS(c[0],"borderLeftWidth",true))||0;return{top:A.top-w.top,left:A.left-w.left};},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||U.body;c&&!/^body|html$/i.test(c.nodeName)&&aj.css(c,"position")==="static";){c=c.offsetParent;}return c;});}});aj.each(["Left","Top"],function(s,c){var w="scroll"+c;aj.fn[w]=function(F){var G=this[0],A;if(!G){return null;}if(F!==S){return this.each(function(){if(A=q(this)){A.scrollTo(!s?F:aj(A).scrollLeft(),s?F:aj(A).scrollTop());}else{this[w]=F;}});}else{return(A=q(G))?"pageXOffset" in A?A[s?"pageYOffset":"pageXOffset"]:aj.support.boxModel&&A.document.documentElement[w]||A.document.body[w]:G[w];}};});aj.each(["Height","Width"],function(s,c){var w=c.toLowerCase();aj.fn["inner"+c]=function(){return this[0]?aj.css(this[0],w,false,"padding"):null;};aj.fn["outer"+c]=function(A){return this[0]?aj.css(this[0],w,false,A?"margin":"border"):null;};aj.fn[w]=function(A){var F=this[0];if(!F){return A==null?null:this;}if(aj.isFunction(A)){return this.each(function(G){var J=aj(this);J[w](A.call(this,G,J[w]()));});}return"scrollTo" in F&&F.document?F.document.compatMode==="CSS1Compat"&&F.document.documentElement["client"+c]||F.document.body["client"+c]:F.nodeType===9?Math.max(F.documentElement["client"+c],F.body["scroll"+c],F.documentElement["scroll"+c],F.body["offset"+c],F.documentElement["offset"+c]):A===S?aj.css(F,w):this.css(w,typeof A==="string"?A:A+"px");};});aQ.jQuery=aQ.$=aj;})(window);jQuery.ui||(function(q){var k=q.fn.remove,p=q.browser.mozilla&&(parseFloat(q.browser.version)<1.9);q.ui={version:"1.7.2",plugin:{add:function(c,b,e){var a=q.ui[c].prototype;for(var d in e){a.plugins[d]=a.plugins[d]||[];a.plugins[d].push([b,e[d]]);}},call:function(d,b,c){var e=d.plugins[b];if(!e||!d.element[0].parentNode){return;}for(var a=0;a<e.length;a++){if(d.options[e[a][0]]){e[a][1].apply(d.element,c);}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b);},hasScroll:function(a,c){if(q(a).css("overflow")=="hidden"){return false;}var d=(c&&c=="left")?"scrollLeft":"scrollTop",b=false;if(a[d]>0){return true;}a[d]=1;b=(a[d]>0);a[d]=0;return b;},isOverAxis:function(b,c,a){return(b>c)&&(b<(c+a));},isOver:function(e,c,f,a,d,b){return q.ui.isOverAxis(e,f,d)&&q.ui.isOverAxis(c,a,b);},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,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}};if(p){var n=q.attr,o=q.fn.removeAttr,l="http://www.w3.org/2005/07/aaa",s=/^aria-/,r=/^wairole:/;q.attr=function(c,d,b){var a=b!==undefined;return(d=="role"?(a?n.call(this,c,d,"wairole:"+b):(n.apply(this,arguments)||"").replace(r,"")):(s.test(d)?(a?c.setAttributeNS(l,d.replace(s,"aaa:"),b):n.call(this,c,d.replace(s,"aaa:"))):n.apply(this,arguments)));};q.fn.removeAttr=function(a){return(s.test(a)?this.each(function(){this.removeAttributeNS(l,a.replace(s,""));}):o.call(this,a));};}q.fn.extend({remove:function(){q("*",this).add(this).each(function(){q(this).triggerHandler("remove");});return k.apply(this,arguments);},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui");},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false;});},scrollParent:function(){var a;if((q.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(q.curCSS(this,"position",1))&&(/(auto|scroll)/).test(q.curCSS(this,"overflow",1)+q.curCSS(this,"overflow-y",1)+q.curCSS(this,"overflow-x",1));}).eq(0);}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(q.curCSS(this,"overflow",1)+q.curCSS(this,"overflow-y",1)+q.curCSS(this,"overflow-x",1));}).eq(0);}return(/fixed/).test(this.css("position"))||!a.length?q(document):a;}});q.extend(q.expr[":"],{data:function(a,b,c){return !!q.data(a,c[3]);},focusable:function(b){var a=b.nodeName.toLowerCase(),c=q.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(a)?!b.disabled:"a"==a||"area"==a?b.href||!isNaN(c):!isNaN(c))&&!q(b)["area"==a?"parents":"closest"](":hidden").length;},tabbable:function(a){var b=q.attr(a,"tabindex");return(isNaN(b)||b>=0)&&q(a).is(":focusable");}});function m(a,f,e,b){function c(g){var h=q[a][f][g]||[];return(typeof h=="string"?h.split(/,?\s+/):h);}var d=c("getter");if(b.length==1&&typeof b[0]=="string"){d=d.concat(c("getterSetter"));}return(q.inArray(e,d)!=-1);}q.widget=function(b,c){var a=b.split(".")[0];b=b.split(".")[1];q.fn[b]=function(e){var g=(typeof e=="string"),f=Array.prototype.slice.call(arguments,1);if(g&&e.substring(0,1)=="_"){return this;}if(g&&m(a,b,e,f)){var d=q.data(this[0],b);return(d?d[e].apply(d,f):undefined);}return this.each(function(){var h=q.data(this,b);(!h&&!g&&q.data(this,b,new q[a][b](this,e))._init());(h&&g&&q.isFunction(h[e])&&h[e].apply(h,f));});};q[a]=q[a]||{};q[a][b]=function(e,f){var d=this;this.namespace=a;this.widgetName=b;this.widgetEventPrefix=q[a][b].eventPrefix||b;this.widgetBaseClass=a+"-"+b;this.options=q.extend({},q.widget.defaults,q[a][b].defaults,q.metadata&&q.metadata.get(e)[b],f);this.element=q(e).bind("setData."+b,function(h,t,g){if(h.target==e){return d._setData(t,g);}}).bind("getData."+b,function(g,h){if(g.target==e){return d._getData(h);}}).bind("remove",function(){return d.destroy();});};q[a][b].prototype=q.extend({},q.widget.prototype,c);q[a][b].getterSetter="option";};q.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled");},option:function(b,a){var c=b,d=this;if(typeof b=="string"){if(a===undefined){return this._getData(b);}c={};c[b]=a;}q.each(c,function(f,e){d._setData(f,e);});},_getData:function(a){return this.options[a];},_setData:function(b,a){this.options[b]=a;if(b=="disabled"){this.element[a?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",a);}},enable:function(){this._setData("disabled",false);},disable:function(){this._setData("disabled",true);},_trigger:function(b,a,g){var e=this.options[b],d=(b==this.widgetEventPrefix?b:this.widgetEventPrefix+b);a=q.Event(a);a.type=d;if(a.originalEvent){for(var c=q.event.props.length,f;c;){f=q.event.props[--c];a[f]=a.originalEvent[f];}}this.element.trigger(a,g);return !(q.isFunction(e)&&e.call(this.element[0],a,g)===false||a.isDefaultPrevented());}};q.widget.defaults={disabled:false};q.ui.mouse={_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b);}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false;}});if(q.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on");}this.started=false;},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(q.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable));},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(b.originalEvent.mouseHandled){return;}(this._mouseStarted&&this._mouseUp(b));this._mouseDownEvent=b;var c=this,a=(b.which==1),d=(typeof this.options.cancel=="string"?q(b.target).parents().add(b.target).filter(this.options.cancel).length:false);if(!a||d||!this._mouseCapture(b)){return true;}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true;},this.options.delay);}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=(this._mouseStart(b)!==false);if(!this._mouseStarted){b.preventDefault();return true;}}this._mouseMoveDelegate=function(e){return c._mouseMove(e);};this._mouseUpDelegate=function(e){return c._mouseUp(e);};q(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(q.browser.safari||b.preventDefault());b.originalEvent.mouseHandled=true;return true;},_mouseMove:function(a){if(q.browser.msie&&!a.button){return this._mouseUp(a);}if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault();}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,a)!==false);(this._mouseStarted?this._mouseDrag(a):this._mouseUp(a));}return !this._mouseStarted;},_mouseUp:function(a){q(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(a.target==this._mouseDownEvent.target);this._mouseStop(a);}return false;},_mouseDistanceMet:function(a){return(Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance);},_mouseDelayMet:function(a){return this.mouseDelayMet;},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return true;}};q.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function(f){var d={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},e="ui-dialog ui-widget ui-widget-content ui-corner-all ";f.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var b=this,a=this.options,n=a.title||this.originalTitle||"&nbsp;",s=f.ui.dialog.getTitleId(this.element),c=(this.uiDialog=f("<div/>")).appendTo(document.body).hide().addClass(e+a.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:a.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(g){(a.closeOnEscape&&g.keyCode&&g.keyCode==f.ui.keyCode.ESCAPE&&b.close(g));}).attr({role:"dialog","aria-labelledby":s}).mousedown(function(g){b.moveToTop(false,g);}),q=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(c),r=(this.uiDialogTitlebar=f("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(c),o=f('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){o.addClass("ui-state-hover");},function(){o.removeClass("ui-state-hover");}).focus(function(){o.addClass("ui-state-focus");}).blur(function(){o.removeClass("ui-state-focus");}).mousedown(function(g){g.stopPropagation();}).click(function(g){b.close(g);return false;}).appendTo(r),p=(this.uiDialogTitlebarCloseText=f("<span/>")).addClass("ui-icon ui-icon-closethick").text(a.closeText).appendTo(o),t=f("<span/>").addClass("ui-dialog-title").attr("id",s).html(n).prependTo(r);r.find("*").add(r).disableSelection();(a.draggable&&f.fn.draggable&&this._makeDraggable());(a.resizable&&f.fn.resizable&&this._makeResizable());this._createButtons(a.buttons);this._isOpen=false;(a.bgiframe&&f.fn.bgiframe&&c.bgiframe());(a.autoOpen&&this.open());},destroy:function(){(this.overlay&&this.overlay.destroy());this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();(this.originalTitle&&this.element.attr("title",this.originalTitle));},close:function(a){var c=this;if(false===c._trigger("beforeclose",a)){return;}(c.overlay&&c.overlay.destroy());c.uiDialog.unbind("keypress.ui-dialog");(c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger("close",a);}):c.uiDialog.hide()&&c._trigger("close",a));f.ui.dialog.overlay.resize();c._isOpen=false;if(c.options.modal){var b=0;f(".ui-dialog").each(function(){if(this!=c.uiDialog[0]){b=Math.max(b,f(this).css("z-index"));}});f.ui.dialog.maxZ=b;}},isOpen:function(){return this._isOpen;},moveToTop:function(a,b){if((this.options.modal&&!a)||(!this.options.stack&&!this.options.modal)){return this._trigger("focus",b);}if(this.options.zIndex>f.ui.dialog.maxZ){f.ui.dialog.maxZ=this.options.zIndex;}(this.overlay&&this.overlay.$el.css("z-index",f.ui.dialog.overlay.maxZ=++f.ui.dialog.maxZ));var c={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++f.ui.dialog.maxZ);this.element.attr(c);this._trigger("focus",b);},open:function(){if(this._isOpen){return;}var a=this.options,b=this.uiDialog;this.overlay=a.modal?new f.ui.dialog.overlay(this):null;(b.next().length&&b.appendTo("body"));this._size();this._position(a.position);b.show(a.show);this.moveToTop(true);(a.modal&&b.bind("keypress.ui-dialog",function(k){if(k.keyCode!=f.ui.keyCode.TAB){return;}var l=f(":tabbable",this),c=l.filter(":first")[0],m=l.filter(":last")[0];if(k.target==m&&!k.shiftKey){setTimeout(function(){c.focus();},1);}else{if(k.target==c&&k.shiftKey){setTimeout(function(){m.focus();},1);}}}));f([]).add(b.find(".ui-dialog-content :tabbable:first")).add(b.find(".ui-dialog-buttonpane :tabbable:first")).add(b).filter(":first").focus();this._trigger("open");this._isOpen=true;},_createButtons:function(a){var b=this,h=false,c=f("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();(typeof a=="object"&&a!==null&&f.each(a,function(){return !(h=true);}));if(h){f.each(a,function(k,g){f('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(k).click(function(){g.apply(b.element[0],arguments);}).hover(function(){f(this).addClass("ui-state-hover");},function(){f(this).removeClass("ui-state-hover");}).focus(function(){f(this).addClass("ui-state-focus");}).blur(function(){f(this).removeClass("ui-state-focus");}).appendTo(c);});c.appendTo(this.uiDialog);}},_makeDraggable:function(){var c=this,a=this.options,b;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){b=a.height;f(this).height(f(this).height()).addClass("ui-dialog-dragging");(a.dragStart&&a.dragStart.apply(c.element[0],arguments));},drag:function(){(a.drag&&a.drag.apply(c.element[0],arguments));},stop:function(){f(this).removeClass("ui-dialog-dragging").height(b);(a.dragStop&&a.dragStop.apply(c.element[0],arguments));f.ui.dialog.overlay.resize();}});},_makeResizable:function(a){a=(a===undefined?this.options.resizable:a);var h=this,b=this.options,c=typeof a=="string"?a:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:b.maxWidth,maxHeight:b.maxHeight,minWidth:b.minWidth,minHeight:b.minHeight,start:function(){f(this).addClass("ui-dialog-resizing");(b.resizeStart&&b.resizeStart.apply(h.element[0],arguments));},resize:function(){(b.resize&&b.resize.apply(h.element[0],arguments));},handles:c,stop:function(){f(this).removeClass("ui-dialog-resizing");b.height=f(this).height();b.width=f(this).width();(b.resizeStop&&b.resizeStop.apply(h.element[0],arguments));f.ui.dialog.overlay.resize();}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se");},_position:function(a){var l=f(window),k=f(document),c=k.scrollTop(),m=k.scrollLeft(),b=c;if(f.inArray(a,["center","top","right","bottom","left"])>=0){a=[a=="right"||a=="left"?a:"center",a=="top"||a=="bottom"?a:"middle"];}if(a.constructor!=Array){a=["center","middle"];}if(a[0].constructor==Number){m+=a[0];}else{switch(a[0]){case"left":m+=0;break;case"right":m+=l.width()-this.uiDialog.outerWidth();break;default:case"center":m+=(l.width()-this.uiDialog.outerWidth())/2;}}if(a[1].constructor==Number){c+=a[1];}else{switch(a[1]){case"top":c+=0;break;case"bottom":c+=l.height()-this.uiDialog.outerHeight();break;default:case"middle":c+=(l.height()-this.uiDialog.outerHeight())/2;}}c=Math.max(c,b);this.uiDialog.css({top:c,left:m});},_setData:function(c,b){(d[c]&&this.uiDialog.data(d[c],b));switch(c){case"buttons":this._createButtons(b);break;case"closeText":this.uiDialogTitlebarCloseText.text(b);break;case"dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass(e+b);break;case"draggable":(b?this._makeDraggable():this.uiDialog.draggable("destroy"));break;case"height":this.uiDialog.height(b);break;case"position":this._position(b);break;case"resizable":var h=this.uiDialog,a=this.uiDialog.is(":data(resizable)");(a&&!b&&h.resizable("destroy"));(a&&typeof b=="string"&&h.resizable("option","handles",b));(a||this._makeResizable(b));break;case"title":f(".ui-dialog-title",this.uiDialogTitlebar).html(b||"&nbsp;");break;case"width":this.uiDialog.width(b);break;}f.widget.prototype._setData.apply(this,arguments);},_size:function(){var a=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var b=this.uiDialog.css({height:"auto",width:a.width}).height();this.element.css({minHeight:Math.max(a.minHeight-b,0),height:a.height=="auto"?"auto":Math.max(a.height-b,0)});}});f.extend(f.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(a){return"ui-dialog-title-"+(a.attr("id")||++this.uuid);},overlay:function(a){this.$el=f.ui.dialog.overlay.create(a);}});f.extend(f.ui.dialog.overlay,{instances:[],maxZ:0,events:f.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay";}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){if(f.ui.dialog.overlay.instances.length){f(document).bind(f.ui.dialog.overlay.events,function(h){var c=f(h.target).parents(".ui-dialog").css("zIndex")||0;return(c>f.ui.dialog.overlay.maxZ);});}},1);f(document).bind("keydown.dialog-overlay",function(c){(a.options.closeOnEscape&&c.keyCode&&c.keyCode==f.ui.keyCode.ESCAPE&&a.close(c));});f(window).bind("resize.dialog-overlay",f.ui.dialog.overlay.resize);}var b=f("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});(a.options.bgiframe&&f.fn.bgiframe&&b.bgiframe());this.instances.push(b);return b;},destroy:function(b){this.instances.splice(f.inArray(this.instances,b),1);if(this.instances.length===0){f([document,window]).unbind(".dialog-overlay");}b.remove();var a=0;f.each(this.instances,function(){a=Math.max(a,this.css("z-index"));});this.maxZ=a;},height:function(){if(f.browser.msie&&f.browser.version<7){var a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);var b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(a<b){return f(window).height()+"px";}else{return a+"px";}}else{return f(document).height()+"px";}},width:function(){if(f.browser.msie&&f.browser.version<7){var b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);var a=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(b<a){return f(window).width()+"px";}else{return b+"px";}}else{return f(document).width()+"px";}},resize:function(){var a=f([]);f.each(f.ui.dialog.overlay.instances,function(){a=a.add(this);});a.css({width:0,height:0}).css({width:f.ui.dialog.overlay.width(),height:f.ui.dialog.overlay.height()});}});f.extend(f.ui.dialog.overlay.prototype,{destroy:function(){f.ui.dialog.overlay.destroy(this.$el);}});})(jQuery);jQuery.cookie=function(b,k,n){if(typeof k!="undefined"){n=n||{};if(k===null){k="";n.expires=-1;}var e="";if(n.expires&&(typeof n.expires=="number"||n.expires.toUTCString)){var f;if(typeof n.expires=="number"){f=new Date();f.setTime(f.getTime()+(n.expires*24*60*60*1000));}else{f=n.expires;}e="; expires="+f.toUTCString();}var m=n.path?"; path="+(n.path):"";var g=n.domain?"; domain="+(n.domain):"";var a=n.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(k),e,m,g,a].join("");}else{var d=null;if(document.cookie&&document.cookie!=""){var l=document.cookie.split(";");for(var h=0;h<l.length;h++){var c=jQuery.trim(l[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break;}}}return d;}};(function(b){b.fn.ajaxSubmit=function(t){if(!this.length){a("ajaxSubmit: skipping submit process - no element selected");return this;}if(typeof t=="function"){t={success:t};}var e=b.trim(this.attr("action"));if(e){e=(e.match(/^([^#]+)/)||[])[1];}e=e||window.location.href||"";t=b.extend({url:e,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t||{});var v={};this.trigger("form-pre-serialize",[this,t,v]);if(v.veto){a("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this;}if(t.beforeSerialize&&t.beforeSerialize(this,t)===false){a("ajaxSubmit: submit aborted via beforeSerialize callback");return this;}var o=this.formToArray(t.semantic);if(t.data){t.extraData=t.data;for(var f in t.data){if(t.data[f] instanceof Array){for(var g in t.data[f]){o.push({name:f,value:t.data[f][g]});}}else{o.push({name:f,value:t.data[f]});}}}if(t.beforeSubmit&&t.beforeSubmit(o,this,t)===false){a("ajaxSubmit: submit aborted via beforeSubmit callback");return this;}this.trigger("form-submit-validate",[o,this,t,v]);if(v.veto){a("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this;}var d=b.param(o);if(t.type.toUpperCase()=="GET"){t.url+=(t.url.indexOf("?")>=0?"&":"?")+d;t.data=null;}else{t.data=d;}var u=this,m=[];if(t.resetForm){m.push(function(){u.resetForm();});}if(t.clearForm){m.push(function(){u.clearForm();});}if(!t.dataType&&t.target){var r=t.success||function(){};m.push(function(k){b(t.target).html(k).each(r,arguments);});}else{if(t.success){m.push(t.success);}}t.success=function(w,n){for(var q=0,k=m.length;q<k;q++){m[q].apply(t,[w,n,u]);}};var c=b("input:file",this).fieldValue();var s=false;for(var l=0;l<c.length;l++){if(c[l]){s=true;}}var h=false;if((c.length&&t.iframe!==false)||t.iframe||s||h){if(t.closeKeepAlive){b.get(t.closeKeepAlive,p);}else{p();}}else{b.ajax(t);}this.trigger("form-submit-notify",[this,t]);return this;function p(){var y=u[0];if(b(":input[name=submit]",y).length){alert('Error: Form elements must not be named "submit".');return;}var w=b.extend({},b.ajaxSettings,t);var I=b.extend(true,{},b.extend(true,{},b.ajaxSettings),w);var x="jqFormIO"+(new Date().getTime());var E=b('<iframe id="'+x+'" name="'+x+'" src="'+w.iframeSrc+'" />');var G=E[0];E.css({position:"absolute",top:"-1000px",left:"-1000px"});var H={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;E.attr("src",w.iframeSrc);}};var F=w.global;if(F&&!b.active++){b.event.trigger("ajaxStart");}if(F){b.event.trigger("ajaxSend",[H,w]);}if(I.beforeSend&&I.beforeSend(H,I)===false){I.global&&b.active--;return;}if(H.aborted){return;}var q=0;var B=0;var k=y.clk;if(k){var z=k.name;if(z&&!k.disabled){t.extraData=t.extraData||{};t.extraData[z]=k.value;if(k.type=="image"){t.extraData[name+".x"]=y.clk_x;t.extraData[name+".y"]=y.clk_y;}}}setTimeout(function(){var L=u.attr("target"),J=u.attr("action");y.setAttribute("target",x);if(y.getAttribute("method")!="POST"){y.setAttribute("method","POST");}if(y.getAttribute("action")!=w.url){y.setAttribute("action",w.url);}if(!t.skipEncodingOverride){u.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});}if(w.timeout){setTimeout(function(){B=true;C();},w.timeout);}var K=[];try{if(t.extraData){for(var M in t.extraData){K.push(b('<input type="hidden" name="'+M+'" value="'+t.extraData[M]+'" />').appendTo(y)[0]);}}E.appendTo("body");G.attachEvent?G.attachEvent("onload",C):G.addEventListener("load",C,false);y.submit();}finally{y.setAttribute("action",J);L?y.setAttribute("target",L):u.removeAttr("target");b(K).remove();}},10);var A=50;function C(){if(q++){return;}G.detachEvent?G.detachEvent("onload",C):G.removeEventListener("load",C,false);var J=true;try{if(B){throw"timeout";}var K,N;N=G.contentWindow?G.contentWindow.document:G.contentDocument?G.contentDocument:G.document;var O=w.dataType=="xml"||N.XMLDocument||b.isXMLDoc(N);a("isXml="+O);if(!O&&(N.body==null||N.body.innerHTML=="")){if(--A){q=0;setTimeout(C,100);return;}a("Could not access iframe DOM after 50 tries.");return;}H.responseText=N.body?N.body.innerHTML:null;H.responseXML=N.XMLDocument?N.XMLDocument:N;H.getResponseHeader=function(Q){var P={"content-type":w.dataType};return P[Q];};if(w.dataType=="json"||w.dataType=="script"){var n=N.getElementsByTagName("textarea")[0];if(n){H.responseText=n.value;}else{var M=N.getElementsByTagName("pre")[0];if(M){H.responseText=M.innerHTML;}}}else{if(w.dataType=="xml"&&!H.responseXML&&H.responseText!=null){H.responseXML=D(H.responseText);}}K=b.httpData(H,w.dataType);}catch(L){J=false;b.handleError(w,H,"error",L);}if(J){w.success(K,"success");if(F){b.event.trigger("ajaxSuccess",[H,w]);}}if(F){b.event.trigger("ajaxComplete",[H,w]);}if(F&&!--b.active){b.event.trigger("ajaxStop");}if(w.complete){w.complete(H,J?"success":"error");}setTimeout(function(){E.remove();H.responseXML=null;},100);}function D(n,J){if(window.ActiveXObject){J=new ActiveXObject("Microsoft.XMLDOM");J.async="false";J.loadXML(n);}else{J=(new DOMParser()).parseFromString(n,"text/xml");}return(J&&J.documentElement&&J.documentElement.tagName!="parsererror")?J:null;}}};b.fn.ajaxForm=function(c){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){b(this).ajaxSubmit(c);return false;}).bind("click.form-plugin",function(k){var h=k.target;var f=b(h);if(!(f.is(":submit,input:image"))){var d=f.closest(":submit");if(d.length==0){return;}h=d[0];}var g=this;g.clk=h;if(h.type=="image"){if(k.offsetX!=undefined){g.clk_x=k.offsetX;g.clk_y=k.offsetY;}else{if(typeof b.fn.offset=="function"){var l=f.offset();g.clk_x=k.pageX-l.left;g.clk_y=k.pageY-l.top;}else{g.clk_x=k.pageX-h.offsetLeft;g.clk_y=k.pageY-h.offsetTop;}}}setTimeout(function(){g.clk=g.clk_x=g.clk_y=null;},100);});};b.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin");};b.fn.formToArray=function(q){var p=[];if(this.length==0){return p;}var d=this[0];var h=q?d.getElementsByTagName("*"):d.elements;if(!h){return p;}for(var k=0,m=h.length;k<m;k++){var e=h[k];var f=e.name;if(!f){continue;}if(q&&d.clk&&e.type=="image"){if(!e.disabled&&d.clk==e){p.push({name:f,value:b(e).val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y});}continue;}var r=b.fieldValue(e,true);if(r&&r.constructor==Array){for(var g=0,c=r.length;g<c;g++){p.push({name:f,value:r[g]});}}else{if(r!==null&&typeof r!="undefined"){p.push({name:f,value:r});}}}if(!q&&d.clk){var l=b(d.clk),o=l[0],f=o.name;if(f&&!o.disabled&&o.type=="image"){p.push({name:f,value:l.val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y});}}return p;};b.fn.formSerialize=function(c){return b.param(this.formToArray(c));};b.fn.fieldSerialize=function(d){var c=[];this.each(function(){var h=this.name;if(!h){return;}var f=b.fieldValue(this,d);if(f&&f.constructor==Array){for(var g=0,e=f.length;g<e;g++){c.push({name:h,value:f[g]});}}else{if(f!==null&&typeof f!="undefined"){c.push({name:this.name,value:f});}}});return b.param(c);};b.fn.fieldValue=function(h){for(var g=[],e=0,c=this.length;e<c;e++){var f=this[e];var d=b.fieldValue(f,h);if(d===null||typeof d=="undefined"||(d.constructor==Array&&!d.length)){continue;}d.constructor==Array?b.merge(g,d):g.push(d);}return g;};b.fieldValue=function(c,k){var e=c.name,q=c.type,r=c.tagName.toLowerCase();if(typeof k=="undefined"){k=true;}if(k&&(!e||c.disabled||q=="reset"||q=="button"||(q=="checkbox"||q=="radio")&&!c.checked||(q=="submit"||q=="image")&&c.form&&c.form.clk!=c||r=="select"&&c.selectedIndex==-1)){return null;}if(r=="select"){var l=c.selectedIndex;if(l<0){return null;}var o=[],d=c.options;var g=(q=="select-one");var m=(g?l+1:d.length);for(var f=(g?l:0);f<m;f++){var h=d[f];if(h.selected){var p=h.value;if(!p){p=(h.attributes&&h.attributes.value&&!(h.attributes.value.specified))?h.text:h.value;}if(g){return p;}o.push(p);}}return o;}return c.value;};b.fn.clearForm=function(){return this.each(function(){b("input,select,textarea",this).clearFields();});};b.fn.clearFields=b.fn.clearInputs=function(){return this.each(function(){var d=this.type,c=this.tagName.toLowerCase();if(d=="text"||d=="password"||c=="textarea"){this.value="";}else{if(d=="checkbox"||d=="radio"){this.checked=false;}else{if(c=="select"){this.selectedIndex=-1;}}}});};b.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset();}});};b.fn.enable=function(c){if(c==undefined){c=true;}return this.each(function(){this.disabled=!c;});};b.fn.selected=function(c){if(c==undefined){c=true;}return this.each(function(){var d=this.type;if(d=="checkbox"||d=="radio"){this.checked=c;}else{if(this.tagName.toLowerCase()=="option"){var e=b(this).parent("select");if(c&&e[0]&&e[0].type=="select-one"){e.find("option").selected(false);}this.selected=c;}}});};function a(){if(b.fn.ajaxSubmit.debug&&window.console&&window.console.log){window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""));}}})(jQuery);(function(a){a.fn.masonry=function(c,g){function e(h,m,n,o,l){var k=0;for(i=0;i<m;i++){if(n[i]<n[k]){k=i;}}h.css({top:n[k],left:l.colW*k+l.posLeft});for(i=0;i<o;i++){l.colY[k+i]=n[k]+h.outerHeight(true);}}function b(l,k,h){h.$bricks=k.itemSelector==undefined?k.$brickParent.children():k.$brickParent.find(k.itemSelector);if(k.columnWidth==undefined){h.colW=h.masoned?l.data("masonry").colW:h.$bricks.outerWidth(true);}else{h.colW=k.columnWidth;}h.colCount=Math.floor(l.width()/h.colW);h.colCount=Math.max(h.colCount,1);}function f(l,k,h){if(!h.masoned){l.css("position","relative");}if(!h.masoned||k.appendedContent!=undefined){h.$bricks.css("position","absolute");}var m=a("<div />");l.prepend(m);h.posTop=Math.round(m.position().top);h.posLeft=Math.round(m.position().left);m.remove();if(h.masoned&&k.appendedContent!=undefined){h.colY=l.data("masonry").colY;for(i=l.data("masonry").colCount;i<h.colCount;i++){h.colY[i]=h.posTop;}}else{h.colY=[];for(i=0;i<h.colCount;i++){h.colY[i]=h.posTop;}}if(k.singleMode){h.$bricks.each(function(){var n=a(this);e(n,h.colCount,h.colY,1,h);});}else{h.$bricks.each(function(){var n=a(this);var p=Math.ceil(n.outerWidth(true)/h.colW);p=Math.min(p,h.colCount);if(p==1){e(n,h.colCount,h.colY,1,h);}else{var q=h.colCount+1-p;var o=[0];for(i=0;i<q;i++){o[i]=0;for(j=0;j<p;j++){o[i]=Math.max(o[i],h.colY[i+j]);}}e(n,q,o,p,h);}});}h.wallH=0;for(i=0;i<h.colCount;i++){h.wallH=Math.max(h.wallH,h.colY[i]);}l.height(h.wallH-h.posTop);g.call(h.$bricks);l.data("masonry",h);}function d(m,l,k){var h=m.data("masonry").colCount;b(m,l,k);if(k.colCount!=h){f(m,l,k);}}return this.each(function(){var n=a(this);var l=a.extend({},a.masonry);l.masoned=n.data("masonry")!=undefined;var k=l.masoned?n.data("masonry").options:{};var m=a.extend({},l.defaults,k,c);l.options=m.saveOptions?m:k;g=g||function(){};if(l.masoned&&m.appendedContent!=undefined){m.$brickParent=m.appendedContent;}else{m.$brickParent=n;}if(m.$brickParent.children().length>0){b(n,m,l);f(n,m,l);var h=k.resizeable;if(!h&&m.resizeable){a(window).bind("resize.masonry",function(){d(n,m,l);});}if(h&&!m.resizeable){a(window).unbind("resize.masonry");}}else{return this;}});};a.masonry={defaults:{singleMode:false,columnWidth:undefined,itemSelector:undefined,appendedContent:undefined,saveOptions:true,resizeable:true},colW:undefined,colCount:undefined,colY:undefined,wallH:undefined,masoned:undefined,posTop:0,posLeft:0,options:undefined,$bricks:undefined,$brickParent:undefined};})(jQuery);(function(a){a.prePopulate=function(d){var c={className:"prepopulate",populatedClass:"populated"};if(d){a.extend(true,c,d);}var b=a("."+c.className);b.each(function(){var e=a(this);var f=a.trim(e.val());e.parents("form").submit(function(){if(e.val()==e.attr("title")){e.focus();return false;}});if(f==""){var g=e.attr("title");e.val(g);e.addClass(c.populatedClass);}e.focus(function(){$f=a(this);if(a.trim($f.val())==$f.attr("title")){$f.val("");e.removeClass(c.populatedClass);}});e.blur(function(){$f=a(this);if(a.trim($f.val())==""){$f.val($f.attr("title"));e.addClass(c.populatedClass);}});});};})(jQuery);(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var c=a.data(this[0],"validator");if(c){return c;}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true;});if(c.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){c.submitButton=this;});}this.submit(function(d){if(c.settings.debug){d.preventDefault();}function e(){if(c.settings.submitHandler){if(c.submitButton){var f=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm);}c.settings.submitHandler.call(c,c.currentForm);if(c.submitButton){f.remove();}return false;}return true;}if(c.cancelSubmit){c.cancelSubmit=false;return e();}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false;}return e();}else{c.focusInvalid();return false;}});}return c;},valid:function(){if(a(this[0]).is("form")){return this.validate().form();}else{var c=true;var b=a(this[0].form).validate();this.each(function(){c&=b.element(this);});return c;}},removeAttrs:function(d){var b={},c=this;a.each(d.split(/\s/),function(e,f){b[f]=c.attr(f);c.removeAttr(f);});return b;},rules:function(e,b){var g=this[0];if(e){var d=a.data(g.form,"validator").settings;var k=d.rules;var l=a.validator.staticRules(g);switch(e){case"add":a.extend(l,a.validator.normalizeRule(b));k[g.name]=l;if(b.messages){d.messages[g.name]=a.extend(d.messages[g.name],b.messages);}break;case"remove":if(!b){delete k[g.name];return l;}var h={};a.each(b.split(/\s/),function(m,n){h[n]=l[n];delete l[n];});return h;}}var f=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(g),a.validator.classRules(g),a.validator.attributeRules(g),a.validator.staticRules(g)),g);if(f.required){var c=f.required;delete f.required;f=a.extend({required:c},f);}return f;}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value);},filled:function(b){return !!a.trim(""+b.value);},unchecked:function(b){return !b.checked;}});a.validator=function(b,c){this.settings=a.extend({},a.validator.defaults,b);this.currentForm=c;this.init();};a.validator.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.validator.format.apply(this,d);};}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1);}if(c.constructor!=Array){c=[c];}a.each(c,function(d,e){b=b.replace(new RegExp("\\{"+d+"\\}","g"),e);});return b;};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.errorsFor(b).hide();}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b);}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b);}},onclick:function(b){if(b.name in this.submitted){this.element(b);}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode);}}},highlight:function(d,b,c){a(d).addClass(b).removeClass(c);},unhighlight:function(d,b,c){a(d).removeClass(b).addClass(c);}},setDefaults:function(b){a.extend(a.validator.defaults,b);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(h,g){b[g]=e;});});var d=this.settings.rules;a.each(d,function(e,f){d[e]=a.validator.normalizeRule(f);});function c(f){var e=a.data(this[0].form,"validator");e.settings["on"+f.type]&&e.settings["on"+f.type].call(e,this[0]);}a(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",c).delegate("click",":radio, :checkbox, select, option",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this]);}this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b]);}return this.valid();},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name];}else{this.invalid[c.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return b;},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]});}this.successList=a.grep(this.successList,function(d){return !(d.name in c);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm();}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(d){var c=0;for(var b in d){c++;}return c;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus();}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name;}).length==1&&b;},elements:function(){var c=this,b={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&c.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!c.objectLength(a(this).rules())){return false;}b[this.name]=true;return true;});},clean:function(b){return a(b)[0];},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b);},check:function(c){c=this.clean(c);if(this.checkable(c)){c=this.findByName(c.name)[0];}var h=a(c).rules();var d=false;for(method in h){var g={method:method,parameters:h[method]};try{var b=a.validator.methods[method].call(this,c.value.replace(/\r/g,""),c,g.parameters);if(b=="dependency-mismatch"){d=true;continue;}d=false;if(b=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return;}if(!b){this.formatAndAdd(c,g);return false;}}catch(f){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+g.method+"' method",f);throw f;}}if(d){return;}if(this.objectLength(h)){this.successList.push(c);}return true;},customMetaMessage:function(b,d){if(!a.metadata){return;}var c=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return c&&c.messages&&c.messages[d];},customMessage:function(c,d){var b=this.settings.messages[c];return b&&(b.constructor==String?b:b[d]);},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b];}}return undefined;},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>");},formatAndAdd:function(c,e){var d=this.defaultMessage(c,e.method),b=/\$?\{(\d+)\}/g;if(typeof d=="function"){d=d.call(this,e.parameters,c);}else{if(b.test(d)){d=jQuery.format(d.replace(b,"{$1}"),e.parameters);}}this.errorList.push({message:d,element:c});this.errorMap[c.name]=d;this.submitted[c.name]=d;},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper));}return b;},defaultShowErrors:function(){for(var c=0;this.errorList[c];c++){var b=this.errorList[c];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var c=0;this.successList[c];c++){this.showLabel(this.successList[c]);}}if(this.settings.unhighlight){for(var c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return a(this.errorList).map(function(){return this.element;});},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass().addClass(this.settings.errorClass);b.attr("generated")&&b.html(d);}else{b=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(c),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(b).length){this.settings.errorPlacement?this.settings.errorPlacement(b,a(c)):b.insertAfter(c);}}if(!d&&this.settings.success){b.text("");typeof this.settings.success=="string"?b.addClass(this.settings.success):this.settings.success(b);}this.toShow=this.toShow.add(b);},errorsFor:function(c){var b=this.idOrName(c);return this.errors().filter(function(){return a(this).attr("for")==b;});},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name);},checkable:function(b){return/radio|checkbox/i.test(b.type);},findByName:function(b){var c=this.currentForm;return a(document.getElementsByName(b)).map(function(d,e){return e.form==c&&e.name==b&&e||null;});},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length;}}return c.length;},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true;},dependTypes:{"boolean":function(c,b){return c;},string:function(c,b){return !!a(c,b.form).length;},"function":function(c,b){return c(b);}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch";},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true;}},stopRequest:function(b,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0;}delete this.pending[b.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false;}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false;}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b);},classRules:function(c){var d={};var b=a(c).attr("class");b&&a.each(b.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(d,a.validator.classRuleSettings[this]);}});return d;},attributeRules:function(c){var e={};var b=a(c);for(method in a.validator.methods){var d=b.attr(method);if(d){e[method]=d;}}if(e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)){delete e.maxlength;}return e;},metadataRules:function(b){if(!a.metadata){return{};}var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata();},staticRules:function(c){var d={};var b=a.data(c.form,"validator");if(b.settings.rules){d=a.validator.normalizeRule(b.settings.rules[c.name])||{};}return d;},normalizeRules:function(c,b){a.each(c,function(f,e){if(e===false){delete c[f];return;}if(e.param||e.depends){var d=true;switch(typeof e.depends){case"string":d=!!a(e.depends,b.form).length;break;case"function":d=e.depends.call(b,b);break;}if(d){c[f]=e.param!==undefined?e.param:true;}else{delete c[f];}}});a.each(c,function(d,e){c[d]=a.isFunction(e)?e(b):e;});a.each(["minlength","maxlength","min","max"],function(){if(c[this]){c[this]=Number(c[this]);}});a.each(["rangelength","range"],function(){if(c[this]){c[this]=[Number(c[this][0]),Number(c[this][1])];}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max;}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength;}}if(c.messages){delete c.messages;}return c;},normalizeRule:function(c){if(typeof c=="string"){var b={};a.each(c.split(/\s/),function(){b[this]=true;});c=b;}return c;},addMethod:function(b,d,c){a.validator.methods[b]=d;a.validator.messages[b]=c!=undefined?c:a.validator.messages[b];if(d.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b));}},methods:{required:function(c,b,e){if(!this.depend(e,b)){return"dependency-mismatch";}switch(b.nodeName.toLowerCase()){case"select":var d=a(b).val();return d&&d.length>0;case"input":if(this.checkable(b)){return this.getLength(c,b)>0;}default:return a.trim(c).length>0;}},remote:function(f,c,g){if(this.optional(c)){return"dependency-mismatch";}var d=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={};}d.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=d.message;g=typeof g=="string"&&{url:g}||g;if(d.old!==f){d.old=f;var b=this;this.startRequest(c);var e={};e[c.name]=f;a.ajax(a.extend(true,{url:g,mode:"abort",port:"validate"+c.name,dataType:"json",data:e,success:function(k){b.settings.messages[c.name].remote=d.originalMessage;var m=k===true;if(m){var h=b.formSubmitted;b.prepareElement(c);b.formSubmitted=h;b.successList.push(c);b.showErrors();}else{var n={};var l=(d.message=k||b.defaultMessage(c,"remote"));n[c.name]=a.isFunction(l)?l(f):l;b.showErrors(n);}d.valid=m;b.stopRequest(c,m);}},g));return"pending";}else{if(this.pending[c.name]){return"pending";}}return d.valid;},minlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)>=d;},maxlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)<=d;},rangelength:function(d,b,e){var c=this.getLength(a.trim(d),b);return this.optional(b)||(c>=e[0]&&c<=e[1]);},min:function(c,b,d){return this.optional(b)||c>=d;},max:function(c,b,d){return this.optional(b)||c<=d;},range:function(c,b,d){return this.optional(b)||(c>=d[0]&&c<=d[1]);},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c);},url:function(c,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c);},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c));},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c);},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c);},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c);},creditcard:function(f,c){if(this.optional(c)){return"dependency-mismatch";}if(/[^0-9-]+/.test(f)){return false;}var g=0,e=0,b=false;f=f.replace(/\D/g,"");for(var h=f.length-1;h>=0;h--){var d=f.charAt(h);var e=parseInt(d,10);if(b){if((e*=2)>9){e-=9;}}g+=e;b=!b;}return(g%10)==0;},accept:function(c,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||c.match(new RegExp(".("+d+")$","i"));},equalTo:function(c,b,e){var d=a(e).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(b).valid();});return c==d.val();}}});a.format=a.validator.format;})(jQuery);(function(c){var b=c.ajax;var a={};c.ajax=function(e){e=c.extend(e,c.extend({},c.ajaxSettings,e));var d=e.port;if(e.mode=="abort"){if(a[d]){a[d].abort();}return(a[d]=b.apply(this,arguments));}return b.apply(this,arguments);};})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(c,b){a.event.special[b]={setup:function(){if(a.browser.msie){return false;}this.addEventListener(c,a.event.special[b].handler,true);},teardown:function(){if(a.browser.msie){return false;}this.removeEventListener(c,a.event.special[b].handler,true);},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=b;return a.event.handle.apply(this,arguments);}};});a.extend(a.fn,{delegate:function(d,c,b){return this.bind(d,function(e){var f=a(e.target);if(f.is(c)){return b.apply(f,arguments);}});},triggerEvent:function(b,c){return this.triggerHandler(b,[a.event.fix({type:b,target:c})]);}});})(jQuery);$(document).ready(function(){BizHelp24.init({debug:false});});var BizHelp24={init:function(b){BizHelp24.Global.init();BizHelp24.Article.init();BizHelp24.sandbox();if(b.debug){BizHelp24.Debug.init();}var a=setTimeout("BizHelp24.Global.newsletterPopup()",15000);},Debug:{init:function(){$("body").prepend('<div id="grid"></div>');}},CONFIG:{ADDTHIS_API_BASE_URL:"http://api.addthis.com/oexchange/0.8/forward/"},sandbox:function(){jQuery.fn.extend({highlight:function(b,a,c){var d=new RegExp("(<[^>]*>)|(\\b"+b.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")+")",a?"ig":"g");return this.html(this.html().replace(d,function(f,e,g){return(f.charAt(0)=="<")?f:'<strong class="'+c+'">'+g+"</strong>";}));}});},Global:{init:function(){BizHelp24.Global.Styling.init();BizHelp24.Global.FooterActions.init();},newsletterPopup:function(){if(!$.cookie("newsletter_subscriber")&&!$.cookie("newsletter_presented")){BizHelp24.Global.FooterActions.newsletterAction();}},surveyPopup:function(){if(!$.cookie("surveyed_user")){var d=$("<div>");d.append('<p class="highlight">To help us improve <strong>BizHelp24</strong> we would like to find out more about you and how you use our site by asking you a few short questions.</p>');var b=$("<form>");var a=$("<div>",{"class":"row"}).appendTo(b);$("<label>",{text:"Your Gender","class":"fixed"}).appendTo(a);var c=$("<div>",{"class":"control"}).appendTo(a);$("<label>",{text:"Male","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039350","class":"radio"})).appendTo(c);$("<label>",{text:"Female","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039350","class":"radio"})).appendTo(c);var a=$("<div>",{"class":"row"}).appendTo(b);$("<label>",{text:"Your Employment Status","class":"fixed"}).appendTo(a);var c=$("<div>",{"class":"control"}).appendTo(a);$("<label>",{text:"Student","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039360","class":"radio",click:function(){$(".row-business-kind:visible").hide();}})).appendTo(c);$("<label>",{text:"Employed","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039360","class":"radio",click:function(){$(".row-business-kind:hidden").show();}})).appendTo(c);$("<label>",{text:"Self-Employed","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039360","class":"radio",click:function(){$(".row-business-kind:hidden").show();}})).appendTo(c);$("<label>",{text:"Unemployed","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039360","class":"radio",click:function(){$(".row-business-kind:visible").hide();}})).appendTo(c);var a=$("<div>",{"class":"row row-business-kind"}).appendTo(b).hide();$("<label>",{text:"What kind of business are you involved in?","class":"fixed"}).appendTo(a);var c=$("<div>",{"class":"control"}).appendTo(a);$("<label>",{text:"Start Up Business","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039371","class":"radio"})).appendTo(c);$("<label>",{text:"Established Business","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039371","class":"radio"})).appendTo(c);var a=$("<div>",{"class":"row"}).appendTo(b);$("<label>",{text:"Your Age","class":"fixed"}).appendTo(a);var c=$("<div>",{"class":"control"}).appendTo(a);$("<label>",{text:"13 - 24","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);$("<label>",{text:"25 - 34","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);$("<label>",{text:"35 - 44","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);$("<label>",{text:"45 - 54","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);$("<label>",{text:"55 - 64","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);$("<label>",{text:"65+","class":"inline"}).prepend($("<input>",{type:"radio",name:"field9039388","class":"radio"})).appendTo(c);if(!$.cookie("newsletter_subscriber")){$("<label>",{"class":"fixed",text:"Would you like to subscribe to our newsletter?"}).appendTo(b);$("<label>",{"for":"field9039816",text:"Email Address:"}).appendTo(b);$("<input>",{type:"text",name:"field9039816",id:"field9039816","class":"text"}).appendTo(b);}$("<input>",{type:"hidden",name:"form",value:"946935"}).appendTo(b);$("<input>",{type:"hidden",name:"viewkey",value:"6c7MRCQoJg"}).appendTo(b);$("<input>",{type:"hidden",name:"_submit",value:1}).appendTo(b);b.appendTo(d);b.ajaxForm({type:"POST",url:"/proxy.php?proxy_url=http://www.formstack.com/forms/index.php",beforeSubmit:function(f,e){if($("input[name='field9039816']").val()!=""){$.cookie("newsletter_subscriber","true");}else{$.cookie("newsletter_subscriber",null);}return $(e).valid();},error:function(){var e=b.parent(".ui-dialog-content");e.find("p.flash.bad").remove();e.prepend('<p class="flash bad">Oops, something went wrong. Please try again.</p>');},success:function(){var e=b.parent(".ui-dialog-content");e.dialog("option","title","Thank you");e.dialog("option","buttons",{Close:function(){$(this).dialog("close");}});e.html("<p>Thank you for completing our survey. We appreciate your feedback.</p>");$.cookie("surveyed_user","true");}});$(d).dialog({modal:true,width:500,position:"center",resizeable:false,title:"We'd like to get to know a little more about you",buttons:{Submit:function(){$(this).find("form").submit();}},open:function(){$(this).find("input[name=email]").focus();}});}},Styling:{init:function(){BizHelp24.Global.Styling.initSubNavigation();BizHelp24.Global.Styling.initZebraRows("div.search-results div.article");BizHelp24.Global.Styling.initMasonry();$.prePopulate();},initSubNavigation:function(){var k=$("body").attr("class").match(/page-[a-z]+/);k=k[0].replace("page-","");if($("#global-navigation li#gnav-"+k+" ul.sub").length>0){var f=$("#global-navigation").width();var d=$("#global-navigation li#gnav-"+k+" a");var g=d.position().left;var b=(d.width()/2);var h=$("#global-navigation li#gnav-"+k+" ul.sub");var e=h.width();h.width(e+1);var a=(e/2);if(((g-(e/2))+e)>f){h.css({left:auto,right:0});}else{var c=Math.floor((g+b)-a);h.css({left:c,right:"auto"});}}},initZebraRows:function(a){if($(a).length>0){$(a+":odd").addClass("odd");}},initMasonry:function(){if($("ul.articles-by-category").length>0){$("ul.articles-by-category").masonry({singleMode:true});}if($("ul.article-listing").length>0){$("ul.article-listing").masonry();}},initCSS3Emulation:function(){$("div#content div#primary div#article div.content h2:first").addClass("first");$("div#content div#primary div.shelf div.article:last-child").addClass("last-child");}},FooterActions:{init:function(){$("div#footer a.action_newsletter").click(function(){BizHelp24.Global.FooterActions.newsletterAction();return false;});},newsletterAction:function(){var b=$("<div>");b.append("<p>Sign up to the <strong>BizHelp24</strong> newsletter to receive periodic emails covering any new articles added to the site as well as the latest business news.</p>");var a=$("<form>");$("<label>",{"for":"cm-hruitl-hruitl"}).text("Your email address:").appendTo(a);$("<input>",{type:"text",name:"cm-hruitl-hruitl",id:"hruitl-hruitl","class":"text"}).appendTo(a);$.getJSON("http://www.geoplugin.net/json.gp?jsoncallback=?",function(c){$("<input>",{type:"hidden",name:"cm-f-iidif",value:c.geoplugin_countryCode}).appendTo(a);$("<input>",{type:"hidden",name:"cm-f-iidiz",value:c.geoplugin_countryName}).appendTo(a);$("<input>",{type:"hidden",name:"cm-f-iidiv",value:c.geoplugin_region}).appendTo(a);$("<input>",{type:"hidden",name:"cm-f-iidie",value:c.geoplugin_city}).appendTo(a);});a.appendTo(b);a.validate({rules:{"cm-hdxw-hdxw":{required:true,email:true}}});a.ajaxForm({type:"POST",url:"/proxy.php?proxy_url=http://zigguratltd.createsend.com/t/y/s/hruitl/",beforeSubmit:function(d,c){return $(c).valid();},error:function(){var c=a.parent(".ui-dialog-content");c.find("p.flash.bad").remove();c.prepend('<p class="flash bad">Oops, something went wrong when trying to sign you up. Please try again.</p>');},success:function(){var c=a.parent(".ui-dialog-content");c.dialog("option","title","Thank you");c.dialog("option","buttons",{Close:function(){$(this).dialog("close");}});c.html("<p>Thank you for signing up to receive our newsletter.</p>");$.cookie("newsletter_subscriber","true",{expires:60});}});$(b).dialog({modal:true,width:500,position:"center",resizeable:false,title:"Sign up for our newsletter",buttons:{"Sign Up":function(){$(this).find("form").submit();}},open:function(){$(this).find("input[name=email]").focus();},close:function(){$.cookie("newsletter_presented","true");}});}}},Article:{init:function(){if($("body").hasClass("type-article")){BizHelp24.Article.initStyling();}},initStyling:function(){var a=$("h2:contains('Article Index'), h2:contains('Article Index') + ol");a.wrapAll('<div class="block">');var b=$("h2:contains('More information'), h2:contains('More information') + ul");b.wrapAll('<div class="block">');var b=$("h2:contains('Downloads'), h2:contains('Downloads') + ul");b.wrapAll('<div class="block">');},initArticleActions:function(a){if($("ul.article-actions").length>0){BizHelp24.Article.initAction({container:"ul.article-actions",cssClass:"print",text:"Print",action:function(){window.print();}});BizHelp24.Article.initActionDropdown($.extend({trigger:"ul.article-actions li.bookmark",services:{google:"Google",live:"Live",delicious:"Delicious"}},a));BizHelp24.Article.initActionDropdown($.extend({trigger:"ul.article-actions li.share",services:{facebook:"Facebook",twitter:"Twitter",email:"Email",myspace:"MySpace"}},a));}},initAction:function(b){var c=$(b.container);var d=$("<li>").addClass(b.cssClass);var a=$("<a>").addClass("trigger").text(b.text).click(b.action);d.append(a).appendTo(c);},initActionDropdown:function(c){var b=$("<ul>");$.each(c.services,function(f,e){$("<li>").text(e).wrapInner('<a href="'+BizHelp24.CONFIG.ADDTHIS_API_BASE_URL+f+"/offer?url="+c.url+"&title="+c.title+'&username=bizhelp24" target="_blank">').appendTo(b);});var a=$(c.trigger);var d=a.position().left;a.each(function(){var f=$(this);f.click(function(){}).hover(function(){$(this).addClass("hover");},function(){$(this).removeClass("hover");});var e=b.clone().css("left",d).appendTo(f);e.find("li").hover(function(){$(this).addClass("hover");},function(){$(this).removeClass("hover");});});}}};
