/*!
 * jQuery JavaScript Library v1.4.3
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu Oct 14 23:10:06 2010 -0400
 */
(function(aw,aA){function ak(){return false}function ao(){return true}function v(u,c,A){A[0].type=u;return P.event.handle.apply(c,A)}function aY(X){var W,V,U=[],T=[],S,O,E,A,aa,Z,u,c;O=P.data(this,this.nodeType?"events":"__events__");if(typeof O==="function"){O=O.events}if(!(X.liveFired===this||!O||!O.live||X.button&&X.type==="click")){if(X.namespace){c=RegExp("(^|\\.)"+X.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}X.liveFired=this;var Y=O.live.slice(0);for(A=0;A<Y.length;A++){O=Y[A];O.origType.replace(ah,"")===X.type?T.push(O.selector):Y.splice(A--,1)}T=P(X.target).closest(T,X.currentTarget);aa=0;for(Z=T.length;aa<Z;aa++){u=T[aa];for(A=0;A<Y.length;A++){O=Y[A];if(u.selector===O.selector&&(!c||c.test(O.namespace))){E=u.elem;S=null;if(O.preType==="mouseenter"||O.preType==="mouseleave"){X.type=O.preType;S=P(X.relatedTarget).closest(O.selector)[0]}if(!S||S!==E){U.push({elem:E,handleObj:O,level:u.level})}}}}aa=0;for(Z=U.length;aa<Z;aa++){T=U[aa];if(V&&T.level>V){break}X.currentTarget=T.elem;X.data=T.handleObj.data;X.handleObj=T.handleObj;c=T.handleObj.origHandler.apply(T.elem,arguments);if(c===false||X.isPropagationStopped()){V=T.level;if(c===false){W=false}}}return W}}function ag(u,c){return(u&&u!=="*"?u+".":"")+c.replace(aM,"`").replace(ax,"&")}function i(u,c,E){if(P.isFunction(c)){return P.grep(u,function(S,O){return !!c.call(S,O,S)===E})}else{if(c.nodeType){return P.grep(u,function(O){return O===c===E})}else{if(typeof c==="string"){var A=P.grep(u,function(O){return O.nodeType===1});if(Q.test(c)){return P.filter(c,A,!E)}else{c=P.filter(c,A)}}}}return P.grep(u,function(O){return P.inArray(O,c)>=0===E})}function aX(u,c){var A=0;c.each(function(){if(this.nodeName===(u[A]&&u[A].nodeName)){var T=P.data(u[A++]),S=P.data(this,T);if(T=T&&T.events){delete S.handle;S.events={};for(var O in T){for(var E in T[O]){P.event.add(this,O,T[O][E],T[O][E].data)}}}}})}function z(u,c){c.src?P.ajax({url:c.src,async:false,dataType:"script"}):P.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function aL(u,c,E){var A=c==="width"?u.offsetWidth:u.offsetHeight;if(E==="border"){return A}P.each(c==="width"?m:a1,function(){E||(A-=parseFloat(P.css(u,"padding"+this))||0);if(E==="margin"){A+=parseFloat(P.css(u,"margin"+this))||0}else{A-=parseFloat(P.css(u,"border"+this+"Width"))||0}});return A}function I(u,c,E,A){if(P.isArray(c)&&c.length){P.each(c,function(S,O){E||aQ.test(u)?A(u,O):I(u+"["+(typeof O==="object"||P.isArray(O)?S:"")+"]",O,E,A)})}else{if(!E&&c!=null&&typeof c==="object"){P.isEmptyObject(c)?A(u,""):P.each(c,function(S,O){I(u+"["+S+"]",O,E,A)})}else{A(u,c)}}}function am(u,c){var A={};P.each(av.concat.apply([],av.slice(0,c)),function(){A[this]=u});return A}function N(u){if(!s[u]){var c=P("<"+u+">").appendTo("body"),A=c.css("display");c.remove();if(A==="none"||A===""){A="block"}s[u]=A}return s[u]}function g(c){return P.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var G=aw.document,P=function(){function bh(){if(!bg.isReady){try{G.documentElement.doScroll("left")}catch(bi){setTimeout(bh,1);return}bg.ready()}}var bg=function(bi,bj){return new bg.fn.init(bi,bj)},bf=aw.jQuery,be=aw.$,bd,bb=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a9=/\S/,a8=/^\s+/,a6=/\s+$/,Z=/\W/,X=/\d/,a3=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aa=/^[\],:{}\s]*$/,U=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,V=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W=/(?:^|:|,)(?:\s*\[)+/g,O=/(webkit)[ \/]([\w.]+)/,bc=/(opera)(?:.*version)?[ \/]([\w.]+)/,ba=/(msie) ([\w.]+)/,a5=/(mozilla)(?:.*? rv:([\w.]+))?/,a7=navigator.userAgent,a4=false,a2=[],Y,T=Object.prototype.toString,ab=Object.prototype.hasOwnProperty,A=Array.prototype.push,E=Array.prototype.slice,c=String.prototype.trim,u=Array.prototype.indexOf,S={};bg.fn=bg.prototype={init:function(bi,bk){var bm,bl,bj;if(!bi){return this}if(bi.nodeType){this.context=this[0]=bi;this.length=1;return this}if(bi==="body"&&!bk&&G.body){this.context=G;this[0]=G.body;this.selector="body";this.length=1;return this}if(typeof bi==="string"){if((bm=bb.exec(bi))&&(bm[1]||!bk)){if(bm[1]){bj=bk?bk.ownerDocument||bk:G;if(bl=a3.exec(bi)){if(bg.isPlainObject(bk)){bi=[G.createElement(bl[1])];bg.fn.attr.call(bi,bk,true)}else{bi=[bj.createElement(bl[1])]}}else{bl=bg.buildFragment([bm[1]],[bj]);bi=(bl.cacheable?bl.fragment.cloneNode(true):bl.fragment).childNodes}return bg.merge(this,bi)}else{if((bl=G.getElementById(bm[2]))&&bl.parentNode){if(bl.id!==bm[2]){return bd.find(bi)}this.length=1;this[0]=bl}this.context=G;this.selector=bi;return this}}else{if(!bk&&!Z.test(bi)){this.selector=bi;this.context=G;bi=G.getElementsByTagName(bi);return bg.merge(this,bi)}else{return !bk||bk.jquery?(bk||bd).find(bi):bg(bk).find(bi)}}}else{if(bg.isFunction(bi)){return bd.ready(bi)}}if(bi.selector!==aA){this.selector=bi.selector;this.context=bi.context}return bg.makeArray(bi,this)},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(bi){return bi==null?this.toArray():bi<0?this.slice(bi)[0]:this[bi]},pushStack:function(bi,bj,bl){var bk=bg();bg.isArray(bi)?A.apply(bk,bi):bg.merge(bk,bi);bk.prevObject=this;bk.context=this.context;if(bj==="find"){bk.selector=this.selector+(this.selector?" ":"")+bl}else{if(bj){bk.selector=this.selector+"."+bj+"("+bl+")"}}return bk},each:function(bi,bj){return bg.each(this,bi,bj)},ready:function(bi){bg.bindReady();if(bg.isReady){bi.call(G,bg)}else{a2&&a2.push(bi)}return this},eq:function(bi){return bi===-1?this.slice(bi):this.slice(bi,+bi+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(bi){return this.pushStack(bg.map(this,function(bj,bk){return bi.call(bj,bk,bj)}))},end:function(){return this.prevObject||bg(null)},push:A,sort:[].sort,splice:[].splice};bg.fn.init.prototype=bg.fn;bg.extend=bg.fn.extend=function(){var bk=arguments[0]||{},bi=1,bm=arguments.length,bl=false,bq,bp,bn,bo,bj;if(typeof bk==="boolean"){bl=bk;bk=arguments[1]||{};bi=2}if(typeof bk!=="object"&&!bg.isFunction(bk)){bk={}}if(bm===bi){bk=this;--bi}for(;bi<bm;bi++){if((bq=arguments[bi])!=null){for(bp in bq){bn=bk[bp];bo=bq[bp];if(bk!==bo){if(bl&&bo&&(bg.isPlainObject(bo)||(bj=bg.isArray(bo)))){if(bj){bj=false;clone=bn&&bg.isArray(bn)?bn:[]}else{clone=bn&&bg.isPlainObject(bn)?bn:{}}bk[bp]=bg.extend(bl,clone,bo)}else{if(bo!==aA){bk[bp]=bo}}}}}}return bk};bg.extend({noConflict:function(bi){aw.$=be;if(bi){aw.jQuery=bf}return bg},isReady:false,readyWait:1,ready:function(bi){bi===true&&bg.readyWait--;if(!bg.readyWait||bi!==true&&!bg.isReady){if(!G.body){return setTimeout(bg.ready,1)}bg.isReady=true;if(!(bi!==true&&--bg.readyWait>0)){if(a2){for(var bj=0;bi=a2[bj++];){bi.call(G,bg)}a2=null}bg.fn.triggerHandler&&bg(G).triggerHandler("ready")}}},bindReady:function(){if(!a4){a4=true;if(G.readyState==="complete"){return setTimeout(bg.ready,1)}if(G.addEventListener){G.addEventListener("DOMContentLoaded",Y,false);aw.addEventListener("load",bg.ready,false)}else{if(G.attachEvent){G.attachEvent("onreadystatechange",Y);aw.attachEvent("onload",bg.ready);var bi=false;try{bi=aw.frameElement==null}catch(bj){}G.documentElement.doScroll&&bi&&bh()}}}},isFunction:function(bi){return bg.type(bi)==="function"},isArray:Array.isArray||function(bi){return bg.type(bi)==="array"},isWindow:function(bi){return bi&&typeof bi==="object"&&"setInterval" in bi},isNaN:function(bi){return bi==null||!X.test(bi)||isNaN(bi)},type:function(bi){return bi==null?String(bi):S[T.call(bi)]||"object"},isPlainObject:function(bi){if(!bi||bg.type(bi)!=="object"||bi.nodeType||bg.isWindow(bi)){return false}if(bi.constructor&&!ab.call(bi,"constructor")&&!ab.call(bi.constructor.prototype,"isPrototypeOf")){return false}for(var bj in bi){}return bj===aA||ab.call(bi,bj)},isEmptyObject:function(bi){for(var bj in bi){return false}return true},error:function(bi){throw bi},parseJSON:function(bi){if(typeof bi!=="string"||!bi){return null}bi=bg.trim(bi);if(aa.test(bi.replace(U,"@").replace(V,"]").replace(W,""))){return aw.JSON&&aw.JSON.parse?aw.JSON.parse(bi):(new Function("return "+bi))()}else{bg.error("Invalid JSON: "+bi)}},noop:function(){},globalEval:function(bi){if(bi&&a9.test(bi)){var bj=G.getElementsByTagName("head")[0]||G.documentElement,bk=G.createElement("script");bk.type="text/javascript";if(bg.support.scriptEval){bk.appendChild(G.createTextNode(bi))}else{bk.text=bi}bj.insertBefore(bk,bj.firstChild);bj.removeChild(bk)}},nodeName:function(bi,bj){return bi.nodeName&&bi.nodeName.toUpperCase()===bj.toUpperCase()},each:function(bk,bm,bo){var bn,bl=0,bj=bk.length,bi=bj===aA||bg.isFunction(bk);if(bo){if(bi){for(bn in bk){if(bm.apply(bk[bn],bo)===false){break}}}else{for(;bl<bj;){if(bm.apply(bk[bl++],bo)===false){break}}}}else{if(bi){for(bn in bk){if(bm.call(bk[bn],bn,bk[bn])===false){break}}}else{for(bo=bk[0];bl<bj&&bm.call(bo,bl,bo)!==false;bo=bk[++bl]){}}}return bk},trim:c?function(bi){return bi==null?"":c.call(bi)}:function(bi){return bi==null?"":bi.toString().replace(a8,"").replace(a6,"")},makeArray:function(bi,bj){var bl=bj||[];if(bi!=null){var bk=bg.type(bi);bi.length==null||bk==="string"||bk==="function"||bk==="regexp"||bg.isWindow(bi)?A.call(bl,bi):bg.merge(bl,bi)}return bl},inArray:function(bi,bj){if(bj.indexOf){return bj.indexOf(bi)}for(var bl=0,bk=bj.length;bl<bk;bl++){if(bj[bl]===bi){return bl}}return -1},merge:function(bi,bk){var bm=bi.length,bl=0;if(typeof bk.length==="number"){for(var bj=bk.length;bl<bj;bl++){bi[bm++]=bk[bl]}}else{for(;bk[bl]!==aA;){bi[bm++]=bk[bl++]}}bi.length=bm;return bi},grep:function(bk,bm,bo){var bn=[],bl;bo=!!bo;for(var bj=0,bi=bk.length;bj<bi;bj++){bl=!!bm(bk[bj],bj);bo!==bl&&bn.push(bk[bj])}return bn},map:function(bk,bm,bo){for(var bn=[],bl,bj=0,bi=bk.length;bj<bi;bj++){bl=bm(bk[bj],bj,bo);if(bl!=null){bn[bn.length]=bl}}return bn.concat.apply([],bn)},guid:1,proxy:function(bi,bj,bk){if(arguments.length===2){if(typeof bj==="string"){bk=bi;bi=bk[bj];bj=aA}else{if(bj&&!bg.isFunction(bj)){bk=bj;bj=aA}}}if(!bj&&bi){bj=function(){return bi.apply(bk||this,arguments)}}if(bi){bj.guid=bi.guid=bi.guid||bj.guid||bg.guid++}return bj},access:function(bl,bn,bp,bo,bm,bk){var bi=bl.length;if(typeof bn==="object"){for(var bj in bn){bg.access(bl,bj,bn[bj],bo,bm,bp)}return bl}if(bp!==aA){bo=!bk&&bo&&bg.isFunction(bp);for(bj=0;bj<bi;bj++){bm(bl[bj],bn,bo?bp.call(bl[bj],bj,bm(bl[bj],bn)):bp,bk)}return bl}return bi?bm(bl[0],bn):aA},now:function(){return(new Date).getTime()},uaMatch:function(bi){bi=bi.toLowerCase();bi=O.exec(bi)||bc.exec(bi)||ba.exec(bi)||bi.indexOf("compatible")<0&&a5.exec(bi)||[];return{browser:bi[1]||"",version:bi[2]||"0"}},browser:{}});bg.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bi,bj){S["[object "+bj+"]"]=bj.toLowerCase()});a7=bg.uaMatch(a7);if(a7.browser){bg.browser[a7.browser]=true;bg.browser.version=a7.version}if(bg.browser.webkit){bg.browser.safari=true}if(u){bg.inArray=function(bi,bj){return u.call(bj,bi)}}if(!/\s/.test("\u00a0")){a8=/^[\s\xA0]+/;a6=/[\s\xA0]+$/}bd=bg(G);if(G.addEventListener){Y=function(){G.removeEventListener("DOMContentLoaded",Y,false);bg.ready()}}else{if(G.attachEvent){Y=function(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",Y);bg.ready()}}}}return aw.jQuery=aw.$=bg}();(function(){P.support={};var V=G.documentElement,U=G.createElement("script"),T=G.createElement("div"),S="script"+P.now();T.style.display="none";T.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var O=T.getElementsByTagName("*"),E=T.getElementsByTagName("a")[0],A=G.createElement("select"),u=A.appendChild(G.createElement("option"));if(!(!O||!O.length||!E)){P.support={leadingWhitespace:T.firstChild.nodeType===3,tbody:!T.getElementsByTagName("tbody").length,htmlSerialize:!!T.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:/^0.55$/.test(E.style.opacity),cssFloat:!!E.style.cssFloat,checkOn:T.getElementsByTagName("input")[0].value==="on",optSelected:u.selected,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};A.disabled=true;P.support.optDisabled=!u.disabled;U.type="text/javascript";try{U.appendChild(G.createTextNode("window."+S+"=1;"))}catch(c){}V.insertBefore(U,V.firstChild);if(aw[S]){P.support.scriptEval=true;delete aw[S]}V.removeChild(U);if(T.attachEvent&&T.fireEvent){T.attachEvent("onclick",function W(){P.support.noCloneEvent=false;T.detachEvent("onclick",W)});T.cloneNode(true).fireEvent("onclick")}T=G.createElement("div");T.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";V=G.createDocumentFragment();V.appendChild(T.firstChild);P.support.checkClone=V.cloneNode(true).cloneNode(true).lastChild.checked;P(function(){var Y=G.createElement("div");Y.style.width=Y.style.paddingLeft="1px";G.body.appendChild(Y);P.boxModel=P.support.boxModel=Y.offsetWidth===2;if("zoom" in Y.style){Y.style.display="inline";Y.style.zoom=1;P.support.inlineBlockNeedsLayout=Y.offsetWidth===2;Y.style.display="";Y.innerHTML="<div style='width:4px;'></div>";P.support.shrinkWrapBlocks=Y.offsetWidth!==2}Y.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var X=Y.getElementsByTagName("td");P.support.reliableHiddenOffsets=X[0].offsetHeight===0;X[0].style.display="";X[1].style.display="none";P.support.reliableHiddenOffsets=P.support.reliableHiddenOffsets&&X[0].offsetHeight===0;Y.innerHTML="";G.body.removeChild(Y).style.display="none"});V=function(Y){var X=G.createElement("div");Y="on"+Y;var Z=Y in X;if(!Z){X.setAttribute(Y,"return;");Z=typeof X[Y]==="function"}return Z};P.support.submitBubbles=V("submit");P.support.changeBubbles=V("change");V=U=T=O=E=null}})();P.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var y={},aC=/^(?:\{.*\}|\[.*\])$/;P.extend({cache:{},uuid:0,expando:"jQuery"+P.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(u,c,S){if(P.acceptData(u)){u=u==aw?y:u;var O=u.nodeType,E=O?u[P.expando]:null,A=P.cache;if(!(O&&!E&&typeof c==="string"&&S===aA)){if(O){E||(u[P.expando]=E=++P.uuid)}else{A=u}if(typeof c==="object"){if(O){A[E]=P.extend(A[E],c)}else{P.extend(A,c)}}else{if(O&&!A[E]){A[E]={}}}u=O?A[E]:A;if(S!==aA){u[c]=S}return typeof c==="string"?u[c]:u}}},removeData:function(u,c){if(P.acceptData(u)){u=u==aw?y:u;var T=u.nodeType,S=T?u[P.expando]:u,O=P.cache,E=T?O[S]:S;if(c){if(E){delete E[c];T&&P.isEmptyObject(E)&&P.removeData(u)}}else{if(T&&P.support.deleteExpando){delete u[P.expando]}else{if(u.removeAttribute){u.removeAttribute(P.expando)}else{if(T){delete O[S]}else{for(var A in u){delete u[A]}}}}}}},acceptData:function(u){if(u.nodeName){var c=P.noData[u.nodeName.toLowerCase()];if(c){return !(c===true||u.getAttribute("classid")!==c)}}return true}});P.fn.extend({data:function(u,c){if(typeof u==="undefined"){return this.length?P.data(this[0]):null}else{if(typeof u==="object"){return this.each(function(){P.data(this,u)})}}var O=u.split(".");O[1]=O[1]?"."+O[1]:"";if(c===aA){var E=this.triggerHandler("getData"+O[1]+"!",[O[0]]);if(E===aA&&this.length){E=P.data(this[0],u);if(E===aA&&this[0].nodeType===1){E=this[0].getAttribute("data-"+u);if(typeof E==="string"){try{E=E==="true"?true:E==="false"?false:E==="null"?null:!P.isNaN(E)?parseFloat(E):aC.test(E)?P.parseJSON(E):E}catch(A){}}else{E=aA}}}return E===aA&&O[1]?this.data(O[0]):E}else{return this.each(function(){var T=P(this),S=[O[0],c];T.triggerHandler("setData"+O[1]+"!",S);P.data(this,u,c);T.triggerHandler("changeData"+O[1]+"!",S)})}},removeData:function(c){return this.each(function(){P.removeData(this,c)})}});P.extend({queue:function(u,c,E){if(u){c=(c||"fx")+"queue";var A=P.data(u,c);if(!E){return A||[]}if(!A||P.isArray(E)){A=P.data(u,c,P.makeArray(E))}else{A.push(E)}return A}},dequeue:function(u,c){c=c||"fx";var E=P.queue(u,c),A=E.shift();if(A==="inprogress"){A=E.shift()}if(A){c==="fx"&&E.unshift("inprogress");A.call(u,function(){P.dequeue(u,c)})}}});P.fn.extend({queue:function(u,c){if(typeof u!=="string"){c=u;u="fx"}if(c===aA){return P.queue(this[0],u)}return this.each(function(){var A=P.queue(this,u,c);u==="fx"&&A[0]!=="inprogress"&&P.dequeue(this,u)})},dequeue:function(c){return this.each(function(){P.dequeue(this,c)})},delay:function(u,c){u=P.fx?P.fx.speeds[u]||u:u;c=c||"fx";return this.queue(c,function(){var A=this;setTimeout(function(){P.dequeue(A,c)},u)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var l=/[\n\t]/g,aI=/\s+/,ad=/\r/g,D=/^(?:href|src|style)$/,o=/^(?:button|input)$/i,d=/^(?:button|input|object|select|textarea)$/i,aS=/^a(?:rea)?$/i,a0=/^(?:radio|checkbox)$/i;P.fn.extend({attr:function(u,c){return P.access(this,u,c,true,P.attr)},removeAttr:function(c){return this.each(function(){P.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(V){if(P.isFunction(V)){return this.each(function(X){var W=P(this);W.addClass(V.call(this,X,W.attr("class")))})}if(V&&typeof V==="string"){for(var U=(V||"").split(aI),T=0,S=this.length;T<S;T++){var O=this[T];if(O.nodeType===1){if(O.className){for(var E=" "+O.className+" ",A=O.className,u=0,c=U.length;u<c;u++){if(E.indexOf(" "+U[u]+" ")<0){A+=" "+U[u]}}O.className=P.trim(A)}else{O.className=V}}}}return this},removeClass:function(A){if(P.isFunction(A)){return this.each(function(W){var V=P(this);V.removeClass(A.call(this,W,V.attr("class")))})}if(A&&typeof A==="string"||A===aA){for(var c=(A||"").split(aI),U=0,T=this.length;U<T;U++){var S=this[U];if(S.nodeType===1&&S.className){if(A){for(var O=(" "+S.className+" ").replace(l," "),E=0,u=c.length;E<u;E++){O=O.replace(" "+c[E]+" "," ")}S.className=P.trim(O)}else{S.className=""}}}}return this},toggleClass:function(u,c){var E=typeof u,A=typeof c==="boolean";if(P.isFunction(u)){return this.each(function(S){var O=P(this);O.toggleClass(u.call(this,S,O.attr("class"),c),c)})}return this.each(function(){if(E==="string"){for(var U,T=0,S=P(this),O=c,V=u.split(aI);U=V[T++];){O=A?O:!S.hasClass(U);S[O?"addClass":"removeClass"](U)}}else{if(E==="undefined"||E==="boolean"){this.className&&P.data(this,"__className__",this.className);this.className=this.className||u===false?"":P.data(this,"__className__")||""}}})},hasClass:function(u){u=" "+u+" ";for(var c=0,A=this.length;c<A;c++){if((" "+this[c].className+" ").replace(l," ").indexOf(u)>-1){return true}}return false},val:function(A){if(!arguments.length){var c=this[0];if(c){if(P.nodeName(c,"option")){var U=c.attributes.value;return !U||U.specified?c.value:c.text}if(P.nodeName(c,"select")){var T=c.selectedIndex;U=[];var S=c.options;c=c.type==="select-one";if(T<0){return null}var O=c?T:0;for(T=c?T+1:S.length;O<T;O++){var E=S[O];if(E.selected&&(P.support.optDisabled?!E.disabled:E.getAttribute("disabled")===null)&&(!E.parentNode.disabled||!P.nodeName(E.parentNode,"optgroup"))){A=P(E).val();if(c){return A}U.push(A)}}return U}if(a0.test(c.type)&&!P.support.checkOn){return c.getAttribute("value")===null?"on":c.value}return(c.value||"").replace(ad,"")}return aA}var u=P.isFunction(A);return this.each(function(Y){var W=P(this),V=A;if(this.nodeType===1){if(u){V=A.call(this,Y,W.val())}if(V==null){V=""}else{if(typeof V==="number"){V+=""}else{if(P.isArray(V)){V=P.map(V,function(Z){return Z==null?"":Z+""})}}}if(P.isArray(V)&&a0.test(this.type)){this.checked=P.inArray(W.val(),V)>=0}else{if(P.nodeName(this,"select")){var X=P.makeArray(V);P("option",this).each(function(){this.selected=P.inArray(P(this).val(),X)>=0});if(!X.length){this.selectedIndex=-1}}else{this.value=V}}}})}});P.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(u,c,S,O){if(!u||u.nodeType===3||u.nodeType===8){return aA}if(O&&c in P.attrFn){return P(u)[c](S)}O=u.nodeType!==1||!P.isXMLDoc(u);var E=S!==aA;c=O&&P.props[c]||c;if(u.nodeType===1){var A=D.test(c);if((c in u||u[c]!==aA)&&O&&!A){if(E){c==="type"&&o.test(u.nodeName)&&u.parentNode&&P.error("type property can't be changed");if(S===null){u.nodeType===1&&u.removeAttribute(c)}else{u[c]=S}}if(P.nodeName(u,"form")&&u.getAttributeNode(c)){return u.getAttributeNode(c).nodeValue}if(c==="tabIndex"){return(c=u.getAttributeNode("tabIndex"))&&c.specified?c.value:d.test(u.nodeName)||aS.test(u.nodeName)&&u.href?0:aA}return u[c]}if(!P.support.style&&O&&c==="style"){if(E){u.style.cssText=""+S}return u.style.cssText}E&&u.setAttribute(c,""+S);if(!u.attributes[c]&&u.hasAttribute&&!u.hasAttribute(c)){return aA}u=!P.support.hrefNormalized&&O&&A?u.getAttribute(c,2):u.getAttribute(c);return u===null?aA:u}}});var ah=/\.(.*)$/,ar=/^(?:textarea|input|select)$/i,aM=/\./g,ax=/ /g,aE=/[^\w\s.|`]/g,af=function(c){return c.replace(aE,"\\$&")},aP={focusin:0,focusout:0};P.event={add:function(X,W,V,U){if(!(X.nodeType===3||X.nodeType===8)){if(P.isWindow(X)&&X!==aw&&!X.frameElement){X=aw}if(V===false){V=ak}var T,S;if(V.handler){T=V;V=T.handler}if(!V.guid){V.guid=P.guid++}if(S=P.data(X)){var O=X.nodeType?"events":"__events__",E=S[O],A=S.handle;if(typeof E==="function"){A=E.handle;E=E.events}else{if(!E){X.nodeType||(S[O]=S=function(){});S.events=E={}}}if(!A){S.handle=A=function(){return typeof P!=="undefined"&&!P.event.triggered?P.event.handle.apply(A.elem,arguments):aA}}A.elem=X;W=W.split(" ");for(var Z=0,Y;O=W[Z++];){S=T?P.extend({},T):{handler:V,data:U};if(O.indexOf(".")>-1){Y=O.split(".");O=Y.shift();S.namespace=Y.slice(0).sort().join(".")}else{Y=[];S.namespace=""}S.type=O;if(!S.guid){S.guid=V.guid}var u=E[O],c=P.event.special[O]||{};if(!u){u=E[O]=[];if(!c.setup||c.setup.call(X,U,Y,A)===false){if(X.addEventListener){X.addEventListener(O,A,false)}else{X.attachEvent&&X.attachEvent("on"+O,A)}}}if(c.add){c.add.call(X,S);if(!S.handler.guid){S.handler.guid=V.guid}}u.push(S);P.event.global[O]=true}X=null}}},global:{},remove:function(X,W,V,U){if(!(X.nodeType===3||X.nodeType===8)){if(V===false){V=ak}var T,S,O=0,E,A,a2,aa,u,c,Z=X.nodeType?"events":"__events__",Y=P.data(X),ab=Y&&Y[Z];if(Y&&ab){if(typeof ab==="function"){Y=ab;ab=ab.events}if(W&&W.type){V=W.handler;W=W.type}if(!W||typeof W==="string"&&W.charAt(0)==="."){W=W||"";for(T in ab){P.event.remove(X,T+W)}}else{for(W=W.split(" ");T=W[O++];){aa=T;E=T.indexOf(".")<0;A=[];if(!E){A=T.split(".");T=A.shift();a2=RegExp("(^|\\.)"+P.map(A.slice(0).sort(),af).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(u=ab[T]){if(V){aa=P.event.special[T]||{};for(S=U||0;S<u.length;S++){c=u[S];if(V.guid===c.guid){if(E||a2.test(c.namespace)){U==null&&u.splice(S--,1);aa.remove&&aa.remove.call(X,c)}if(U!=null){break}}}if(u.length===0||U!=null&&u.length===1){if(!aa.teardown||aa.teardown.call(X,A)===false){P.removeEvent(X,T,Y.handle)}delete ab[T]}}else{for(S=0;S<u.length;S++){c=u[S];if(E||a2.test(c.namespace)){P.event.remove(X,aa,c.handler,S);u.splice(S--,1)}}}}}if(P.isEmptyObject(ab)){if(W=Y.handle){W.elem=null}delete Y.events;delete Y.handle;if(typeof Y==="function"){P.removeData(X,Z)}else{P.isEmptyObject(Y)&&P.removeData(X)}}}}}},trigger:function(V,U,T,S){var O=V.type||V;if(!S){V=typeof V==="object"?V[P.expando]?V:P.extend(P.Event(O),V):P.Event(O);if(O.indexOf("!")>=0){V.type=O=O.slice(0,-1);V.exclusive=true}if(!T){V.stopPropagation();P.event.global[O]&&P.each(P.cache,function(){this.events&&this.events[O]&&P.event.trigger(V,U,this.handle.elem)})}if(!T||T.nodeType===3||T.nodeType===8){return aA}V.result=aA;V.target=T;U=P.makeArray(U);U.unshift(V)}V.currentTarget=T;(S=T.nodeType?P.data(T,"handle"):(P.data(T,"__events__")||{}).handle)&&S.apply(T,U);S=T.parentNode||T.ownerDocument;try{if(!(T&&T.nodeName&&P.noData[T.nodeName.toLowerCase()])){if(T["on"+O]&&T["on"+O].apply(T,U)===false){V.result=false;V.preventDefault()}}}catch(E){}if(!V.isPropagationStopped()&&S){P.event.trigger(V,U,S,true)}else{if(!V.isDefaultPrevented()){S=V.target;var A,u=O.replace(ah,""),c=P.nodeName(S,"a")&&u==="click",X=P.event.special[u]||{};if((!X._default||X._default.call(T,V)===false)&&!c&&!(S&&S.nodeName&&P.noData[S.nodeName.toLowerCase()])){try{if(S[u]){if(A=S["on"+u]){S["on"+u]=null}P.event.triggered=true;S[u]()}}catch(W){}if(A){S["on"+u]=A}P.event.triggered=false}}}},handle:function(A){var c,U,T;U=[];var S,O=P.makeArray(arguments);A=O[0]=P.event.fix(A||aw.event);A.currentTarget=this;c=A.type.indexOf(".")<0&&!A.exclusive;if(!c){T=A.type.split(".");A.type=T.shift();U=T.slice(0).sort();T=RegExp("(^|\\.)"+U.join("\\.(?:.*\\.)?")+"(\\.|$)")}A.namespace=A.namespace||U.join(".");S=P.data(this,this.nodeType?"events":"__events__");if(typeof S==="function"){S=S.events}U=(S||{})[A.type];if(S&&U){U=U.slice(0);S=0;for(var E=U.length;S<E;S++){var u=U[S];if(c||T.test(u.namespace)){A.handler=u.handler;A.data=u.data;A.handleObj=u;u=u.handler.apply(this,O);if(u!==aA){A.result=u;if(u===false){A.preventDefault();A.stopPropagation()}}if(A.isImmediatePropagationStopped()){break}}}}return A.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(u){if(u[P.expando]){return u}var c=u;u=P.Event(c);for(var E=this.props.length,A;E;){A=this.props[--E];u[A]=c[A]}if(!u.target){u.target=u.srcElement||G}if(u.target.nodeType===3){u.target=u.target.parentNode}if(!u.relatedTarget&&u.fromElement){u.relatedTarget=u.fromElement===u.target?u.toElement:u.fromElement}if(u.pageX==null&&u.clientX!=null){c=G.documentElement;E=G.body;u.pageX=u.clientX+(c&&c.scrollLeft||E&&E.scrollLeft||0)-(c&&c.clientLeft||E&&E.clientLeft||0);u.pageY=u.clientY+(c&&c.scrollTop||E&&E.scrollTop||0)-(c&&c.clientTop||E&&E.clientTop||0)}if(u.which==null&&(u.charCode!=null||u.keyCode!=null)){u.which=u.charCode!=null?u.charCode:u.keyCode}if(!u.metaKey&&u.ctrlKey){u.metaKey=u.ctrlKey}if(!u.which&&u.button!==aA){u.which=u.button&1?1:u.button&2?3:u.button&4?2:0}return u},guid:100000000,proxy:P.proxy,special:{ready:{setup:P.bindReady,teardown:P.noop},live:{add:function(c){P.event.add(this,ag(c.origType,c.selector),P.extend({},c,{handler:aY,guid:c.handler.guid}))},remove:function(c){P.event.remove(this,ag(c.origType,c.selector),c)}},beforeunload:{setup:function(u,c,A){if(P.isWindow(this)){this.onbeforeunload=A}},teardown:function(u,c){if(this.onbeforeunload===c){this.onbeforeunload=null}}}}};P.removeEvent=G.removeEventListener?function(u,c,A){u.removeEventListener&&u.removeEventListener(c,A,false)}:function(u,c,A){u.detachEvent&&u.detachEvent("on"+c,A)};P.Event=function(c){if(!this.preventDefault){return new P.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=P.now();this[P.expando]=true};P.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ao;var c=this.originalEvent;if(c){if(c.preventDefault){c.preventDefault()}else{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:ak,isPropagationStopped:ak,isImmediatePropagationStopped:ak};var aB=function(u){var c=u.relatedTarget;try{for(;c&&c!==this;){c=c.parentNode}if(c!==this){u.type=u.data;P.event.handle.apply(this,arguments)}}catch(A){}},ac=function(c){c.type=c.data;P.event.handle.apply(this,arguments)};P.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(u,c){P.event.special[u]={setup:function(A){P.event.add(this,c,A&&A.selector?ac:aB,u)},teardown:function(A){P.event.remove(this,c,A&&A.selector?ac:aB)}}});if(!P.support.submitBubbles){P.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){P.event.add(this,"click.specialSubmit",function(u){var c=u.target,A=c.type;if((A==="submit"||A==="image")&&P(c).closest("form").length){u.liveFired=aA;return v("submit",this,arguments)}});P.event.add(this,"keypress.specialSubmit",function(u){var c=u.target,A=c.type;if((A==="text"||A==="password")&&P(c).closest("form").length&&u.keyCode===13){u.liveFired=aA;return v("submit",this,arguments)}})}else{return false}},teardown:function(){P.event.remove(this,".specialSubmit")}}}if(!P.support.changeBubbles){var aj,C=function(u){var c=u.type,A=u.value;if(c==="radio"||c==="checkbox"){A=u.checked}else{if(c==="select-multiple"){A=u.selectedIndex>-1?P.map(u.options,function(E){return E.selected}).join("-"):""}else{if(u.nodeName.toLowerCase()==="select"){A=u.selectedIndex}}}return A},ae=function(u,c){var O=u.target,E,A;if(!(!ar.test(O.nodeName)||O.readOnly)){E=P.data(O,"_change_data");A=C(O);if(u.type!=="focusout"||O.type!=="radio"){P.data(O,"_change_data",A)}if(!(E===aA||A===E)){if(E!=null||A){u.type="change";u.liveFired=aA;return P.event.trigger(u,c,O)}}}};P.event.special.change={filters:{focusout:ae,beforedeactivate:ae,click:function(u){var c=u.target,A=c.type;if(A==="radio"||A==="checkbox"||c.nodeName.toLowerCase()==="select"){return ae.call(this,u)}},keydown:function(u){var c=u.target,A=c.type;if(u.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||u.keyCode===32&&(A==="checkbox"||A==="radio")||A==="select-multiple"){return ae.call(this,u)}},beforeactivate:function(c){c=c.target;P.data(c,"_change_data",C(c))}},setup:function(){if(this.type==="file"){return false}for(var c in aj){P.event.add(this,c+".specialChange",aj[c])}return ar.test(this.nodeName)},teardown:function(){P.event.remove(this,".specialChange");return ar.test(this.nodeName)}};aj=P.event.special.change.filters;aj.focus=aj.beforeactivate}G.addEventListener&&P.each({focus:"focusin",blur:"focusout"},function(u,c){function A(E){E=P.event.fix(E);E.type=c;return P.event.trigger(E,null,E.target)}P.event.special[c]={setup:function(){aP[c]++===0&&G.addEventListener(u,A,true)},teardown:function(){--aP[c]===0&&G.removeEventListener(u,A,true)}}});P.each(["bind","one"],function(u,c){P.fn[c]=function(U,T,S){if(typeof U==="object"){for(var O in U){this[c](O,T,U[O],S)}return this}if(P.isFunction(T)||T===false){S=T;T=aA}var E=c==="one"?P.proxy(S,function(V){P(this).unbind(V,E);return S.apply(this,arguments)}):S;if(U==="unload"&&c!=="one"){this.one(U,T,S)}else{O=0;for(var A=this.length;O<A;O++){P.event.add(this[O],U,E,T)}}return this}});P.fn.extend({unbind:function(u,c){if(typeof u==="object"&&!u.preventDefault){for(var E in u){this.unbind(E,u[E])}}else{E=0;for(var A=this.length;E<A;E++){P.event.remove(this[E],u,c)}}return this},delegate:function(u,c,E,A){return this.live(c,E,A,u)},undelegate:function(u,c,A){return arguments.length===0?this.unbind("live"):this.die(c,null,A,u)},trigger:function(u,c){return this.each(function(){P.event.trigger(u,c,this)})},triggerHandler:function(u,c){if(this[0]){var A=P.Event(u);A.preventDefault();A.stopPropagation();P.event.trigger(A,c,this[0]);return A.result}},toggle:function(u){for(var c=arguments,A=1;A<c.length;){P.proxy(u,c[A++])}return this.click(P.proxy(u,function(O){var E=(P.data(this,"lastToggle"+u.guid)||0)%A;P.data(this,"lastToggle"+u.guid,E+1);O.preventDefault();return c[E].apply(this,arguments)||false}))},hover:function(u,c){return this.mouseenter(u).mouseleave(c||u)}});var n={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};P.each(["live","die"],function(u,c){P.fn[c]=function(W,V,U,T){var S,O=0,E,Y,X=T||this.selector;T=T?this:P(this.context);if(typeof W==="object"&&!W.preventDefault){for(S in W){T[c](S,V,W[S],X)}return this}if(P.isFunction(V)){U=V;V=aA}for(W=(W||"").split(" ");(S=W[O++])!=null;){E=ah.exec(S);Y="";if(E){Y=E[0];S=S.replace(ah,"")}if(S==="hover"){W.push("mouseenter"+Y,"mouseleave"+Y)}else{E=S;if(S==="focus"||S==="blur"){W.push(n[S]+Y);S+=Y}else{S=(n[S]||S)+Y}if(c==="live"){Y=0;for(var A=T.length;Y<A;Y++){P.event.add(T[Y],"live."+ag(S,X),{data:V,selector:X,handler:U,origType:S,origHandler:U,preType:E})}}else{T.unbind("live."+ag(S,X),U)}}}return this}});P.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(u,c){P.fn[c]=function(E,A){if(A==null){A=E;E=null}return arguments.length>0?this.bind(c,E,A):this.trigger(c)};if(P.attrFn){P.attrFn[c]=true}});aw.attachEvent&&!aw.addEventListener&&P(aw).bind("unload",function(){for(var u in P.cache){if(P.cache[u].handle){try{P.event.remove(P.cache[u].handle.elem)}catch(c){}}}});(function(){function Y(ba,a9,a7,a8,a6,a5){a6=0;for(var bc=a8.length;a6<bc;a6++){var bb=a8[a6];if(bb){bb=bb[ba];for(var a4=false;bb;){if(bb.sizcache===a7){a4=a8[bb.sizset];break}if(bb.nodeType===1&&!a5){bb.sizcache=a7;bb.sizset=a6}if(bb.nodeName.toLowerCase()===a9){a4=bb;break}bb=bb[ba]}a8[a6]=a4}}}function X(ba,a9,a7,a8,a6,a5){a6=0;for(var bc=a8.length;a6<bc;a6++){var bb=a8[a6];if(bb){bb=bb[ba];for(var a4=false;bb;){if(bb.sizcache===a7){a4=a8[bb.sizset];break}if(bb.nodeType===1){if(!a5){bb.sizcache=a7;bb.sizset=a6}if(typeof a9!=="string"){if(bb===a9){a4=true;break}}else{if(E.filter(a9,[bb]).length>0){a4=bb;break}}}bb=bb[ba]}a8[a6]=a4}}}var W=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,U=0,T=Object.prototype.toString,S=false,O=true;[0,0].sort(function(){O=false;return 0});var E=function(bd,a9,a7,a8){a7=a7||[];var a6=a9=a9||G;if(a9.nodeType!==1&&a9.nodeType!==9){return[]}if(!bd||typeof bd!=="string"){return a7}var a5=[],bh,bg,a4,bc,be=true,ba=E.isXML(a9),bb=bd,bf;do{W.exec("");if(bh=W.exec(bb)){bb=bh[3];a5.push(bh[1]);if(bh[2]){bc=bh[3];break}}}while(bh);if(a5.length>1&&a3.exec(bd)){if(a5.length===2&&A.relative[a5[0]]){bg=V(a5[0]+a5[1],a9)}else{for(bg=A.relative[a5[0]]?[a9]:E(a5.shift(),a9);a5.length;){bd=a5.shift();if(A.relative[bd]){bd+=a5.shift()}bg=V(bd,bg)}}}else{if(!a8&&a5.length>1&&a9.nodeType===9&&!ba&&A.match.ID.test(a5[0])&&!A.match.ID.test(a5[a5.length-1])){bh=E.find(a5.shift(),a9,ba);a9=bh.expr?E.filter(bh.expr,bh.set)[0]:bh.set[0]}if(a9){bh=a8?{expr:a5.pop(),set:c(a8)}:E.find(a5.pop(),a5.length===1&&(a5[0]==="~"||a5[0]==="+")&&a9.parentNode?a9.parentNode:a9,ba);bg=bh.expr?E.filter(bh.expr,bh.set):bh.set;if(a5.length>0){a4=c(bg)}else{be=false}for(;a5.length;){bh=bf=a5.pop();if(A.relative[bf]){bh=a5.pop()}else{bf=""}if(bh==null){bh=a9}A.relative[bf](a4,bh,ba)}}else{a4=[]}}a4||(a4=bg);a4||E.error(bf||bd);if(T.call(a4)==="[object Array]"){if(be){if(a9&&a9.nodeType===1){for(bd=0;a4[bd]!=null;bd++){if(a4[bd]&&(a4[bd]===true||a4[bd].nodeType===1&&E.contains(a9,a4[bd]))){a7.push(bg[bd])}}}else{for(bd=0;a4[bd]!=null;bd++){a4[bd]&&a4[bd].nodeType===1&&a7.push(bg[bd])}}}else{a7.push.apply(a7,a4)}}else{c(a4,a7)}if(bc){E(bc,a6,a7,a8);E.uniqueSort(a7)}return a7};E.uniqueSort=function(a5){if(Z){S=O;a5.sort(Z);if(S){for(var a4=1;a4<a5.length;a4++){a5[a4]===a5[a4-1]&&a5.splice(a4--,1)}}}return a5};E.matches=function(a5,a4){return E(a5,null,null,a4)};E.matchesSelector=function(a5,a4){return E(a4,null,null,[a5]).length>0};E.find=function(ba,a9,a7){var a8;if(!ba){return[]}for(var a6=0,a5=A.order.length;a6<a5;a6++){var bc=A.order[a6],bb;if(bb=A.leftMatch[bc].exec(ba)){var a4=bb[1];bb.splice(1,1);if(a4.substr(a4.length-1)!=="\\"){bb[1]=(bb[1]||"").replace(/\\/g,"");a8=A.find[bc](bb,a9,a7);if(a8!=null){ba=ba.replace(A.match[bc],"");break}}}}a8||(a8=a9.getElementsByTagName("*"));return{set:a8,expr:ba}};E.filter=function(bf,ba,a8,a9){for(var a7=bf,a6=[],bj=ba,bi,a5,be=ba&&ba[0]&&E.isXML(ba[0]);bf&&ba.length;){for(var bg in A.filter){if((bi=A.leftMatch[bg].exec(bf))!=null&&bi[2]){var bc=A.filter[bg],bd,bh;bh=bi[1];a5=false;bi.splice(1,1);if(bh.substr(bh.length-1)!=="\\"){if(bj===a6){a6=[]}if(A.preFilter[bg]){if(bi=A.preFilter[bg](bi,bj,a8,a6,a9,be)){if(bi===true){continue}}else{a5=bd=true}}if(bi){for(var bb=0;(bh=bj[bb])!=null;bb++){if(bh){bd=bc(bh,bi,bb,bj);var a4=a9^!!bd;if(a8&&bd!=null){if(a4){a5=true}else{bj[bb]=false}}else{if(a4){a6.push(bh);a5=true}}}}}if(bd!==aA){a8||(bj=a6);bf=bf.replace(A.match[bg],"");if(!a5){return[]}break}}}}if(bf===a7){if(a5==null){E.error(bf)}else{break}}a7=bf}return bj};E.error=function(a4){throw"Syntax error, unrecognized expression: "+a4};var A=E.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a4){return a4.getAttribute("href")}},relative:{"+":function(a6,a5){var a9=typeof a5==="string",a4=a9&&!/\W/.test(a5);a9=a9&&!a4;if(a4){a5=a5.toLowerCase()}a4=0;for(var a8=a6.length,a7;a4<a8;a4++){if(a7=a6[a4]){for(;(a7=a7.previousSibling)&&a7.nodeType!==1;){}a6[a4]=a9||a7&&a7.nodeName.toLowerCase()===a5?a7||false:a7===a5}}a9&&E.filter(a5,a6,true)},">":function(a6,a5){var a9=typeof a5==="string",a4,a8=0,a7=a6.length;if(a9&&!/\W/.test(a5)){for(a5=a5.toLowerCase();a8<a7;a8++){if(a4=a6[a8]){a9=a4.parentNode;a6[a8]=a9.nodeName.toLowerCase()===a5?a9:false}}}else{for(;a8<a7;a8++){if(a4=a6[a8]){a6[a8]=a9?a4.parentNode:a4.parentNode===a5}}a9&&E.filter(a5,a6,true)}},"":function(a6,a5,a9){var a4=U++,a8=X,a7;if(typeof a5==="string"&&!/\W/.test(a5)){a7=a5=a5.toLowerCase();a8=Y}a8("parentNode",a5,a4,a6,a7,a9)},"~":function(a6,a5,a9){var a4=U++,a8=X,a7;if(typeof a5==="string"&&!/\W/.test(a5)){a7=a5=a5.toLowerCase();a8=Y}a8("previousSibling",a5,a4,a6,a7,a9)}},find:{ID:function(a5,a4,a6){if(typeof a4.getElementById!=="undefined"&&!a6){return(a5=a4.getElementById(a5[1]))&&a5.parentNode?[a5]:[]}},NAME:function(a6,a5){if(typeof a5.getElementsByName!=="undefined"){for(var a9=[],a4=a5.getElementsByName(a6[1]),a8=0,a7=a4.length;a8<a7;a8++){a4[a8].getAttribute("name")===a6[1]&&a9.push(a4[a8])}return a9.length===0?null:a9}},TAG:function(a5,a4){return a4.getElementsByTagName(a5[1])}},preFilter:{CLASS:function(a7,a5,ba,a4,a9,a8){a7=" "+a7[1].replace(/\\/g,"")+" ";if(a8){return a7}a8=0;for(var a6;(a6=a5[a8])!=null;a8++){if(a6){if(a9^(a6.className&&(" "+a6.className+" ").replace(/[\t\n]/g," ").indexOf(a7)>=0)){ba||a4.push(a6)}else{if(ba){a5[a8]=false}}}}return false},ID:function(a4){return a4[1].replace(/\\/g,"")},TAG:function(a4){return a4[1].toLowerCase()},CHILD:function(a5){if(a5[1]==="nth"){var a4=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a5[2]==="even"&&"2n"||a5[2]==="odd"&&"2n+1"||!/\D/.test(a5[2])&&"0n+"+a5[2]||a5[2]);a5[2]=a4[1]+(a4[2]||1)-0;a5[3]=a4[3]-0}a5[0]=U++;return a5},ATTR:function(a6,a5,a9,a4,a8,a7){a5=a6[1].replace(/\\/g,"");if(!a7&&A.attrMap[a5]){a6[1]=A.attrMap[a5]}if(a6[2]==="~="){a6[4]=" "+a6[4]+" "}return a6},PSEUDO:function(a6,a5,a8,a4,a7){if(a6[1]==="not"){if((W.exec(a6[3])||"").length>1||/^\w/.test(a6[3])){a6[3]=E(a6[3],null,null,a5)}else{a6=E.filter(a6[3],a5,a8,true^a7);a8||a4.push.apply(a4,a6);return false}}else{if(A.match.POS.test(a6[0])||A.match.CHILD.test(a6[0])){return true}}return a6},POS:function(a4){a4.unshift(true);return a4}},filters:{enabled:function(a4){return a4.disabled===false&&a4.type!=="hidden"},disabled:function(a4){return a4.disabled===true},checked:function(a4){return a4.checked===true},selected:function(a4){return a4.selected===true},parent:function(a4){return !!a4.firstChild},empty:function(a4){return !a4.firstChild},has:function(a5,a4,a6){return !!E(a6[3],a5).length},header:function(a4){return/h\d/i.test(a4.nodeName)},text:function(a4){return"text"===a4.type},radio:function(a4){return"radio"===a4.type},checkbox:function(a4){return"checkbox"===a4.type},file:function(a4){return"file"===a4.type},password:function(a4){return"password"===a4.type},submit:function(a4){return"submit"===a4.type},image:function(a4){return"image"===a4.type},reset:function(a4){return"reset"===a4.type},button:function(a4){return"button"===a4.type||a4.nodeName.toLowerCase()==="button"},input:function(a4){return/input|select|textarea|button/i.test(a4.nodeName)}},setFilters:{first:function(a5,a4){return a4===0},last:function(a6,a5,a7,a4){return a5===a4.length-1},even:function(a5,a4){return a4%2===0},odd:function(a5,a4){return a4%2===1},lt:function(a5,a4,a6){return a4<a6[3]-0},gt:function(a5,a4,a6){return a4>a6[3]-0},nth:function(a5,a4,a6){return a6[3]-0===a4},eq:function(a5,a4,a6){return a6[3]-0===a4}},filter:{PSEUDO:function(a6,a5,a9,a4){var a8=a5[1],a7=A.filters[a8];if(a7){return a7(a6,a9,a5,a4)}else{if(a8==="contains"){return(a6.textContent||a6.innerText||E.getText([a6])||"").indexOf(a5[3])>=0}else{if(a8==="not"){a5=a5[3];a9=0;for(a4=a5.length;a9<a4;a9++){if(a5[a9]===a6){return false}}return true}else{E.error("Syntax error, unrecognized expression: "+a8)}}}},CHILD:function(a8,a6){var bb=a6[1],a5=a8;switch(bb){case"only":case"first":for(;a5=a5.previousSibling;){if(a5.nodeType===1){return false}}if(bb==="first"){return true}a5=a8;case"last":for(;a5=a5.nextSibling;){if(a5.nodeType===1){return false}}return true;case"nth":bb=a6[2];var ba=a6[3];if(bb===1&&ba===0){return true}var a9=a6[0],a7=a8.parentNode;if(a7&&(a7.sizcache!==a9||!a8.nodeIndex)){var a4=0;for(a5=a7.firstChild;a5;a5=a5.nextSibling){if(a5.nodeType===1){a5.nodeIndex=++a4}}a7.sizcache=a9}a5=a8.nodeIndex-ba;return bb===0?a5===0:a5%bb===0&&a5/bb>=0}},ID:function(a5,a4){return a5.nodeType===1&&a5.getAttribute("id")===a4},TAG:function(a5,a4){return a4==="*"&&a5.nodeType===1||a5.nodeName.toLowerCase()===a4},CLASS:function(a5,a4){return(" "+(a5.className||a5.getAttribute("class"))+" ").indexOf(a4)>-1},ATTR:function(a6,a5){var a9=a5[1];a9=A.attrHandle[a9]?A.attrHandle[a9](a6):a6[a9]!=null?a6[a9]:a6.getAttribute(a9);var a4=a9+"",a8=a5[2],a7=a5[4];return a9==null?a8==="!=":a8==="="?a4===a7:a8==="*="?a4.indexOf(a7)>=0:a8==="~="?(" "+a4+" ").indexOf(a7)>=0:!a7?a4&&a9!==false:a8==="!="?a4!==a7:a8==="^="?a4.indexOf(a7)===0:a8==="$="?a4.substr(a4.length-a7.length)===a7:a8==="|="?a4===a7||a4.substr(0,a7.length+1)===a7+"-":false},POS:function(a6,a5,a8,a4){var a7=A.setFilters[a5[2]];if(a7){return a7(a6,a8,a5,a4)}}}},a3=A.match.POS,ab=function(a5,a4){return"\\"+(a4-0+1)},u;for(u in A.match){A.match[u]=RegExp(A.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);A.leftMatch[u]=RegExp(/(^(?:.|\r|\n)*?)/.source+A.match[u].source.replace(/\\(\d+)/g,ab))}var c=function(a5,a4){a5=Array.prototype.slice.call(a5,0);if(a4){a4.push.apply(a4,a5);return a4}return a5};try{Array.prototype.slice.call(G.documentElement.childNodes,0)}catch(aa){c=function(a6,a5){var a8=a5||[],a4=0;if(T.call(a6)==="[object Array]"){Array.prototype.push.apply(a8,a6)}else{if(typeof a6.length==="number"){for(var a7=a6.length;a4<a7;a4++){a8.push(a6[a4])}}else{for(;a6[a4];a4++){a8.push(a6[a4])}}}return a8}}var Z,a2;if(G.documentElement.compareDocumentPosition){Z=function(a5,a4){if(a5===a4){S=true;return 0}if(!a5.compareDocumentPosition||!a4.compareDocumentPosition){return a5.compareDocumentPosition?-1:1}return a5.compareDocumentPosition(a4)&4?-1:1}}else{Z=function(a7,a5){var ba=[],a4=[],a9=a7.parentNode,a8=a5.parentNode,a6=a9;if(a7===a5){S=true;return 0}else{if(a9===a8){return a2(a7,a5)}else{if(a9){if(!a8){return 1}}else{return -1}}}for(;a6;){ba.unshift(a6);a6=a6.parentNode}for(a6=a8;a6;){a4.unshift(a6);a6=a6.parentNode}a9=ba.length;a8=a4.length;for(a6=0;a6<a9&&a6<a8;a6++){if(ba[a6]!==a4[a6]){return a2(ba[a6],a4[a6])}}return a6===a9?a2(a7,a4[a6],-1):a2(ba[a6],a5,1)};a2=function(a5,a4,a6){if(a5===a4){return a6}for(a5=a5.nextSibling;a5;){if(a5===a4){return -1}a5=a5.nextSibling}return 1}}E.getText=function(a6){for(var a5="",a7,a4=0;a6[a4];a4++){a7=a6[a4];if(a7.nodeType===3||a7.nodeType===4){a5+=a7.nodeValue}else{if(a7.nodeType!==8){a5+=E.getText(a7.childNodes)}}}return a5};(function(){var a5=G.createElement("div"),a4="script"+(new Date).getTime();a5.innerHTML="<a name='"+a4+"'/>";var a6=G.documentElement;a6.insertBefore(a5,a6.firstChild);if(G.getElementById(a4)){A.find.ID=function(a7,a9,a8){if(typeof a9.getElementById!=="undefined"&&!a8){return(a9=a9.getElementById(a7[1]))?a9.id===a7[1]||typeof a9.getAttributeNode!=="undefined"&&a9.getAttributeNode("id").nodeValue===a7[1]?[a9]:aA:[]}};A.filter.ID=function(a7,a9){var a8=typeof a7.getAttributeNode!=="undefined"&&a7.getAttributeNode("id");return a7.nodeType===1&&a8&&a8.nodeValue===a9}}a6.removeChild(a5);a6=a5=null})();(function(){var a4=G.createElement("div");a4.appendChild(G.createComment(""));if(a4.getElementsByTagName("*").length>0){A.find.TAG=function(a6,a9){var a5=a9.getElementsByTagName(a6[1]);if(a6[1]==="*"){for(var a8=[],a7=0;a5[a7];a7++){a5[a7].nodeType===1&&a8.push(a5[a7])}a5=a8}return a5}}a4.innerHTML="<a href='#'></a>";if(a4.firstChild&&typeof a4.firstChild.getAttribute!=="undefined"&&a4.firstChild.getAttribute("href")!=="#"){A.attrHandle.href=function(a5){return a5.getAttribute("href",2)}}a4=null})();G.querySelectorAll&&function(){var a5=E,a4=G.createElement("div");a4.innerHTML="<p class='TEST'></p>";if(!(a4.querySelectorAll&&a4.querySelectorAll(".TEST").length===0)){E=function(a8,bc,bb,a9){bc=bc||G;if(!a9&&!E.isXML(bc)){if(bc.nodeType===9){try{return c(bc.querySelectorAll(a8),bb)}catch(a7){}}else{if(bc.nodeType===1&&bc.nodeName.toLowerCase()!=="object"){var be=bc.id,ba=bc.id="__sizzle__";try{return c(bc.querySelectorAll("#"+ba+" "+a8),bb)}catch(bd){}finally{if(be){bc.id=be}else{bc.removeAttribute("id")}}}}}return a5(a8,bc,bb,a9)};for(var a6 in a5){E[a6]=a5[a6]}a4=null}}();(function(){var a6=G.documentElement,a5=a6.matchesSelector||a6.mozMatchesSelector||a6.webkitMatchesSelector||a6.msMatchesSelector,a7=false;try{a5.call(G.documentElement,":sizzle")}catch(a4){a7=true}if(a5){E.matchesSelector=function(ba,a9){try{if(a7||!A.match.PSEUDO.test(a9)){return a5.call(ba,a9)}}catch(a8){}return E(a9,null,null,[ba]).length>0}}})();(function(){var a4=G.createElement("div");a4.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!a4.getElementsByClassName||a4.getElementsByClassName("e").length===0)){a4.lastChild.className="e";if(a4.getElementsByClassName("e").length!==1){A.order.splice(1,0,"CLASS");A.find.CLASS=function(a6,a7,a5){if(typeof a7.getElementsByClassName!=="undefined"&&!a5){return a7.getElementsByClassName(a6[1])}};a4=null}}})();E.contains=G.documentElement.contains?function(a5,a4){return a5!==a4&&(a5.contains?a5.contains(a4):true)}:function(a5,a4){return !!(a5.compareDocumentPosition(a4)&16)};E.isXML=function(a4){return(a4=(a4?a4.ownerDocument||a4:0).documentElement)?a4.nodeName!=="HTML":false};var V=function(a7,a5){for(var ba=[],a4="",a9,a8=a5.nodeType?[a5]:a5;a9=A.match.PSEUDO.exec(a7);){a4+=a9[0];a7=a7.replace(A.match.PSEUDO,"")}a7=A.relative[a7]?a7+"*":a7;a9=0;for(var a6=a8.length;a9<a6;a9++){E(a7,a8[a9],ba)}return E.filter(a4,ba)};P.find=E;P.expr=E.selectors;P.expr[":"]=P.expr.filters;P.unique=E.uniqueSort;P.text=E.getText;P.isXMLDoc=E.isXML;P.contains=E.contains})();var F=/Until$/,q=/^(?:parents|prevUntil|prevAll)/,e=/,/,Q=/^.[^:#\[\.,]*$/,aT=Array.prototype.slice,ay=P.expr.match.POS;P.fn.extend({find:function(u){for(var c=this.pushStack("","find",u),T=0,S=0,O=this.length;S<O;S++){T=c.length;P.find(u,this[S],c);if(S>0){for(var E=T;E<c.length;E++){for(var A=0;A<T;A++){if(c[A]===c[E]){c.splice(E--,1);break}}}}}return c},has:function(u){var c=P(u);return this.filter(function(){for(var E=0,A=c.length;E<A;E++){if(P.contains(this,c[E])){return true}}})},not:function(c){return this.pushStack(i(this,c,false),"not",c)},filter:function(c){return this.pushStack(i(this,c,true),"filter",c)},is:function(c){return !!c&&P.filter(c,this).length>0},closest:function(V,U){var T=[],S,O,E=this[0];if(P.isArray(V)){var A={},u,c=1;if(E&&V.length){S=0;for(O=V.length;S<O;S++){u=V[S];A[u]||(A[u]=P.expr.match.POS.test(u)?P(u,U||this.context):u)}for(;E&&E.ownerDocument&&E!==U;){for(u in A){S=A[u];if(S.jquery?S.index(E)>-1:P(E).is(S)){T.push({selector:u,elem:E,level:c})}}E=E.parentNode;c++}}return T}A=ay.test(V)?P(V,U||this.context):null;S=0;for(O=this.length;S<O;S++){for(E=this[S];E;){if(A?A.index(E)>-1:P.find.matchesSelector(E,V)){T.push(E);break}else{E=E.parentNode;if(!E||!E.ownerDocument||E===U){break}}}}T=T.length>1?P.unique(T):T;return this.pushStack(T,"closest",V)},index:function(c){if(!c||typeof c==="string"){return P.inArray(this[0],c?P(c):this.parent().children())}return P.inArray(c.jquery?c[0]:c,this)},add:function(u,c){var E=typeof u==="string"?P(u,c||this.context):P.makeArray(u),A=P.merge(this.get(),E);return this.pushStack(!E[0]||!E[0].parentNode||E[0].parentNode.nodeType===11||!A[0]||!A[0].parentNode||A[0].parentNode.nodeType===11?A:P.unique(A))},andSelf:function(){return this.add(this.prevObject)}});P.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return P.dir(c,"parentNode")},parentsUntil:function(u,c,A){return P.dir(u,"parentNode",A)},next:function(c){return P.nth(c,2,"nextSibling")},prev:function(c){return P.nth(c,2,"previousSibling")},nextAll:function(c){return P.dir(c,"nextSibling")},prevAll:function(c){return P.dir(c,"previousSibling")},nextUntil:function(u,c,A){return P.dir(u,"nextSibling",A)},prevUntil:function(u,c,A){return P.dir(u,"previousSibling",A)},siblings:function(c){return P.sibling(c.parentNode.firstChild,c)},children:function(c){return P.sibling(c.firstChild)},contents:function(c){return P.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:P.makeArray(c.childNodes)}},function(u,c){P.fn[u]=function(O,E){var A=P.map(this,c,O);F.test(u)||(E=O);if(E&&typeof E==="string"){A=P.filter(E,A)}A=this.length>1?P.unique(A):A;if((this.length>1||e.test(E))&&q.test(u)){A=A.reverse()}return this.pushStack(A,u,aT.call(arguments).join(","))}});P.extend({filter:function(u,c,A){if(A){u=":not("+u+")"}return c.length===1?P.find.matchesSelector(c[0],u)?[c[0]]:[]:P.find.matches(u,c)},dir:function(u,c,E){var A=[];for(u=u[c];u&&u.nodeType!==9&&(E===aA||u.nodeType!==1||!P(u).is(E));){u.nodeType===1&&A.push(u);u=u[c]}return A},nth:function(u,c,E){c=c||1;for(var A=0;u;u=u[E]){if(u.nodeType===1&&++A===c){break}}return u},sibling:function(u,c){for(var A=[];u;u=u.nextSibling){u.nodeType===1&&u!==c&&A.push(u)}return A}});var b=/ jQuery\d+="(?:\d+|null)"/g,aN=/^\s+/,aR=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,aD=/<([\w:]+)/,aF=/<tbody/i,an=/<|&#?\w+;/,aV=/<(?:script|object|embed|option|style)/i,aJ=/checked\s*(?:[^=]|=\s*.checked.)/i,H=/\=([^="'>\s]+\/)>/g,ap={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};ap.optgroup=ap.option;ap.tbody=ap.tfoot=ap.colgroup=ap.caption=ap.thead;ap.th=ap.td;if(!P.support.htmlSerialize){ap._default=[1,"div<div>","</div>"]}P.fn.extend({text:function(c){if(P.isFunction(c)){return this.each(function(u){var A=P(this);A.text(c.call(this,u,A.text()))})}if(typeof c!=="object"&&c!==aA){return this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(c))}return P.text(this)},wrapAll:function(u){if(P.isFunction(u)){return this.each(function(A){P(this).wrapAll(u.call(this,A))})}if(this[0]){var c=P(u,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var A=this;A.firstChild&&A.firstChild.nodeType===1;){A=A.firstChild}return A}).append(this)}return this},wrapInner:function(c){if(P.isFunction(c)){return this.each(function(u){P(this).wrapInner(c.call(this,u))})}return this.each(function(){var u=P(this),A=u.contents();A.length?A.wrapAll(c):u.append(c)})},wrap:function(c){return this.each(function(){P(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){P.nodeName(this,"body")||P(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(u){this.parentNode.insertBefore(u,this)})}else{if(arguments.length){var c=P(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(u){this.parentNode.insertBefore(u,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,P(arguments[0]).toArray());return c}}},remove:function(u,c){for(var E=0,A;(A=this[E])!=null;E++){if(!u||P.filter(u,[A]).length){if(!c&&A.nodeType===1){P.cleanData(A.getElementsByTagName("*"));P.cleanData([A])}A.parentNode&&A.parentNode.removeChild(A)}}return this},empty:function(){for(var u=0,c;(c=this[u])!=null;u++){for(c.nodeType===1&&P.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild)}}return this},clone:function(u){var c=this.map(function(){if(!P.support.noCloneEvent&&!P.isXMLDoc(this)){var E=this.outerHTML,A=this.ownerDocument;if(!E){E=A.createElement("div");E.appendChild(this.cloneNode(true));E=E.innerHTML}return P.clean([E.replace(b,"").replace(H,'="$1">').replace(aN,"")],A)[0]}else{return this.cloneNode(true)}});if(u===true){aX(this,c);aX(this.find("*"),c.find("*"))}return c},html:function(u){if(u===aA){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(b,""):null}else{if(typeof u==="string"&&!aV.test(u)&&(P.support.leadingWhitespace||!aN.test(u))&&!ap[(aD.exec(u)||["",""])[1].toLowerCase()]){u=u.replace(aR,"<$1></$2>");try{for(var c=0,E=this.length;c<E;c++){if(this[c].nodeType===1){P.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=u}}}catch(A){this.empty().append(u)}}else{P.isFunction(u)?this.each(function(S){var O=P(this);O.html(u.call(this,S,O.html()))}):this.empty().append(u)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(P.isFunction(c)){return this.each(function(u){var E=P(this),A=E.html();E.replaceWith(c.call(this,u,A))})}if(typeof c!=="string"){c=P(c).detach()}return this.each(function(){var u=this.nextSibling,A=this.parentNode;P(this).remove();u?P(u).before(c):P(A).append(c)})}else{return this.pushStack(P(P.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(V,U,T){var S,O,E=V[0],A=[],u;if(!P.support.checkClone&&arguments.length===3&&typeof E==="string"&&aJ.test(E)){return this.each(function(){P(this).domManip(V,U,T,true)})}if(P.isFunction(E)){return this.each(function(X){var W=P(this);V[0]=E.call(this,X,U?W.html():aA);W.domManip(V,U,T)})}if(this[0]){S=E&&E.parentNode;S=P.support.parentNode&&S&&S.nodeType===11&&S.childNodes.length===this.length?{fragment:S}:P.buildFragment(V,this,A);u=S.fragment;if(O=u.childNodes.length===1?u=u.firstChild:u.firstChild){U=U&&P.nodeName(O,"tr");O=0;for(var c=this.length;O<c;O++){T.call(U?P.nodeName(this[O],"table")?this[O].getElementsByTagName("tbody")[0]||this[O].appendChild(this[O].ownerDocument.createElement("tbody")):this[O]:this[O],O>0||S.cacheable||this.length>1?u.cloneNode(true):u)}}A.length&&P.each(A,z)}return this}});P.buildFragment=function(u,c,S){var O,E,A;c=c&&c[0]?c[0].ownerDocument||c[0]:G;if(u.length===1&&typeof u[0]==="string"&&u[0].length<512&&c===G&&!aV.test(u[0])&&(P.support.checkClone||!aJ.test(u[0]))){E=true;if(A=P.fragments[u[0]]){if(A!==1){O=A}}}if(!O){O=c.createDocumentFragment();P.clean(u,c,O,S)}if(E){P.fragments[u[0]]=A?O:1}return{fragment:O,cacheable:E}};P.fragments={};P.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(u,c){P.fn[u]=function(T){var S=[];T=P(T);var O=this.length===1&&this[0].parentNode;if(O&&O.nodeType===11&&O.childNodes.length===1&&T.length===1){T[c](this[0]);return this}else{O=0;for(var E=T.length;O<E;O++){var A=(O>0?this.clone(true):this).get();P(T[O])[c](A);S=S.concat(A)}return this.pushStack(S,u,T.selector)}}});P.extend({clean:function(V,U,T,S){U=U||G;if(typeof U.createElement==="undefined"){U=U.ownerDocument||U[0]&&U[0].ownerDocument||G}for(var O=[],E=0,A;(A=V[E])!=null;E++){if(typeof A==="number"){A+=""}if(A){if(typeof A==="string"&&!an.test(A)){A=U.createTextNode(A)}else{if(typeof A==="string"){A=A.replace(aR,"<$1></$2>");var u=(aD.exec(A)||["",""])[1].toLowerCase(),c=ap[u]||ap._default,X=c[0],W=U.createElement("div");for(W.innerHTML=c[1]+A+c[2];X--;){W=W.lastChild}if(!P.support.tbody){X=aF.test(A);u=u==="table"&&!X?W.firstChild&&W.firstChild.childNodes:c[1]==="<table>"&&!X?W.childNodes:[];for(c=u.length-1;c>=0;--c){P.nodeName(u[c],"tbody")&&!u[c].childNodes.length&&u[c].parentNode.removeChild(u[c])}}!P.support.leadingWhitespace&&aN.test(A)&&W.insertBefore(U.createTextNode(aN.exec(A)[0]),W.firstChild);A=W.childNodes}}if(A.nodeType){O.push(A)}else{O=P.merge(O,A)}}}if(T){for(E=0;O[E];E++){if(S&&P.nodeName(O[E],"script")&&(!O[E].type||O[E].type.toLowerCase()==="text/javascript")){S.push(O[E].parentNode?O[E].parentNode.removeChild(O[E]):O[E])}else{O[E].nodeType===1&&O.splice.apply(O,[E+1,0].concat(P.makeArray(O[E].getElementsByTagName("script"))));T.appendChild(O[E])}}}return O},cleanData:function(V){for(var U,T,S=P.cache,O=P.event.special,E=P.support.deleteExpando,A=0,u;(u=V[A])!=null;A++){if(!(u.nodeName&&P.noData[u.nodeName.toLowerCase()])){if(T=u[P.expando]){if((U=S[T])&&U.events){for(var c in U.events){O[c]?P.event.remove(u,c):P.removeEvent(u,c,U.handle)}}if(E){delete u[P.expando]}else{u.removeAttribute&&u.removeAttribute(P.expando)}delete S[T]}}}}});var at=/alpha\([^)]*\)/i,r=/opacity=([^)]*)/,f=/-([a-z])/ig,aU=/([A-Z])/g,L=/^-?\d+(?:px)?$/i,aH=/^-?\d/,aq={position:"absolute",visibility:"hidden",display:"block"},m=["Left","Right"],a1=["Top","Bottom"],ai,J=G.defaultView&&G.defaultView.getComputedStyle,t=function(u,c){return c.toUpperCase()};P.fn.css=function(u,c){if(arguments.length===2&&c===aA){return this}return P.access(this,u,c,true,function(O,E,A){return A!==aA?P.style(O,E,A):P.css(O,E)})};P.extend({cssHooks:{opacity:{get:function(u,c){if(c){var A=ai(u,"opacity","opacity");return A===""?"1":A}else{return u.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":P.support.cssFloat?"cssFloat":"styleFloat"},style:function(V,U,T,S){if(!(!V||V.nodeType===3||V.nodeType===8||!V.style)){var O,E=P.camelCase(U),A=V.style,u=P.cssHooks[E];U=P.cssProps[E]||E;if(T!==aA){if(!(typeof T==="number"&&isNaN(T)||T==null)){if(typeof T==="number"&&!P.cssNumber[E]){T+="px"}if(!u||!("set" in u)||(T=u.set(V,T))!==aA){try{A[U]=T}catch(c){}}}}else{if(u&&"get" in u&&(O=u.get(V,false,S))!==aA){return O}return A[U]}}},css:function(u,c,S){var O,E=P.camelCase(c),A=P.cssHooks[E];c=P.cssProps[E]||E;if(A&&"get" in A&&(O=A.get(u,true,S))!==aA){return O}else{if(ai){return ai(u,c,E)}}},swap:function(u,c,O){var E={},A;for(A in c){E[A]=u.style[A];u.style[A]=c[A]}O.call(u);for(A in c){u.style[A]=E[A]}},camelCase:function(c){return c.replace(f,t)}});P.curCSS=P.css;P.each(["height","width"],function(u,c){P.cssHooks[c]={get:function(S,O,E){var A;if(O){if(S.offsetWidth!==0){A=aL(S,c,E)}else{P.swap(S,aq,function(){A=aL(S,c,E)})}return A+"px"}},set:function(E,A){if(L.test(A)){A=parseFloat(A);if(A>=0){return A+"px"}}else{return A}}}});if(!P.support.opacity){P.cssHooks.opacity={get:function(u,c){return r.test((c&&u.currentStyle?u.currentStyle.filter:u.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(u,c){var O=u.style;O.zoom=1;var E=P.isNaN(c)?"":"alpha(opacity="+c*100+")",A=O.filter||"";O.filter=at.test(A)?A.replace(at,E):O.filter+" "+E}}}if(J){ai=function(u,c,E){var A;E=E.replace(aU,"-$1").toLowerCase();if(!(c=u.ownerDocument.defaultView)){return aA}if(c=c.getComputedStyle(u,null)){A=c.getPropertyValue(E);if(A===""&&!P.contains(u.ownerDocument.documentElement,u)){A=P.style(u,E)}}return A}}else{if(G.documentElement.currentStyle){ai=function(u,c){var S,O,E=u.currentStyle&&u.currentStyle[c],A=u.style;if(!L.test(E)&&aH.test(E)){S=A.left;O=u.runtimeStyle.left;u.runtimeStyle.left=u.currentStyle.left;A.left=c==="fontSize"?"1em":E||0;E=A.pixelLeft+"px";A.left=S;u.runtimeStyle.left=O}return E}}}if(P.expr&&P.expr.filters){P.expr.filters.hidden=function(u){var c=u.offsetHeight;return u.offsetWidth===0&&c===0||!P.support.reliableHiddenOffsets&&(u.style.display||P.css(u,"display"))==="none"};P.expr.filters.visible=function(c){return !P.expr.filters.hidden(c)}}var h=P.now(),aW=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,aK=/^(?:select|textarea)/i,au=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,M=/^(?:GET|HEAD|DELETE)$/,aQ=/\[\]$/,al=/\=\?(&|$)/,K=/\?/,x=/([?&])_=[^&]*/,k=/^(\w+:)?\/\/([^\/?#]+)/,aZ=/%20/g,aO=/#.*$/,w=P.fn.load;P.fn.extend({load:function(u,c,S){if(typeof u!=="string"&&w){return w.apply(this,arguments)}else{if(!this.length){return this}}var O=u.indexOf(" ");if(O>=0){var E=u.slice(O,u.length);u=u.slice(0,O)}O="GET";if(c){if(P.isFunction(c)){S=c;c=null}else{if(typeof c==="object"){c=P.param(c,P.ajaxSettings.traditional);O="POST"}}}var A=this;P.ajax({url:u,type:O,dataType:"html",data:c,complete:function(U,T){if(T==="success"||T==="notmodified"){A.html(E?P("<div>").append(U.responseText.replace(aW,"")).find(E):U.responseText)}S&&A.each(S,[U.responseText,T,U])}});return this},serialize:function(){return P.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?P.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aK.test(this.nodeName)||au.test(this.type))}).map(function(u,c){var A=P(this).val();return A==null?null:P.isArray(A)?P.map(A,function(E){return{name:c.name,value:E}}):{name:c.name,value:A}}).get()}});P.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(u,c){P.fn[c]=function(A){return this.bind(c,A)}});P.extend({get:function(u,c,E,A){if(P.isFunction(c)){A=A||E;E=c;c=null}return P.ajax({type:"GET",url:u,data:c,success:E,dataType:A})},getScript:function(u,c){return P.get(u,null,c,"script")},getJSON:function(u,c,A){return P.get(u,c,A,"json")},post:function(u,c,E,A){if(P.isFunction(c)){A=A||E;E=c;c={}}return P.ajax({type:"POST",url:u,data:c,success:E,dataType:A})},ajaxSetup:function(c){P.extend(P.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new aw.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a6){var a5=P.extend(true,{},P.ajaxSettings,a6),a4,a3,a2,aa=a5.type.toUpperCase(),Y=M.test(aa);a5.url=a5.url.replace(aO,"");a5.context=a6&&a6.context!=null?a6.context:a5;if(a5.data&&a5.processData&&typeof a5.data!=="string"){a5.data=P.param(a5.data,a5.traditional)}if(a5.dataType==="jsonp"){if(aa==="GET"){al.test(a5.url)||(a5.url+=(K.test(a5.url)?"&":"?")+(a5.jsonp||"callback")+"=?")}else{if(!a5.data||!al.test(a5.data)){a5.data=(a5.data?a5.data+"&":"")+(a5.jsonp||"callback")+"=?"}}a5.dataType="json"}if(a5.dataType==="json"&&(a5.data&&al.test(a5.data)||al.test(a5.url))){a4=a5.jsonpCallback||"jsonp"+h++;if(a5.data){a5.data=(a5.data+"").replace(al,"="+a4+"$1")}a5.url=a5.url.replace(al,"="+a4+"$1");a5.dataType="script";var X=aw[a4];aw[a4]=function(a7){a2=a7;P.handleSuccess(a5,A,a3,a2);P.handleComplete(a5,A,a3,a2);if(P.isFunction(X)){X(a7)}else{aw[a4]=aA;try{delete aw[a4]}catch(a8){}}O&&O.removeChild(U)}}if(a5.dataType==="script"&&a5.cache===null){a5.cache=false}if(a5.cache===false&&aa==="GET"){var W=P.now(),S=a5.url.replace(x,"$1_="+W);a5.url=S+(S===a5.url?(K.test(a5.url)?"&":"?")+"_="+W:"")}if(a5.data&&aa==="GET"){a5.url+=(K.test(a5.url)?"&":"?")+a5.data}a5.global&&P.active++===0&&P.event.trigger("ajaxStart");W=(W=k.exec(a5.url))&&(W[1]&&W[1]!==location.protocol||W[2]!==location.host);if(a5.dataType==="script"&&aa==="GET"&&W){var O=G.getElementsByTagName("head")[0]||G.documentElement,U=G.createElement("script");if(a5.scriptCharset){U.charset=a5.scriptCharset}U.src=a5.url;if(!a4){var T=false;U.onload=U.onreadystatechange=function(){if(!T&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){T=true;P.handleSuccess(a5,A,a3,a2);P.handleComplete(a5,A,a3,a2);U.onload=U.onreadystatechange=null;O&&U.parentNode&&O.removeChild(U)}}}O.insertBefore(U,O.firstChild);return aA}var u=false,A=a5.xhr();if(A){a5.username?A.open(aa,a5.url,a5.async,a5.username,a5.password):A.open(aa,a5.url,a5.async);try{if(a5.data!=null&&!Y||a6&&a6.contentType){A.setRequestHeader("Content-Type",a5.contentType)}if(a5.ifModified){P.lastModified[a5.url]&&A.setRequestHeader("If-Modified-Since",P.lastModified[a5.url]);P.etag[a5.url]&&A.setRequestHeader("If-None-Match",P.etag[a5.url])}W||A.setRequestHeader("X-Requested-With","XMLHttpRequest");A.setRequestHeader("Accept",a5.dataType&&a5.accepts[a5.dataType]?a5.accepts[a5.dataType]+", */*; q=0.01":a5.accepts._default)}catch(E){}if(a5.beforeSend&&a5.beforeSend.call(a5.context,A,a5)===false){a5.global&&P.active--===1&&P.event.trigger("ajaxStop");A.abort();return false}a5.global&&P.triggerGlobal(a5,"ajaxSend",[A,a5]);var c=A.onreadystatechange=function(a7){if(!A||A.readyState===0||a7==="abort"){u||P.handleComplete(a5,A,a3,a2);u=true;if(A){A.onreadystatechange=P.noop}}else{if(!u&&A&&(A.readyState===4||a7==="timeout")){u=true;A.onreadystatechange=P.noop;a3=a7==="timeout"?"timeout":!P.httpSuccess(A)?"error":a5.ifModified&&P.httpNotModified(A,a5.url)?"notmodified":"success";var a9;if(a3==="success"){try{a2=P.httpData(A,a5.dataType,a5)}catch(a8){a3="parsererror";a9=a8}}if(a3==="success"||a3==="notmodified"){a4||P.handleSuccess(a5,A,a3,a2)}else{P.handleError(a5,A,a3,a9)}a4||P.handleComplete(a5,A,a3,a2);a7==="timeout"&&A.abort();if(a5.async){A=null}}}};try{var ab=A.abort;A.abort=function(){A&&ab.call&&ab.call(A);c("abort")}}catch(Z){}a5.async&&a5.timeout>0&&setTimeout(function(){A&&!u&&c("timeout")},a5.timeout);try{A.send(Y||a5.data==null?null:a5.data)}catch(V){P.handleError(a5,A,null,V);P.handleComplete(a5,A,a3,a2)}a5.async||c();return A}},param:function(u,c){var O=[],E=function(T,S){S=P.isFunction(S)?S():S;O[O.length]=encodeURIComponent(T)+"="+encodeURIComponent(S)};if(c===aA){c=P.ajaxSettings.traditional}if(P.isArray(u)||u.jquery){P.each(u,function(){E(this.name,this.value)})}else{for(var A in u){I(A,u[A],c,E)}}return O.join("&").replace(aZ,"+")}});P.extend({active:0,lastModified:{},etag:{},handleError:function(u,c,E,A){u.error&&u.error.call(u.context,c,E,A);u.global&&P.triggerGlobal(u,"ajaxError",[c,u,A])},handleSuccess:function(u,c,E,A){u.success&&u.success.call(u.context,A,E,c);u.global&&P.triggerGlobal(u,"ajaxSuccess",[c,u])},handleComplete:function(u,c,A){u.complete&&u.complete.call(u.context,c,A);u.global&&P.triggerGlobal(u,"ajaxComplete",[c,u]);u.global&&P.active--===1&&P.event.trigger("ajaxStop")},triggerGlobal:function(u,c,A){(u.context&&u.context.url==null?P(u.context):P.event).trigger(c,A)},httpSuccess:function(u){try{return !u.status&&location.protocol==="file:"||u.status>=200&&u.status<300||u.status===304||u.status===1223}catch(c){}return false},httpNotModified:function(u,c){var E=u.getResponseHeader("Last-Modified"),A=u.getResponseHeader("Etag");if(E){P.lastModified[c]=E}if(A){P.etag[c]=A}return u.status===304},httpData:function(u,c,O){var E=u.getResponseHeader("content-type")||"",A=c==="xml"||!c&&E.indexOf("xml")>=0;u=A?u.responseXML:u.responseText;A&&u.documentElement.nodeName==="parsererror"&&P.error("parsererror");if(O&&O.dataFilter){u=O.dataFilter(u,c)}if(typeof u==="string"){if(c==="json"||!c&&E.indexOf("json")>=0){u=P.parseJSON(u)}else{if(c==="script"||!c&&E.indexOf("javascript")>=0){P.globalEval(u)}}}return u}});if(aw.ActiveXObject){P.ajaxSettings.xhr=function(){if(aw.location.protocol!=="file:"){try{return new aw.XMLHttpRequest}catch(u){}}try{return new aw.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}P.support.ajax=!!P.ajaxSettings.xhr();var s={},az=/^(?:toggle|show|hide)$/,R=/^([+\-]=)?([\d+.\-]+)(.*)$/,aG,av=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];P.fn.extend({show:function(u,c,A){if(u||u===0){return this.animate(am("show",3),u,c,A)}else{u=0;for(c=this.length;u<c;u++){if(!P.data(this[u],"olddisplay")&&this[u].style.display==="none"){this[u].style.display=""}this[u].style.display===""&&P.css(this[u],"display")==="none"&&P.data(this[u],"olddisplay",N(this[u].nodeName))}for(u=0;u<c;u++){this[u].style.display=P.data(this[u],"olddisplay")||""}return this}},hide:function(u,c,A){if(u||u===0){return this.animate(am("hide",3),u,c,A)}else{u=0;for(c=this.length;u<c;u++){A=P.css(this[u],"display");A!=="none"&&P.data(this[u],"olddisplay",A)}for(u=0;u<c;u++){this[u].style.display="none"}return this}},_toggle:P.fn.toggle,toggle:function(u,c,E){var A=typeof u==="boolean";if(P.isFunction(u)&&P.isFunction(c)){this._toggle.apply(this,arguments)}else{u==null||A?this.each(function(){var O=A?u:P(this).is(":hidden");P(this)[O?"show":"hide"]()}):this.animate(am("toggle",3),u,c,E)}return this},fadeTo:function(u,c,E,A){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},u,E,A)},animate:function(u,c,O,E){var A=P.speed(c,O,E);if(P.isEmptyObject(u)){return this.each(A.complete)}return this[A.queue===false?"each":"queue"](function(){var W=P.extend({},A),U,S=this.nodeType===1,X=S&&P(this).is(":hidden"),V=this;for(U in u){var T=P.camelCase(U);if(U!==T){u[T]=u[U];delete u[U];U=T}if(u[U]==="hide"&&X||u[U]==="show"&&!X){return W.complete.call(this)}if(S&&(U==="height"||U==="width")){W.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(P.css(this,"display")==="inline"&&P.css(this,"float")==="none"){if(P.support.inlineBlockNeedsLayout){if(N(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}else{this.style.display="inline-block"}}}if(P.isArray(u[U])){(W.specialEasing=W.specialEasing||{})[U]=u[U][1];u[U]=u[U][0]}}if(W.overflow!=null){this.style.overflow="hidden"}W.curAnim=P.extend({},u);P.each(u,function(a4,a2){var Z=new P.fx(V,W,a4);if(az.test(a2)){Z[a2==="toggle"?X?"show":"hide":a2](u)}else{var Y=R.exec(a2),aa=Z.cur(true)||0;if(Y){var a3=parseFloat(Y[2]),ab=Y[3]||"px";if(ab!=="px"){P.style(V,a4,(a3||1)+ab);aa=(a3||1)/Z.cur(true)*aa;P.style(V,a4,aa+ab)}if(Y[1]){a3=(Y[1]==="-="?-1:1)*a3+aa}Z.custom(aa,a3,ab)}else{Z.custom(aa,a2,"")}}});return true})},stop:function(u,c){var A=P.timers;u&&this.queue([]);this.each(function(){for(var E=A.length-1;E>=0;E--){if(A[E].elem===this){c&&A[E](true);A.splice(E,1)}}});c||this.dequeue();return this}});P.each({slideDown:am("show",1),slideUp:am("hide",1),slideToggle:am("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(u,c){P.fn[u]=function(O,E,A){return this.animate(c,O,E,A)}});P.extend({speed:function(u,c,E){var A=u&&typeof u==="object"?P.extend({},u):{complete:E||!E&&c||P.isFunction(u)&&u,duration:u,easing:E&&c||c&&!P.isFunction(c)&&c};A.duration=P.fx.off?0:typeof A.duration==="number"?A.duration:A.duration in P.fx.speeds?P.fx.speeds[A.duration]:P.fx.speeds._default;A.old=A.complete;A.complete=function(){A.queue!==false&&P(this).dequeue();P.isFunction(A.old)&&A.old.call(this)};return A},easing:{linear:function(u,c,E,A){return E+A*u},swing:function(u,c,E,A){return(-Math.cos(u*Math.PI)/2+0.5)*A+E}},timers:[],fx:function(u,c,A){this.options=c;this.elem=u;this.prop=A;if(!c.orig){c.orig={}}}});P.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(P.fx.step[this.prop]||P.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c=parseFloat(P.css(this.elem,this.prop));return c&&c>-10000?c:0},custom:function(u,c,O){function E(S){return A.step(S)}this.startTime=P.now();this.start=u;this.end=c;this.unit=O||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;u=P.fx;E.elem=this.elem;if(E()&&P.timers.push(E)&&!aG){aG=setInterval(u.tick,u.interval)}},show:function(){this.options.orig[this.prop]=P.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());P(this.elem).show()},hide:function(){this.options.orig[this.prop]=P.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(u){var c=P.now(),T=true;if(u||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 S in this.options.curAnim){if(this.options.curAnim[S]!==true){T=false}}if(T){if(this.options.overflow!=null&&!P.support.shrinkWrapBlocks){var O=this.elem,E=this.options;P.each(["","X","Y"],function(U,V){O.style["overflow"+V]=E.overflow[U]})}this.options.hide&&P(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){P.style(this.elem,A,this.options.orig[A])}}this.options.complete.call(this.elem)}return false}else{u=c-this.startTime;this.state=u/this.options.duration;c=this.options.easing||(P.easing.swing?"swing":"linear");this.pos=P.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,u,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};P.extend(P.fx,{tick:function(){for(var u=P.timers,c=0;c<u.length;c++){u[c]()||u.splice(c--,1)}u.length||P.fx.stop()},interval:13,stop:function(){clearInterval(aG);aG=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){P.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(P.expr&&P.expr.filters){P.expr.filters.animated=function(c){return P.grep(P.timers,function(u){return c===u.elem}).length}}var B=/^t(?:able|d|h)$/i,j=/^(?:body|html)$/i;P.fn.offset="getBoundingClientRect" in G.documentElement?function(u){var c=this[0],S;if(u){return this.each(function(T){P.offset.setOffset(this,u,T)})}if(!c||!c.ownerDocument){return null}if(c===c.ownerDocument.body){return P.offset.bodyOffset(c)}try{S=c.getBoundingClientRect()}catch(O){}var E=c.ownerDocument,A=E.documentElement;if(!S||!P.contains(A,c)){return S||{top:0,left:0}}c=E.body;E=g(E);return{top:S.top+(E.pageYOffset||P.support.boxModel&&A.scrollTop||c.scrollTop)-(A.clientTop||c.clientTop||0),left:S.left+(E.pageXOffset||P.support.boxModel&&A.scrollLeft||c.scrollLeft)-(A.clientLeft||c.clientLeft||0)}}:function(V){var U=this[0];if(V){return this.each(function(W){P.offset.setOffset(this,V,W)})}if(!U||!U.ownerDocument){return null}if(U===U.ownerDocument.body){return P.offset.bodyOffset(U)}P.offset.initialize();var T=U.offsetParent,S=U.ownerDocument,O,E=S.documentElement,A=S.body;O=(S=S.defaultView)?S.getComputedStyle(U,null):U.currentStyle;for(var u=U.offsetTop,c=U.offsetLeft;(U=U.parentNode)&&U!==A&&U!==E;){if(P.offset.supportsFixedPosition&&O.position==="fixed"){break}O=S?S.getComputedStyle(U,null):U.currentStyle;u-=U.scrollTop;c-=U.scrollLeft;if(U===T){u+=U.offsetTop;c+=U.offsetLeft;if(P.offset.doesNotAddBorder&&!(P.offset.doesAddBorderForTableAndCells&&B.test(U.nodeName))){u+=parseFloat(O.borderTopWidth)||0;c+=parseFloat(O.borderLeftWidth)||0}T=U.offsetParent}if(P.offset.subtractsBorderForOverflowNotVisible&&O.overflow!=="visible"){u+=parseFloat(O.borderTopWidth)||0;c+=parseFloat(O.borderLeftWidth)||0}O=O}if(O.position==="relative"||O.position==="static"){u+=A.offsetTop;c+=A.offsetLeft}if(P.offset.supportsFixedPosition&&O.position==="fixed"){u+=Math.max(E.scrollTop,A.scrollTop);c+=Math.max(E.scrollLeft,A.scrollLeft)}return{top:u,left:c}};P.offset={initialize:function(){var u=G.body,c=G.createElement("div"),S,O,E,A=parseFloat(P.css(u,"marginTop"))||0;P.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>";u.insertBefore(c,u.firstChild);S=c.firstChild;O=S.firstChild;E=S.nextSibling.firstChild.firstChild;this.doesNotAddBorder=O.offsetTop!==5;this.doesAddBorderForTableAndCells=E.offsetTop===5;O.style.position="fixed";O.style.top="20px";this.supportsFixedPosition=O.offsetTop===20||O.offsetTop===15;O.style.position=O.style.top="";S.style.overflow="hidden";S.style.position="relative";this.subtractsBorderForOverflowNotVisible=O.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=u.offsetTop!==A;u.removeChild(c);P.offset.initialize=P.noop},bodyOffset:function(u){var c=u.offsetTop,A=u.offsetLeft;P.offset.initialize();if(P.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(P.css(u,"marginTop"))||0;A+=parseFloat(P.css(u,"marginLeft"))||0}return{top:c,left:A}},setOffset:function(V,U,T){var S=P.css(V,"position");if(S==="static"){V.style.position="relative"}var O=P(V),E=O.offset(),A=P.css(V,"top"),u=P.css(V,"left"),c=S==="absolute"&&P.inArray("auto",[A,u])>-1;S={};var W={};if(c){W=O.position()}A=c?W.top:parseInt(A,10)||0;u=c?W.left:parseInt(u,10)||0;if(P.isFunction(U)){U=U.call(V,T,E)}if(U.top!=null){S.top=U.top-E.top+A}if(U.left!=null){S.left=U.left-E.left+u}"using" in U?U.using.call(V,S):O.css(S)}};P.fn.extend({position:function(){if(!this[0]){return null}var u=this[0],c=this.offsetParent(),E=this.offset(),A=j.test(c[0].nodeName)?{top:0,left:0}:c.offset();E.top-=parseFloat(P.css(u,"marginTop"))||0;E.left-=parseFloat(P.css(u,"marginLeft"))||0;A.top+=parseFloat(P.css(c[0],"borderTopWidth"))||0;A.left+=parseFloat(P.css(c[0],"borderLeftWidth"))||0;return{top:E.top-A.top,left:E.left-A.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||G.body;c&&!j.test(c.nodeName)&&P.css(c,"position")==="static";){c=c.offsetParent}return c})}});P.each(["Left","Top"],function(u,c){var A="scroll"+c;P.fn[A]=function(S){var O=this[0],E;if(!O){return null}if(S!==aA){return this.each(function(){if(E=g(this)){E.scrollTo(!u?S:P(E).scrollLeft(),u?S:P(E).scrollTop())}else{this[A]=S}})}else{return(E=g(O))?"pageXOffset" in E?E[u?"pageYOffset":"pageXOffset"]:P.support.boxModel&&E.document.documentElement[A]||E.document.body[A]:O[A]}}});P.each(["Height","Width"],function(u,c){var A=c.toLowerCase();P.fn["inner"+c]=function(){return this[0]?parseFloat(P.css(this[0],A,"padding")):null};P.fn["outer"+c]=function(E){return this[0]?parseFloat(P.css(this[0],A,E?"margin":"border")):null};P.fn[A]=function(O){var E=this[0];if(!E){return O==null?null:this}if(P.isFunction(O)){return this.each(function(T){var S=P(this);S[A](O.call(this,T,S[A]()))})}return P.isWindow(E)?E.document.compatMode==="CSS1Compat"&&E.document.documentElement["client"+c]||E.document.body["client"+c]:E.nodeType===9?Math.max(E.documentElement["client"+c],E.body["scroll"+c],E.documentElement["scroll"+c],E.body["offset"+c],E.documentElement["offset"+c]):O===aA?parseFloat(P.css(E,A)):this.css(A,typeof O==="string"?O:O+"px")}})})(window);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(f,g,e,i,h){return jQuery.easing[jQuery.easing.def](f,g,e,i,h)},easeInQuad:function(f,g,e,i,h){return i*(g/=h)*g+e},easeOutQuad:function(f,g,e,i,h){return -i*(g/=h)*(g-2)+e},easeInOutQuad:function(f,g,e,i,h){if((g/=h/2)<1){return i/2*g*g+e}return -i/2*((--g)*(g-2)-1)+e},easeInCubic:function(f,g,e,i,h){return i*(g/=h)*g*g+e},easeOutCubic:function(f,g,e,i,h){return i*((g=g/h-1)*g*g+1)+e},easeInOutCubic:function(f,g,e,i,h){if((g/=h/2)<1){return i/2*g*g*g+e}return i/2*((g-=2)*g*g+2)+e},easeInQuart:function(f,g,e,i,h){return i*(g/=h)*g*g*g+e},easeOutQuart:function(f,g,e,i,h){return -i*((g=g/h-1)*g*g*g-1)+e},easeInOutQuart:function(f,g,e,i,h){if((g/=h/2)<1){return i/2*g*g*g*g+e}return -i/2*((g-=2)*g*g*g-2)+e},easeInQuint:function(f,g,e,i,h){return i*(g/=h)*g*g*g*g+e},easeOutQuint:function(f,g,e,i,h){return i*((g=g/h-1)*g*g*g*g+1)+e},easeInOutQuint:function(f,g,e,i,h){if((g/=h/2)<1){return i/2*g*g*g*g*g+e}return i/2*((g-=2)*g*g*g*g+2)+e},easeInSine:function(f,g,e,i,h){return -i*Math.cos(g/h*(Math.PI/2))+i+e},easeOutSine:function(f,g,e,i,h){return i*Math.sin(g/h*(Math.PI/2))+e},easeInOutSine:function(f,g,e,i,h){return -i/2*(Math.cos(Math.PI*g/h)-1)+e},easeInExpo:function(f,g,e,i,h){return(g==0)?e:i*Math.pow(2,10*(g/h-1))+e},easeOutExpo:function(f,g,e,i,h){return(g==h)?e+i:i*(-Math.pow(2,-10*g/h)+1)+e},easeInOutExpo:function(f,g,e,i,h){if(g==0){return e}if(g==h){return e+i}if((g/=h/2)<1){return i/2*Math.pow(2,10*(g-1))+e}return i/2*(-Math.pow(2,-10*--g)+2)+e},easeInCirc:function(f,g,e,i,h){return -i*(Math.sqrt(1-(g/=h)*g)-1)+e},easeOutCirc:function(f,g,e,i,h){return i*Math.sqrt(1-(g=g/h-1)*g)+e},easeInOutCirc:function(f,g,e,i,h){if((g/=h/2)<1){return -i/2*(Math.sqrt(1-g*g)-1)+e}return i/2*(Math.sqrt(1-(g-=2)*g)+1)+e},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(f,g,e,j,i,h){if(h==undefined){h=1.70158}return j*(g/=i)*g*((h+1)*g-h)+e},easeOutBack:function(f,g,e,j,i,h){if(h==undefined){h=1.70158}return j*((g=g/i-1)*g*((h+1)*g+h)+1)+e},easeInOutBack:function(f,g,e,j,i,h){if(h==undefined){h=1.70158}if((g/=i/2)<1){return j/2*(g*g*(((h*=(1.525))+1)*g-h))+e}return j/2*((g-=2)*g*(((h*=(1.525))+1)*g+h)+2)+e},easeInBounce:function(f,g,e,i,h){return i-jQuery.easing.easeOutBounce(f,h-g,0,i,h)+e},easeOutBounce:function(f,g,e,i,h){if((g/=h)<(1/2.75)){return i*(7.5625*g*g)+e}else{if(g<(2/2.75)){return i*(7.5625*(g-=(1.5/2.75))*g+0.75)+e}else{if(g<(2.5/2.75)){return i*(7.5625*(g-=(2.25/2.75))*g+0.9375)+e}else{return i*(7.5625*(g-=(2.625/2.75))*g+0.984375)+e}}}},easeInOutBounce:function(f,g,e,i,h){if(g<h/2){return jQuery.easing.easeInBounce(f,g*2,0,i,h)*0.5+e}return jQuery.easing.easeOutBounce(f,g*2-h,0,i,h)*0.5+i*0.5+e}});
/*!
 * jQuery blockUI plugin
 * Version 2.31 (06-JAN-2010)
 * @requires jQuery v1.2.3 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2008 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
(function(j){if(/1\.(0|1|2)\.(0|1|2)/.test(j.fn.jquery)||/^1.1/.test(j.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+j.fn.jquery);return}j.fn._fadeIn=j.fn.fadeIn;var d=function(){};var k=document.documentMode||0;var f=j.browser.msie&&((j.browser.version<8&&!k)||k<8);var g=j.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!k;j.blockUI=function(r){e(window,r)};j.unblockUI=function(r){i(window,r)};j.growlUI=function(v,t,u,r){var s=j('<div class="growlUI"></div>');if(v){s.append("<h1>"+v+"</h1>")}if(t){s.append("<h2>"+t+"</h2>")}if(u==undefined){u=3000}j.blockUI({message:s,fadeIn:700,fadeOut:1000,centerY:false,timeout:u,showOverlay:false,onUnblock:r,css:j.blockUI.defaults.growlCSS})};j.fn.block=function(r){return this.unblock({fadeOut:0}).each(function(){if(j.css(this,"position")=="static"){this.style.position="relative"}if(j.browser.msie){this.style.zoom=1}e(this,r)})};j.fn.unblock=function(r){return this.each(function(){i(this,r)})};j.blockUI.version=2.31;j.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:true,theme:false,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:0.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:0.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,bindEvents:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4};var c=null;var h=[];function e(v,H){var C=(v==window);var y=H&&H.message!==undefined?H.message:undefined;H=j.extend({},j.blockUI.defaults,H||{});H.overlayCSS=j.extend({},j.blockUI.defaults.overlayCSS,H.overlayCSS||{});var E=j.extend({},j.blockUI.defaults.css,H.css||{});var P=j.extend({},j.blockUI.defaults.themedCSS,H.themedCSS||{});y=y===undefined?H.message:y;if(C&&c){i(window,{fadeOut:0})}if(y&&typeof y!="string"&&(y.parentNode||y.jquery)){var K=y.jquery?y[0]:y;var R={};j(v).data("blockUI.history",R);R.el=K;R.parent=K.parentNode;R.display=K.style.display;R.position=K.style.position;if(R.parent){R.parent.removeChild(K)}}var D=H.baseZ;var O=(j.browser.msie||H.forceIframe)?j('<iframe class="blockUI" style="z-index:'+(D++)+';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+H.iframeSrc+'"></iframe>'):j('<div class="blockUI" style="display:none"></div>');var N=j('<div class="blockUI blockOverlay" style="z-index:'+(D++)+';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var M;if(H.theme&&C){var I='<div class="blockUI blockMsg blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+D+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(H.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>';M=j(I)}else{M=C?j('<div class="blockUI blockMsg blockPage" style="z-index:'+D+';display:none;position:fixed"></div>'):j('<div class="blockUI blockMsg blockElement" style="z-index:'+D+';display:none;position:absolute"></div>')}if(y){if(H.theme){M.css(P);M.addClass("ui-widget-content")}else{M.css(E)}}if(!H.applyPlatformOpacityRules||!(j.browser.mozilla&&/Linux/.test(navigator.platform))){N.css(H.overlayCSS)}N.css("position",C?"fixed":"absolute");if(j.browser.msie||H.forceIframe){O.css("opacity",0)}var B=[O,N,M],Q=C?j("body"):j(v);j.each(B,function(){this.appendTo(Q)});if(H.theme&&H.draggable&&j.fn.draggable){M.draggable({handle:".ui-dialog-titlebar",cancel:"li"})}var x=f&&(!j.boxModel||j("object,embed",C?null:v).length>0);if(g||x){if(C&&H.allowBodyStretch&&j.boxModel){j("html,body").css("height","100%")}if((g||!j.boxModel)&&!C){var G=n(v,"borderTopWidth"),L=n(v,"borderLeftWidth");var A=G?"(0 - "+G+")":0;var F=L?"(0 - "+L+")":0}j.each([O,N,M],function(t,U){var z=U[0].style;z.position="absolute";if(t<2){C?z.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+H.quirksmodeOffsetHack+') + "px"'):z.setExpression("height",'this.parentNode.offsetHeight + "px"');C?z.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):z.setExpression("width",'this.parentNode.offsetWidth + "px"');if(F){z.setExpression("left",F)}if(A){z.setExpression("top",A)}}else{if(H.centerY){if(C){z.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}z.marginTop=0}else{if(!H.centerY&&C){var S=(H.css&&H.css.top)?parseInt(H.css.top):0;var T="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+S+') + "px"';z.setExpression("top",T)}}}})}if(y){if(H.theme){M.find(".ui-widget-content").append(y)}else{M.append(y)}if(y.jquery||y.nodeType){j(y).show()}}if((j.browser.msie||H.forceIframe)&&H.showOverlay){O.show()}if(H.fadeIn){var J=H.onBlock?H.onBlock:d;var u=(H.showOverlay&&!y)?J:d;var r=y?J:d;if(H.showOverlay){N._fadeIn(H.fadeIn,u)}if(y){M._fadeIn(H.fadeIn,r)}}else{if(H.showOverlay){N.show()}if(y){M.show()}if(H.onBlock){H.onBlock()}}m(1,v,H);if(C){c=M[0];h=j(":input:enabled:visible",c);if(H.focusInput){setTimeout(q,20)}}else{b(M[0],H.centerX,H.centerY)}if(H.timeout){var w=setTimeout(function(){C?j.unblockUI(H):j(v).unblock(H)},H.timeout);j(v).data("blockUI.timeout",w)}}function i(u,v){var t=(u==window);var s=j(u);var w=s.data("blockUI.history");var x=s.data("blockUI.timeout");if(x){clearTimeout(x);s.removeData("blockUI.timeout")}v=j.extend({},j.blockUI.defaults,v||{});m(0,u,v);var r;if(t){r=j("body").children().filter(".blockUI").add("body > .blockUI")}else{r=j(".blockUI",u)}if(t){c=h=null}if(v.fadeOut){r.fadeOut(v.fadeOut);setTimeout(function(){l(r,w,v,u)},v.fadeOut)}else{l(r,w,v,u)}}function l(r,u,t,s){r.each(function(v,w){if(this.parentNode){this.parentNode.removeChild(this)}});if(u&&u.el){u.el.style.display=u.display;u.el.style.position=u.position;if(u.parent){u.parent.appendChild(u.el)}j(s).removeData("blockUI.history")}if(typeof t.onUnblock=="function"){t.onUnblock(s,t)}}function m(r,v,w){var u=v==window,t=j(v);if(!r&&(u&&!c||!u&&!t.data("blockUI.isBlocked"))){return}if(!u){t.data("blockUI.isBlocked",r)}if(!w.bindEvents||(r&&!w.showOverlay)){return}var s="mousedown mouseup keydown keypress";r?j(document).bind(s,w,o):j(document).unbind(s,o)}function o(u){if(u.keyCode&&u.keyCode==9){if(c&&u.data.constrainTabKey){var t=h;var s=!u.shiftKey&&u.target==t[t.length-1];var r=u.shiftKey&&u.target==t[0];if(s||r){setTimeout(function(){q(r)},10);return false}}}if(j(u.target).parents("div.blockMsg").length>0){return true}return j(u.target).parents().children().filter("div.blockUI").length==0}function q(r){if(!h){return}var s=h[r===true?h.length-1:0];if(s){s.focus()}}function b(z,r,B){var A=z.parentNode,w=z.style;var u=((A.offsetWidth-z.offsetWidth)/2)-n(A,"borderLeftWidth");var v=((A.offsetHeight-z.offsetHeight)/2)-n(A,"borderTopWidth");if(r){w.left=u>0?(u+"px"):"0"}if(B){w.top=v>0?(v+"px"):"0"}}function n(r,s){return parseInt(j.css(r,s))||0}})(jQuery);
/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.9993 (26-MAY-2011)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
 */
(function(j){var m="2.9992";if(j.support==undefined){j.support={opacity:!(j.browser.msie)}}function b(t){j.fn.cycle.debug&&g(t)}function g(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}j.expr[":"].paused=function(t){return t.cyclePause};j.fn.cycle=function(u,t){var v={s:this.selector,c:this.context};if(this.length===0&&u!="stop"){if(!j.isReady&&v.s){g("DOM not ready, queuing slideshow");j(function(){j(v.s,v.c).cycle(u,t)});return this}g("terminating; zero elements found by selector"+(j.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var z=o(this,u,t);if(z===false){return}z.updateActivePagerLink=z.updateActivePagerLink||j.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var A=j(this);var B=z.slideExpr?j(z.slideExpr,this):A.children();var x=B.get();var w=l(A,B,x,z,v);if(w===false){return}if(x.length<2){g("terminating; too few slides: "+x.length);return}var y=w.continuous?10:i(x[w.currSlide],x[w.nextSlide],w,!w.backwards);if(y){y+=(w.delay||0);if(y<10){y=10}b("first timeout: "+y);this.cycleTimeout=setTimeout(function(){f(x,w,0,!z.backwards)},y)}})};function n(t,w,v){var x=j(t).data("cycle.opts");var u=!!t.cyclePause;if(u&&x.paused){x.paused(t,x,w,v)}else{if(!u&&x.resumed){x.resumed(t,x,w,v)}}}function o(t,w,u){if(t.cycleStop==undefined){t.cycleStop=0}if(w===undefined||w===null){w={}}if(w.constructor==String){switch(w){case"destroy":case"stop":var y=j(t).data("cycle.opts");if(!y){return false}t.cycleStop++;if(t.cycleTimeout){clearTimeout(t.cycleTimeout)}t.cycleTimeout=0;j(t).removeData("cycle.opts");if(w=="destroy"){s(y)}return false;case"toggle":t.cyclePause=(t.cyclePause===1)?0:1;x(t.cyclePause,u,t);n(t);return false;case"pause":t.cyclePause=1;n(t);return false;case"resume":t.cyclePause=0;x(false,u,t);n(t);return false;case"prev":case"next":var y=j(t).data("cycle.opts");if(!y){g('options not found, "prev/next" ignored');return false}j.fn.cycle[w](y);return false;default:w={fx:w}}return w}else{if(w.constructor==Number){var v=w;w=j(t).data("cycle.opts");if(!w){g("options not found, can not advance slide");return false}if(v<0||v>=w.elements.length){g("invalid slide index: "+v);return false}w.nextSlide=v;if(t.cycleTimeout){clearTimeout(t.cycleTimeout);t.cycleTimeout=0}if(typeof u=="string"){w.oneTimeFx=u}f(w.elements,w,1,v>=w.currSlide);return false}}return w;function x(A,B,z){if(!A&&B===true){var C=j(z).data("cycle.opts");if(!C){g("options not found, can not resume");return false}if(z.cycleTimeout){clearTimeout(z.cycleTimeout);z.cycleTimeout=0}f(C.elements,C,1,!C.backwards)}}}function c(t,u){if(!j.support.opacity&&u.cleartype&&t.style.filter){try{t.style.removeAttribute("filter")}catch(v){}}}function s(t){if(t.next){j(t.next).unbind(t.prevNextEvent)}if(t.prev){j(t.prev).unbind(t.prevNextEvent)}if(t.pager||t.pagerAnchorBuilder){j.each(t.pagerAnchors||[],function(){this.unbind().remove()})}t.pagerAnchors=null;if(t.destroy){t.destroy(t)}}function l(B,O,y,x,I){var G=j.extend({},j.fn.cycle.defaults,x||{},j.metadata?B.metadata():j.meta?B.data():{});var E=j.isFunction(B.data)?B.data(G.metaAttr):null;if(E){G=j.extend(G,E)}if(G.autostop){G.countdown=G.autostopCount||y.length}var u=B[0];B.data("cycle.opts",G);G.$cont=B;G.stopCount=u.cycleStop;G.elements=y;G.before=G.before?[G.before]:[];G.after=G.after?[G.after]:[];if(!j.support.opacity&&G.cleartype){G.after.push(function(){c(this,G)})}if(G.continuous){G.after.push(function(){f(y,G,0,!G.backwards)})}q(G);if(!j.support.opacity&&G.cleartype&&!G.cleartypeNoBg){h(O)}if(B.css("position")=="static"){B.css("position","relative")}if(G.width){B.width(G.width)}if(G.height&&G.height!="auto"){B.height(G.height)}if(G.startingSlide){G.startingSlide=parseInt(G.startingSlide)}else{if(G.backwards){G.startingSlide=y.length-1}}if(G.random){G.randomMap=[];for(var M=0;M<y.length;M++){G.randomMap.push(M)}G.randomMap.sort(function(Q,w){return Math.random()-0.5});G.randomIndex=1;G.startingSlide=G.randomMap[1]}else{if(G.startingSlide>=y.length){G.startingSlide=0}}G.currSlide=G.startingSlide||0;var A=G.startingSlide;O.css({position:"absolute",top:0,left:0}).hide().each(function(w){var Q;if(G.backwards){Q=A?w<=A?y.length+(w-A):A-w:y.length-w}else{Q=A?w>=A?y.length-(w-A):A-w:y.length-w}j(this).css("z-index",Q)});j(y[A]).css("opacity",1).show();c(y[A],G);if(G.fit){if(!G.aspect){if(G.width){O.width(G.width)}if(G.height&&G.height!="auto"){O.height(G.height)}}else{O.each(function(){var Q=j(this);var w=(G.aspect===true)?Q.width()/Q.height():G.aspect;if(G.width&&Q.width()!=G.width){Q.width(G.width);Q.height(G.width/w)}if(G.height&&Q.height()<G.height){Q.height(G.height);Q.width(G.height*w)}})}}if(G.center&&((!G.fit)||G.aspect)){O.each(function(){var w=j(this);w.css({"margin-left":G.width?((G.width-w.width())/2)+"px":0,"margin-top":G.height?((G.height-w.height())/2)+"px":0})})}if(G.center&&!G.fit&&!G.slideResize){O.each(function(){var w=j(this);w.css({"margin-left":G.width?((G.width-w.width())/2)+"px":0,"margin-top":G.height?((G.height-w.height())/2)+"px":0})})}var H=G.containerResize&&!B.innerHeight();if(H){var z=0,F=0;for(var K=0;K<y.length;K++){var t=j(y[K]),P=t[0],D=t.outerWidth(),N=t.outerHeight();if(!D){D=P.offsetWidth||P.width||t.attr("width")}if(!N){N=P.offsetHeight||P.height||t.attr("height")}z=D>z?D:z;F=N>F?N:F}if(z>0&&F>0){B.css({width:z+"px",height:F+"px"})}}if(G.pause){B.hover(function(){this.cyclePause++;n(u,true)},function(){this.cyclePause--;n(u,true)})}if(d(G)===false){return false}var v=false;x.requeueAttempts=x.requeueAttempts||0;O.each(function(){var S=j(this);this.cycleH=(G.fit&&G.height)?G.height:(S.height()||this.offsetHeight||this.height||S.attr("height")||0);this.cycleW=(G.fit&&G.width)?G.width:(S.width()||this.offsetWidth||this.width||S.attr("width")||0);if(S.is("img")){var Q=(j.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var T=(j.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var R=(j.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var w=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(Q||T||R||w){if(I.s&&G.requeueOnImageNotLoaded&&++x.requeueAttempts<100){g(x.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){j(I.s,I.c).cycle(x)},G.requeueTimeout);v=true;return false}else{g("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(v){return false}G.cssBefore=G.cssBefore||{};G.cssAfter=G.cssAfter||{};G.cssFirst=G.cssFirst||{};G.animIn=G.animIn||{};G.animOut=G.animOut||{};O.not(":eq("+A+")").css(G.cssBefore);j(O[A]).css(G.cssFirst);if(G.timeout){G.timeout=parseInt(G.timeout);if(G.speed.constructor==String){G.speed=j.fx.speeds[G.speed]||parseInt(G.speed)}if(!G.sync){G.speed=G.speed/2}var J=G.fx=="none"?0:G.fx=="shuffle"?500:250;while((G.timeout-G.speed)<J){G.timeout+=G.speed}}if(G.easing){G.easeIn=G.easeOut=G.easing}if(!G.speedIn){G.speedIn=G.speed}if(!G.speedOut){G.speedOut=G.speed}G.slideCount=y.length;G.currSlide=G.lastSlide=A;if(G.random){if(++G.randomIndex==y.length){G.randomIndex=0}G.nextSlide=G.randomMap[G.randomIndex]}else{if(G.backwards){G.nextSlide=G.startingSlide==0?(y.length-1):G.startingSlide-1}else{G.nextSlide=G.startingSlide>=(y.length-1)?0:G.startingSlide+1}}if(!G.multiFx){var L=j.fn.cycle.transitions[G.fx];if(j.isFunction(L)){L(B,O,G)}else{if(G.fx!="custom"&&!G.multiFx){g("unknown transition: "+G.fx,"; slideshow terminating");return false}}}var C=O[A];if(G.before.length){G.before[0].apply(C,[C,C,G,true])}if(G.after.length){G.after[0].apply(C,[C,C,G,true])}if(G.next){j(G.next).bind(G.prevNextEvent,function(){return r(G,1)})}if(G.prev){j(G.prev).bind(G.prevNextEvent,function(){return r(G,0)})}if(G.pager||G.pagerAnchorBuilder){e(y,G)}k(G,y);return G}function q(t){t.original={before:[],after:[]};t.original.cssBefore=j.extend({},t.cssBefore);t.original.cssAfter=j.extend({},t.cssAfter);t.original.animIn=j.extend({},t.animIn);t.original.animOut=j.extend({},t.animOut);j.each(t.before,function(){t.original.before.push(this)});j.each(t.after,function(){t.original.after.push(this)})}function d(z){var x,v,u=j.fn.cycle.transitions;if(z.fx.indexOf(",")>0){z.multiFx=true;z.fxs=z.fx.replace(/\s*/g,"").split(",");for(x=0;x<z.fxs.length;x++){var y=z.fxs[x];v=u[y];if(!v||!u.hasOwnProperty(y)||!j.isFunction(v)){g("discarding unknown transition: ",y);z.fxs.splice(x,1);x--}}if(!z.fxs.length){g("No valid transitions named; slideshow terminating.");return false}}else{if(z.fx=="all"){z.multiFx=true;z.fxs=[];for(p in u){v=u[p];if(u.hasOwnProperty(p)&&j.isFunction(v)){z.fxs.push(p)}}}}if(z.multiFx&&z.randomizeEffects){var w=Math.floor(Math.random()*20)+30;for(x=0;x<w;x++){var t=Math.floor(Math.random()*z.fxs.length);z.fxs.push(z.fxs.splice(t,1)[0])}b("randomized fx sequence: ",z.fxs)}return true}function k(u,t){u.addSlide=function(w,x){var v=j(w),y=v[0];if(!u.autostopCount){u.countdown++}t[x?"unshift":"push"](y);if(u.els){u.els[x?"unshift":"push"](y)}u.slideCount=t.length;v.css("position","absolute");v[x?"prependTo":"appendTo"](u.$cont);if(x){u.currSlide++;u.nextSlide++}if(!j.support.opacity&&u.cleartype&&!u.cleartypeNoBg){h(v)}if(u.fit&&u.width){v.width(u.width)}if(u.fit&&u.height&&u.height!="auto"){v.height(u.height)}y.cycleH=(u.fit&&u.height)?u.height:v.height();y.cycleW=(u.fit&&u.width)?u.width:v.width();v.css(u.cssBefore);if(u.pager||u.pagerAnchorBuilder){j.fn.cycle.createPagerAnchor(t.length-1,y,j(u.pager),t,u)}if(j.isFunction(u.onAddSlide)){u.onAddSlide(v)}else{v.hide()}}}j.fn.cycle.resetState=function(u,t){t=t||u.fx;u.before=[];u.after=[];u.cssBefore=j.extend({},u.original.cssBefore);u.cssAfter=j.extend({},u.original.cssAfter);u.animIn=j.extend({},u.original.animIn);u.animOut=j.extend({},u.original.animOut);u.fxFn=null;j.each(u.original.before,function(){u.before.push(this)});j.each(u.original.after,function(){u.after.push(this)});var v=j.fn.cycle.transitions[t];if(j.isFunction(v)){v(u.$cont,j(u.elements),u)}};function f(A,t,z,C){if(z&&t.busy&&t.manualTrump){b("manualTrump in go(), stopping active transition");j(A).stop(true,true);t.busy=0}if(t.busy){b("transition active, ignoring new tx request");return}var x=t.$cont[0],E=A[t.currSlide],D=A[t.nextSlide];if(x.cycleStop!=t.stopCount||x.cycleTimeout===0&&!z){return}if(!z&&!x.cyclePause&&!t.bounce&&((t.autostop&&(--t.countdown<=0))||(t.nowrap&&!t.random&&t.nextSlide<t.currSlide))){if(t.end){t.end(t)}return}var B=false;if((z||!x.cyclePause)&&(t.nextSlide!=t.currSlide)){B=true;var y=t.fx;E.cycleH=E.cycleH||j(E).height();E.cycleW=E.cycleW||j(E).width();D.cycleH=D.cycleH||j(D).height();D.cycleW=D.cycleW||j(D).width();if(t.multiFx){if(C&&(t.lastFx==undefined||++t.lastFx>=t.fxs.length)){t.lastFx=0}else{if(!C&&(t.lastFx==undefined||--t.lastFx<0)){t.lastFx=t.fxs.length-1}}y=t.fxs[t.lastFx]}if(t.oneTimeFx){y=t.oneTimeFx;t.oneTimeFx=null}j.fn.cycle.resetState(t,y);if(t.before.length){j.each(t.before,function(F,G){if(x.cycleStop!=t.stopCount){return}G.apply(D,[E,D,t,C])})}var v=function(){t.busy=0;j.each(t.after,function(F,G){if(x.cycleStop!=t.stopCount){return}G.apply(D,[E,D,t,C])})};b("tx firing("+y+"); currSlide: "+t.currSlide+"; nextSlide: "+t.nextSlide);t.busy=1;if(t.fxFn){t.fxFn(E,D,t,v,C,z&&t.fastOnEvent)}else{if(j.isFunction(j.fn.cycle[t.fx])){j.fn.cycle[t.fx](E,D,t,v,C,z&&t.fastOnEvent)}else{j.fn.cycle.custom(E,D,t,v,C,z&&t.fastOnEvent)}}}if(B||t.nextSlide==t.currSlide){t.lastSlide=t.currSlide;if(t.random){t.currSlide=t.nextSlide;if(++t.randomIndex==A.length){t.randomIndex=0}t.nextSlide=t.randomMap[t.randomIndex];if(t.nextSlide==t.currSlide){t.nextSlide=(t.currSlide==t.slideCount-1)?0:t.currSlide+1}}else{if(t.backwards){var w=(t.nextSlide-1)<0;if(w&&t.bounce){t.backwards=!t.backwards;t.nextSlide=1;t.currSlide=0}else{t.nextSlide=w?(A.length-1):t.nextSlide-1;t.currSlide=w?0:t.nextSlide+1}}else{var w=(t.nextSlide+1)==A.length;if(w&&t.bounce){t.backwards=!t.backwards;t.nextSlide=A.length-2;t.currSlide=A.length-1}else{t.nextSlide=w?0:t.nextSlide+1;t.currSlide=w?A.length-1:t.nextSlide-1}}}}if(B&&t.pager){t.updateActivePagerLink(t.pager,t.currSlide,t.activePagerClass)}var u=0;if(t.timeout&&!t.continuous){u=i(A[t.currSlide],A[t.nextSlide],t,C)}else{if(t.continuous&&x.cyclePause){u=10}}if(u>0){x.cycleTimeout=setTimeout(function(){f(A,t,0,!t.backwards)},u)}}j.fn.cycle.updateActivePagerLink=function(t,v,u){j(t).each(function(){j(this).children().removeClass(u).eq(v).addClass(u)})};function i(y,w,x,v){if(x.timeoutFn){var u=x.timeoutFn.call(y,y,w,x,v);while(x.fx!="none"&&(u-x.speed)<250){u+=x.speed}b("calculated timeout: "+u+"; speed: "+x.speed);if(u!==false){return u}}return x.timeout}j.fn.cycle.next=function(t){r(t,1)};j.fn.cycle.prev=function(t){r(t,0)};function r(w,v){var z=v?1:-1;var u=w.elements;var y=w.$cont[0],x=y.cycleTimeout;if(x){clearTimeout(x);y.cycleTimeout=0}if(w.random&&z<0){w.randomIndex--;if(--w.randomIndex==-2){w.randomIndex=u.length-2}else{if(w.randomIndex==-1){w.randomIndex=u.length-1}}w.nextSlide=w.randomMap[w.randomIndex]}else{if(w.random){w.nextSlide=w.randomMap[w.randomIndex]}else{w.nextSlide=w.currSlide+z;if(w.nextSlide<0){if(w.nowrap){return false}w.nextSlide=u.length-1}else{if(w.nextSlide>=u.length){if(w.nowrap){return false}w.nextSlide=0}}}}var t=w.onPrevNextEvent||w.prevNextClick;if(j.isFunction(t)){t(z>0,w.nextSlide,u[w.nextSlide])}f(u,w,1,v);return false}function e(u,v){var t=j(v.pager);j.each(u,function(w,x){j.fn.cycle.createPagerAnchor(w,x,t,u,v)});v.updateActivePagerLink(v.pager,v.startingSlide,v.activePagerClass)}j.fn.cycle.createPagerAnchor=function(x,y,v,w,z){var u;if(j.isFunction(z.pagerAnchorBuilder)){u=z.pagerAnchorBuilder(x,y);b("pagerAnchorBuilder("+x+", el) returned: "+u)}else{u='<a href="#">'+(x+1)+"</a>"}if(!u){return}var A=j(u);if(A.parents("body").length===0){var t=[];if(v.length>1){v.each(function(){var B=A.clone(true);j(this).append(B);t.push(B[0])});A=j(t)}else{A.appendTo(v)}}z.pagerAnchors=z.pagerAnchors||[];z.pagerAnchors.push(A);A.bind(z.pagerEvent,function(E){E.preventDefault();z.nextSlide=x;var D=z.$cont[0],C=D.cycleTimeout;if(C){clearTimeout(C);D.cycleTimeout=0}var B=z.onPagerEvent||z.pagerClick;if(j.isFunction(B)){B(z.nextSlide,w[z.nextSlide])}f(w,z,1,z.currSlide<x)});if(!/^click/.test(z.pagerEvent)&&!z.allowPagerClickBubble){A.bind("click.cycle",function(){return false})}if(z.pauseOnPagerHover){A.hover(function(){z.$cont[0].cyclePause++;n(cont,true,true)},function(){z.$cont[0].cyclePause--;n(cont,true,true)})}};j.fn.cycle.hopsFromLast=function(w,v){var u,t=w.lastSlide,x=w.currSlide;if(v){u=x>t?x-t:w.slideCount-t}else{u=x<t?t-x:t+w.slideCount-x}return u};function h(v){b("applying clearType background-color hack");function u(w){w=parseInt(w).toString(16);return w.length<2?"0"+w:w}function t(y){for(;y&&y.nodeName.toLowerCase()!="html";y=y.parentNode){var w=j.css(y,"background-color");if(w&&w.indexOf("rgb")>=0){var x=w.match(/\d+/g);return"#"+u(x[0])+u(x[1])+u(x[2])}if(w&&w!="transparent"){return w}}return"#ffffff"}v.each(function(){j(this).css("background-color",t(this))})}j.fn.cycle.commonReset=function(z,x,y,u,v,t){j(y.elements).not(z).hide();if(typeof y.cssBefore.opacity=="undefined"){y.cssBefore.opacity=1}y.cssBefore.display="block";if(y.slideResize&&u!==false&&x.cycleW>0){y.cssBefore.width=x.cycleW}if(y.slideResize&&v!==false&&x.cycleH>0){y.cssBefore.height=x.cycleH}y.cssAfter=y.cssAfter||{};y.cssAfter.display="none";j(z).css("zIndex",y.slideCount+(t===true?1:0));j(x).css("zIndex",y.slideCount+(t===true?0:1))};j.fn.cycle.custom=function(F,z,t,w,y,u){var E=j(F),A=j(z);var v=t.speedIn,D=t.speedOut,x=t.easeIn,C=t.easeOut;A.css(t.cssBefore);if(u){if(typeof u=="number"){v=D=u}else{v=D=1}x=C=null}var B=function(){A.animate(t.animIn,v,x,function(){w()})};E.animate(t.animOut,D,C,function(){E.css(t.cssAfter);if(!t.sync){B()}});if(t.sync){B()}};j.fn.cycle.transitions={fade:function(u,v,t){v.not(":eq("+t.currSlide+")").css("opacity",0);t.before.push(function(y,w,x){j.fn.cycle.commonReset(y,w,x);x.cssBefore.opacity=0});t.animIn={opacity:1};t.animOut={opacity:0};t.cssBefore={top:0,left:0}}};j.fn.cycle.ver=function(){return m};j.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!j.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null}})(jQuery);
/*!
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(b){b.fn.cycle.transitions.none=function(d,e,c){c.fxFn=function(h,f,g,i){b(f).show();b(h).hide();i()}};b.fn.cycle.transitions.fadeout=function(d,e,c){e.not(":eq("+c.currSlide+")").css({display:"block",opacity:1});c.before.push(function(l,j,k,g,i,f){b(l).css("zIndex",k.slideCount+(!f===true?1:0));b(j).css("zIndex",k.slideCount+(!f===true?0:1))});c.animIn.opacity=1;c.animOut.opacity=0;c.cssBefore.opacity=1;c.cssBefore.display="block";c.cssAfter.zIndex=0};b.fn.cycle.transitions.scrollUp=function(e,f,d){e.css("overflow","hidden");d.before.push(b.fn.cycle.commonReset);var c=e.height();d.cssBefore.top=c;d.cssBefore.left=0;d.cssFirst.top=0;d.animIn.top=0;d.animOut.top=-c};b.fn.cycle.transitions.scrollDown=function(e,f,d){e.css("overflow","hidden");d.before.push(b.fn.cycle.commonReset);var c=e.height();d.cssFirst.top=0;d.cssBefore.top=-c;d.cssBefore.left=0;d.animIn.top=0;d.animOut.top=c};b.fn.cycle.transitions.scrollLeft=function(e,f,d){e.css("overflow","hidden");d.before.push(b.fn.cycle.commonReset);var c=e.width();d.cssFirst.left=0;d.cssBefore.left=c;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=0-c};b.fn.cycle.transitions.scrollRight=function(e,f,d){e.css("overflow","hidden");d.before.push(b.fn.cycle.commonReset);var c=e.width();d.cssFirst.left=0;d.cssBefore.left=-c;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=c};b.fn.cycle.transitions.scrollHorz=function(d,e,c){d.css("overflow","hidden").width();c.before.push(function(i,g,h,f){if(h.rev){f=!f}b.fn.cycle.commonReset(i,g,h);h.cssBefore.left=f?(g.cycleW-1):(1-g.cycleW);h.animOut.left=f?-i.cycleW:i.cycleW});c.cssFirst.left=0;c.cssBefore.top=0;c.animIn.left=0;c.animOut.top=0};b.fn.cycle.transitions.scrollVert=function(d,e,c){d.css("overflow","hidden");c.before.push(function(i,g,h,f){if(h.rev){f=!f}b.fn.cycle.commonReset(i,g,h);h.cssBefore.top=f?(1-g.cycleH):(g.cycleH-1);h.animOut.top=f?i.cycleH:-i.cycleH});c.cssFirst.top=0;c.cssBefore.left=0;c.animIn.top=0;c.animOut.left=0};b.fn.cycle.transitions.slideX=function(d,e,c){c.before.push(function(h,f,g){b(g.elements).not(h).hide();b.fn.cycle.commonReset(h,f,g,false,true);g.animIn.width=f.cycleW});c.cssBefore.left=0;c.cssBefore.top=0;c.cssBefore.width=0;c.animIn.width="show";c.animOut.width=0};b.fn.cycle.transitions.slideY=function(d,e,c){c.before.push(function(h,f,g){b(g.elements).not(h).hide();b.fn.cycle.commonReset(h,f,g,true,false);g.animIn.height=f.cycleH});c.cssBefore.left=0;c.cssBefore.top=0;c.cssBefore.height=0;c.animIn.height="show";c.animOut.height=0};b.fn.cycle.transitions.shuffle=function(f,g,e){var d,c=f.css("overflow","visible").width();g.css({left:0,top:0});e.before.push(function(j,h,i){b.fn.cycle.commonReset(j,h,i,true,true,true)});if(!e.speedAdjusted){e.speed=e.speed/2;e.speedAdjusted=true}e.random=0;e.shuffle=e.shuffle||{left:-c,top:15};e.els=[];for(d=0;d<g.length;d++){e.els.push(g[d])}for(d=0;d<e.currSlide;d++){e.els.push(e.els.shift())}e.fxFn=function(n,k,m,h,j){if(m.rev){j=!j}var i=j?b(n):b(k);b(k).css(m.cssBefore);var l=m.slideCount;i.animate(m.shuffle,m.speedIn,m.easeIn,function(){var q=b.fn.cycle.hopsFromLast(m,j);for(var r=0;r<q;r++){j?m.els.push(m.els.shift()):m.els.unshift(m.els.pop())}if(j){for(var s=0,o=m.els.length;s<o;s++){b(m.els[s]).css("z-index",o-s+l)}}else{var t=b(n).css("z-index");i.css("z-index",parseInt(t)+1+l)}i.animate({left:0,top:0},m.speedOut,m.easeOut,function(){b(j?this:n).hide();if(h){h()}})})};b.extend(e.cssBefore,{display:"block",opacity:1,top:0,left:0})};b.fn.cycle.transitions.turnUp=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,true,false);g.cssBefore.top=f.cycleH;g.animIn.height=f.cycleH;g.animOut.width=f.cycleW});c.cssFirst.top=0;c.cssBefore.left=0;c.cssBefore.height=0;c.animIn.top=0;c.animOut.height=0};b.fn.cycle.transitions.turnDown=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,true,false);g.animIn.height=f.cycleH;g.animOut.top=h.cycleH});c.cssFirst.top=0;c.cssBefore.left=0;c.cssBefore.top=0;c.cssBefore.height=0;c.animOut.height=0};b.fn.cycle.transitions.turnLeft=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,true);g.cssBefore.left=f.cycleW;g.animIn.width=f.cycleW});c.cssBefore.top=0;c.cssBefore.width=0;c.animIn.left=0;c.animOut.width=0};b.fn.cycle.transitions.turnRight=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,true);g.animIn.width=f.cycleW;g.animOut.left=h.cycleW});b.extend(c.cssBefore,{top:0,left:0,width:0});c.animIn.left=0;c.animOut.width=0};b.fn.cycle.transitions.zoom=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,false,true);g.cssBefore.top=f.cycleH/2;g.cssBefore.left=f.cycleW/2;b.extend(g.animIn,{top:0,left:0,width:f.cycleW,height:f.cycleH});b.extend(g.animOut,{width:0,height:0,top:h.cycleH/2,left:h.cycleW/2})});c.cssFirst.top=0;c.cssFirst.left=0;c.cssBefore.width=0;c.cssBefore.height=0};b.fn.cycle.transitions.fadeZoom=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,false);g.cssBefore.left=f.cycleW/2;g.cssBefore.top=f.cycleH/2;b.extend(g.animIn,{top:0,left:0,width:f.cycleW,height:f.cycleH})});c.cssBefore.width=0;c.cssBefore.height=0;c.animOut.opacity=0};b.fn.cycle.transitions.blindX=function(e,f,d){var c=e.css("overflow","hidden").width();d.before.push(function(i,g,h){b.fn.cycle.commonReset(i,g,h);h.animIn.width=g.cycleW;h.animOut.left=i.cycleW});d.cssBefore.left=c;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=c};b.fn.cycle.transitions.blindY=function(e,f,d){var c=e.css("overflow","hidden").height();d.before.push(function(i,g,h){b.fn.cycle.commonReset(i,g,h);h.animIn.height=g.cycleH;h.animOut.top=i.cycleH});d.cssBefore.top=c;d.cssBefore.left=0;d.animIn.top=0;d.animOut.top=c};b.fn.cycle.transitions.blindZ=function(f,g,e){var d=f.css("overflow","hidden").height();var c=f.width();e.before.push(function(j,h,i){b.fn.cycle.commonReset(j,h,i);i.animIn.height=h.cycleH;i.animOut.top=j.cycleH});e.cssBefore.top=d;e.cssBefore.left=c;e.animIn.top=0;e.animIn.left=0;e.animOut.top=d;e.animOut.left=c};b.fn.cycle.transitions.growX=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,true);g.cssBefore.left=this.cycleW/2;g.animIn.left=0;g.animIn.width=this.cycleW;g.animOut.left=0});c.cssBefore.top=0;c.cssBefore.width=0};b.fn.cycle.transitions.growY=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,true,false);g.cssBefore.top=this.cycleH/2;g.animIn.top=0;g.animIn.height=this.cycleH;g.animOut.top=0});c.cssBefore.height=0;c.cssBefore.left=0};b.fn.cycle.transitions.curtainX=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,false,true,true);g.cssBefore.left=f.cycleW/2;g.animIn.left=0;g.animIn.width=this.cycleW;g.animOut.left=h.cycleW/2;g.animOut.width=0});c.cssBefore.top=0;c.cssBefore.width=0};b.fn.cycle.transitions.curtainY=function(d,e,c){c.before.push(function(h,f,g){b.fn.cycle.commonReset(h,f,g,true,false,true);g.cssBefore.top=f.cycleH/2;g.animIn.top=0;g.animIn.height=f.cycleH;g.animOut.top=h.cycleH/2;g.animOut.height=0});c.cssBefore.height=0;c.cssBefore.left=0};b.fn.cycle.transitions.cover=function(g,i,f){var j=f.direction||"left";var c=g.css("overflow","hidden").width();var e=g.height();f.before.push(function(k,d,h){b.fn.cycle.commonReset(k,d,h);if(j=="right"){h.cssBefore.left=-c}else{if(j=="up"){h.cssBefore.top=e}else{if(j=="down"){h.cssBefore.top=-e}else{h.cssBefore.left=c}}}});f.animIn.left=0;f.animIn.top=0;f.cssBefore.top=0;f.cssBefore.left=0};b.fn.cycle.transitions.uncover=function(g,i,f){var j=f.direction||"left";var c=g.css("overflow","hidden").width();var e=g.height();f.before.push(function(k,d,h){b.fn.cycle.commonReset(k,d,h,true,true,true);if(j=="right"){h.animOut.left=c}else{if(j=="up"){h.animOut.top=-e}else{if(j=="down"){h.animOut.top=e}else{h.animOut.left=-c}}}});f.animIn.left=0;f.animIn.top=0;f.cssBefore.top=0;f.cssBefore.left=0};b.fn.cycle.transitions.toss=function(f,g,e){var c=f.css("overflow","visible").width();var d=f.height();e.before.push(function(j,h,i){b.fn.cycle.commonReset(j,h,i,true,true,true);if(!i.animOut.left&&!i.animOut.top){b.extend(i.animOut,{left:c*2,top:-d/2,opacity:0})}else{i.animOut.opacity=0}});e.cssBefore.left=0;e.cssBefore.top=0;e.animIn.left=0};b.fn.cycle.transitions.wipe=function(s,m,e){var q=s.css("overflow","hidden").width();var j=s.height();e.cssBefore=e.cssBefore||{};var g;if(e.clip){if(/l2r/.test(e.clip)){g="rect(0px 0px "+j+"px 0px)"}else{if(/r2l/.test(e.clip)){g="rect(0px "+q+"px "+j+"px "+q+"px)"}else{if(/t2b/.test(e.clip)){g="rect(0px "+q+"px 0px 0px)"}else{if(/b2t/.test(e.clip)){g="rect("+j+"px "+q+"px "+j+"px 0px)"}else{if(/zoom/.test(e.clip)){var o=parseInt(j/2);var f=parseInt(q/2);g="rect("+o+"px "+f+"px "+o+"px "+f+"px)"}}}}}}e.cssBefore.clip=e.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var k=e.cssBefore.clip.match(/(\d+)/g);var u=parseInt(k[0]),c=parseInt(k[1]),n=parseInt(k[2]),i=parseInt(k[3]);e.before.push(function(x,l,v){if(x==l){return}var h=b(x),d=b(l);b.fn.cycle.commonReset(x,l,v,true,true,false);v.cssAfter.display="block";var t=1,r=parseInt((v.speedIn/13))-1;(function w(){var z=u?u-parseInt(t*(u/r)):0;var A=i?i-parseInt(t*(i/r)):0;var B=n<j?n+parseInt(t*((j-n)/r||1)):j;var y=c<q?c+parseInt(t*((q-c)/r||1)):q;d.css({clip:"rect("+z+"px "+y+"px "+B+"px "+A+"px)"});(t++<=r)?setTimeout(w,13):h.css("display","none")})()});b.extend(e.cssBefore,{display:"block",opacity:1,top:0,left:0});e.animIn={left:0};e.animOut={left:0}}})(jQuery);(function(window,undefined){var S={version:"3.0.3"};var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")>-1||ua.indexOf("win32")>-1){S.isWindows=true}else{if(ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1){S.isMac=true}else{if(ua.indexOf("linux")>-1){S.isLinux=true}}}S.isIE=ua.indexOf("msie")>-1;S.isIE6=ua.indexOf("msie 6")>-1;S.isIE7=ua.indexOf("msie 7")>-1;S.isGecko=ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1;S.isWebKit=ua.indexOf("applewebkit/")>-1;var inlineId=/#(.+)$/,galleryName=/^(light|shadow)box\[(.*?)\]/i,inlineParam=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,fileExtension=/[0-9a-z]+$/i,scriptPath=/(.+\/)shadowbox\.js/i;var open=false,initialized=false,lastOptions={},slideDelay=0,slideStart,slideTimer;S.current=-1;S.dimensions=null;S.ease=function(state){return 1+Math.pow(state-1,3)};S.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};S.gallery=[];S.onReady=noop;S.path=null;S.player=null;S.playerId="sb-player";S.options={animate:true,animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:noop,onClose:noop,onFinish:noop,onOpen:noop,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};S.getCurrent=function(){return S.current>-1?S.gallery[S.current]:null};S.hasNext=function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)};S.isOpen=function(){return open};S.isPaused=function(){return slideTimer=="pause"};S.applyOptions=function(options){lastOptions=apply({},S.options);apply(S.options,options)};S.revertOptions=function(){apply(S.options,lastOptions)};S.init=function(options,callback){if(initialized){return}initialized=true;if(S.skin.options){apply(S.options,S.skin.options)}if(options){apply(S.options,options)}if(!S.path){var path,scripts=document.getElementsByTagName("script");for(var i=0,len=scripts.length;i<len;++i){path=scriptPath.exec(scripts[i].src);if(path){S.path=path[1];break}}}if(callback){S.onReady=callback}bindLoad()};S.open=function(obj){if(open){return}var gc=S.makeGallery(obj);S.gallery=gc[0];S.current=gc[1];obj=S.getCurrent();if(obj==null){return}S.applyOptions(obj.options||{});filterGallery();if(S.gallery.length){obj=S.getCurrent();if(S.options.onOpen(obj)===false){return}open=true;S.skin.onOpen(obj,load)}};S.close=function(){if(!open){return}open=false;if(S.player){S.player.remove();S.player=null}if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null}slideDelay=0;listenKeys(false);S.options.onClose(S.getCurrent());S.skin.onClose();S.revertOptions()};S.play=function(){if(!S.hasNext()){return}if(!slideDelay){slideDelay=S.options.slideshowDelay*1000}if(slideDelay){slideStart=now();slideTimer=setTimeout(function(){slideDelay=slideStart=0;S.next()},slideDelay);if(S.skin.onPlay){S.skin.onPlay()}}};S.pause=function(){if(typeof slideTimer!="number"){return}slideDelay=Math.max(0,slideDelay-(now()-slideStart));if(slideDelay){clearTimeout(slideTimer);slideTimer="pause";if(S.skin.onPause){S.skin.onPause()}}};S.change=function(index){if(!(index in S.gallery)){if(S.options.continuous){index=(index<0?S.gallery.length+index:0);if(!(index in S.gallery)){return}}else{return}}S.current=index;if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null;slideDelay=slideStart=0}S.options.onChange(S.getCurrent());load(true)};S.next=function(){S.change(S.current+1)};S.previous=function(){S.change(S.current-1)};S.setDimensions=function(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect){var originalHeight=height,originalWidth=width;var extraHeight=2*padding+topBottom;if(height+extraHeight>maxHeight){height=maxHeight-extraHeight}var extraWidth=2*padding+leftRight;if(width+extraWidth>maxWidth){width=maxWidth-extraWidth}var changeHeight=(originalHeight-height)/originalHeight,changeWidth=(originalWidth-width)/originalWidth,oversized=(changeHeight>0||changeWidth>0);if(preserveAspect&&oversized){if(changeHeight>changeWidth){width=Math.round((originalWidth/originalHeight)*height)}else{if(changeWidth>changeHeight){height=Math.round((originalHeight/originalWidth)*width)}}}S.dimensions={height:height+topBottom,width:width+leftRight,innerHeight:height,innerWidth:width,top:Math.floor((maxHeight-(height+extraHeight))/2+padding),left:Math.floor((maxWidth-(width+extraWidth))/2+padding),oversized:oversized};return S.dimensions};S.makeGallery=function(obj){var gallery=[],current=-1;if(typeof obj=="string"){obj=[obj]}if(typeof obj.length=="number"){each(obj,function(i,o){if(o.content){gallery[i]=o}else{gallery[i]={content:o}}});current=0}else{if(obj.tagName){var cacheObj=S.getCache(obj);obj=cacheObj?cacheObj:S.makeObject(obj)}if(obj.gallery){gallery=[];var o;for(var key in S.cache){o=S.cache[key];if(o.gallery&&o.gallery==obj.gallery){if(current==-1&&o.content==obj.content){current=gallery.length}gallery.push(o)}}if(current==-1){gallery.unshift(obj);current=0}}else{gallery=[obj];current=0}}each(gallery,function(i,o){gallery[i]=apply({},o)});return[gallery,current]};S.makeObject=function(link,options){var obj={content:link.href,title:link.getAttribute("title")||"",link:link};if(options){options=apply({},options);each(["player","title","height","width","gallery"],function(i,o){if(typeof options[o]!="undefined"){obj[o]=options[o];delete options[o]}});obj.options=options}else{obj.options={}}if(!obj.player){obj.player=S.getPlayer(obj.content)}var rel=link.getAttribute("rel");if(rel){var match=rel.match(galleryName);if(match){obj.gallery=escape(match[2])}each(rel.split(";"),function(i,p){match=p.match(inlineParam);if(match){obj[match[1]]=match[2]}})}return obj};S.getPlayer=function(content){if(content.indexOf("#")>-1&&content.indexOf(document.location.href)==0){return"inline"}var q=content.indexOf("?");if(q>-1){content=content.substring(0,q)}var ext,m=content.match(fileExtension);if(m){ext=m[0].toLowerCase()}if(ext){if(S.img&&S.img.ext.indexOf(ext)>-1){return"img"}if(S.swf&&S.swf.ext.indexOf(ext)>-1){return"swf"}if(S.flv&&S.flv.ext.indexOf(ext)>-1){return"flv"}if(S.qt&&S.qt.ext.indexOf(ext)>-1){if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"qtwmp"}else{return"qt"}}if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"wmp"}}return"iframe"};function filterGallery(){var err=S.errorInfo,plugins=S.plugins,obj,remove,needed,m,format,replace,inlineEl,flashVersion;for(var i=0;i<S.gallery.length;++i){obj=S.gallery[i];remove=false;needed=null;switch(obj.player){case"flv":case"swf":if(!plugins.fla){needed="fla"}break;case"qt":if(!plugins.qt){needed="qt"}break;case"wmp":if(S.isMac){if(plugins.qt&&plugins.f4m){obj.player="qt"}else{needed="qtf4m"}}else{if(!plugins.wmp){needed="wmp"}}break;case"qtwmp":if(plugins.qt){obj.player="qt"}else{if(plugins.wmp){obj.player="wmp"}else{needed="qtwmp"}}break}if(needed){if(S.options.handleUnsupported=="link"){switch(needed){case"qtf4m":format="shared";replace=[err.qt.url,err.qt.name,err.f4m.url,err.f4m.name];break;case"qtwmp":format="either";replace=[err.qt.url,err.qt.name,err.wmp.url,err.wmp.name];break;default:format="single";replace=[err[needed].url,err[needed].name]}obj.player="html";obj.content='<div class="sb-message">'+sprintf(S.lang.errors[format],replace)+"</div>"}else{remove=true}}else{if(obj.player=="inline"){m=inlineId.exec(obj.content);if(m){inlineEl=get(m[1]);if(inlineEl){obj.content=inlineEl.innerHTML}else{remove=true}}else{remove=true}}else{if(obj.player=="swf"||obj.player=="flv"){flashVersion=(obj.options&&obj.options.flashVersion)||S.options.flashVersion;if(S.flash&&!S.flash.hasFlashPlayerVersion(flashVersion)){obj.width=310;obj.height=177}}}}if(remove){S.gallery.splice(i,1);if(i<S.current){--S.current}else{if(i==S.current){S.current=i>0?i-1:i}}--i}}}function listenKeys(on){if(!S.options.enableKeys){return}(on?addEvent:removeEvent)(document,"keydown",handleKey)}function handleKey(e){if(e.metaKey||e.shiftKey||e.altKey||e.ctrlKey){return}var code=keyCode(e),handler;switch(code){case 81:case 88:case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slideTimer=="number"?S.pause:S.play;break}if(handler){preventDefault(e);handler()}}function load(changing){listenKeys(false);var obj=S.getCurrent();var player=(obj.player=="inline"?"html":obj.player);if(typeof S[player]!="function"){throw"unknown player "+player}if(changing){S.player.remove();S.revertOptions();S.applyOptions(obj.options||{})}S.player=new S[player](obj,S.playerId);if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content}var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}}S.skin.onLoad(changing,waitReady)}function waitReady(){if(!open){return}if(typeof S.player.ready!="undefined"){var timer=setInterval(function(){if(open){if(S.player.ready){clearInterval(timer);timer=null;S.skin.onReady(show)}}else{clearInterval(timer);timer=null}},10)}else{S.skin.onReady(show)}}function show(){if(!open){return}S.player.append(S.skin.body,S.dimensions);S.skin.onShow(finish)}function finish(){if(!open){return}if(S.player.onLoad){S.player.onLoad()}S.options.onFinish(S.getCurrent());if(!S.isPaused()){S.play()}listenKeys(true)}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj,from){var len=this.length>>>0;from=from||0;if(from<0){from+=len}for(;from<len;++from){if(from in this&&this[from]===obj){return from}}return -1}}function now(){return(new Date).getTime()}function apply(original,extension){for(var property in extension){original[property]=extension[property]}return original}function each(obj,callback){var i=0,len=obj.length;for(var value=obj[0];i<len&&callback.call(value,i,value)!==false;value=obj[++i]){}}function sprintf(str,replace){return str.replace(/\{(\w+?)\}/g,function(match,i){return replace[i]})}function noop(){}function get(id){return document.getElementById(id)}function remove(el){el.parentNode.removeChild(el)}var supportsOpacity=true,supportsFixed=true;function checkSupport(){var body=document.body,div=document.createElement("div");supportsOpacity=typeof div.style.opacity==="string";div.style.position="fixed";div.style.margin=0;div.style.top="20px";body.appendChild(div,body.firstChild);supportsFixed=div.offsetTop==20;body.removeChild(div)}S.getStyle=(function(){var opacity=/opacity=([^)]*)/,getComputedStyle=document.defaultView&&document.defaultView.getComputedStyle;return function(el,style){var ret;if(!supportsOpacity&&style=="opacity"&&el.currentStyle){ret=opacity.test(el.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return ret===""?"1":ret}if(getComputedStyle){var computedStyle=getComputedStyle(el,null);if(computedStyle){ret=computedStyle[style]}if(style=="opacity"&&ret==""){ret="1"}}else{ret=el.currentStyle[style]}return ret}})();S.appendHTML=function(el,html){if(el.insertAdjacentHTML){el.insertAdjacentHTML("BeforeEnd",html)}else{if(el.lastChild){var range=el.ownerDocument.createRange();range.setStartAfter(el.lastChild);var frag=range.createContextualFragment(html);el.appendChild(frag)}else{el.innerHTML=html}}};S.getWindowSize=function(dimension){if(document.compatMode==="CSS1Compat"){return document.documentElement["client"+dimension]}return document.body["client"+dimension]};S.setOpacity=function(el,opacity){var style=el.style;if(supportsOpacity){style.opacity=(opacity==1?"":opacity)}else{style.zoom=1;if(opacity==1){if(typeof style.filter=="string"&&(/alpha/i).test(style.filter)){style.filter=style.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}}else{style.filter=(style.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+(opacity*100)+")"}}};S.clearOpacity=function(el){S.setOpacity(el,1)};function getTarget(e){var target=e.target?e.target:e.srcElement;return target.nodeType==3?target.parentNode:target}function getPageXY(e){var x=e.pageX||(e.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)),y=e.pageY||(e.clientY+(document.documentElement.scrollTop||document.body.scrollTop));return[x,y]}function preventDefault(e){e.preventDefault()}function keyCode(e){return e.which?e.which:e.keyCode}function addEvent(el,type,handler){if(el.addEventListener){el.addEventListener(type,handler,false)}else{if(el.nodeType===3||el.nodeType===8){return}if(el.setInterval&&(el!==window&&!el.frameElement)){el=window}if(!handler.__guid){handler.__guid=addEvent.guid++}if(!el.events){el.events={}}var handlers=el.events[type];if(!handlers){handlers=el.events[type]={};if(el["on"+type]){handlers[0]=el["on"+type]}}handlers[handler.__guid]=handler;el["on"+type]=addEvent.handleEvent}}addEvent.guid=1;addEvent.handleEvent=function(event){var result=true;event=event||addEvent.fixEvent(((this.ownerDocument||this.document||this).parentWindow||window).event);var handlers=this.events[event.type];for(var i in handlers){this.__handleEvent=handlers[i];if(this.__handleEvent(event)===false){result=false}}return result};addEvent.preventDefault=function(){this.returnValue=false};addEvent.stopPropagation=function(){this.cancelBubble=true};addEvent.fixEvent=function(e){e.preventDefault=addEvent.preventDefault;e.stopPropagation=addEvent.stopPropagation;return e};function removeEvent(el,type,handler){if(el.removeEventListener){el.removeEventListener(type,handler,false)}else{if(el.events&&el.events[type]){delete el.events[type][handler.__guid]}}}var loaded=false,DOMContentLoaded;if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);S.load()}}else{if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);S.load()}}}}function doScrollCheck(){if(loaded){return}try{document.documentElement.doScroll("left")}catch(e){setTimeout(doScrollCheck,1);return}S.load()}function bindLoad(){if(document.readyState==="complete"){return S.load()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",S.load,false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",S.load);var topLevel=false;try{topLevel=window.frameElement===null}catch(e){}if(document.documentElement.doScroll&&topLevel){doScrollCheck()}}}}S.load=function(){if(loaded){return}if(!document.body){return setTimeout(S.load,13)}loaded=true;checkSupport();S.onReady();if(!S.options.skipSetup){S.setup()}S.skin.init()};S.plugins={};if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(i,p){names.push(p.name)});names=names.join(",");var f4m=names.indexOf("Flip4Mac")>-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}}else{var detectPlugin=function(name){var axo;try{axo=new ActiveXObject(name)}catch(e){}return !!axo};S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}}var relAttr=/^(light|shadow)box/i,expando="shadowboxCacheKey",cacheKey=1;S.cache={};S.select=function(selector){var links=[];if(!selector){var rel;each(document.getElementsByTagName("a"),function(i,el){rel=el.getAttribute("rel");if(rel&&relAttr.test(rel)){links.push(el)}})}else{var length=selector.length;if(length){if(typeof selector=="string"){if(S.find){links=S.find(selector)}}else{if(length==2&&typeof selector[0]=="string"&&selector[1].nodeType){if(S.find){links=S.find(selector[0],selector[1])}}else{for(var i=0;i<length;++i){links[i]=selector[i]}}}}else{links.push(selector)}}return links};S.setup=function(selector,options){each(S.select(selector),function(i,link){S.addCache(link,options)})};S.teardown=function(selector){each(S.select(selector),function(i,link){S.removeCache(link)})};S.addCache=function(link,options){var key=link[expando];if(key==undefined){key=cacheKey++;link[expando]=key;addEvent(link,"click",handleClick)}S.cache[key]=S.makeObject(link,options)};S.removeCache=function(link){removeEvent(link,"click",handleClick);delete S.cache[link[expando]];link[expando]=null};S.getCache=function(link){var key=link[expando];return(key in S.cache&&S.cache[key])};S.clearCache=function(){for(var key in S.cache){S.removeCache(S.cache[key].link)}S.cache={}};function handleClick(e){S.open(this);if(S.gallery.length){preventDefault(e)}}S.find=(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(context.nodeType!==1&&context.nodeType!==9){return[]}if(!selector||typeof selector!=="string"){return results}var parts=[],m,set,checkSet,extra,prune=true,contextXML=isXML(context),soFar=selector;while((chunker.exec(""),m=chunker.exec(soFar))!==null){soFar=m[3];parts.push(m[1]);if(m[2]){extra=m[3];break}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift()}set=posProcess(selector,set)}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]}if(context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,contextXML)}}else{checkSet=parts=[]}}if(!checkSet){checkSet=set}if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector)}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else{if(context&&context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results)}return results};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}}return results};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]}for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.leftMatch[type].exec(expr))){var left=match[1];match.splice(1,1);if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}}if(!set){set=context.getElementsByTagName("*")}return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop===result){result=[]}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true}else{if(match===true){continue}}}if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true}else{curLoop[i]=false}}else{if(pass){result.push(item);anyFound=true}}}}}if(found!==undefined){if(!inplace){curLoop=result}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]}break}}}if(expr===old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr}else{break}}old=expr}return curLoop};var Expr=Sizzle.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\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag){part=part.toLowerCase()}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName.toLowerCase()===part?elem||false:elem===part}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=part.toLowerCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName.toLowerCase()===part?parent:false}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}}if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}}return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").replace(/[\t\n]/g," ").indexOf(match)>=0)){if(!inplace){result.push(elem)}}else{if(inplace){curLoop[i]=false}}}}return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){return match[1].toLowerCase()},CHILD:function(match){if(match[1]==="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return !!elem.firstChild},empty:function(elem){return !elem.firstChild},has:function(elem,i,match){return !!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toLowerCase()==="button"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0===i},eq:function(elem,i,match){return match[3]-0===i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else{if(name==="contains"){return(elem.textContent||elem.innerText||getText([elem])||"").indexOf(match[3])>=0}else{if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}}return true}else{throw"Syntax error, unrecognized expression: "+name}}}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false}}if(type==="first"){return true}node=elem;case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false}}return true;case"nth":var first=match[2],last=match[3];if(first===1&&last===0){return true}var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}}parent.sizcache=doneName}var diff=elem.nodeIndex-last;if(first===0){return diff===0}else{return(diff%first===0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName.toLowerCase()===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source)}var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}}else{for(var i=0;array[i];i++){ret.push(array[i])}}}return ret}}var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition){if(a==b){hasDuplicate=true}return a.compareDocumentPosition?-1:1}var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true}return ret}}else{if("sourceIndex" in document.documentElement){sortOrder=function(a,b){if(!a.sourceIndex||!b.sourceIndex){if(a==b){hasDuplicate=true}return a.sourceIndex?-1:1}var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true}return ret}}else{if(document.createRange){sortOrder=function(a,b){if(!a.ownerDocument||!b.ownerDocument){if(a==b){hasDuplicate=true}return a.ownerDocument?-1:1}var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.setStart(a,0);aRange.setEnd(a,0);bRange.setStart(b,0);bRange.setEnd(b,0);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true}return ret}}}}function getText(elems){var ret="",elem;for(var i=0;elems[i];i++){elem=elems[i];if(elem.nodeType===3||elem.nodeType===4){ret+=elem.nodeValue}else{if(elem.nodeType!==8){ret+=getText(elem.childNodes)}}}return ret}(function(){var form=document.createElement("div"),id="script"+(new Date).getTime();form.innerHTML="<a name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form);root=form=null})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}div=null})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)}catch(e){}}return oldSizzle(query,context,extra,seed)};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop]}div=null})()}(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return}div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return}Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}};div=null})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i}if(elem.nodeName.toLowerCase()===cur){match=elem;break}elem=elem[dir]}checkSet[i]=match}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i}if(typeof cur!=="string"){if(elem===cur){match=true;break}}else{if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}}elem=elem[dir]}checkSet[i]=match}}}var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)}return Sizzle.filter(later,tmpSet)};return Sizzle})();S.flash=(function(){var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")}catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"}catch(e){if(playerVersion[0]==6){fp6Crash=true}}if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)}catch(e){}}}if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}catch(e){}}}}var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);
/*@cc_on
			ie = true;
			@if (@_win32)
				windows = true;
			@elif (@_mac)
				mac = true;
			@end
		@*/
return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return}addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<script id=__ie_ondomload defer=true src=//:><\/script>");script=getElementById("__ie_ondomload");if(script){addListener(script,"onreadystatechange",checkReadyState)}}catch(e){}}if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions()}},10)}if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null)}addLoadEvent(callDomLoadFunctions)}();function checkReadyState(){if(script.readyState=="complete"){script.parentNode.removeChild(script);callDomLoadFunctions()}}function callDomLoadFunctions(){if(isDomLoaded){return}if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t)}catch(e){return}}isDomLoaded=true;if(timer){clearInterval(timer);timer=null}var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]()}}function addDomLoadEvent(fn){if(isDomLoaded){fn()}else{domLoadFnArr[domLoadFnArr.length]=fn}}function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false)}else{if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false)}else{if(typeof win.attachEvent!=UNDEF){addListener(win,"onload",fn)}else{if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn()}}else{win.onload=fn}}}}}function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj)}setVisibility(id,true)}else{if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i])}else{displayAltContent(obj)}}}}else{setVisibility(id,true)}}}function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName=="DATA"){e.setAttribute("src",a[i].nodeValue)}else{e.setAttribute(a[i].nodeName,a[i].nodeValue)}}}var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName=="PARAM"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"))}}}obj.parentNode.replaceChild(e,obj)}}function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId}}else{storedAltContent=abstractAltContent(obj)}if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310"}if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137"}doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId)}}function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}else{obj.parentNode.replaceChild(abstractAltContent(obj),obj)}}function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML}else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName=="PARAM")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true))}}}}}return ac}function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(el){if(typeof attObj.id==UNDEF){attObj.id=id}if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){parObj.movie=attObj[i]}else{if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"'}else{if(i.toLowerCase()!="classid"){att+=" "+i+'="'+attObj[i]+'"'}}}}}var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />'}}el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>";objIdArr[objIdArr.length]=attObj.id;r=getElementById(attObj.id)}else{if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){e.setAttribute("src",attObj[k])}else{if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k])}else{if(k.toLowerCase()!="classid"){e.setAttribute(k,attObj[k])}}}}}for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l.toLowerCase()!="movie"){e.setAttribute(l,parObj[l])}}}el.parentNode.replaceChild(e,el);r=e}else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m])}else{if(m.toLowerCase()!="classid"){o.setAttribute(m,attObj[m])}}}}for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n.toLowerCase()!="movie"){createObjParam(o,n,parObj[n])}}el.parentNode.replaceChild(o,el);r=o}}}return r}function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p)}function removeSWF(id){var obj=getElementById(id);if(obj&&(obj.nodeName=="OBJECT"||obj.nodeName=="EMBED")){if(ua.ie&&ua.win){if(obj.readyState==4){removeObjectInIE(id)}else{win.attachEvent("onload",function(){removeObjectInIE(id)})}}else{obj.parentNode.removeChild(obj)}}}function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=null}}obj.parentNode.removeChild(obj)}}function getElementById(id){var el=null;try{el=doc.getElementById(id)}catch(e){}return el}function createElement(el){return doc.createElement(el)}function addListener(target,eventType,fn){target.attachEvent(eventType,fn);listenersArr[listenersArr.length]=[target,eventType,fn]}function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false}function createCSS(sel,decl){if(ua.ie&&ua.mac){return}var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"))}h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl)}}}function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded&&getElementById(id)){getElementById(id).style.visibility=v}else{createCSS("#"+id,"visibility:"+v)}}function urlEncodeIfNecessary(s){var regex=/[\\\"<>\.;]/;var hasBadChars=regex.exec(s)!=null;return hasBadChars?encodeURIComponent(s):s}var cleanup=function(){if(ua.ie&&ua.win){window.attachEvent("onunload",function(){var ll=listenersArr.length;for(var i=0;i<ll;i++){listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2])}var il=objIdArr.length;for(var j=0;j<il;j++){removeSWF(objIdArr[j])}for(var k in ua){ua[k]=null}ua=null;for(var l in swfobject){swfobject[l]=null}swfobject=null})}}();return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr||!swfVersionStr){return}var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr;regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:false;regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false)},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o}else{if(typeof n.SetVariable!=UNDEF){r=n}}}}return r},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return}widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att={};if(attObj&&typeof attObj===OBJECT){for(var i in attObj){if(attObj[i]!=Object.prototype[i]){att[i]=attObj[i]}}}att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT){for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par[j]=parObj[j]}}}if(flashvarsObj&&typeof flashvarsObj===OBJECT){for(var k in flashvarsObj){if(flashvarsObj[k]!=Object.prototype[k]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+k+"="+flashvarsObj[k]}else{par.flashvars=k+"="+flashvarsObj[k]}}}}addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true)}})}else{if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){isExpressInstallActive=true;setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj)})}}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom){return createSWF(attObj,parObj,replaceElemIdStr)}else{return undefined}},removeSWF:function(objElemIdStr){if(ua.w3cdom){removeSWF(objElemIdStr)}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl)}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return urlEncodeIfNecessary(q)}if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block"}}storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false}}}}}();return swfobject})();S.lang={code:"it",of:"di",loading:"in caricamento",cancel:"Annulla",next:"Avanti",previous:"Indietro",play:"Play",pause:"Pausa",close:"Chiudi",errors:{single:'È necessario installare il plugin <a href="{0}">{1}</a> per poter vedere questo contenuto.',shared:'È necessario installare i plugin <a href="{0}">{1}</a> e <a href="{2}">{3}</a> per poter vedere questo contenuto.',either:'È necessario installare o il plugin <a href="{0}">{1}</a> o <a href="{2}">{3}</a> per poter vedere questo contenuto.'}};var pre,proxyId="sb-drag-proxy",dragData,dragProxy,dragTarget;function resetDrag(){dragData={x:0,y:0,startX:null,startY:null}}function updateProxy(){var dims=S.dimensions;apply(dragProxy.style,{height:dims.innerHeight+"px",width:dims.innerWidth+"px"})}function enableDrag(){resetDrag();var style=["position:absolute","cursor:"+(S.isGecko?"-moz-grab":"move"),"background-color:"+(S.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");S.appendHTML(S.skin.body,'<div id="'+proxyId+'" style="'+style+'"></div>');dragProxy=get(proxyId);updateProxy();addEvent(dragProxy,"mousedown",startDrag)}function disableDrag(){if(dragProxy){removeEvent(dragProxy,"mousedown",startDrag);remove(dragProxy);dragProxy=null}dragTarget=null}function startDrag(e){preventDefault(e);var xy=getPageXY(e);dragData.startX=xy[0];dragData.startY=xy[1];dragTarget=get(S.player.id);addEvent(document,"mousemove",positionDrag);addEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grabbing"}}function positionDrag(e){var player=S.player,dims=S.dimensions,xy=getPageXY(e);var moveX=xy[0]-dragData.startX;dragData.startX+=moveX;dragData.x=Math.max(Math.min(0,dragData.x+moveX),dims.innerWidth-player.width);var moveY=xy[1]-dragData.startY;dragData.startY+=moveY;dragData.y=Math.max(Math.min(0,dragData.y+moveY),dims.innerHeight-player.height);apply(dragTarget.style,{left:dragData.x+"px",top:dragData.y+"px"})}function endDrag(){removeEvent(document,"mousemove",positionDrag);removeEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grab"}}S.img=function(obj,id){this.obj=obj;this.id=id;this.ready=false;var self=this;pre=new Image();pre.onload=function(){self.height=obj.height?parseInt(obj.height,10):pre.height;self.width=obj.width?parseInt(obj.width,10):pre.width;self.ready=true;pre.onload=null;pre=null};pre.src=obj.content};S.img.ext=["bmp","gif","jpg","jpeg","png"];S.img.prototype={append:function(body,dims){var img=document.createElement("img");img.id=this.id;img.src=this.obj.content;img.style.position="absolute";var height,width;if(dims.oversized&&S.options.handleOversize=="resize"){height=dims.innerHeight;width=dims.innerWidth}else{height=this.height;width=this.width}img.setAttribute("height",height);img.setAttribute("width",width);body.appendChild(img)},remove:function(){var el=get(this.id);if(el){remove(el)}disableDrag();if(pre){pre.onload=null;pre=null}},onLoad:function(){var dims=S.dimensions;if(dims.oversized&&S.options.handleOversize=="drag"){enableDrag()}},onWindowResize:function(){var dims=S.dimensions;switch(S.options.handleOversize){case"resize":var el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth;break;case"drag":if(dragTarget){var top=parseInt(S.getStyle(dragTarget,"top")),left=parseInt(S.getStyle(dragTarget,"left"));if(top+this.height<dims.innerHeight){dragTarget.style.top=dims.innerHeight-this.height+"px"}if(left+this.width<dims.innerWidth){dragTarget.style.left=dims.innerWidth-this.width+"px"}updateProxy()}break}}};S.iframe=function(obj,id){this.obj=obj;this.id=id;var overlay=get("sb-overlay");this.height=obj.height?parseInt(obj.height,10):overlay.offsetHeight;this.width=obj.width?parseInt(obj.width,10):overlay.offsetWidth};S.iframe.prototype={append:function(body,dims){var html='<iframe id="'+this.id+'" name="'+this.id+'" height="100%" width="100%" frameborder="0" marginwidth="0" marginheight="0" style="visibility:hidden" onload="this.style.visibility=\'visible\'" scrolling="auto"';if(S.isIE){html+=' allowtransparency="true"';if(S.isIE6){html+=" src=\"javascript:false;document.write('');\""}}html+="></iframe>";body.innerHTML=html},remove:function(){var el=get(this.id);if(el){remove(el);if(S.isGecko){delete window.frames[this.id]}}},onLoad:function(){var win=S.isIE?get(this.id).contentWindow:window.frames[this.id];win.location.href=this.obj.content}};S.html=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):500};S.html.prototype={append:function(body,dims){var div=document.createElement("div");div.id=this.id;div.className="html";div.innerHTML=this.obj.content;body.appendChild(div)},remove:function(){var el=get(this.id);if(el){remove(el)}}};S.swf=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):300};S.swf.ext=["swf"];S.swf.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=this.obj.content,version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=S.options.flashVars,params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var jwControllerHeight=20;S.flv=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=jwControllerHeight}this.width=obj.width?parseInt(obj.width,10):300};S.flv.ext=["flv","m4v"];S.flv.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=S.path+"player.swf",version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=apply({file:this.obj.content,height:height,width:width,autostart:(S.options.autoplayMovies?"true":"false"),controlbar:(S.options.showMovieControls?"bottom":"none"),backcolor:"0x000000",frontcolor:"0xCCCCCC",lightcolor:"0x557722"},S.options.flashVars),params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var qtControllerHeight=16;S.qt=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=qtControllerHeight}this.width=obj.width?parseInt(obj.width,10):300};S.qt.ext=["dv","mov","moov","movie","mp4","avi","mpg","mpeg"];S.qt.prototype={append:function(body,dims){var opt=S.options,autoplay=String(opt.autoplayMovies),controls=String(opt.showMovieControls);var html="<object",movie={id:this.id,name:this.id,height:this.height,width:this.width,kioskmode:"true"};if(S.isIE){movie.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B";movie.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"}else{movie.type="video/quicktime";movie.data=this.obj.content}for(var m in movie){html+=" "+m+'="'+movie[m]+'"'}html+=">";var params={src:this.obj.content,scale:"aspect",controller:controls,autoplay:autoplay};for(var p in params){html+='<param name="'+p+'" value="'+params[p]+'">'}html+="</object>";body.innerHTML=html},remove:function(){try{document[this.id].Stop()}catch(e){}var el=get(this.id);if(el){remove(el)}}};var overlayOn=false,visibilityCache=[],pngIds=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],container,overlay,wrapper,doWindowResize=true;function animate(el,property,to,duration,callback){var isOpacity=(property=="opacity"),anim=isOpacity?S.setOpacity:function(el,value){el.style[property]=""+value+"px"};if(duration==0||(!isOpacity&&!S.options.animate)||(isOpacity&&!S.options.animateFade)){anim(el,to);if(callback){callback()}return}var from=parseFloat(S.getStyle(el,property))||0;var delta=to-from;if(delta==0){if(callback){callback()}return}duration*=1000;var begin=now(),ease=S.ease,end=begin+duration,time;var interval=setInterval(function(){time=now();if(time>=end){clearInterval(interval);interval=null;anim(el,to);if(callback){callback()}}else{anim(el,from+ease((time-begin)/duration)*delta)}},10)}function setSize(){container.style.height=S.getWindowSize("Height")+"px";container.style.width=S.getWindowSize("Width")+"px"}function setPosition(){container.style.top=document.documentElement.scrollTop+"px";container.style.left=document.documentElement.scrollLeft+"px"}function toggleTroubleElements(on){if(on){each(visibilityCache,function(i,el){el[0].style.visibility=el[1]||""})}else{visibilityCache=[];each(S.options.troubleElements,function(i,tag){each(document.getElementsByTagName(tag),function(j,el){visibilityCache.push([el,el.style.visibility]);el.style.visibility="hidden"})})}}function toggleNav(id,on){var el=get("sb-nav-"+id);if(el){el.style.display=on?"":"none"}}function toggleLoading(on,callback){var loading=get("sb-loading"),playerName=S.getCurrent().player,anim=(playerName=="img"||playerName=="html");if(on){S.setOpacity(loading,0);loading.style.display="block";var wrapped=function(){S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",1,S.options.fadeDuration,wrapped)}else{wrapped()}}else{var wrapped=function(){loading.style.display="none";S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",0,S.options.fadeDuration,wrapped)}else{wrapped()}}}function buildBars(callback){var obj=S.getCurrent();get("sb-title-inner").innerHTML=obj.title||"";var close,next,play,pause,previous;if(S.options.displayNav){close=true;var len=S.gallery.length;if(len>1){if(S.options.continuous){next=previous=true}else{next=(len-1)>S.current;previous=S.current>0}}if(S.options.slideshowDelay>0&&S.hasNext()){pause=!S.isPaused();play=!pause}}else{close=next=play=pause=previous=false}toggleNav("close",close);toggleNav("next",next);toggleNav("play",play);toggleNav("pause",pause);toggleNav("previous",previous);var counter="";if(S.options.displayCounter&&S.gallery.length>1){var len=S.gallery.length;if(S.options.counterType=="skip"){var i=0,end=len,limit=parseInt(S.options.counterLimit)||0;if(limit<len&&limit>2){var h=Math.floor(limit/2);i=S.current-h;if(i<0){i+=len}end=S.current+(limit-h);if(end>len){end-=len}}while(i!=end){if(i==len){i=0}counter+='<a onclick="Shadowbox.change('+i+');"';if(i==S.current){counter+=' class="sb-counter-current"'}counter+=">"+(++i)+"</a>"}}else{counter=[S.current+1,S.lang.of,len].join(" ")}}get("sb-counter").innerHTML=counter;callback()}function showBars(callback){var titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=0.35;titleInner.style.visibility=infoInner.style.visibility="";if(titleInner.innerHTML!=""){animate(titleInner,"marginTop",0,duration)}animate(infoInner,"marginTop",0,duration,callback)}function hideBars(anim,callback){var title=get("sb-title"),info=get("sb-info"),titleHeight=title.offsetHeight,infoHeight=info.offsetHeight,titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=(anim?0.35:0);animate(titleInner,"marginTop",titleHeight,duration);animate(infoInner,"marginTop",infoHeight*-1,duration,function(){titleInner.style.visibility=infoInner.style.visibility="hidden";callback()})}function adjustHeight(height,top,anim,callback){var wrapperInner=get("sb-wrapper-inner"),duration=(anim?S.options.resizeDuration:0);animate(wrapper,"top",top,duration);animate(wrapperInner,"height",height,duration,callback)}function adjustWidth(width,left,anim,callback){var duration=(anim?S.options.resizeDuration:0);animate(wrapper,"left",left,duration);animate(wrapper,"width",width,duration,callback)}function setDimensions(height,width){var bodyInner=get("sb-body-inner"),height=parseInt(height),width=parseInt(width),topBottom=wrapper.offsetHeight-bodyInner.offsetHeight,leftRight=wrapper.offsetWidth-bodyInner.offsetWidth,maxHeight=overlay.offsetHeight,maxWidth=overlay.offsetWidth,padding=parseInt(S.options.viewportPadding)||20,preserveAspect=(S.player&&S.options.handleOversize!="drag");return S.setDimensions(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect)}var K={};K.markup='<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>';K.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};K.init=function(){S.appendHTML(document.body,sprintf(K.markup,S.lang));K.body=get("sb-body-inner");container=get("sb-container");overlay=get("sb-overlay");wrapper=get("sb-wrapper");if(!supportsFixed){container.style.position="absolute"}if(!supportsOpacity){var el,m,re=/url\("(.*\.png)"\)/;each(pngIds,function(i,id){el=get(id);if(el){m=S.getStyle(el,"backgroundImage").match(re);if(m){el.style.backgroundImage="none";el.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+m[1]+",sizingMethod=scale);"}}})}var timer;addEvent(window,"resize",function(){if(timer){clearTimeout(timer);timer=null}if(open){timer=setTimeout(K.onWindowResize,10)}})};K.onOpen=function(obj,callback){doWindowResize=false;container.style.display="block";setSize();var dims=setDimensions(S.options.initialHeight,S.options.initialWidth);adjustHeight(dims.innerHeight,dims.top);adjustWidth(dims.width,dims.left);if(S.options.showOverlay){overlay.style.backgroundColor=S.options.overlayColor;S.setOpacity(overlay,0);if(!S.options.modal){addEvent(overlay,"click",S.close)}overlayOn=true}if(!supportsFixed){setPosition();addEvent(window,"scroll",setPosition)}toggleTroubleElements();container.style.visibility="visible";if(overlayOn){animate(overlay,"opacity",S.options.overlayOpacity,S.options.fadeDuration,callback)}else{callback()}};K.onLoad=function(changing,callback){toggleLoading(true);while(K.body.firstChild){remove(K.body.firstChild)}hideBars(changing,function(){if(!open){return}if(!changing){wrapper.style.visibility="visible"}buildBars(callback)})};K.onReady=function(callback){if(!open){return}var player=S.player,dims=setDimensions(player.height,player.width);var wrapped=function(){showBars(callback)};switch(S.options.animSequence){case"hw":adjustHeight(dims.innerHeight,dims.top,true,function(){adjustWidth(dims.width,dims.left,true,wrapped)});break;case"wh":adjustWidth(dims.width,dims.left,true,function(){adjustHeight(dims.innerHeight,dims.top,true,wrapped)});break;default:adjustWidth(dims.width,dims.left,true);adjustHeight(dims.innerHeight,dims.top,true,wrapped)}};K.onShow=function(callback){toggleLoading(false,callback);doWindowResize=true};K.onClose=function(){if(!supportsFixed){removeEvent(window,"scroll",setPosition)}removeEvent(overlay,"click",S.close);wrapper.style.visibility="hidden";var callback=function(){container.style.visibility="hidden";container.style.display="none";toggleTroubleElements(true)};if(overlayOn){animate(overlay,"opacity",0,S.options.fadeDuration,callback)}else{callback()}};K.onPlay=function(){toggleNav("play",false);toggleNav("pause",true)};K.onPause=function(){toggleNav("pause",false);toggleNav("play",true)};K.onWindowResize=function(){if(!doWindowResize){return}setSize();var player=S.player,dims=setDimensions(player.height,player.width);adjustWidth(dims.width,dims.left);adjustHeight(dims.innerHeight,dims.top);if(player.onWindowResize){player.onWindowResize()}};S.skin=K;window.Shadowbox=S})(window);Shadowbox.init({overlayOpacity:0.8});$(document).ready(function(){$("#slide_home").cycle({fx:"scrollHorz",timeout:6000,prev:"#prev",next:"#next"});$("#foto_top").cycle({fx:"blindY",speed:600,timeout:6000});$("#sticky").cycle({fx:"slideY",speed:600,timeout:2500,easing:"easeOutBounce",delay:-2000});$(".foto_cerca").cycle({fx:"fade",speed:600,timeout:6000});$(".m_prodotti").click(function(){$("#mt_0").slideToggle("slow",function(){})});$(".cerca_grafica a").mouseover(function(){a=$(this).find("img").hasClass("sele");if(!a){img=$(this).find("img").attr("src");img=img.replace("_hot","");img=img.substring(0,img.length-4);$("img",this).attr({src:img+"_hot.gif"})}});$(".cerca_grafica a").mouseout(function(){a=$(this).find("img").hasClass("sele");if(!a){img=$(this).find("img").attr("src");img=img.replace("_hot","");$("img",this).attr({src:img})}});$(".cerca_grafica a").click(function(){$img=$(this);src_img=$img.find("img").attr("src");tit=$img.attr("title");img=$(this).find("img").attr("src");img=img.replace("_hot","");img=img.substring(0,img.length-4);$("img",this).attr({src:img+"_hot.gif"});$(this).find("img").addClass("sele");c("tipo",tit);b(tit);d()});$("#tipo").change(function(){var g="";$("#tipo option:selected").each(function(){g+=$(this).text()+" "});b(g);e(g)});$(".reset").click(function(){str="";b(str);e(str);d()});function c(h,g){$("#"+h+" option:selected").removeAttr("selected");$("#"+h+" option").each(function(){if($(this).text()==g){$(this).attr("selected","selected")}})}function e(g){$(".cerca_grafica a").each(function(){titolo=$(this).attr("title");titolo=trim(titolo);g=trim(g);if(g==titolo){img=$(this).find("img").attr("src");img=img.replace("_hot","");img=img.substring(0,img.length-4);$("img",this).attr({src:img+"_hot.gif"});$(this).find("img").addClass("sele")}})}function b(g){$(".cerca_grafica a").each(function(){titolo=$(this).attr("title");if(g!=titolo){imga=$(this).find("img").attr("src");imga=imga.replace("_hot","");$("img",this).attr({src:imga})}})}$(".form_cerca select").change(function(){$(".status").html(" ");$(".status").addClass("loading");d()});function d(){$.ajax({type:"GET",url:"http://www.mecar.net/cms/themes/cerca_ajax.php",data:{tipo:$("#tipo option:selected").val(),produttore:$("#produttore option:selected").val(),allestimento:$("#allestimento option:selected").val(),alimentazione:$("#alimentazione").val(),st_bra:$("#st_bra").val()},success:function(g){$(".status").removeClass("loading");$(".status").html(g)}})}function f(){var g="";$("#tipo option:selected").each(function(){g+=$(this).text()+" "});b(g);e(g);d()}f()});function trim(b){return b.replace(/^\s+|\s+$/g,"")}function MM_popupMsg(b){alert(b)}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function MM_swapImgRestore(){var d,b,c=document.MM_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e<b.length;e++){if(b[e].indexOf("#")!=0){f.MM_p[c]=new Image;f.MM_p[c++].src=b[e]}}}}function MM_findObj(g,f){var e,c,b;if(!f){f=document}if((e=g.indexOf("?"))>0&&parent.frames.length){f=parent.frames[g.substring(e+1)].document;g=g.substring(0,e)}if(!(b=f[g])&&f.all){b=f.all[g]}for(c=0;!b&&c<f.forms.length;c++){b=f.forms[c][g]}for(c=0;!b&&f.layers&&c<f.layers.length;c++){b=MM_findObj(g,f.layers[c].document)}if(!b&&document.getElementById){b=document.getElementById(g)}return b}function MM_swapImage(){var e,d=0,b,c=MM_swapImage.arguments;document.MM_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=MM_findObj(c[e]))!=null){document.MM_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}}function MM_openBrWindow(d,b,c){window.open(d,b,c)}function openwin(f,c,e){var b=Math.floor((screen.width-c)/2);var d=Math.floor((screen.height-e)/2);window.open(f,"","width="+c+",height="+e+",top="+d+",left="+b)}function txt2pwd(c,b){c.style.visibility="hidden";findElementById(b).focus()}function pwd2txt(c,b){if(c.value.length==0){findElementById(b).style.visibility="visible"}}function resetField(b,c){if(b.value.length==0){b.value=c;return}if(b.value==c){b.value=""}}function findElementById(b){return(document.all+""!="undefined"?document.all[b]:document.getElementById(b))}function displayValue(b,c){fieldObj=findElementById(b);fieldObj.style.display=c}var logged=false;var count=0;function oneshot(){if(logged){return false}count++;if(count>1){logged=true;return false}return true}function resetPost(){if(logged){logged=false;count=0}}function submitenterLB(d,c){var b;if(window.event){b=window.event.keyCode}else{if(c){b=c.which}else{return true}}if(b==13){d.form.submit();return false}else{return true}};
