(function(e,h){function m(a,b,d){if(d===h&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):ja.test(d)?c.parseJSON(d):d}catch(f){}c.data(a,b,d)}else d=h}return d}function p(){return false}function n(){return true}function F(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function E(a){var b,d,f,g,l,u,s,z,R,K,V,Y=[];g=[];l=c.data(this,this.nodeType?"events":"__events__");if(typeof l==="function")l=
l.events;if(!(a.liveFired===this||!l||!l.live||a.button&&a.type==="click")){if(a.namespace)V=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var ga=l.live.slice(0);for(s=0;s<ga.length;s++){l=ga[s];l.origType.replace(ya,"")===a.type?g.push(l.selector):ga.splice(s--,1)}g=c(a.target).closest(g,a.currentTarget);z=0;for(R=g.length;z<R;z++){K=g[z];for(s=0;s<ga.length;s++){l=ga[s];if(K.selector===l.selector&&(!V||V.test(l.namespace))){u=K.elem;f=null;if(l.preType===
"mouseenter"||l.preType==="mouseleave"){a.type=l.preType;f=c(a.relatedTarget).closest(l.selector)[0]}if(!f||f!==u)Y.push({elem:u,handleObj:l,level:K.level})}}}z=0;for(R=Y.length;z<R;z++){g=Y[z];if(d&&g.level>d)break;a.currentTarget=g.elem;a.data=g.handleObj.data;a.handleObj=g.handleObj;V=g.handleObj.origHandler.apply(g.elem,arguments);if(V===false||a.isPropagationStopped()){d=g.level;if(V===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function H(a,b){return(a&&a!=="*"?a+".":
"")+b.replace(Ia,"`").replace(Pa,"&")}function o(a,b,d){if(c.isFunction(b))return c.grep(a,function(g,l){return!!b.call(g,l,g)===d});else if(b.nodeType)return c.grep(a,function(g){return g===b===d});else if(typeof b==="string"){var f=c.grep(a,function(g){return g.nodeType===1});if(I.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(g){return c.inArray(g,b)>=0===d})}function B(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),
g=c.data(this,f);if(f=f&&f.events){delete g.handle;g.events={};for(var l in f)for(var u in f[l])c.event.add(this,l,f[l][u],f[l][u].data)}}})}function J(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function v(a,b,d){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return f;c.each(b==="width"?eb:fb,function(){d||(f-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")f+=parseFloat(c.css(a,
"margin"+this))||0;else f-=parseFloat(c.css(a,"border"+this+"Width"))||0});return f}function L(a,b,d,f){if(c.isArray(b)&&b.length)c.each(b,function(g,l){d||gb.test(a)?f(a,l):L(a+"["+(typeof l==="object"||c.isArray(l)?g:"")+"]",l,d,f)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?f(a,""):c.each(b,function(g,l){L(a+"["+g+"]",l,d,f)});else f(a,b)}function N(a,b){var d={};c.each(Xa.concat.apply([],Xa.slice(0,b)),function(){d[this]=a});return d}function A(a){if(!Qa[a]){var b=c("<"+a+">").appendTo("body"),
d=b.css("display");b.remove();if(d==="none"||d==="")d="block";Qa[a]=d}return Qa[a]}function U(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var G=e.document,c=function(){function a(){if(!b.isReady){try{G.documentElement.doScroll("left")}catch(r){setTimeout(a,1);return}b.ready()}}var b=function(r,M){return new b.fn.init(r,M)},d=e.jQuery,f=e.$,g,l=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,u=/\S/,s=/^\s+/,z=/\s+$/,R=/\W/,K=/\d/,V=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Y=/^[\],:{}\s]*$/,
ga=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,da=/(?:^|:|,)(?:\s*\[)+/g,oa=/(webkit)[ \/]([\w.]+)/,k=/(opera)(?:.*version)?[ \/]([\w.]+)/,q=/(msie) ([\w.]+)/,y=/(mozilla)(?:.*? rv:([\w.]+))?/,w=navigator.userAgent,C=false,D=[],O,S=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,pa=Array.prototype.push,qa=Array.prototype.slice,ra=String.prototype.trim,Z=Array.prototype.indexOf,Ca={};b.fn=b.prototype={init:function(r,M){var P,
T,ca;if(!r)return this;if(r.nodeType){this.context=this[0]=r;this.length=1;return this}if(r==="body"&&!M&&G.body){this.context=G;this[0]=G.body;this.selector="body";this.length=1;return this}if(typeof r==="string")if((P=l.exec(r))&&(P[1]||!M))if(P[1]){ca=M?M.ownerDocument||M:G;if(T=V.exec(r))if(b.isPlainObject(M)){r=[G.createElement(T[1])];b.fn.attr.call(r,M,true)}else r=[ca.createElement(T[1])];else{T=b.buildFragment([P[1]],[ca]);r=(T.cacheable?T.fragment.cloneNode(true):T.fragment).childNodes}return b.merge(this,
r)}else{if((T=G.getElementById(P[2]))&&T.parentNode){if(T.id!==P[2])return g.find(r);this.length=1;this[0]=T}this.context=G;this.selector=r;return this}else if(!M&&!R.test(r)){this.selector=r;this.context=G;r=G.getElementsByTagName(r);return b.merge(this,r)}else return!M||M.jquery?(M||g).find(r):b(M).find(r);else if(b.isFunction(r))return g.ready(r);if(r.selector!==h){this.selector=r.selector;this.context=r.context}return b.makeArray(r,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
toArray:function(){return qa.call(this,0)},get:function(r){return r==null?this.toArray():r<0?this.slice(r)[0]:this[r]},pushStack:function(r,M,P){var T=b();b.isArray(r)?pa.apply(T,r):b.merge(T,r);T.prevObject=this;T.context=this.context;if(M==="find")T.selector=this.selector+(this.selector?" ":"")+P;else if(M)T.selector=this.selector+"."+M+"("+P+")";return T},each:function(r,M){return b.each(this,r,M)},ready:function(r){b.bindReady();if(b.isReady)r.call(G,b);else D&&D.push(r);return this},eq:function(r){return r===
-1?this.slice(r):this.slice(r,+r+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(qa.apply(this,arguments),"slice",qa.call(arguments).join(","))},map:function(r){return this.pushStack(b.map(this,function(M,P){return r.call(M,P,M)}))},end:function(){return this.prevObject||b(null)},push:pa,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var r,M,P,T,ca,ba=arguments[0]||{},la=1,ua=arguments.length,
Ra=false;if(typeof ba==="boolean"){Ra=ba;ba=arguments[1]||{};la=2}if(typeof ba!=="object"&&!b.isFunction(ba))ba={};if(ua===la){ba=this;--la}for(;la<ua;la++)if((r=arguments[la])!=null)for(M in r){P=ba[M];T=r[M];if(ba!==T)if(Ra&&T&&(b.isPlainObject(T)||(ca=b.isArray(T)))){if(ca){ca=false;P=P&&b.isArray(P)?P:[]}else P=P&&b.isPlainObject(P)?P:{};ba[M]=b.extend(Ra,P,T)}else if(T!==h)ba[M]=T}return ba};b.extend({noConflict:function(r){e.$=f;if(r)e.jQuery=d;return b},isReady:false,readyWait:1,ready:function(r){r===
true&&b.readyWait--;if(!b.readyWait||r!==true&&!b.isReady){if(!G.body)return setTimeout(b.ready,1);b.isReady=true;if(!(r!==true&&--b.readyWait>0))if(D){var M=0,P=D;for(D=null;r=P[M++];)r.call(G,b);b.fn.trigger&&b(G).trigger("ready").unbind("ready")}}},bindReady:function(){if(!C){C=true;if(G.readyState==="complete")return setTimeout(b.ready,1);if(G.addEventListener){G.addEventListener("DOMContentLoaded",O,false);e.addEventListener("load",b.ready,false)}else if(G.attachEvent){G.attachEvent("onreadystatechange",
O);e.attachEvent("onload",b.ready);var r=false;try{r=e.frameElement==null}catch(M){}G.documentElement.doScroll&&r&&a()}}},isFunction:function(r){return b.type(r)==="function"},isArray:Array.isArray||function(r){return b.type(r)==="array"},isWindow:function(r){return r&&typeof r==="object"&&"setInterval"in r},isNaN:function(r){return r==null||!K.test(r)||isNaN(r)},type:function(r){return r==null?String(r):Ca[S.call(r)]||"object"},isPlainObject:function(r){if(!r||b.type(r)!=="object"||r.nodeType||b.isWindow(r))return false;
if(r.constructor&&!aa.call(r,"constructor")&&!aa.call(r.constructor.prototype,"isPrototypeOf"))return false;for(var M in r);return M===h||aa.call(r,M)},isEmptyObject:function(r){for(var M in r)return false;return true},error:function(r){throw r;},parseJSON:function(r){if(typeof r!=="string"||!r)return null;r=b.trim(r);if(Y.test(r.replace(ga,"@").replace(Q,"]").replace(da,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(r):(new Function("return "+r))();else b.error("Invalid JSON: "+r)},noop:function(){},
globalEval:function(r){if(r&&u.test(r)){var M=G.getElementsByTagName("head")[0]||G.documentElement,P=G.createElement("script");P.type="text/javascript";if(b.support.scriptEval)P.appendChild(G.createTextNode(r));else P.text=r;M.insertBefore(P,M.firstChild);M.removeChild(P)}},nodeName:function(r,M){return r.nodeName&&r.nodeName.toUpperCase()===M.toUpperCase()},each:function(r,M,P){var T,ca=0,ba=r.length,la=ba===h||b.isFunction(r);if(P)if(la)for(T in r){if(M.apply(r[T],P)===false)break}else for(;ca<
ba;){if(M.apply(r[ca++],P)===false)break}else if(la)for(T in r){if(M.call(r[T],T,r[T])===false)break}else for(P=r[0];ca<ba&&M.call(P,ca,P)!==false;P=r[++ca]);return r},trim:ra?function(r){return r==null?"":ra.call(r)}:function(r){return r==null?"":r.toString().replace(s,"").replace(z,"")},makeArray:function(r,M){var P=M||[];if(r!=null){var T=b.type(r);r.length==null||T==="string"||T==="function"||T==="regexp"||b.isWindow(r)?pa.call(P,r):b.merge(P,r)}return P},inArray:function(r,M){if(M.indexOf)return M.indexOf(r);
for(var P=0,T=M.length;P<T;P++)if(M[P]===r)return P;return-1},merge:function(r,M){var P=r.length,T=0;if(typeof M.length==="number")for(var ca=M.length;T<ca;T++)r[P++]=M[T];else for(;M[T]!==h;)r[P++]=M[T++];r.length=P;return r},grep:function(r,M,P){var T=[],ca;P=!!P;for(var ba=0,la=r.length;ba<la;ba++){ca=!!M(r[ba],ba);P!==ca&&T.push(r[ba])}return T},map:function(r,M,P){for(var T=[],ca,ba=0,la=r.length;ba<la;ba++){ca=M(r[ba],ba,P);if(ca!=null)T[T.length]=ca}return T.concat.apply([],T)},guid:1,proxy:function(r,
M,P){if(arguments.length===2)if(typeof M==="string"){P=r;r=P[M];M=h}else if(M&&!b.isFunction(M)){P=M;M=h}if(!M&&r)M=function(){return r.apply(P||this,arguments)};if(r)M.guid=r.guid=r.guid||M.guid||b.guid++;return M},access:function(r,M,P,T,ca,ba){var la=r.length;if(typeof M==="object"){for(var ua in M)b.access(r,ua,M[ua],T,ca,P);return r}if(P!==h){T=!ba&&T&&b.isFunction(P);for(ua=0;ua<la;ua++)ca(r[ua],M,T?P.call(r[ua],ua,ca(r[ua],M)):P,ba);return r}return la?ca(r[0],M):h},now:function(){return(new Date).getTime()},
uaMatch:function(r){r=r.toLowerCase();r=oa.exec(r)||k.exec(r)||q.exec(r)||r.indexOf("compatible")<0&&y.exec(r)||[];return{browser:r[1]||"",version:r[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(r,M){Ca["[object "+M+"]"]=M.toLowerCase()});w=b.uaMatch(w);if(w.browser){b.browser[w.browser]=true;b.browser.version=w.version}if(b.browser.webkit)b.browser.safari=true;if(Z)b.inArray=function(r,M){return Z.call(M,r)};if(!/\s/.test("\u00a0")){s=
/^[\s\xA0]+/;z=/[\s\xA0]+$/}g=b(G);if(G.addEventListener)O=function(){G.removeEventListener("DOMContentLoaded",O,false);b.ready()};else if(G.attachEvent)O=function(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",O);b.ready()}};return e.jQuery=e.$=b}();(function(){c.support={};var a=G.documentElement,b=G.createElement("script"),d=G.createElement("div"),f="script"+c.now();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var g=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0],u=G.createElement("select"),s=u.appendChild(G.createElement("option"));if(!(!g||!g.length||!l)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value===
"on",optSelected:s.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};u.disabled=true;c.support.optDisabled=!s.disabled;b.type="text/javascript";try{b.appendChild(G.createTextNode("window."+f+"=1;"))}catch(z){}a.insertBefore(b,a.firstChild);if(e[f]){c.support.scriptEval=true;delete e[f]}try{delete b.test}catch(R){c.support.deleteExpando=false}a.removeChild(b);
if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function K(){c.support.noCloneEvent=false;d.detachEvent("onclick",K)});d.cloneNode(true).fireEvent("onclick")}d=G.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=G.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var K=G.createElement("div");K.style.width=K.style.paddingLeft="1px";G.body.appendChild(K);c.boxModel=
c.support.boxModel=K.offsetWidth===2;if("zoom"in K.style){K.style.display="inline";K.style.zoom=1;c.support.inlineBlockNeedsLayout=K.offsetWidth===2;K.style.display="";K.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=K.offsetWidth!==2}K.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var V=K.getElementsByTagName("td");c.support.reliableHiddenOffsets=V[0].offsetHeight===0;V[0].style.display="";V[1].style.display="none";c.support.reliableHiddenOffsets=
c.support.reliableHiddenOffsets&&V[0].offsetHeight===0;K.innerHTML="";G.body.removeChild(K).style.display="none"});a=function(K){var V=G.createElement("div");K="on"+K;var Y=K in V;if(!Y){V.setAttribute(K,"return;");Y=typeof V[K]==="function"}return Y};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=g=l=null}})();var X={},ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},
data:function(a,b,d){if(c.acceptData(a)){a=a==e?X:a;var f=a.nodeType,g=f?a[c.expando]:null,l=c.cache;if(!(f&&!g&&typeof b==="string"&&d===h)){if(f)g||(a[c.expando]=g=++c.uuid);else l=a;if(typeof b==="object")if(f)l[g]=c.extend(l[g],b);else c.extend(l,b);else if(f&&!l[g])l[g]={};a=f?l[g]:l;if(d!==h)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==e?X:a;var d=a.nodeType,f=d?a[c.expando]:a,g=c.cache,l=d?g[f]:f;if(b){if(l){delete l[b];d&&c.isEmptyObject(l)&&
c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete g[f];else for(var u in a)delete a[u]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var f=this[0].attributes,g;d=c.data(this[0]);for(var l=0,u=f.length;l<u;l++){g=f[l].name;
if(g.indexOf("data-")===0){g=g.substr(5);m(this[0],g,d[g])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var s=a.split(".");s[1]=s[1]?"."+s[1]:"";if(b===h){d=this.triggerHandler("getData"+s[1]+"!",[s[0]]);if(d===h&&this.length){d=c.data(this[0],a);d=m(this[0],a,d)}return d===h&&s[1]?this.data(s[0]):d}else return this.each(function(){var z=c(this),R=[s[0],b];z.triggerHandler("setData"+s[1]+"!",R);c.data(this,a,b);z.triggerHandler("changeData"+s[1]+"!",R)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===h)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,
a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ka=/[\n\t]/g,ha=/\s+/,ea=/\r/g,ia=/^(?:href|src|style)$/,fa=/^(?:button|input)$/i,za=/^(?:button|input|object|select|textarea)$/i,wa=/^a(?:rea)?$/i,Ja=/^(?:radio|checkbox)$/i;
c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(R){var K=c(this);K.addClass(a.call(this,
R,K.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,f=this.length;d<f;d++){var g=this[d];if(g.nodeType===1)if(g.className){for(var l=" "+g.className+" ",u=g.className,s=0,z=b.length;s<z;s++)if(l.indexOf(" "+b[s]+" ")<0)u+=" "+b[s];g.className=c.trim(u)}else g.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(z){var R=c(this);R.removeClass(a.call(this,z,R.attr("class")))});if(a&&typeof a==="string"||a===h)for(var b=(a||"").split(ha),
d=0,f=this.length;d<f;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var l=(" "+g.className+" ").replace(ka," "),u=0,s=b.length;u<s;u++)l=l.replace(" "+b[u]+" "," ");g.className=c.trim(l)}else g.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(g){var l=c(this);l.toggleClass(a.call(this,g,l.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var g,l=0,u=c(this),s=b,z=a.split(ha);g=z[l++];){s=
f?s:!u.hasClass(g);u[s?"addClass":"removeClass"](g)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(ka," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||
d.specified?b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex;d=[];var g=b.options;b=b.type==="select-one";if(f<0)return null;var l=b?f:0;for(f=b?f+1:g.length;l<f;l++){var u=g[l];if(u.selected&&(c.support.optDisabled?!u.disabled:u.getAttribute("disabled")===null)&&(!u.parentNode.disabled||!c.nodeName(u.parentNode,"optgroup"))){a=c(u).val();if(b)return a;d.push(a)}}return d}if(Ja.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(ea,
"")}return h}var s=c.isFunction(a);return this.each(function(z){var R=c(this),K=a;if(this.nodeType===1){if(s)K=a.call(this,z,R.val());if(K==null)K="";else if(typeof K==="number")K+="";else if(c.isArray(K))K=c.map(K,function(Y){return Y==null?"":Y+""});if(c.isArray(K)&&Ja.test(this.type))this.checked=c.inArray(R.val(),K)>=0;else if(c.nodeName(this,"select")){var V=c.makeArray(K);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),V)>=0});if(!V.length)this.selectedIndex=-1}else this.value=
K}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return h;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var g=d!==h;b=f&&c.props[b]||b;var l=ia.test(b);if((b in a||a[b]!==h)&&f&&!l){if(g){b==="type"&&fa.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,
"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:za.test(a.nodeName)||wa.test(a.nodeName)&&a.href?0:h;return a[b]}if(!c.support.style&&f&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return h;a=!c.support.hrefNormalized&&f&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?h:a}});var ya=/\.(.*)$/,
Da=/^(?:textarea|input|select)$/i,Ia=/\./g,Pa=/ /g,Sa=/[^\w\s.|`]/g,Ta=function(a){return a.replace(Sa,"\\$&")},Ma={focusin:0,focusout:0};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==e&&!a.frameElement)a=e;if(d===false)d=p;else if(!d)return;var g,l;if(d.handler){g=d;d=g.handler}if(!d.guid)d.guid=c.guid++;if(l=c.data(a)){var u=a.nodeType?"events":"__events__",s=l[u],z=l.handle;if(typeof s==="function"){z=s.handle;s=s.events}else if(!s){a.nodeType||(l[u]=
l=function(){});l.events=s={}}if(!z)l.handle=z=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(z.elem,arguments):h};z.elem=a;b=b.split(" ");for(var R=0,K;u=b[R++];){l=g?c.extend({},g):{handler:d,data:f};if(u.indexOf(".")>-1){K=u.split(".");u=K.shift();l.namespace=K.slice(0).sort().join(".")}else{K=[];l.namespace=""}l.type=u;if(!l.guid)l.guid=d.guid;var V=s[u],Y=c.event.special[u]||{};if(!V){V=s[u]=[];if(!Y.setup||Y.setup.call(a,f,K,z)===false)if(a.addEventListener)a.addEventListener(u,
z,false);else a.attachEvent&&a.attachEvent("on"+u,z)}if(Y.add){Y.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}V.push(l);c.event.global[u]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=p;var g,l,u=0,s,z,R,K,V,Y,ga=a.nodeType?"events":"__events__",Q=c.data(a),da=Q&&Q[ga];if(Q&&da){if(typeof da==="function"){Q=da;da=da.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(g in da)c.event.remove(a,
g+b)}else{for(b=b.split(" ");g=b[u++];){K=g;s=g.indexOf(".")<0;z=[];if(!s){z=g.split(".");g=z.shift();R=RegExp("(^|\\.)"+c.map(z.slice(0).sort(),Ta).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(V=da[g])if(d){K=c.event.special[g]||{};for(l=f||0;l<V.length;l++){Y=V[l];if(d.guid===Y.guid){if(s||R.test(Y.namespace)){f==null&&V.splice(l--,1);K.remove&&K.remove.call(a,Y)}if(f!=null)break}}if(V.length===0||f!=null&&V.length===1){if(!K.teardown||K.teardown.call(a,z)===false)c.removeEvent(a,g,Q.handle);delete da[g]}}else for(l=
0;l<V.length;l++){Y=V[l];if(s||R.test(Y.namespace)){c.event.remove(a,K,Y.handler,l);V.splice(l--,1)}}}if(c.isEmptyObject(da)){if(b=Q.handle)b.elem=null;delete Q.events;delete Q.handle;if(typeof Q==="function")c.removeData(a,ga);else c.isEmptyObject(Q)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var g=a.type||a;if(!f){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(g),a):c.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[g]&&
c.each(c.cache,function(){this.events&&this.events[g]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return h;a.result=h;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+g]&&d["on"+g].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(l){}if(!a.isPropagationStopped()&&
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){var u;f=a.target;var s=g.replace(ya,""),z=c.nodeName(f,"a")&&s==="click",R=c.event.special[s]||{};if((!R._default||R._default.call(d,a)===false)&&!z&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[s]){if(u=f["on"+s])f["on"+s]=null;c.event.triggered=true;f[s]()}}catch(K){}if(u)f["on"+s]=u;c.event.triggered=false}}},handle:function(a){var b,d,f,g;d=[];var l=c.makeArray(arguments);a=l[0]=c.event.fix(a||e.event);a.currentTarget=
this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){f=a.type.split(".");a.type=f.shift();d=f.slice(0).sort();f=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");g=c.data(this,this.nodeType?"events":"__events__");if(typeof g==="function")g=g.events;d=(g||{})[a.type];if(g&&d){d=d.slice(0);g=0;for(var u=d.length;g<u;g++){var s=d[g];if(b||f.test(s.namespace)){a.handler=s.handler;a.data=s.data;a.handleObj=s;s=s.handler.apply(this,l);if(s!==h){a.result=s;if(s===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(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,
f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||G;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=G.documentElement;d=G.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=
null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==h)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,H(a.origType,a.selector),c.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=
d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=G.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=n;var a=
this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=n;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=n;this.stopPropagation()},isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p};var Ea=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=
a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Fa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Fa:Ea,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Fa:Ea)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=
a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=h;return F("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=h;return F("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Aa,Ga=function(a){var b=a.type,d=a.value;if(b==="radio"||
b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},xa=function(a,b){var d=a.target,f,g;if(!(!Da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");g=Ga(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",g);if(!(f===h||g===f))if(f!=null||g){a.type="change";a.liveFired=h;return c.event.trigger(a,b,d)}}};c.event.special.change=
{filters:{focusout:xa,beforedeactivate:xa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return xa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return xa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ga(a))}},setup:function(){if(this.type==="file")return false;for(var a in Aa)c.event.add(this,
a+".specialChange",Aa[a]);return Da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Da.test(this.nodeName)}};Aa=c.event.special.change.filters;Aa.focus=Aa.beforeactivate}G.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.trigger(f,null,f.target)}c.event.special[b]={setup:function(){Ma[b]++===0&&G.addEventListener(a,d,true)},teardown:function(){--Ma[b]===0&&G.removeEventListener(a,d,
true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,g){if(typeof d==="object"){for(var l in d)this[b](l,f,d[l],g);return this}if(c.isFunction(f)||f===false){g=f;f=h}var u=b==="one"?c.proxy(g,function(z){c(this).unbind(z,u);return g.apply(this,arguments)}):g;if(d==="unload"&&b!=="one")this.one(d,f,g);else{l=0;for(var s=this.length;l<s;l++)c.event.add(this[l],d,u,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var g=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,g+1);f.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ba={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,g,l){var u,s=0,z,R,K=l||this.selector;l=l?this:c(this.context);if(typeof d===
"object"&&!d.preventDefault){for(u in d)l[b](u,f,d[u],K);return this}if(c.isFunction(f)){g=f;f=h}for(d=(d||"").split(" ");(u=d[s++])!=null;){z=ya.exec(u);R="";if(z){R=z[0];u=u.replace(ya,"")}if(u==="hover")d.push("mouseenter"+R,"mouseleave"+R);else{z=u;if(u==="focus"||u==="blur"){d.push(Ba[u]+R);u+=R}else u=(Ba[u]||u)+R;if(b==="live"){R=0;for(var V=l.length;R<V;R++)c.event.add(l[R],"live."+H(u,K),{data:f,selector:K,handler:g,origType:u,origHandler:g,preType:z})}else l.unbind("live."+H(u,K),g)}}return this}});
c.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(a,b){c.fn[b]=function(d,f){if(f==null){f=d;d=null}return arguments.length>0?this.bind(b,d,f):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});e.attachEvent&&!e.addEventListener&&c(e).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(k,q,y,w,C,D){C=0;for(var O=w.length;C<O;C++){var S=w[C];if(S){var aa=false;for(S=S[k];S;){if(S.sizcache===y){aa=w[S.sizset];break}if(S.nodeType===1&&!D){S.sizcache=y;S.sizset=C}if(S.nodeName.toLowerCase()===q){aa=S;break}S=S[k]}w[C]=aa}}}function b(k,q,y,w,C,D){C=0;for(var O=w.length;C<O;C++){var S=w[C];if(S){var aa=false;for(S=S[k];S;){if(S.sizcache===y){aa=w[S.sizset];break}if(S.nodeType===1){if(!D){S.sizcache=y;S.sizset=C}if(typeof q!=="string"){if(S===q){aa=true;break}}else if(s.filter(q,
[S]).length>0){aa=S;break}}S=S[k]}w[C]=aa}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,g=Object.prototype.toString,l=false,u=true;[0,0].sort(function(){u=false;return 0});var s=function(k,q,y,w){y=y||[];var C=q=q||G;if(q.nodeType!==1&&q.nodeType!==9)return[];if(!k||typeof k!=="string")return y;var D,O,S,aa,pa,qa=true,ra=s.isXML(q),Z=[],Ca=k;do{d.exec("");if(D=d.exec(Ca)){Ca=D[3];Z.push(D[1]);if(D[2]){aa=
D[3];break}}}while(D);if(Z.length>1&&R.exec(k))if(Z.length===2&&z.relative[Z[0]])O=oa(Z[0]+Z[1],q);else for(O=z.relative[Z[0]]?[q]:s(Z.shift(),q);Z.length;){k=Z.shift();if(z.relative[k])k+=Z.shift();O=oa(k,O)}else{if(!w&&Z.length>1&&q.nodeType===9&&!ra&&z.match.ID.test(Z[0])&&!z.match.ID.test(Z[Z.length-1])){D=s.find(Z.shift(),q,ra);q=D.expr?s.filter(D.expr,D.set)[0]:D.set[0]}if(q){D=w?{expr:Z.pop(),set:Y(w)}:s.find(Z.pop(),Z.length===1&&(Z[0]==="~"||Z[0]==="+")&&q.parentNode?q.parentNode:q,ra);O=
D.expr?s.filter(D.expr,D.set):D.set;if(Z.length>0)S=Y(O);else qa=false;for(;Z.length;){D=pa=Z.pop();if(z.relative[pa])D=Z.pop();else pa="";if(D==null)D=q;z.relative[pa](S,D,ra)}}else S=[]}S||(S=O);S||s.error(pa||k);if(g.call(S)==="[object Array]")if(qa)if(q&&q.nodeType===1)for(k=0;S[k]!=null;k++){if(S[k]&&(S[k]===true||S[k].nodeType===1&&s.contains(q,S[k])))y.push(O[k])}else for(k=0;S[k]!=null;k++)S[k]&&S[k].nodeType===1&&y.push(O[k]);else y.push.apply(y,S);else Y(S,y);if(aa){s(aa,C,y,w);s.uniqueSort(y)}return y};
s.uniqueSort=function(k){if(Q){l=u;k.sort(Q);if(l)for(var q=1;q<k.length;q++)k[q]===k[q-1]&&k.splice(q--,1)}return k};s.matches=function(k,q){return s(k,null,null,q)};s.matchesSelector=function(k,q){return s(q,null,null,[k]).length>0};s.find=function(k,q,y){var w;if(!k)return[];for(var C=0,D=z.order.length;C<D;C++){var O,S=z.order[C];if(O=z.leftMatch[S].exec(k)){var aa=O[1];O.splice(1,1);if(aa.substr(aa.length-1)!=="\\"){O[1]=(O[1]||"").replace(/\\/g,"");w=z.find[S](O,q,y);if(w!=null){k=k.replace(z.match[S],
"");break}}}}w||(w=q.getElementsByTagName("*"));return{set:w,expr:k}};s.filter=function(k,q,y,w){for(var C,D,O=k,S=[],aa=q,pa=q&&q[0]&&s.isXML(q[0]);k&&q.length;){for(var qa in z.filter)if((C=z.leftMatch[qa].exec(k))!=null&&C[2]){var ra,Z,Ca=z.filter[qa];Z=C[1];D=false;C.splice(1,1);if(Z.substr(Z.length-1)!=="\\"){if(aa===S)S=[];if(z.preFilter[qa])if(C=z.preFilter[qa](C,aa,y,S,w,pa)){if(C===true)continue}else D=ra=true;if(C)for(var r=0;(Z=aa[r])!=null;r++)if(Z){ra=Ca(Z,C,r,aa);var M=w^!!ra;if(y&&
ra!=null)if(M)D=true;else aa[r]=false;else if(M){S.push(Z);D=true}}if(ra!==h){y||(aa=S);k=k.replace(z.match[qa],"");if(!D)return[];break}}}if(k===O)if(D==null)s.error(k);else break;O=k}return aa};s.error=function(k){throw"Syntax error, unrecognized expression: "+k;};var z=s.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(k){return k.getAttribute("href")}},relative:{"+":function(k,q){var y=typeof q==="string",w=y&&!/\W/.test(q);y=y&&!w;if(w)q=q.toLowerCase();w=0;for(var C=k.length,
D;w<C;w++)if(D=k[w]){for(;(D=D.previousSibling)&&D.nodeType!==1;);k[w]=y||D&&D.nodeName.toLowerCase()===q?D||false:D===q}y&&s.filter(q,k,true)},">":function(k,q){var y,w=typeof q==="string",C=0,D=k.length;if(w&&!/\W/.test(q))for(q=q.toLowerCase();C<D;C++){if(y=k[C]){y=y.parentNode;k[C]=y.nodeName.toLowerCase()===q?y:false}}else{for(;C<D;C++)if(y=k[C])k[C]=w?y.parentNode:y.parentNode===q;w&&s.filter(q,k,true)}},"":function(k,q,y){var w,C=f++,D=b;if(typeof q==="string"&&!/\W/.test(q)){w=q=q.toLowerCase();
D=a}D("parentNode",q,C,k,w,y)},"~":function(k,q,y){var w,C=f++,D=b;if(typeof q==="string"&&!/\W/.test(q)){w=q=q.toLowerCase();D=a}D("previousSibling",q,C,k,w,y)}},find:{ID:function(k,q,y){if(typeof q.getElementById!=="undefined"&&!y)return(k=q.getElementById(k[1]))&&k.parentNode?[k]:[]},NAME:function(k,q){if(typeof q.getElementsByName!=="undefined"){for(var y=[],w=q.getElementsByName(k[1]),C=0,D=w.length;C<D;C++)w[C].getAttribute("name")===k[1]&&y.push(w[C]);return y.length===0?null:y}},TAG:function(k,
q){return q.getElementsByTagName(k[1])}},preFilter:{CLASS:function(k,q,y,w,C,D){k=" "+k[1].replace(/\\/g,"")+" ";if(D)return k;D=0;for(var O;(O=q[D])!=null;D++)if(O)if(C^(O.className&&(" "+O.className+" ").replace(/[\t\n]/g," ").indexOf(k)>=0))y||w.push(O);else if(y)q[D]=false;return false},ID:function(k){return k[1].replace(/\\/g,"")},TAG:function(k){return k[1].toLowerCase()},CHILD:function(k){if(k[1]==="nth"){var q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(k[2]==="even"&&"2n"||k[2]==="odd"&&"2n+1"||!/\D/.test(k[2])&&
"0n+"+k[2]||k[2]);k[2]=q[1]+(q[2]||1)-0;k[3]=q[3]-0}k[0]=f++;return k},ATTR:function(k,q,y,w,C,D){q=k[1].replace(/\\/g,"");if(!D&&z.attrMap[q])k[1]=z.attrMap[q];if(k[2]==="~=")k[4]=" "+k[4]+" ";return k},PSEUDO:function(k,q,y,w,C){if(k[1]==="not")if((d.exec(k[3])||"").length>1||/^\w/.test(k[3]))k[3]=s(k[3],null,null,q);else{k=s.filter(k[3],q,y,true^C);y||w.push.apply(w,k);return false}else if(z.match.POS.test(k[0])||z.match.CHILD.test(k[0]))return true;return k},POS:function(k){k.unshift(true);return k}},
filters:{enabled:function(k){return k.disabled===false&&k.type!=="hidden"},disabled:function(k){return k.disabled===true},checked:function(k){return k.checked===true},selected:function(k){return k.selected===true},parent:function(k){return!!k.firstChild},empty:function(k){return!k.firstChild},has:function(k,q,y){return!!s(y[3],k).length},header:function(k){return/h\d/i.test(k.nodeName)},text:function(k){return"text"===k.type},radio:function(k){return"radio"===k.type},checkbox:function(k){return"checkbox"===
k.type},file:function(k){return"file"===k.type},password:function(k){return"password"===k.type},submit:function(k){return"submit"===k.type},image:function(k){return"image"===k.type},reset:function(k){return"reset"===k.type},button:function(k){return"button"===k.type||k.nodeName.toLowerCase()==="button"},input:function(k){return/input|select|textarea|button/i.test(k.nodeName)}},setFilters:{first:function(k,q){return q===0},last:function(k,q,y,w){return q===w.length-1},even:function(k,q){return q%2===
0},odd:function(k,q){return q%2===1},lt:function(k,q,y){return q<y[3]-0},gt:function(k,q,y){return q>y[3]-0},nth:function(k,q,y){return y[3]-0===q},eq:function(k,q,y){return y[3]-0===q}},filter:{PSEUDO:function(k,q,y,w){var C=q[1],D=z.filters[C];if(D)return D(k,y,q,w);else if(C==="contains")return(k.textContent||k.innerText||s.getText([k])||"").indexOf(q[3])>=0;else if(C==="not"){q=q[3];y=0;for(w=q.length;y<w;y++)if(q[y]===k)return false;return true}else s.error("Syntax error, unrecognized expression: "+
C)},CHILD:function(k,q){var y=q[1],w=k;switch(y){case "only":case "first":for(;w=w.previousSibling;)if(w.nodeType===1)return false;if(y==="first")return true;w=k;case "last":for(;w=w.nextSibling;)if(w.nodeType===1)return false;return true;case "nth":y=q[2];var C=q[3];if(y===1&&C===0)return true;var D=q[0],O=k.parentNode;if(O&&(O.sizcache!==D||!k.nodeIndex)){var S=0;for(w=O.firstChild;w;w=w.nextSibling)if(w.nodeType===1)w.nodeIndex=++S;O.sizcache=D}w=k.nodeIndex-C;return y===0?w===0:w%y===0&&w/y>=
0}},ID:function(k,q){return k.nodeType===1&&k.getAttribute("id")===q},TAG:function(k,q){return q==="*"&&k.nodeType===1||k.nodeName.toLowerCase()===q},CLASS:function(k,q){return(" "+(k.className||k.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(k,q){var y=q[1];y=z.attrHandle[y]?z.attrHandle[y](k):k[y]!=null?k[y]:k.getAttribute(y);var w=y+"",C=q[2],D=q[4];return y==null?C==="!=":C==="="?w===D:C==="*="?w.indexOf(D)>=0:C==="~="?(" "+w+" ").indexOf(D)>=0:!D?w&&y!==false:C==="!="?w!==D:C==="^="?
w.indexOf(D)===0:C==="$="?w.substr(w.length-D.length)===D:C==="|="?w===D||w.substr(0,D.length+1)===D+"-":false},POS:function(k,q,y,w){var C=z.setFilters[q[2]];if(C)return C(k,y,q,w)}}},R=z.match.POS,K=function(k,q){return"\\"+(q-0+1)},V;for(V in z.match){z.match[V]=RegExp(z.match[V].source+/(?![^\[]*\])(?![^\(]*\))/.source);z.leftMatch[V]=RegExp(/(^(?:.|\r|\n)*?)/.source+z.match[V].source.replace(/\\(\d+)/g,K))}var Y=function(k,q){k=Array.prototype.slice.call(k,0);if(q){q.push.apply(q,k);return q}return k};
try{Array.prototype.slice.call(G.documentElement.childNodes,0)}catch(ga){Y=function(k,q){var y=0,w=q||[];if(g.call(k)==="[object Array]")Array.prototype.push.apply(w,k);else if(typeof k.length==="number")for(var C=k.length;y<C;y++)w.push(k[y]);else for(;k[y];y++)w.push(k[y]);return w}}var Q,da;if(G.documentElement.compareDocumentPosition)Q=function(k,q){if(k===q){l=true;return 0}if(!k.compareDocumentPosition||!q.compareDocumentPosition)return k.compareDocumentPosition?-1:1;return k.compareDocumentPosition(q)&
4?-1:1};else{Q=function(k,q){var y,w,C=[],D=[];y=k.parentNode;w=q.parentNode;var O=y;if(k===q){l=true;return 0}else if(y===w)return da(k,q);else if(y){if(!w)return 1}else return-1;for(;O;){C.unshift(O);O=O.parentNode}for(O=w;O;){D.unshift(O);O=O.parentNode}y=C.length;w=D.length;for(O=0;O<y&&O<w;O++)if(C[O]!==D[O])return da(C[O],D[O]);return O===y?da(k,D[O],-1):da(C[O],q,1)};da=function(k,q,y){if(k===q)return y;for(k=k.nextSibling;k;){if(k===q)return-1;k=k.nextSibling}return 1}}s.getText=function(k){for(var q=
"",y,w=0;k[w];w++){y=k[w];if(y.nodeType===3||y.nodeType===4)q+=y.nodeValue;else if(y.nodeType!==8)q+=s.getText(y.childNodes)}return q};(function(){var k=G.createElement("div"),q="script"+(new Date).getTime(),y=G.documentElement;k.innerHTML="<a name='"+q+"'/>";y.insertBefore(k,y.firstChild);if(G.getElementById(q)){z.find.ID=function(w,C,D){if(typeof C.getElementById!=="undefined"&&!D)return(C=C.getElementById(w[1]))?C.id===w[1]||typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id").nodeValue===
w[1]?[C]:h:[]};z.filter.ID=function(w,C){var D=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&D&&D.nodeValue===C}}y.removeChild(k);y=k=null})();(function(){var k=G.createElement("div");k.appendChild(G.createComment(""));if(k.getElementsByTagName("*").length>0)z.find.TAG=function(q,y){var w=y.getElementsByTagName(q[1]);if(q[1]==="*"){for(var C=[],D=0;w[D];D++)w[D].nodeType===1&&C.push(w[D]);w=C}return w};k.innerHTML="<a href='#'></a>";if(k.firstChild&&typeof k.firstChild.getAttribute!==
"undefined"&&k.firstChild.getAttribute("href")!=="#")z.attrHandle.href=function(q){return q.getAttribute("href",2)};k=null})();G.querySelectorAll&&function(){var k=s,q=G.createElement("div");q.innerHTML="<p class='TEST'></p>";if(!(q.querySelectorAll&&q.querySelectorAll(".TEST").length===0)){s=function(w,C,D,O){C=C||G;w=w.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!O&&!s.isXML(C))if(C.nodeType===9)try{return Y(C.querySelectorAll(w),D)}catch(S){}else if(C.nodeType===1&&C.nodeName.toLowerCase()!==
"object"){var aa=C.getAttribute("id"),pa=aa||"__sizzle__";aa||C.setAttribute("id",pa);try{return Y(C.querySelectorAll("#"+pa+" "+w),D)}catch(qa){}finally{aa||C.removeAttribute("id")}}return k(w,C,D,O)};for(var y in k)s[y]=k[y];q=null}}();(function(){var k=G.documentElement,q=k.matchesSelector||k.mozMatchesSelector||k.webkitMatchesSelector||k.msMatchesSelector,y=false;try{q.call(G.documentElement,"[test!='']:sizzle")}catch(w){y=true}if(q)s.matchesSelector=function(C,D){D=D.replace(/\=\s*([^'"\]]*)\s*\]/g,
"='$1']");if(!s.isXML(C))try{if(y||!z.match.PSEUDO.test(D)&&!/!=/.test(D))return q.call(C,D)}catch(O){}return s(D,null,null,[C]).length>0}})();(function(){var k=G.createElement("div");k.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!k.getElementsByClassName||k.getElementsByClassName("e").length===0)){k.lastChild.className="e";if(k.getElementsByClassName("e").length!==1){z.order.splice(1,0,"CLASS");z.find.CLASS=function(q,y,w){if(typeof y.getElementsByClassName!=="undefined"&&
!w)return y.getElementsByClassName(q[1])};k=null}}})();s.contains=G.documentElement.contains?function(k,q){return k!==q&&(k.contains?k.contains(q):true)}:G.documentElement.compareDocumentPosition?function(k,q){return!!(k.compareDocumentPosition(q)&16)}:function(){return false};s.isXML=function(k){return(k=(k?k.ownerDocument||k:0).documentElement)?k.nodeName!=="HTML":false};var oa=function(k,q){for(var y,w=[],C="",D=q.nodeType?[q]:q;y=z.match.PSEUDO.exec(k);){C+=y[0];k=k.replace(z.match.PSEUDO,"")}k=
z.relative[k]?k+"*":k;y=0;for(var O=D.length;y<O;y++)s(k,D[y],w);return s.filter(C,w)};c.find=s;c.expr=s.selectors;c.expr[":"]=c.expr.filters;c.unique=s.uniqueSort;c.text=s.getText;c.isXMLDoc=s.isXML;c.contains=s.contains})();var Ua=/Until$/,Va=/^(?:parents|prevUntil|prevAll)/,x=/,/,I=/^.[^:#\[\.,]*$/,W=Array.prototype.slice,na=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,g=this.length;f<g;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var l=d;l<b.length;l++)for(var u=
0;u<d;u++)if(b[u]===b[l]){b.splice(l--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(o(this,a,false),"not",a)},filter:function(a){return this.pushStack(o(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],f,g,l=this[0];if(c.isArray(a)){var u,s={},z=1;if(l&&a.length){f=0;for(g=a.length;f<g;f++){u=a[f];
s[u]||(s[u]=c.expr.match.POS.test(u)?c(u,b||this.context):u)}for(;l&&l.ownerDocument&&l!==b;){for(u in s){f=s[u];if(f.jquery?f.index(l)>-1:c(l).is(f))d.push({selector:u,elem:l,level:z})}l=l.parentNode;z++}}return d}u=na.test(a)?c(a,b||this.context):null;f=0;for(g=this.length;f<g;f++)for(l=this[f];l;)if(u?u.index(l)>-1:c.find.matchesSelector(l,a)){d.push(l);break}else{l=l.parentNode;if(!l||!l.ownerDocument||l===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||
typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),f=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:c.unique(f))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},
parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var g=c.map(this,b,d);Ua.test(a)||(f=d);if(f&&typeof f==="string")g=c.filter(f,g);g=this.length>1?c.unique(g):g;if((this.length>1||x.test(f))&&Va.test(a))g=g.reverse();return this.pushStack(g,a,W.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===
1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===h||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var va=/ jQuery\d+="(?:\d+|null)"/g,sa=/^\s+/,ma=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
Ka=/<([\w:]+)/,hb=/<tbody/i,ib=/<|&#?\w+;/,Ya=/<(?:script|object|embed|option|style)/i,Za=/checked\s*(?:[^=]|=\s*.checked.)/i,jb=/\=([^="'>\s]+\/)>/g,ta={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,"",""]};ta.optgroup=ta.option;
ta.tbody=ta.tfoot=ta.colgroup=ta.caption=ta.thead;ta.th=ta.td;if(!c.support.htmlSerialize)ta._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==h)return this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=
c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,
"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());
return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&
f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(va,"").replace(jb,'="$1">').replace(sa,"")],f)[0]}else return this.cloneNode(true)});
if(a===true){B(this,b);B(this.find("*"),b.find("*"))}return b},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(va,""):null;else if(typeof a==="string"&&!Ya.test(a)&&(c.support.leadingWhitespace||!sa.test(a))&&!ta[(Ka.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ma,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(g){var l=c(this);l.html(a.call(this,g,l.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,
true)},domManip:function(a,b,d){var f,g,l,u=a[0],s=[];if(!c.support.checkClone&&arguments.length===3&&typeof u==="string"&&Za.test(u))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(u))return this.each(function(R){var K=c(this);a[0]=u.call(this,R,b?K.html():h);K.domManip(a,b,d)});if(this[0]){f=u&&u.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:c.buildFragment(a,this,s);l=f.fragment;if(g=l.childNodes.length===1?l=l.firstChild:
l.firstChild){b=b&&c.nodeName(g,"tr");g=0;for(var z=this.length;g<z;g++)d.call(b?c.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],g>0||f.cacheable||this.length>1?l.cloneNode(true):l)}s.length&&c.each(s,J)}return this}});c.buildFragment=function(a,b,d){var f,g,l;b=b&&b[0]?b[0].ownerDocument||b[0]:G;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===G&&!Ya.test(a[0])&&(c.support.checkClone||
!Za.test(a[0]))){g=true;if(l=c.fragments[a[0]])if(l!==1)f=l}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(g)c.fragments[a[0]]=l?f:1;return{fragment:f,cacheable:g}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{g=0;for(var l=
d.length;g<l;g++){var u=(g>0?this.clone(true):this).get();c(d[g])[b](u);f=f.concat(u)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||G;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||G;for(var g=[],l=0,u;(u=a[l])!=null;l++){if(typeof u==="number")u+="";if(u){if(typeof u==="string"&&!ib.test(u))u=b.createTextNode(u);else if(typeof u==="string"){u=u.replace(ma,"<$1></$2>");var s=(Ka.exec(u)||["",""])[1].toLowerCase(),z=ta[s]||ta._default,
R=z[0],K=b.createElement("div");for(K.innerHTML=z[1]+u+z[2];R--;)K=K.lastChild;if(!c.support.tbody){R=hb.test(u);s=s==="table"&&!R?K.firstChild&&K.firstChild.childNodes:z[1]==="<table>"&&!R?K.childNodes:[];for(z=s.length-1;z>=0;--z)c.nodeName(s[z],"tbody")&&!s[z].childNodes.length&&s[z].parentNode.removeChild(s[z])}!c.support.leadingWhitespace&&sa.test(u)&&K.insertBefore(b.createTextNode(sa.exec(u)[0]),K.firstChild);u=K.childNodes}if(u.nodeType)g.push(u);else g=c.merge(g,u)}}if(d)for(l=0;g[l];l++)if(f&&
c.nodeName(g[l],"script")&&(!g[l].type||g[l].type.toLowerCase()==="text/javascript"))f.push(g[l].parentNode?g[l].parentNode.removeChild(g[l]):g[l]);else{g[l].nodeType===1&&g.splice.apply(g,[l+1,0].concat(c.makeArray(g[l].getElementsByTagName("script"))));d.appendChild(g[l])}return g},cleanData:function(a){for(var b,d,f=c.cache,g=c.event.special,l=c.support.deleteExpando,u=0,s;(s=a[u])!=null;u++)if(!(s.nodeName&&c.noData[s.nodeName.toLowerCase()]))if(d=s[c.expando]){if((b=f[d])&&b.events)for(var z in b.events)g[z]?
c.event.remove(s,z):c.removeEvent(s,z,b.handle);if(l)delete s[c.expando];else s.removeAttribute&&s.removeAttribute(c.expando);delete f[d]}}});var $a=/alpha\([^)]*\)/i,kb=/opacity=([^)]*)/,lb=/-([a-z])/ig,mb=/([A-Z])/g,ab=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},eb=["Left","Right"],fb=["Top","Bottom"],La,bb,Na,pb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===h)return this;return c.access(this,a,b,true,function(d,
f,g){return g!==h?c.style(d,f,g):c.css(d,f)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=La(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,f){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var g,l=c.camelCase(b),u=a.style,s=c.cssHooks[l];b=c.cssProps[l]||l;if(d!==h){if(!(typeof d==="number"&&
isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[l])d+="px";if(!s||!("set"in s)||(d=s.set(a,d))!==h)try{u[b]=d}catch(z){}}}else{if(s&&"get"in s&&(g=s.get(a,false,f))!==h)return g;return u[b]}}},css:function(a,b,d){var f,g=c.camelCase(b),l=c.cssHooks[g];b=c.cssProps[g]||g;if(l&&"get"in l&&(f=l.get(a,true,d))!==h)return f;else if(La)return La(a,b,g)},swap:function(a,b,d){var f={},g;for(g in b){f[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=f[g]},camelCase:function(a){return a.replace(lb,
pb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,f,g){var l;if(f){if(d.offsetWidth!==0)l=v(d,b,g);else c.swap(d,ob,function(){l=v(d,b,g)});if(l<=0){l=La(d,b,b);if(l==="0px"&&Na)l=Na(d,b,b);if(l!=null)return l===""||l==="auto"?"0px":l}if(l<0||l==null){l=d.style[b];return l===""||l==="auto"?"0px":l}return typeof l==="string"?l:l+"px"}},set:function(d,f){if(ab.test(f)){f=parseFloat(f);if(f>=0)return f+"px"}else return f}}});if(!c.support.opacity)c.cssHooks.opacity=
{get:function(a,b){return kb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var f=c.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d.filter||"";d.filter=$a.test(g)?g.replace($a,f):d.filter+" "+f}};if(G.defaultView&&G.defaultView.getComputedStyle)bb=function(a,b,d){var f;d=d.replace(mb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return h;if(b=b.getComputedStyle(a,null)){f=b.getPropertyValue(d);
if(f===""&&!c.contains(a.ownerDocument.documentElement,a))f=c.style(a,d)}return f};if(G.documentElement.currentStyle)Na=function(a,b){var d,f,g=a.currentStyle&&a.currentStyle[b],l=a.style;if(!ab.test(g)&&nb.test(g)){d=l.left;f=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;l.left=b==="fontSize"?"1em":g||0;g=l.pixelLeft+"px";l.left=d;a.runtimeStyle.left=f}return g===""?"auto":g};La=bb||Na;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===
0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var qb=c.now(),rb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,sb=/^(?:select|textarea)/i,tb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ub=/^(?:GET|HEAD)$/,gb=/\[\]$/,Ha=/\=\?(&|$)/,Wa=/\?/,vb=/([?&])_=[^&]*/,wb=/^(\w+:)?\/\/([^\/?#]+)/,xb=/%20/g,yb=/#.*$/,cb=c.fn.load;c.fn.extend({load:function(a,
b,d){if(typeof a!=="string"&&cb)return cb.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var l=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(u,s){if(s==="success"||s==="notmodified")l.html(g?c("<div>").append(u.responseText.replace(rb,"")).find(g):u.responseText);d&&l.each(d,[u.responseText,
s,u])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||sb.test(this.nodeName)||tb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(f){return{name:b.name,value:f}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new e.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(a){var b=c.extend(true,{},c.ajaxSettings,a),d,f,g,l=b.type.toUpperCase(),u=ub.test(l);b.url=b.url.replace(yb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&
b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(l==="GET")Ha.test(b.url)||(b.url+=(Wa.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!Ha.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&Ha.test(b.data)||Ha.test(b.url))){d=b.jsonpCallback||"jsonp"+qb++;if(b.data)b.data=(b.data+"").replace(Ha,"="+d+"$1");b.url=b.url.replace(Ha,"="+d+"$1");b.dataType="script";
var s=e[d];e[d]=function(w){if(c.isFunction(s))s(w);else{e[d]=h;try{delete e[d]}catch(C){}}g=w;c.handleSuccess(b,Q,f,g);c.handleComplete(b,Q,f,g);K&&K.removeChild(V)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&u){var z=c.now(),R=b.url.replace(vb,"$1_="+z);b.url=R+(R===b.url?(Wa.test(b.url)?"&":"?")+"_="+z:"")}if(b.data&&u)b.url+=(Wa.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");z=(z=wb.exec(b.url))&&(z[1]&&z[1].toLowerCase()!==location.protocol||
z[2].toLowerCase()!==location.host);if(b.dataType==="script"&&l==="GET"&&z){var K=G.getElementsByTagName("head")[0]||G.documentElement,V=G.createElement("script");if(b.scriptCharset)V.charset=b.scriptCharset;V.src=b.url;if(!d){var Y=false;V.onload=V.onreadystatechange=function(){if(!Y&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){Y=true;c.handleSuccess(b,Q,f,g);c.handleComplete(b,Q,f,g);V.onload=V.onreadystatechange=null;K&&V.parentNode&&K.removeChild(V)}}}K.insertBefore(V,
K.firstChild);return h}var ga=false,Q=b.xhr();if(Q){b.username?Q.open(l,b.url,b.async,b.username,b.password):Q.open(l,b.url,b.async);try{if(b.data!=null&&!u||a&&a.contentType)Q.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){c.lastModified[b.url]&&Q.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&Q.setRequestHeader("If-None-Match",c.etag[b.url])}z||Q.setRequestHeader("X-Requested-With","XMLHttpRequest");Q.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?
b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(da){}if(b.beforeSend&&b.beforeSend.call(b.context,Q,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");Q.abort();return false}b.global&&c.triggerGlobal(b,"ajaxSend",[Q,b]);var oa=Q.onreadystatechange=function(w){if(!Q||Q.readyState===0||w==="abort"){ga||c.handleComplete(b,Q,f,g);ga=true;if(Q)Q.onreadystatechange=c.noop}else if(!ga&&Q&&(Q.readyState===4||w==="timeout")){ga=true;Q.onreadystatechange=c.noop;f=w==="timeout"?
"timeout":!c.httpSuccess(Q)?"error":b.ifModified&&c.httpNotModified(Q,b.url)?"notmodified":"success";var C;if(f==="success")try{g=c.httpData(Q,b.dataType,b)}catch(D){f="parsererror";C=D}if(f==="success"||f==="notmodified")d||c.handleSuccess(b,Q,f,g);else c.handleError(b,Q,f,C);d||c.handleComplete(b,Q,f,g);w==="timeout"&&Q.abort();if(b.async)Q=null}};try{var k=Q.abort;Q.abort=function(){Q&&Function.prototype.call.call(k,Q);oa("abort")}}catch(q){}b.async&&b.timeout>0&&setTimeout(function(){Q&&!ga&&
oa("timeout")},b.timeout);try{Q.send(u||b.data==null?null:b.data)}catch(y){c.handleError(b,Q,null,y);c.handleComplete(b,Q,f,g)}b.async||oa();return Q}},param:function(a,b){var d=[],f=function(l,u){u=c.isFunction(u)?u():u;d[d.length]=encodeURIComponent(l)+"="+encodeURIComponent(u)};if(b===h)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var g in a)L(g,a[g],b,f);return d.join("&").replace(xb,"+")}});c.extend({active:0,lastModified:{},etag:{},
handleError:function(a,b,d,f){a.error&&a.error.call(a.context,b,d,f);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,f])},handleSuccess:function(a,b,d,f){a.success&&a.success.call(a.context,f,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,
d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",g=b==="xml"||!b&&f.indexOf("xml")>=0;a=g?a.responseXML:a.responseText;g&&a.documentElement.nodeName===
"parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a}});if(e.ActiveXObject)c.ajaxSettings.xhr=function(){if(e.location.protocol!=="file:")try{return new e.XMLHttpRequest}catch(a){}try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var Qa={},zb=/^(?:toggle|show|hide)$/,
Ab=/^([+\-]=)?([\d+.\-]+)(.*)$/,Oa,Xa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(N("show",3),a,b,d);else{d=0;for(var f=this.length;d<f;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",A(a.nodeName))}for(d=0;d<f;d++){a=this[d];b=
a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(N("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var f=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||f?this.each(function(){var g=
f?a:c(this).is(":hidden");c(this)[g?"show":"hide"]()}):this.animate(N("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,f)},animate:function(a,b,d,f){var g=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var l=c.extend({},g),u,s=this.nodeType===1,z=s&&c(this).is(":hidden"),R=this;for(u in a){var K=c.camelCase(u);if(u!==K){a[K]=a[u];delete a[u];
u=K}if(a[u]==="hide"&&z||a[u]==="show"&&!z)return l.complete.call(this);if(s&&(u==="height"||u==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(A(this.nodeName)==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[u])){(l.specialEasing=l.specialEasing||{})[u]=a[u][1];
a[u]=a[u][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(V,Y){var ga=new c.fx(R,l,V);if(zb.test(Y))ga[Y==="toggle"?z?"show":"hide":Y](a);else{var Q=Ab.exec(Y),da=ga.cur()||0;if(Q){var oa=parseFloat(Q[2]),k=Q[3]||"px";if(k!=="px"){c.style(R,V,(oa||1)+k);da=(oa||1)/ga.cur()*da;c.style(R,V,da+k)}if(Q[1])oa=(Q[1]==="-="?-1:1)*oa+da;ga.custom(da,oa,k)}else ga.custom(da,Y,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=
d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:N("show",1),slideUp:N("hide",1),slideToggle:N("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,f,g){return this.animate(b,d,f,g)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=
c.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in c.fx.speeds?c.fx.speeds[f.duration]:c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&
this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.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 a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function f(u){return g.step(u)}var g=this,l=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;f.elem=this.elem;if(f()&&
c.timers.push(f)&&!Oa)Oa=setInterval(l.tick,l.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();
this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var g=this.elem,l=this.options;c.each(["","X","Y"],function(s,z){g.style["overflow"+z]=l.overflow[s]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var u in this.options.curAnim)c.style(this.elem,u,this.options.orig[u]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;
this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(Oa);Oa=null},speeds:{slow:600,fast:200,_default:400},
step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Bb=/^t(?:able|d|h)$/i,db=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in G.documentElement?function(a){var b=this[0],d;
if(a)return this.each(function(u){c.offset.setOffset(this,a,u)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(f){}var g=b.ownerDocument,l=g.documentElement;if(!d||!c.contains(l,b))return d||{top:0,left:0};b=g.body;g=U(g);return{top:d.top+(g.pageYOffset||c.support.boxModel&&l.scrollTop||b.scrollTop)-(l.clientTop||b.clientTop||0),left:d.left+(g.pageXOffset||c.support.boxModel&&l.scrollLeft||b.scrollLeft)-(l.clientLeft||
b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(R){c.offset.setOffset(this,a,R)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,f=b.offsetParent,g=b.ownerDocument,l=g.documentElement,u=g.body;d=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var s=b.offsetTop,z=b.offsetLeft;(b=b.parentNode)&&b!==u&&b!==l;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=g?g.getComputedStyle(b,
null):b.currentStyle;s-=b.scrollTop;z-=b.scrollLeft;if(b===f){s+=b.offsetTop;z+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&Bb.test(b.nodeName))){s+=parseFloat(d.borderTopWidth)||0;z+=parseFloat(d.borderLeftWidth)||0}f=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){s+=parseFloat(d.borderTopWidth)||0;z+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){s+=u.offsetTop;z+=u.offsetLeft}if(c.offset.supportsFixedPosition&&
d.position==="fixed"){s+=Math.max(l.scrollTop,u.scrollTop);z+=Math.max(l.scrollLeft,u.scrollLeft)}return{top:s,left:z}};c.offset={initialize:function(){var a=G.body,b=G.createElement("div"),d,f,g,l=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.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>";
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var f=c.css(a,"position");if(f==="static")a.style.position="relative";var g=c(a),l=g.offset(),u=c.css(a,"top"),s=c.css(a,"left"),z=f==="absolute"&&c.inArray("auto",[u,s])>-1;f={};var R={};if(z)R=g.position();u=z?R.top:parseInt(u,
10)||0;s=z?R.left:parseInt(s,10)||0;if(c.isFunction(b))b=b.call(a,d,l);if(b.top!=null)f.top=b.top-l.top+u;if(b.left!=null)f.left=b.left-l.left+s;"using"in b?b.using.call(a,f):g.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=db.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;f.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;f.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||G.body;a&&!db.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var g=this[0],l;if(!g)return null;return f!==h?this.each(function(){if(l=U(this))l.scrollTo(!a?f:c(l).scrollLeft(),a?f:c(l).scrollTop());else this[d]=f}):(l=U(g))?"pageXOffset"in l?l[a?"pageYOffset":
"pageXOffset"]:c.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:g[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(f){return this[0]?parseFloat(c.css(this[0],d,f?"margin":"border")):null};c.fn[d]=function(f){var g=this[0];if(!g)return f==null?null:this;if(c.isFunction(f))return this.each(function(u){var s=c(this);s[d](f.call(this,u,s[d]()))});if(c.isWindow(g))return g.document.compatMode===
"CSS1Compat"&&g.document.documentElement["client"+b]||g.document.body["client"+b];else if(g.nodeType===9)return Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]);else if(f===h){g=c.css(g,d);var l=parseFloat(g);return c.isNaN(l)?g:l}else return this.css(d,typeof f==="string"?f:f+"px")}})})(window);
(function(e){var h,m,p,n,F,E,H,o,B,J=0,v={},L=[],N=0,A={},U=[],G=null,c=new Image,X=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,ja=/[^\.]\.(swf)\s*$/i,ka,ha=1,ea,ia,fa=false,za=e.extend(e("<div/>")[0],{prop:0}),wa=0,Ja=!e.support.opacity&&!window.XMLHttpRequest,ya=function(){m.hide();c.onerror=c.onload=null;G&&G.abort();h.empty()},Da=function(){e.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},
Ia=function(){return[e(window).width(),e(window).height(),e(document).scrollLeft(),e(document).scrollTop()]},Pa=function(){var x=Ia(),I={},W=A.margin,na=A.autoScale,va=(20+W)*2,sa=(20+W)*2,ma=A.padding*2;if(A.width.toString().indexOf("%")>-1){I.width=x[0]*parseFloat(A.width)/100-40;na=false}else I.width=A.width+ma;if(A.height.toString().indexOf("%")>-1){I.height=x[1]*parseFloat(A.height)/100-40;na=false}else I.height=A.height+ma;if(na&&(I.width>x[0]-va||I.height>x[1]-sa))if(v.type=="image"||v.type==
"swf"){va+=ma;sa+=ma;na=Math.min(Math.min(x[0]-va,A.width)/A.width,Math.min(x[1]-sa,A.height)/A.height);I.width=Math.round(na*(I.width-ma))+ma;I.height=Math.round(na*(I.height-ma))+ma}else{I.width=Math.min(I.width,x[0]-va);I.height=Math.min(I.height,x[1]-sa)}I.top=x[3]+(x[1]-(I.height+40))*0.5;I.left=x[2]+(x[0]-(I.width+40))*0.5;if(A.autoScale===false){I.top=Math.max(x[3]+W,I.top);I.left=Math.max(x[2]+W,I.left)}return I},Sa=function(x){if(x&&x.length)switch(A.titlePosition){case "inside":return x;
case "over":return'<span id="fancybox-title-over">'+x+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+x+'</span><span id="fancybox-title-right"></span></span>'}return false},Ta=function(){var x=A.title,I=ia.width-A.padding*2,W="fancybox-title-"+A.titlePosition;e("#fancybox-title").remove();wa=0;if(A.titleShow!==false){x=e.isFunction(A.titleFormat)?A.titleFormat(x,U,N,A):Sa(x);if(!(!x||x==="")){e('<div id="fancybox-title" class="'+
W+'" />').css({width:I,paddingLeft:A.padding,paddingRight:A.padding}).html(x).appendTo("body");switch(A.titlePosition){case "inside":wa=e("#fancybox-title").outerHeight(true)-A.padding;ia.height+=wa;break;case "over":e("#fancybox-title").css("bottom",A.padding);break;default:e("#fancybox-title").css("bottom",e("#fancybox-title").outerHeight(true)*-1)}e("#fancybox-title").appendTo(F).hide()}}},Ma=function(){e(document).unbind("keydown.fb").bind("keydown.fb",function(x){if(x.keyCode==27&&A.enableEscapeButton){x.preventDefault();
e.fancybox.close()}else if(x.keyCode==37){x.preventDefault();e.fancybox.prev()}else if(x.keyCode==39){x.preventDefault();e.fancybox.next()}});if(e.fn.mousewheel){n.unbind("mousewheel.fb");U.length>1&&n.bind("mousewheel.fb",function(x,I){x.preventDefault();fa||I===0||(I>0?e.fancybox.prev():e.fancybox.next())})}if(A.showNavArrows){if(A.cyclic&&U.length>1||N!==0)o.show();if(A.cyclic&&U.length>1||N!=U.length-1)B.show()}},Ea=function(){E.css("overflow",A.scrolling=="auto"?A.type=="image"||A.type=="iframe"||
A.type=="swf"?"hidden":"auto":A.scrolling=="yes"?"auto":"visible");if(!e.support.opacity){E.get(0).style.removeAttribute("filter");n.get(0).style.removeAttribute("filter")}e("#fancybox-title").show();A.hideOnContentClick&&E.one("click",e.fancybox.close);A.hideOnOverlayClick&&p.one("click",e.fancybox.close);A.showCloseButton&&H.show();Ma();e(window).bind("resize.fb",e.fancybox.center);A.centerOnScroll?e(window).bind("scroll.fb",e.fancybox.center):e(window).unbind("scroll.fb");e.isFunction(A.onComplete)&&
A.onComplete(U,N,A);fa=false;var x,I;if(U.length-1>N){x=U[N+1].href;if(typeof x!=="undefined"&&x.match(X)){I=new Image;I.src=x}}if(N>0){x=U[N-1].href;if(typeof x!=="undefined"&&x.match(X)){I=new Image;I.src=x}}},Fa=function(x){var I=Math.round(ea.width+(ia.width-ea.width)*x),W=Math.round(ea.height+(ia.height-ea.height)*x);n.css({width:I+"px",height:W+"px",top:Math.round(ea.top+(ia.top-ea.top)*x)+"px",left:Math.round(ea.left+(ia.left-ea.left)*x)+"px"});I=Math.max(I-A.padding*2,0);W=Math.max(W-(A.padding*
2+wa*x),0);E.css({width:I+"px",height:W+"px"});if(typeof ia.opacity!=="undefined")n.css("opacity",x<0.5?0.5:x)},Aa=function(){var x=v.orig?e(v.orig):false,I={};if(x&&x.length){I=x.offset();I.top+=parseFloat(x.css("paddingTop"))||0;I.left+=parseFloat(x.css("paddingLeft"))||0;I.top+=parseFloat(x.css("border-top-width"))||0;I.left+=parseFloat(x.css("border-left-width"))||0;I.width=x.width();I.height=x.height();x=I;I={width:x.width+A.padding*2,height:x.height+A.padding*2,top:x.top-A.padding-20,left:x.left-
A.padding-20}}else{x=Ia();I={width:1,height:1,top:x[3]+x[1]*0.5,left:x[2]+x[0]*0.5}}return I},Ga=function(){m.hide();if(n.is(":visible")&&e.isFunction(A.onCleanup))if(A.onCleanup(U,N,A)===false){e.event.trigger("fancybox-cancel");fa=false;return}U=L;N=J;A=v;E.get(0).scrollTop=0;E.get(0).scrollLeft=0;if(A.overlayShow){Ja&&e("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility=
"inherit"});p.css({"background-color":A.overlayColor,opacity:A.overlayOpacity}).unbind().show()}ia=Pa();Ta();if(n.is(":visible")){e(H.add(o).add(B)).hide();var x=n.position(),I;ea={top:x.top,left:x.left,width:n.width(),height:n.height()};I=ea.width==ia.width&&ea.height==ia.height;E.fadeOut(A.changeFade,function(){var W=function(){E.html(h.contents()).fadeIn(A.changeFade,Ea)};e.event.trigger("fancybox-change");E.empty().css("overflow","hidden");if(I){E.css({top:A.padding,left:A.padding,width:Math.max(ia.width-
A.padding*2,1),height:Math.max(ia.height-A.padding*2-wa,1)});W()}else{E.css({top:A.padding,left:A.padding,width:Math.max(ea.width-A.padding*2,1),height:Math.max(ea.height-A.padding*2,1)});za.prop=0;e(za).animate({prop:1},{duration:A.changeSpeed,easing:A.easingChange,step:Fa,complete:W})}})}else{n.css("opacity",1);if(A.transitionIn=="elastic"){ea=Aa();E.css({top:A.padding,left:A.padding,width:Math.max(ea.width-A.padding*2,1),height:Math.max(ea.height-A.padding*2,1)}).html(h.contents());n.css(ea).show();
if(A.opacity)ia.opacity=0;za.prop=0;e(za).animate({prop:1},{duration:A.speedIn,easing:A.easingIn,step:Fa,complete:Ea})}else{E.css({top:A.padding,left:A.padding,width:Math.max(ia.width-A.padding*2,1),height:Math.max(ia.height-A.padding*2-wa,1)}).html(h.contents());n.css(ia).fadeIn(A.transitionIn=="none"?0:A.speedIn,Ea)}}},xa=function(){h.width(v.width);h.height(v.height);if(v.width=="auto")v.width=h.width();if(v.height=="auto")v.height=h.height();Ga()},Ba=function(){ya();var x=L[J],I,W,na,va,sa;v=
e.extend({},e.fn.fancybox.defaults,typeof e(x).data("fancybox")=="undefined"?v:e(x).data("fancybox"));na=x.title||e(x).title||v.title||"";if(x.nodeName&&!v.orig)v.orig=e(x).children("img:first").length?e(x).children("img:first"):e(x);if(na===""&&v.orig)na=v.orig.attr("alt");I=x.nodeName&&/^(?:javascript|#)/i.test(x.href)?v.href||null:v.href||x.href||null;if(v.type){W=v.type;if(!I)I=v.content}else if(v.content)W="html";else if(I)if(I.match(X))W="image";else if(I.match(ja))W="swf";else if(e(x).hasClass("iframe"))W=
"iframe";else if(I.match(/#/)){x=I.substr(I.indexOf("#"));W=e(x).length>0?"inline":"ajax"}else W="ajax";else W="inline";v.type=W;v.href=I;v.title=na;if(v.autoDimensions&&v.type!=="iframe"&&v.type!=="swf"){v.width="auto";v.height="auto"}if(v.modal){v.overlayShow=true;v.hideOnOverlayClick=false;v.hideOnContentClick=false;v.enableEscapeButton=false;v.showCloseButton=false}if(e.isFunction(v.onStart))if(v.onStart(L,J,v)===false){fa=false;return}h.css("padding",20+v.padding+v.margin);e(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",
function(){e(this).replaceWith(E.children())});switch(W){case "html":h.html(v.content);xa();break;case "inline":e('<div class="fancybox-inline-tmp" />').hide().insertBefore(e(x)).bind("fancybox-cleanup",function(){e(this).replaceWith(E.children())}).bind("fancybox-cancel",function(){e(this).replaceWith(h.children())});e(x).appendTo(h);xa();break;case "image":fa=false;e.fancybox.showActivity();c=new Image;c.onerror=function(){Da()};c.onload=function(){c.onerror=null;c.onload=null;fa=true;v.width=c.width;
v.height=c.height;e("<img />").attr({id:"fancybox-img",src:c.src,alt:v.title}).appendTo(h);Ga()};c.src=I;break;case "swf":va='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+v.width+'" height="'+v.height+'"><param name="movie" value="'+I+'"></param>';sa="";e.each(v.swf,function(ma,Ka){va+='<param name="'+ma+'" value="'+Ka+'"></param>';sa+=" "+ma+'="'+Ka+'"'});va+='<embed src="'+I+'" type="application/x-shockwave-flash" width="'+v.width+'" height="'+v.height+'"'+sa+"></embed></object>";
h.html(va);xa();break;case "ajax":x=I.split("#",2);W=v.ajax.data||{};if(x.length>1){I=x[0];if(typeof W=="string")W+="&selector="+x[1];else W.selector=x[1]}fa=false;e.fancybox.showActivity();G=e.ajax(e.extend(v.ajax,{url:I,data:W,error:Da,success:function(ma){if(G.status==200){h.html(ma);xa()}}}));break;case "iframe":e('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+v.scrolling+'" src="'+v.href+'"></iframe>').appendTo(h);Ga()}},Ua=
function(){if(m.is(":visible")){e("div",m).css("top",ha*-40+"px");ha=(ha+1)%12}else clearInterval(ka)},Va=function(){if(!e("#fancybox-wrap").length){e("body").append(h=e('<div id="fancybox-tmp"></div>'),m=e('<div id="fancybox-loading"><div></div></div>'),p=e('<div id="fancybox-overlay"></div>'),n=e('<div id="fancybox-wrap"></div>'));if(!e.support.opacity){n.addClass("fancybox-ie");m.addClass("fancybox-ie")}F=e('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(n);
F.append(E=e('<div id="fancybox-inner"></div>'),H=e('<a id="fancybox-close"></a>'),o=e('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),B=e('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));H.click(e.fancybox.close);m.click(e.fancybox.cancel);o.click(function(x){x.preventDefault();e.fancybox.prev()});B.click(function(x){x.preventDefault();e.fancybox.next()});if(Ja){p.get(0).style.setExpression("height",
"document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");m.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");F.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}};
e.fn.fancybox=function(x){e(this).data("fancybox",e.extend({},x,e.metadata?e(this).metadata():{})).unbind("click.fb").bind("click.fb",function(I){I.preventDefault();if(!fa){fa=true;e(this).blur();L=[];J=0;I=e(this).attr("rel")||"";if(!I||I==""||I==="nofollow")L.push(this);else{L=e("a[rel="+I+"], area[rel="+I+"]");J=L.index(this)}Ba();return false}});return this};e.fancybox=function(x,I){if(!fa){fa=true;I=typeof I!=="undefined"?I:{};L=[];J=I.index||0;if(e.isArray(x)){for(var W=0,na=x.length;W<na;W++)if(typeof x[W]==
"object")e(x[W]).data("fancybox",e.extend({},I,x[W]));else x[W]=e({}).data("fancybox",e.extend({content:x[W]},I));L=jQuery.merge(L,x)}else{if(typeof x=="object")e(x).data("fancybox",e.extend({},I,x));else x=e({}).data("fancybox",e.extend({content:x},I));L.push(x)}if(J>L.length||J<0)J=0;Ba()}};e.fancybox.showActivity=function(){clearInterval(ka);m.show();ka=setInterval(Ua,66)};e.fancybox.hideActivity=function(){m.hide()};e.fancybox.next=function(){return e.fancybox.pos(N+1)};e.fancybox.prev=function(){return e.fancybox.pos(N-
1)};e.fancybox.pos=function(x){if(!fa){x=parseInt(x,10);if(x>-1&&U.length>x){J=x;Ba()}if(A.cyclic&&U.length>1&&x<0){J=U.length-1;Ba()}if(A.cyclic&&U.length>1&&x>=U.length){J=0;Ba()}}};e.fancybox.cancel=function(){if(!fa){fa=true;e.event.trigger("fancybox-cancel");ya();v&&e.isFunction(v.onCancel)&&v.onCancel(L,J,v);fa=false}};e.fancybox.close=function(){function x(){p.fadeOut("fast");n.hide();e.event.trigger("fancybox-cleanup");E.empty();e.isFunction(A.onClosed)&&A.onClosed(U,N,A);U=v=[];N=J=0;A=v=
{};fa=false}if(!(fa||n.is(":hidden"))){fa=true;if(A&&e.isFunction(A.onCleanup))if(A.onCleanup(U,N,A)===false){fa=false;return}ya();e(H.add(o).add(B)).hide();e("#fancybox-title").remove();n.add(E).add(p).unbind();e(window).unbind("resize.fb scroll.fb");e(document).unbind("keydown.fb");E.css("overflow","hidden");if(A.transitionOut=="elastic"){ea=Aa();var I=n.position();ia={top:I.top,left:I.left,width:n.width(),height:n.height()};if(A.opacity)ia.opacity=1;za.prop=1;e(za).animate({prop:0},{duration:A.speedOut,
easing:A.easingOut,step:Fa,complete:x})}else n.fadeOut(A.transitionOut=="none"?0:A.speedOut,x)}};e.fancybox.resize=function(){var x,I;if(!(fa||n.is(":hidden"))){fa=true;x=E.wrapInner("<div style='overflow:auto'></div>").children();I=x.height();n.css({height:I+A.padding*2+wa});E.css({height:I});x.replaceWith(x.children());e.fancybox.center()}};e.fancybox.center=function(){fa=true;var x=Ia(),I=A.margin,W={};W.top=x[3]+(x[1]-(n.height()-wa+40))*0.5;W.left=x[2]+(x[0]-(n.width()+40))*0.5;W.top=Math.max(x[3]+
I,W.top);W.left=Math.max(x[2]+I,W.left);n.css(W);fa=false};e.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,
changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};e(document).ready(function(){Va()})})(jQuery);
eval(function(e,h,m,p,n,F){n=function(E){return(E<h?"":n(parseInt(E/h)))+((E%=h)>35?String.fromCharCode(E+29):E.toString(36))};if(!"".replace(/^/,String)){for(;m--;)F[n(m)]=p[m]||n(m);p=[function(E){return F[E]}];n=function(){return"\\w+"};m=1}for(;m--;)if(p[m])e=e.replace(RegExp("\\b"+n(m)+"\\b","g"),p[m]);return e}("(7($){$.8.9=7(d){g e=$.v({},$.8.9.k,d);g f=e.l;2.w(7(){5(!$(2).3('4')||$(2).3('4')==\"#\"){$(2).3('4',j.x.4)}5(!$(2).3('6')){$(2).3('6',y.6)}5($.h.z){$(2).3('m',$(2).3('4')).3('4','').3('4','A:B(0)').3('C','$.8.9.n(2,\"'+$(2).3('6')+'\",\"'+$(2).3('m')+'\")')}i{$(2).o(p)}});7 p(a){g b=$(2).3('4');g c=$(2).3('6');b=b.E(\"q:///\",\"F://q/\");5($.h.G){j.H.I(b,c)}i 5($.h.J){j.r.K(c,b,'')}i 5(L.M.N().O('P')>-1){s(f)}i 5($.h.Q){s(f)}a.R()};t 2};$.8.9.k={l:'S \"T + D\" U \"V + D\" W X, u Y 2 Z u 10 11.'};$.8.9.n=7(e,a,b){e.12=\"r\";e.6=a;e.4=\"\";e.4=b;e.o();t 13}})(14);",
62,67,"||this|attr|href|if|title|function|fn|jFav|||||||var|browser|else|window|defaults|msg|link|OperaBookmark|click|addToFavorites|file|sidebar|alert|return|to|extend|each|location|document|opera|javascript|void|onClick||replace|http|msie|external|AddFavorite|mozilla|addPanel|navigator|userAgent|toLowerCase|indexOf|chrome|safari|preventDefault|Press|Ctrl|or|CMD|for|MAC|add|page|your|bookmarks|rel|false|jQuery".split("|"),0,{}));
jQuery.ui||function(e){function h(o,B,J,v){function L(A){A=e[o][B][A]||[];return typeof A=="string"?A.split(/,?\s+/):A}var N=L("getter");if(v.length==1&&typeof v[0]=="string")N=N.concat(L("getterSetter"));return e.inArray(J,N)!=-1}var m=e.fn.remove,p=e.browser.mozilla&&parseFloat(e.browser.version)<1.9;e.ui={version:"1.7.2",plugin:{add:function(o,B,J){o=e.ui[o].prototype;for(var v in J){o.plugins[v]=o.plugins[v]||[];o.plugins[v].push([B,J[v]])}},call:function(o,B,J){if((B=o.plugins[B])&&o.element[0].parentNode)for(var v=
0;v<B.length;v++)o.options[B[v][0]]&&B[v][1].apply(o.element,J)}},contains:function(o,B){return document.compareDocumentPosition?o.compareDocumentPosition(B)&16:o!==B&&o.contains(B)},hasScroll:function(o,B){if(e(o).css("overflow")=="hidden")return false;var J=B&&B=="left"?"scrollLeft":"scrollTop",v=false;if(o[J]>0)return true;o[J]=1;v=o[J]>0;o[J]=0;return v},isOverAxis:function(o,B,J){return o>B&&o<B+J},isOver:function(o,B,J,v,L,N){return e.ui.isOverAxis(o,J,L)&&e.ui.isOverAxis(B,v,N)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(p){var n=e.attr,F=e.fn.removeAttr,E=/^aria-/,H=/^wairole:/;e.attr=function(o,B,J){var v=J!==undefined;return B=="role"?v?n.call(this,o,B,"wairole:"+J):(n.apply(this,arguments)||"").replace(H,""):E.test(B)?v?o.setAttributeNS("http://www.w3.org/2005/07/aaa",
B.replace(E,"aaa:"),J):n.call(this,o,B.replace(E,"aaa:")):n.apply(this,arguments)};e.fn.removeAttr=function(o){return E.test(o)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",o.replace(E,""))}):F.call(this,o)}}e.fn.extend({remove:function(){e("*",this).add(this).each(function(){e(this).triggerHandler("remove")});return m.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var o;o=e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.curCSS(this,"position",1))&&/(auto|scroll)/.test(e.curCSS(this,"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.curCSS(this,
"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!o.length?e(document):o}});e.extend(e.expr[":"],{data:function(o,B,J){return!!e.data(o,J[3])},focusable:function(o){var B=o.nodeName.toLowerCase(),J=e.attr(o,"tabindex");return(/input|select|textarea|button|object/.test(B)?!o.disabled:"a"==B||"area"==B?o.href||!isNaN(J):!isNaN(J))&&!e(o)["area"==B?"parents":"closest"](":hidden").length},tabbable:function(o){var B=e.attr(o,"tabindex");
return(isNaN(B)||B>=0)&&e(o).is(":focusable")}});e.widget=function(o,B){var J=o.split(".")[0];o=o.split(".")[1];e.fn[o]=function(v){var L=typeof v=="string",N=Array.prototype.slice.call(arguments,1);if(L&&v.substring(0,1)=="_")return this;if(L&&h(J,o,v,N)){var A=e.data(this[0],o);return A?A[v].apply(A,N):undefined}return this.each(function(){var U=e.data(this,o);!U&&!L&&e.data(this,o,new e[J][o](this,v))._init();U&&L&&e.isFunction(U[v])&&U[v].apply(U,N)})};e[J]=e[J]||{};e[J][o]=function(v,L){var N=
this;this.namespace=J;this.widgetName=o;this.widgetEventPrefix=e[J][o].eventPrefix||o;this.widgetBaseClass=J+"-"+o;this.options=e.extend({},e.widget.defaults,e[J][o].defaults,e.metadata&&e.metadata.get(v)[o],L);this.element=e(v).bind("setData."+o,function(A,U,G){if(A.target==v)return N._setData(U,G)}).bind("getData."+o,function(A,U){if(A.target==v)return N._getData(U)}).bind("remove",function(){return N.destroy()})};e[J][o].prototype=e.extend({},e.widget.prototype,B);e[J][o].getterSetter="option"};
e.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(o,B){var J=o,v=this;if(typeof o=="string"){if(B===undefined)return this._getData(o);J={};J[o]=B}e.each(J,function(L,N){v._setData(L,N)})},_getData:function(o){return this.options[o]},_setData:function(o,B){this.options[o]=B;if(o=="disabled")this.element[B?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",B)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(o,B,J){var v=this.options[o];o=o==this.widgetEventPrefix?o:this.widgetEventPrefix+o;B=e.Event(B);B.type=o;if(B.originalEvent){o=e.event.props.length;for(var L;o;){L=e.event.props[--o];B[L]=B.originalEvent[L]}}this.element.trigger(B,J);return!(e.isFunction(v)&&v.call(this.element[0],B,J)===false||B.isDefaultPrevented())}};
e.widget.defaults={disabled:false};e.ui.mouse={_mouseInit:function(){var o=this;this.element.bind("mousedown."+this.widgetName,function(B){return o._mouseDown(B)}).bind("click."+this.widgetName,function(B){if(o._preventClickEvent){o._preventClickEvent=false;B.stopImmediatePropagation();return false}});if(e.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
e.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(o){o.originalEvent=o.originalEvent||{};if(!o.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(o);this._mouseDownEvent=o;var B=this,J=o.which==1,v=typeof this.options.cancel=="string"?e(o.target).parents().add(o.target).filter(this.options.cancel).length:false;if(!J||v||!this._mouseCapture(o))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){B.mouseDelayMet=
true},this.options.delay);if(this._mouseDistanceMet(o)&&this._mouseDelayMet(o)){this._mouseStarted=this._mouseStart(o)!==false;if(!this._mouseStarted){o.preventDefault();return true}}this._mouseMoveDelegate=function(L){return B._mouseMove(L)};this._mouseUpDelegate=function(L){return B._mouseUp(L)};e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);e.browser.safari||o.preventDefault();return o.originalEvent.mouseHandled=true}},
_mouseMove:function(o){if(e.browser.msie&&!o.button)return this._mouseUp(o);if(this._mouseStarted){this._mouseDrag(o);return o.preventDefault()}if(this._mouseDistanceMet(o)&&this._mouseDelayMet(o))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,o)!==false)?this._mouseDrag(o):this._mouseUp(o);return!this._mouseStarted},_mouseUp:function(o){e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;this._preventClickEvent=o.target==this._mouseDownEvent.target;this._mouseStop(o)}return false},_mouseDistanceMet:function(o){return Math.max(Math.abs(this._mouseDownEvent.pageX-o.pageX),Math.abs(this._mouseDownEvent.pageY-o.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}};e.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);
(function(e){e.widget("ui.tabs",{_init:function(){if(this.options.deselectable!==undefined)this.options.collapsible=this.options.deselectable;this._tabify(true)},_setData:function(h,m){if(h=="selected")this.options.collapsible&&m==this.options.selected||this.select(m);else{this.options[h]=m;if(h=="deselectable")this.options.collapsible=m;this._tabify()}},_tabId:function(h){return h.title&&h.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+e.data(h)},_sanitizeSelector:function(h){return h.replace(/:/g,
"\\:")},_cookie:function(){var h=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+e.data(this.list[0]));return e.cookie.apply(null,[h].concat(e.makeArray(arguments)))},_ui:function(h,m){return{tab:h,panel:m,index:this.anchors.index(h)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var h=e(this);h.html(h.data("label.tabs")).removeData("label.tabs")})},_tabify:function(h){function m(L,N){L.css({display:""});
e.browser.msie&&N.opacity&&L[0].style.removeAttribute("filter")}this.list=this.element.children("ul:first");this.lis=e("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return e("a",this)[0]});this.panels=e([]);var p=this,n=this.options,F=/^#.+/;this.anchors.each(function(L,N){var A=e(N).attr("href"),U=A.split("#")[0],G;if(U&&(U===location.toString().split("#")[0]||(G=e("base")[0])&&U===G.href)){A=N.hash;N.href=A}if(F.test(A))p.panels=p.panels.add(p._sanitizeSelector(A));else if(A!=
"#"){e.data(N,"href.tabs",A);e.data(N,"load.tabs",A.replace(/#.*$/,""));A=p._tabId(N);N.href="#"+A;U=e("#"+A);if(!U.length){U=e(n.panelTemplate).attr("id",A).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(p.panels[L-1]||p.list);U.data("destroy.tabs",true)}p.panels=p.panels.add(U)}else n.disabled.push(L)});if(h){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");
this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(n.selected===undefined){location.hash&&this.anchors.each(function(L,N){if(N.hash==location.hash){n.selected=L;return false}});if(typeof n.selected!="number"&&n.cookie)n.selected=parseInt(p._cookie(),10);if(typeof n.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)n.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));n.selected=n.selected||0}else if(n.selected===
null)n.selected=-1;n.selected=n.selected>=0&&this.anchors[n.selected]||n.selected<0?n.selected:0;n.disabled=e.unique(n.disabled.concat(e.map(this.lis.filter(".ui-state-disabled"),function(L){return p.lis.index(L)}))).sort();e.inArray(n.selected,n.disabled)!=-1&&n.disabled.splice(e.inArray(n.selected,n.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(n.selected>=0&&this.anchors.length){this.panels.eq(n.selected).removeClass("ui-tabs-hide");
this.lis.eq(n.selected).addClass("ui-tabs-selected ui-state-active");p.element.queue("tabs",function(){p._trigger("show",null,p._ui(p.anchors[n.selected],p.panels[n.selected]))});this.load(n.selected)}e(window).bind("unload",function(){p.lis.add(p.anchors).unbind(".tabs");p.lis=p.anchors=p.panels=null})}else n.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[n.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");n.cookie&&this._cookie(n.selected,n.cookie);h=0;for(var E;E=
this.lis[h];h++)e(E)[e.inArray(h,n.disabled)!=-1&&!e(E).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");n.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(n.event!="mouseover"){var H=function(L,N){N.is(":not(.ui-state-disabled)")&&N.addClass("ui-state-"+L)};this.lis.bind("mouseover.tabs",function(){H("hover",e(this))});this.lis.bind("mouseout.tabs",function(){e(this).removeClass("ui-state-hover")});this.anchors.bind("focus.tabs",
function(){H("focus",e(this).closest("li"))});this.anchors.bind("blur.tabs",function(){e(this).closest("li").removeClass("ui-state-focus")})}var o,B;if(n.fx)if(e.isArray(n.fx)){o=n.fx[0];B=n.fx[1]}else o=B=n.fx;var J=B?function(L,N){e(L).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");N.hide().removeClass("ui-tabs-hide").animate(B,B.duration||"normal",function(){m(N,B);p._trigger("show",null,p._ui(L,N[0]))})}:function(L,N){e(L).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");
N.removeClass("ui-tabs-hide");p._trigger("show",null,p._ui(L,N[0]))},v=o?function(L,N){N.animate(o,o.duration||"normal",function(){p.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");N.addClass("ui-tabs-hide");m(N,o);p.element.dequeue("tabs")})}:function(L,N){p.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");N.addClass("ui-tabs-hide");p.element.dequeue("tabs")};this.anchors.bind(n.event+".tabs",function(){var L=this,N=e(this).closest("li"),
A=p.panels.filter(":not(.ui-tabs-hide)"),U=e(p._sanitizeSelector(this.hash));if(N.hasClass("ui-tabs-selected")&&!n.collapsible||N.hasClass("ui-state-disabled")||N.hasClass("ui-state-processing")||p._trigger("select",null,p._ui(this,U[0]))===false){this.blur();return false}n.selected=p.anchors.index(this);p.abort();if(n.collapsible)if(N.hasClass("ui-tabs-selected")){n.selected=-1;n.cookie&&p._cookie(n.selected,n.cookie);p.element.queue("tabs",function(){v(L,A)}).dequeue("tabs");this.blur();return false}else if(!A.length){n.cookie&&
p._cookie(n.selected,n.cookie);p.element.queue("tabs",function(){J(L,U)});p.load(p.anchors.index(this));this.blur();return false}n.cookie&&p._cookie(n.selected,n.cookie);if(U.length){A.length&&p.element.queue("tabs",function(){v(L,A)});p.element.queue("tabs",function(){J(L,U)});p.load(p.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";e.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var h=this.options;this.abort();
this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var m=e.data(this,"href.tabs");if(m)this.href=m;var p=e(this).unbind(".tabs");e.each(["href","load","cache"],function(n,F){p.removeData(F+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){e.data(this,"destroy.tabs")?
e(this).remove():e(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});h.cookie&&this._cookie(null,h.cookie)},add:function(h,m,p){if(p===undefined)p=this.anchors.length;var n=this,F=this.options;m=e(F.tabTemplate.replace(/#\{href\}/g,h).replace(/#\{label\}/g,m));h=!h.indexOf("#")?h.replace("#",""):this._tabId(e("a",m)[0]);m.addClass("ui-state-default ui-corner-top").data("destroy.tabs",
true);var E=e("#"+h);E.length||(E=e(F.panelTemplate).attr("id",h).data("destroy.tabs",true));E.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(p>=this.lis.length){m.appendTo(this.list);E.appendTo(this.list[0].parentNode)}else{m.insertBefore(this.lis[p]);E.insertBefore(this.panels[p])}F.disabled=e.map(F.disabled,function(H){return H>=p?++H:H});this._tabify();if(this.anchors.length==1){m.addClass("ui-tabs-selected ui-state-active");E.removeClass("ui-tabs-hide");this.element.queue("tabs",
function(){n._trigger("show",null,n._ui(n.anchors[0],n.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[p],this.panels[p]))},remove:function(h){var m=this.options,p=this.lis.eq(h).remove(),n=this.panels.eq(h).remove();if(p.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(h+(h+1<this.anchors.length?1:-1));m.disabled=e.map(e.grep(m.disabled,function(F){return F!=h}),function(F){return F>=h?--F:F});this._tabify();this._trigger("remove",null,this._ui(p.find("a")[0],
n[0]))},enable:function(h){var m=this.options;if(e.inArray(h,m.disabled)!=-1){this.lis.eq(h).removeClass("ui-state-disabled");m.disabled=e.grep(m.disabled,function(p){return p!=h});this._trigger("enable",null,this._ui(this.anchors[h],this.panels[h]))}},disable:function(h){var m=this.options;if(h!=m.selected){this.lis.eq(h).addClass("ui-state-disabled");m.disabled.push(h);m.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[h],this.panels[h]))}},select:function(h){if(typeof h=="string")h=
this.anchors.index(this.anchors.filter("[href$="+h+"]"));else if(h===null)h=-1;if(h==-1&&this.options.collapsible)h=this.options.selected;this.anchors.eq(h).trigger(this.options.event+".tabs")},load:function(h){var m=this,p=this.options,n=this.anchors.eq(h)[0],F=e.data(n,"load.tabs");this.abort();if(!F||this.element.queue("tabs").length!==0&&e.data(n,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(h).addClass("ui-state-processing");if(p.spinner){var E=e("span",n);E.data("label.tabs",E.html()).html(p.spinner)}this.xhr=
e.ajax(e.extend({},p.ajaxOptions,{url:F,success:function(H,o){e(m._sanitizeSelector(n.hash)).html(H);m._cleanup();p.cache&&e.data(n,"cache.tabs",true);m._trigger("load",null,m._ui(m.anchors[h],m.panels[h]));try{p.ajaxOptions.success(H,o)}catch(B){}m.element.dequeue("tabs")}}))}},abort:function(){this.element.queue([]);this.panels.stop(false,true);if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup()},url:function(h,m){this.anchors.eq(h).removeData("cache.tabs").data("load.tabs",m)},length:function(){return this.anchors.length}});
e.extend(e.ui.tabs,{version:"1.7.2",getter:"length",defaults:{ajaxOptions:null,cache:false,cookie:null,collapsible:false,disabled:[],event:"click",fx:null,idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'}});e.extend(e.ui.tabs.prototype,{rotation:null,rotate:function(h,m){var p=this,n=this.options,F=p._rotate||(p._rotate=function(H){clearTimeout(p.rotation);p.rotation=setTimeout(function(){var o=n.selected;
p.select(++o<p.anchors.length?o:0)},h);H&&H.stopPropagation()}),E=p._unrotate||(p._unrotate=!m?function(H){H.clientX&&p.rotate(null)}:function(){t=n.selected;F()});if(h){this.element.bind("tabsshow",F);this.anchors.bind(n.event+".tabs",E);F()}else{clearTimeout(p.rotation);this.element.unbind("tabsshow",F);this.anchors.unbind(n.event+".tabs",E);delete this._rotate;delete this._unrotate}}})})(jQuery);
function StripTags(e){if(arguments.length<3)e=e.replace(/<\/?(?!\!)[^>]*>/gi,"");else{var h=arguments[1],m=eval("["+arguments[2]+"]");h=h?"</?(?!("+m.join("|")+"))\u0008[^>]*>":"</?("+m.join("|")+")\u0008[^>]*>";e=e.replace(RegExp(h,"gi"),"")}return e}function is_int(e){return typeof e=="number"&&parseInt(e)==e}
function intval(e,h){var m;m=typeof e;if(m=="boolean")return e==true?1:0;else if(m=="string"){m=parseInt(e*1,10);return isNaN(m)||!isFinite(m)?0:m.toString(h||10)}else return m=="number"&&isFinite(e)?Math.floor(e):0}
function strtok(e,h){this.php_js=this.php_js||{};if(h===undefined){h=e;e=this.php_js.strtokleftOver}if(e.length===0)return false;if(h.indexOf(e.charAt(0))!==-1)return this.strtok(e.substr(1),h);for(var m=0;m<e.length;m++)if(h.indexOf(e.charAt(m))!==-1)break;this.php_js.strtokleftOver=e.substr(m+1);return e.substring(0,m)}function stripos(e,h,m){e=(e+"").toLowerCase();h=(h+"").toLowerCase();var p=0;if((p=e.indexOf(h,m))!==-1)return p;return p}
function explode(e,h,m){var p={0:""};if(arguments.length<2||typeof arguments[0]=="undefined"||typeof arguments[1]=="undefined")return null;if(e===""||e===false||e===null)return false;if(typeof e=="function"||typeof e=="object"||typeof h=="function"||typeof h=="object")return p;if(e===true)e="1";if(m){var n=h.toString().split(e.toString());p=n.splice(0,m-1);n=n.join(e.toString());p.push(n);return p}else return h.toString().split(e.toString())}
function implode(e,h){var m="",p="",n="";if(arguments.length===1){h=e;e=""}if(typeof h==="object")if(h instanceof Array)return h.join(e);else{for(m in h){p+=n+h[m];n=e}return p}else return h}index=0;var globalVal="";
function sort(e){globalVal=e;if(globalVal.length){$("a[name='sm']").fadeOut(0,function(){if(stripos(this.text,globalVal,0)>=0){var h=document.getElementById(this.id);if(h.value=="none")$("#"+this.id).show(1E3,function(){document.getElementById(this.id).style.display=""});else if(h.style.display=="none")h.style.display="";h.value=""}else{h=document.getElementById(this.id);if(h.value=="")$("#"+this.id).hide(1E3);else if(h.style.display=="")h.style.display="none";h.value="none"}});lastCity>0&&cityChange(lastCity)}else $("a[name='sm']").show(1E3,
function(){document.getElementById(this.id).style.display=""})}function setCount(e){$("body").css("cursor","default");for(var h=e.length,m=0;m<h;m++){var p=$("#a_"+e[m].id).text();p=strtok(p,"(");$("#a_"+e[m].id).text(p+"("+e[m].count+")");if(e[m].count==0)$("#a_"+e[m].id).hide(1E3);else document.getElementById("a_"+e[m].id).style.display=="none"&&$("#a_"+e[m].id).show(1E3)}}function setNewUrl(e){var h=document.getElementById("city").value;if(h>0)e.href+="?city="+h}var isLoginFormOpen=0;
function loginForm(){if(isLoginFormOpen==0){isLoginFormOpen=1;$("#login").show(0)}else{isLoginFormOpen=0;$("#login").hide(0,function(){})}}
function str_replace(e,h,m){if(!(h instanceof Array)){h=Array(h);if(e instanceof Array)for(;e.length>h.length;)h[h.length]=h[0]}for(e instanceof Array||(e=Array(e));e.length>h.length;)h[h.length]="";if(m instanceof Array){for(p in m)m[p]=str_replace(e,h,m[p]);return m}for(var p=0;p<e.length;p++)for(var n=m.indexOf(e[p]);n>-1;){m=m.replace(e[p],h[p]);n=m.indexOf(e[p],n)}return m}
$.fn.infiniteCarousel=function(){return this.each(function(){function e(o){var B=n*(o<E?-1:1)*F*Math.abs(E-o);h.filter(":not(:animated)").animate({scrollLeft:"+="+B},500,function(){if(o==0){h.scrollLeft(n*F*H);o=H}else if(o>H){h.scrollLeft(n*F);o=1}E=o});return false}var h=$("> div",this).css("overflow","hidden"),m=h.find("> ul"),p=m.find("> li"),n=p.filter(":first").outerWidth(),F=Math.ceil(h.innerWidth()/n),E=1,H=Math.ceil(p.length/F);if(p.length%F!=0){m.append(Array(F-p.length%F+1).join('<li class="empty" />'));
p=m.find("> li")}p.filter(":first").before(p.slice(-F).clone().addClass("cloned"));p.filter(":last").after(p.slice(0,F).clone().addClass("cloned"));p=m.find("> li");h.scrollLeft(n*F);h.after('<a class="arrow back"></a><a class="arrow forward"></a>');$("a.back",this).click(function(){return e(E-1)});$("a.forward",this).click(function(){return e(E+1)});$(this).bind("goto",function(o,B){e(B)})})};$(document).ready(function(){$(".infiniteCarousel").infiniteCarousel()});
function anichange(e){$(e).css("display")=="none"?$(e).animate({height:"show"},0):$(e).animate({height:"hide"},0)}var urlParams=[],urlParams2=[];function reloadParams(){var e=explode("#",document.location.href),h;if(e[1]!=undefined){h=explode("&",e[1]);for(var m=0,p=h.length;m<p;m++)urlParams[m]=explode("=",h[m])}e=explode("?",e[0]);if(e[1]!=undefined){h=explode("&",e[1]);m=0;for(p=h.length;m<p;m++)urlParams2[m]=explode("=",h[m])}}$(document).ready(function(){});
function $_GET(e,h){reloadParams();if(h==true)for(var m=0,p=urlParams2.length;m<p;m++){if(urlParams2[m][0]==e)return urlParams2[m][1]!=undefined?urlParams2[m][1]:true}else{m=0;for(p=urlParams.length;m<p;m++)if(urlParams[m][0]==e)return urlParams[m][1]!=undefined?urlParams[m][1]:true}return false}function realy(){return confirm("\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c?")}
function one_line(e){for(var h=parseInt($("#"+e).css("font-size")),m=h,p=$("#"+e).innerHeight(),n=0;h*2<p&&n<10;n++){$("#"+e).css("font-size",--h+"px");p=$("#"+e).innerHeight()}n==10&&$("#"+e).css("font-size",m+"px")}function setCookie(e,h,m,p,n,F){document.cookie=e+"="+escape(h)+(m?"; expires="+m:"")+(p?"; path="+p:"")+(n?"; domain="+n:"")+(F?"; secure":"")}
function getCookie(e){var h=" "+document.cookie;e=" "+e+"=";var m=null,p=0,n=0;if(h.length>0){p=h.indexOf(e);if(p!=-1){p+=e.length;n=h.indexOf(";",p);if(n==-1)n=h.length;m=unescape(h.substring(p,n))}}return m}
function serialize(e){var h=function(o){var B=0,J=0,v=o.length,L="";for(J=0;J<v;J++){L=o.charCodeAt(J);B+=L<128?1:L<2048?2:3}return B},m=function(o){var B=typeof o,J,v;if(B==="object"&&!o)return"null";if(B==="object"){if(!o.constructor)return"object";o=o.constructor.toString();if(J=o.match(/(\w+)\(/))o=J[1].toLowerCase();J=["boolean","number","string","array"];for(v in J)if(o==J[v]){B=J[v];break}}return B},p=m(e),n="";switch(p){case "function":h="";break;case "boolean":h="b:"+(e?"1":"0");break;case "number":h=
(Math.round(e)==e?"i":"d")+":"+e;break;case "string":h="s:"+h(e)+':"'+e+'"';break;case "array":case "object":h="a";var F=0,E="",H;for(H in e)if(e.hasOwnProperty(H)){n=m(e[H]);if(n!=="function"){n=H.match(/^[0-9]+$/)?parseInt(H,10):H;E+=this.serialize(n)+this.serialize(e[H]);F++}}h+=":"+F+":{"+E+"}";break;default:h="N"}if(p!=="object"&&p!=="array")h+=";";return h}
function unserialize(e){var h=this,m=function(F,E,H){for(var o=[],B=F.slice(E,E+1),J=2;B!=H;){if(J+E>F.length)throw new h.window.Error("Invalid",void 0,void 0);o.push(B);B=F.slice(E+(J-1),E+J);J+=1}return[o.length,o.join("")]},p=function(F,E,H){var o;o=[];for(var B=0;B<H;B++){var J=F.slice(E+(B-1),E+B);o.push(J);J=J.charCodeAt(0);J=J<128?0:J<2048?1:2;H-=J}return[o.length,o.join("")]},n=function(F,E){var H,o=0,B;E||(E=0);var J=F.slice(E,E+1).toLowerCase(),v=E+2,L=function(G){return G};switch(J){case "i":L=
function(G){return parseInt(G,10)};H=m(F,v,";");o=H[0];H=H[1];v+=o+1;break;case "b":L=function(G){return parseInt(G,10)!==0};H=m(F,v,";");o=H[0];H=H[1];v+=o+1;break;case "d":L=function(G){return parseFloat(G)};H=m(F,v,";");o=H[0];H=H[1];v+=o+1;break;case "n":H=null;break;case "s":H=m(F,v,":");o=H[0];B=H[1];v+=o+2;H=p(F,v+1,parseInt(B,10));o=H[0];H=H[1];v+=o+2;if(o!=parseInt(B,10)&&o!=H.length)throw new h.window.SyntaxError("String length mismatch",void 0,void 0);H=h.utf8_decode(H);break;case "a":H=
{};B=m(F,v,":");o=B[0];B=B[1];v+=o+2;for(o=0;o<parseInt(B,10);o++){var N=n(F,v),A=N[2];v+=N[1];N=n(F,v);var U=N[2];v+=N[1];H[A]=U}v+=1;break;default:throw new h.window.SyntaxError("Unknown / Unhandled data type(s): "+J,void 0,void 0);}return[J,v-E,L(H)]};return n(e+"",0)[2]}
function utf8_decode(e){var h=[],m=0,p=0,n=0,F=0,E=0;for(e+="";m<e.length;){n=e.charCodeAt(m);if(n<128){h[p++]=String.fromCharCode(n);m++}else if(n>191&&n<224){F=e.charCodeAt(m+1);h[p++]=String.fromCharCode((n&31)<<6|F&63);m+=2}else{F=e.charCodeAt(m+1);E=e.charCodeAt(m+2);h[p++]=String.fromCharCode((n&15)<<12|(F&63)<<6|E&63);m+=3}}return h.join("")}var bfFakedImg=[];
function getVotesString(e,h){var m=e%100;if(m>=11&&m<=19)m="\u0433\u043e\u043b\u043e\u0441\u043e\u0432";else{num=m%10;m=num==1?"\u0433\u043e\u043b\u043e\u0441":num>=2&&num<=4?"\u0433\u043e\u043b\u043e\u0441\u0430":"\u0433\u043e\u043b\u043e\u0441\u043e\u0432"}if(h==2)if(m=="\u0433\u043e\u043b\u043e\u0441\u043e\u0432")m="\u0433\u043e\u043b\u043e\u0441\u0456\u0432";else if(m=="\u0433\u043e\u043b\u043e\u0441\u0430")m="\u0433\u043e\u043b\u043e\u0441\u0438";return e+" "+m}
function voteBlog(e){var h=dge("votingButton"+e);if(h){for(var m=parseInt(h.getAttribute("langID")),p=[],n=0;n<1E3;n++){var F=dge("voteOption"+e+"_"+n);if(!F)break;var E=dge("votePStripe"+e+"_"+n);if(!E)break;var H=dge("voteProgress"+e+"_"+n);if(!H)break;p.push({elemRadio:F,radio:F.firstChild,stripe:E,progress:H})}if(!(p.length<2)){F=-1;for(n=0;n<p.length;n++)if(p[n].radio.checked){F=n;break}if(!(F<0)){for(n=E=0;n<p.length;n++)E+=parseInt(p[n].progress.getAttribute("numvotes"));E+=1;for(n=0;n<p.length;n++){H=
parseInt(p[n].progress.getAttribute("numvotes"));if(n==F){H++;p[n].progress.setAttribute("numvotes",H)}numPercent=Math.round(H*100/E);p[n].progress.firstChild.nodeValue=numPercent+"%, "+getVotesString(H,m);p[n].progress.style.marginLeft=numPercent+"%";p[n].stripe.style.width=numPercent+"%";p[n].elemRadio.style.display="none"}h.style.display="none";h=dce("IMG");h.src="/js/article_voting/"+e+"/"+F+"/";bfFakedImg.push(h)}}}}
function ip_imageRClick(){alert(JS_LANG_ID==2?"\u042f\u043a\u0449\u043e \u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u043e\u044e \u0437 \u0434\u0440\u0443\u0437\u044f\u043c\u0438,\n\u0442\u043e \u0434\u0430\u0439\u0442\u0435 \u0457\u043c \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0444\u043e\u0442\u043e, \u0430\u0431\u043e \u043a\u043b\u0456\u043a\u0430\u0439\u0442\u0435\n\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u0441\u043e\u0446\u0456\u0430\u043b\u044c\u043d\u0438\u0445 \u043c\u0435\u0440\u0435\u0436. \u0414\u044f\u043a\u0443\u0454\u043c\u043e \u0437\u0430 \u0440\u043e\u0437\u0443\u043c\u0456\u043d\u043d\u044f.":"\u0415\u0441\u043b\u0438 \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u043e\u0439 \u0441 \u0434\u0440\u0443\u0437\u044c\u044f\u043c\u0438,\n\u0442\u043e \u0434\u0430\u0439\u0442\u0435 \u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0444\u043e\u0442\u043e, \u0438\u043b\u0438 \u043a\u043b\u0438\u043a\u0430\u0439\u0442\u0435\n\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435.")}
var ip_shareFakeImg;function ip_shareHit(e){e=e.className.substr(6);ip_shareFakeImg=dce("IMG");ip_shareFakeImg.src="http://prikol.i.ua/js/share_hit.gif?button="+e+"&_rand="+Math.random()}var ip_lastShareLink=[];
function ip_showShared(e,h,m){var p=encodeURIComponent(h),n=e.parentNode,F=e.shared;if(e.className!="share close"){e.className="share close";n.className="shared_short";if(!F){F=dce("DIV");F.style.display="none";F.className="shared";F.setAttribute("url",h);n.appendChild(F);n=dce("P");n.className="small marginB05";n.appendChild(dct("\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u0434\u0440\u0443\u0437\u044c\u044f\u043c!"));F.appendChild(n);n=dce("DIV");n.className="clear";F.appendChild(n);var E=
{twitter:["http://twitter.com/home?status=[link]%0A[title]","\u0412 Twitter","http://api.tweetmeme.com/url_info.js?url=[link]"],facebook:["http://www.facebook.com/sharer.php?u=[link]&t=[title]","\u0412 Facebook","http://api.ak.facebook.com/restserver.php?v=1.0&method=links.getStats&urls=[link]&format=json&callback=fb_sharepro_render"],vkontakte:["http://vkontakte.ru/share.php?url=[link]&title=[title]","\u0412 \u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435","http://vkontakte.ru/share.php?act=count&index=[index]&url=[link]"],
googlebuzz:["http://www.google.com/buzz/post?url=[link]","Go to Google Buzz","http://www.google.com/buzz/api/buzzThis/buzzCounter?url=[link]"],livejournal:["http://www.livejournal.com/update.bml?event=%3Ca+href%3D%22[link]%22%3E[link]%3C%2Fa%3E&subject=[title]","\u0412 \u0416\u0416"],mailru:["http://connect.mail.ru/share?share_url=[link]","\u0412 \u041c\u043e\u0439 \u041c\u0438\u0440","http://connect.mail.ru/share_count?func=mrc__shareInit&callback=1&url_list=[link]"]},H;for(H in E){var o=dce("A");
o.target="_blank";o.href=E[H][0].replace(/\[link\]/g,p).replace(/\[title\]/,m);o.title=E[H][1];n.appendChild(o);var B=dce("SPAN");B.className="share "+H;B.onclick=function(){ip_shareHit(this)};o.appendChild(B)}e.shared=F;ip_loadSharedCounter(n,E,p);ip_lastShareLink.push(h)}F.style.display=""}else{e.className="share open";n.className="shared_short asRow";if(F)F.style.display="none"}}var ip_sharedElemCache;
function ip_loadSharedCounter(e,h,m){ip_sharedElemCache=null;for(var p in h)if(h[p].length>2){var n=dce("SCRIPT");n.type="text/javascript";e.appendChild(n);n.src=h[p][2].replace(/\[link\]/,m).replace(/\[index\]/,ip_lastShareLink.length)}}
function ip_setShareCounter(e,h,m){ip_sharedElemCache||(ip_sharedElemCache=document.getElementsByTagName("SPAN"));for(var p=0;p<ip_sharedElemCache.length;p++)if(ip_sharedElemCache[p].className=="share "+e){var n=ip_sharedElemCache[p].parentNode;if(n.parentNode.parentNode.getAttribute("url").indexOf(m)!=-1){var F=dce("B");F.appendChild(dct(parseInt(h)));n.appendChild(F)}}}function google_buzz_set_count(e){if(e)for(var h in e)ip_setShareCounter("googlebuzz",e[h],h)}
function fb_sharepro_render(e){if(e)for(var h=0;h<e.length;h++)ip_setShareCounter("facebook",e[h].total_count,e[h].url)}function tweetmemedata(e){e&&e.status=="success"&&ip_setShareCounter("twitter",e.story.url_count,e.story.url)}var VK={Share:{count:function(e,h){ip_setShareCounter("vkontakte",h,ip_lastShareLink[e])}}};function mrc__shareInit(e){if(e)for(var h in e)ip_setShareCounter("mailru",e[h].shares,h)}function dce(e){return document.createElement(e)}
function dct(e){return document.createTextNode(e)}function dge(e){return document.getElementById(e)}
(function(e){e.suggest=function(h,m){function p(){var X=v.offset();L.css({top:X.top+h.offsetHeight+2+"px",left:X.left-7+"px"})}function n(X){if(/27$|38$|40$/.test(X.keyCode)&&L.is(":visible")||/^13$|^9$/.test(X.keyCode)&&B()){X.preventDefault&&X.preventDefault();X.stopPropagation&&X.stopPropagation();X.cancelBubble=true;X.returnValue=false;switch(X.keyCode){case 38:($currentResult=B())?$currentResult.removeClass(m.selectClass).prev().addClass(m.selectClass):L.children("li:last-child").addClass(m.selectClass);
break;case 40:($currentResult=B())?$currentResult.removeClass(m.selectClass).next().addClass(m.selectClass):L.children("li:first-child").addClass(m.selectClass);break;case 9:case 13:J();break;case 27:L.hide()}}else if(v.val().length!=A){N&&clearTimeout(N);N=setTimeout(F,m.delay);A=v.val().length}}function F(){var X=e.trim(v.val()),ja=X;if(X.length>=m.minchars)if(cached=E(X))H(cached.items);else{X="z_search="+X;for(var ka in m.extraParams)X+="&"+ka+"="+encodeURI(m.extraParams[ka]);X+="&repo="+e("#site_search_repo").val();
e.get(m.source,X,function(ha){e("#search-loader").css("display","inline");L.hide();var ea=o(ha,ja);H(ea);for(ha=ha.length;U.length&&G+ha>m.maxCacheSize;){var ia=U.pop();G-=ia.size}U.push({q:ja,size:ha,items:ea});G+=ha})}else L.hide()}function E(X){for(var ja=0;ja<U.length;ja++)if(U[ja].q==X){U.unshift(U.splice(ja,1)[0]);return U[0]}return false}function H(X){if(X)if(X.length){for(var ja="",ka=0;ka<X.length;ka++)ja+="<li>"+X[ka]+"</li>";L.html(ja).show();L.children("li").mouseover(function(){L.children("li").removeClass(m.selectClass);
e(this).addClass(m.selectClass)}).click(function(ha){ha.preventDefault();ha.stopPropagation();J()});e("#search-loader").css("display","none")}else L.hide()}function o(X){var ja=[];X=X.split(m.delimiter);for(var ka=0;ka<X.length;ka++){var ha=e.trim(X[ka]);if(ha){ha=ha.replace(function(ea){return'<span class="'+m.matchClass+'">'+ea+"</span>"});ja[ja.length]=ha}}return ja}function B(){if(!L.is(":visible"))return false;var X=L.children("li."+m.selectClass);X.length||(X=false);return X}function J(){window.location.href=
L.children("li."+m.selectClass).children("a").attr("href");if($currentResult=B()){v.val($currentResult.text());L.hide();m.onSelect&&m.onSelect.apply(v[0])}}var v=e(h).attr("autocomplete","off"),L=e(document.createElement("ul")),N=false,A=0,U=[],G=0;L.addClass(m.resultsClass).appendTo("body");p();e(window).load(p).resize(p);v.blur(function(){setTimeout(function(){L.hide()},200)});try{L.bgiframe()}catch(c){}e.browser.mozilla?v.keypress(n):v.keydown(n)};e.fn.suggest=function(h,m){if(h){m=m||{};m.source=
h;m.delay=m.delay||100;m.resultsClass=m.resultsClass||"ac_results";m.selectClass=m.selectClass||"ac_over";m.matchClass=m.matchClass||"ac_match";m.minchars=m.minchars||2;m.delimiter=m.delimiter||"\n";m.onSelect=m.onSelect||false;m.maxCacheSize=m.maxCacheSize||65536;this.each(function(){new e.suggest(this,m)});return this}}})(jQuery);
var changecity_cache_areas=[],changecity_cache_cities=[],changecity_current_country=0,changecity_current_area=0,changecity_current_country_name="",changecity_current_area_name="";
function showChangecityTab(e){e=$(e);var h=e.next();if(h.hasClass("tab_objects_list_closed")){$("div#changecity_box div.tab_header_closed").unbind("click");$("div#changecity_box div.tab_header_opened").removeClass("tab_header_opened").addClass("tab_header_closed");$("div#changecity_box div.tab_objects_list_opened").removeClass("tab_objects_list_opened").addClass("tab_objects_list_closed").slideUp(200);e.removeClass("tab_header_closed").addClass("tab_header_opened");h.removeClass("tab_objects_list_closed").addClass("tab_objects_list_opened").slideDown(200);
$("div#changecity_box div.tab_header_closed").click(function(){showChangecityTab(this)})}}
function __changecityGetListHtml(e,h){var m=e.length,p=m>30?3:2,n=Math.ceil(m/p),F=false;if(m>50){n=15;p=Math.ceil(m/n);F=true}var E="<table"+(F?' class="paged"':"")+">";for(i=0;i<n;i++){E+="<tr>";for(j=0;j<p;j++){var H=i+n*j;if(H<m){var o=e[H];E+='<td class="first_letter"';if(F&&j>2)E+=' style="width: 0px;display: none;"';E+=">";first_letter=o.name.substr(0,1);if(H>0)if(first_letter==e[H-1].name.substr(0,1))first_letter="";E+=first_letter;E+="</td>";E+="<td";if(F&&j>2)E+=' style="width: 0px;display: none;"';
E+=">";if(h!="")E+='<a href="#" onclick="return '+h+"(this,"+o.id+')">'+o.name+"</a>";else{H=decodeURIComponent(location.pathname);var B="";if(H!=""){tmp=H.split("/");if(tmp.length>2){path_comp=tmp[1];if(path_comp!="ru")if(path_comp=="\u041e-\u0433\u043e\u0440\u043e\u0434\u0435")B=path_comp+"/";else if(path_comp=="\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f"||path_comp=="\u041d\u043e\u0432\u043e\u0441\u0442\u0438"||path_comp=="\u041a\u0430\u0442\u0430\u043b\u043e\u0433-\u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0439"||
path_comp=="\u0410\u043a\u0446\u0438\u0438"||path_comp=="\u0420\u0430\u0431\u043e\u0442\u0430"||path_comp=="\u041a\u0430\u0440\u0442\u0430-\u0433\u043e\u0440\u043e\u0434\u0430"){B=path_comp+"/";if(tmp.length>3){B+=tmp[2]+"/";if(path_comp=="\u0420\u0430\u0431\u043e\u0442\u0430"&&tmp.length>4)B+=tmp[3]+"/"}}}}E+='<a href="http://'+o.domain+".prostogorod.ua/"+B+'">'+o.name+"</a>"}E+="</td>"}}E+="</tr>"}E+="</table>";if(F){E+='<div class="paginator">';E+='<span class="paginator_left paginator_left_disabled">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430</span>';
E+='<span class="paginator_right" onclick="clickPaginator(this, \'right\');">\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430</span>';E+="</div>"}return E}
function __changecityRedrawFullCityPath(){html_results="<span onclick=\"showChangecityTab($('div.changecity_countries_list_header'));\">"+changecity_current_country_name+"</span>";if(changecity_current_area_name!=""){html_results+="<span onclick=\"showChangecityTab($('div.changecity_areas_list_header'));\">"+changecity_current_area_name+"</span>";html_results+="<i onclick=\"showChangecityTab($('div.changecity_cities_list_header'));\">\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434</i>"}else html_results+=
"<i onclick=\"showChangecityTab($('div.changecity_areas_list_header'));\">\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043e\u043d</i>";$("div#changecity_box div.full_city_path").html(html_results)}
function clickChangecityCountry(e,h){if(changecity_current_country!=h){changecity_current_country=h;changecity_current_country_name=$(e).text();changecity_current_area_name="";__changecityRedrawFullCityPath();$("div.changecity_areas_list").html("<strong>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0440\u0435\u0433\u0438\u043e\u043d\u043e\u0432...</strong>");showChangecityTab($("div.changecity_areas_list_header"));
$("div.changecity_cities_list").html("");$("div.changecity_cities_list_header").unbind("click").addClass("tab_header_disabled").children("i").html("\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043e\u043d");$.getJSON("/ru/ajax/areas/id/"+h+"?mode=json",function(m,p){if(p=="success")m&&m.length>0?$("div.changecity_areas_list").html(__changecityGetListHtml(m,"clickChangecityArea")):$("div.changecity_areas_list").html("<strong>\u0420\u0435\u0433\u0438\u043e\u043d\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0443.</strong>");
else $("div.changecity_areas_list").html('<strong class="error">\u041e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430!</strong>')})}else showChangecityTab($("div.changecity_areas_list_header"));return false}
function clickChangecityArea(e,h){if(changecity_current_area!=h){changecity_current_area=h;changecity_current_area_name=$(e).text();__changecityRedrawFullCityPath();$("div.changecity_cities_list").html("<strong>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0433\u043e\u0440\u043e\u0434\u043e\u0432...</strong>");$("div.changecity_cities_list_header").removeClass("tab_header_disabled").children("i").html("\u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c");
showChangecityTab($("div.changecity_cities_list_header"));$.getJSON("/ru/ajax/cities/id/"+h+"?mode=json",function(m,p){if(p=="success")m&&m.length>0?$("div.changecity_cities_list").html(__changecityGetListHtml(m,"")):$("div.changecity_cities_list").html("<strong>\u0413\u043e\u0440\u043e\u0434\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u0440\u0435\u0433\u0438\u043e\u043d.</strong>");
else $("div.changecity_cities_list").html('<strong class="error">\u041e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430!</strong>')})}else showChangecityTab($("div.changecity_cities_list_header"));return false}
function clickPaginator(e,h){e=$(e);var m=e.parent().parent(),p=m.find("table tr:first td"),n=0,F=false;p.each(function(E,H){if(F==false){if($(H).css("display")==""||$(H).css("display")=="table-cell")F=true;n++}else if($(H).css("display")==""||$(H).css("display")=="table-cell")n++});if(h=="right"){if(n>5){m.find("table tr td:nth-child("+(n-5)+")").hide();m.find("table tr td:nth-child("+(n-4)+")").hide();m.find("table tr td:nth-child("+(n+1)+")").show();m.find("table tr td:nth-child("+(n+2)+")").show()}n-
5>0&&$("div.paginator span.paginator_left_disabled").removeClass("paginator_left_disabled").click(function(){clickPaginator(this,"left")});n+2>=p.length&&$("div.paginator span.paginator_right").addClass("paginator_right_disabled").removeAttr("onclick").unbind()}else if(h=="left"){if(n>7){m.find("table tr td:nth-child("+(n-7)+")").show();m.find("table tr td:nth-child("+(n-6)+")").show();m.find("table tr td:nth-child("+(n-1)+")").hide();m.find("table tr td:nth-child("+n+")").hide()}n-8<=0&&$("div.paginator span.paginator_left").addClass("paginator_left_disabled").removeAttr("onclick").unbind();
n<=p.length&&$("div.paginator span.paginator_right_disabled").removeClass("paginator_right_disabled").click(function(){clickPaginator(this,"right")})}return false}function showLoginForm(){$("#loginForm").show()}function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage:"ru",includedLanguages:"en,be,el,es,it,de,pl,ro,ru,uk,fi,fr,cs"},"google_translate_element")}
function googleTranslateLoad(){$("#google_translate_container").slideToggle("250",function(){$("#google_translate_element span.loading").length==1&&$.getScript("http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",function(){$("#google_translate_element span.loading").html("\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b").addClass("selectlang").removeClass("loading")})})}
function selectSiteSearchRepo(e,h){$(".select_search").html(e);$("#block_search_menu_select").hide();$("#site_search_repo").val(h)}
function search_select_region(e){$(e).addClass("active");document.getElementById("search_site_field").focus();switch($(e).attr("id")){case "search_in_site":$("#site_search_where").val("city");break;case "search_in_ukraine":$("#site_search_where").val("country");break;case "search_in_world":$("#site_search_where").val("world");break;default:$("#site_search_where").val("")}}
function submitSearchForm(){if($("select#repo").val()=="google"){var e=str_replace(" ","+",$('input[name="z_search"]').val()),h=$("#lang").val();window.open("http://www.google.com/search?as_q="+e+"&hl="+h+"&sitesearch=prostogorod.ua");return false}else return true}$(function(){$("#changecity_box div.tab_header_closed").each(function(){var e=$(this);e.click(function(){showChangecityTab(e)})});$("a#showLoginFormLink").fancybox({modal:"true",scrolling:"no",autoScale:"true"});$("a.dobavit_v_izbranoe").jFav({msg:"\u0427\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043a\u043d\u043e\u043f\u043a\u0438 Ctrl \u0438 D (\u0438\u043b\u0438 CMD \u0438 D \u0434\u043b\u044f Mac)"})});

