Project

General

Profile

Bug #1429 » text-ok.js

Output, generated by Wt WidgetSet without require - Boris Nagaev, 10/05/2012 10:48 AM

 
if (typeof window.$ === 'undefined') {/*!
* jQuery JavaScript Library v1.4b1pre
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://docs.jquery.com/License
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu Jan 7 14:26:06 2010 -0500
*/
(function(z,w){function la(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ia(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 Z(a,b,d,e,g,i){var k=a.length;if(typeof b==="object"){for(var o in b)Z(a,o,b[o],e,g,d);return a}if(d!==w){e=e&&c.isFunction(d);for(o=0;o<k;o++)g(a[o],b,e?d.call(a[o],o,g(a[o],b)):d,i);return a}return k?
g(a[0],b):null}function M(){return(new Date).getTime()}function $(){return false}function aa(){return true}function ma(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function na(a){var b=true,d=[],e=[],g=arguments,i,k,o,p,n,u=c.extend({},c.data(this,"events").live);for(p in u){k=u[p];if(k.live===a.type||k.altLive&&c.inArray(a.type,k.altLive)>-1){i=k.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||e.push(k.selector)}else delete u[p]}i=c(a.target).closest(e,a.currentTarget);
n=0;for(l=i.length;n<l;n++)for(p in u){k=u[p];o=i[n].elem;e=null;if(i[n].selector===k.selector){if(k.live==="mouseenter"||k.live==="mouseleave")e=c(a.relatedTarget).closest(k.selector)[0];if(!e||e!==o)d.push({elem:o,fn:k})}}n=0;for(l=d.length;n<l;n++){i=d[n];a.currentTarget=i.elem;a.data=i.fn.data;if(i.fn.apply(i.elem,g)===false){b=false;break}}return b}function oa(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"&")].join(".")}function pa(a,b){var d=0;b.each(function(){if(this.nodeName===
(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),g=c.data(this,e);if(e=e&&e.events){delete g.handle;g.events={};for(var i in e)for(var k in e[i])c.event.add(this,i,e[i][k],e[i][k].data)}}})}function qa(a,b,d){var e,g,i;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&a[0].indexOf("<option")<0){g=true;if(i=c.fragments[a[0]])if(i!==1)e=i}if(!e){b=b&&b[0]?b[0].ownerDocument||b[0]:s;e=b.createDocumentFragment();c.clean(a,b,e,d)}if(g)c.fragments[a[0]]=i?e:1;return{fragment:e,cacheable:g}}function R(a){for(var b=
0,d,e;(d=a[b])!=null;b++)if(!c.noData[d.nodeName.toLowerCase()]&&(e=d[E]))delete c.cache[e]}function I(a,b){var d={};c.each(ra.concat.apply([],ra.slice(0,b)),function(){d[this]=a});return d}function sa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ja=z.jQuery,Ka=z.$,s=z.document,S,La=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ma=/^.[^:#\[\.,]*$/,Na=/\S/,Oa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Pa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
N=navigator.userAgent,ta=false,O=[],J,ba=Object.prototype.toString,ca=Object.prototype.hasOwnProperty,da=Array.prototype.push,P=Array.prototype.slice,T=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=La.exec(a))&&(d[1]||!b))if(d[1]){e=b?b.ownerDocument||b:s;if(a=Pa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[e.createElement(a[1])];
else{a=qa([d[1]],[e]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):
c.makeArray(a,this)},selector:"",jquery:"1.4b1pre",length:0,size:function(){return this.length},toArray:function(){return P.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;da.apply(this,a);return this},each:function(a,b){return c.each(this,
a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else O&&O.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(P.apply(this,arguments),"slice",P.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:da,sort:[].sort,splice:[].splice};
c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,g,i,k,o;if(typeof a==="boolean"){e=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((g=arguments[b])!=null)for(i in g){k=a[i];o=g[i];if(a!==o)if(e&&o&&(c.isPlainObject(o)||c.isArray(o))){k=k&&(c.isPlainObject(k)||c.isArray(k))?k:c.isArray(o)?[]:{};a[i]=c.extend(e,k,o)}else if(o!==w)a[i]=o}return a};c.extend({noConflict:function(a){z.$=
Ka;if(a)z.jQuery=Ja;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(O){for(var a,b=0;a=O[b++];)a.call(s,c);O=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!ta){ta=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",J,false);z.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",J);z.attachEvent("onload",
c.ready);var a=false;try{a=z.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&la()}}},isFunction:function(a){return ba.call(a)==="[object Function]"},isArray:function(a){return ba.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ba.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ca.call(a,"constructor")&&!ca.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===w||ca.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
return true},noop:function(){},globalEval:function(a){if(a&&Na.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var e,g=0,i=a.length,k=i===w||c.isFunction(a);if(d)if(k)for(e in a){if(b.apply(a[e],d)===
false)break}else for(;g<i;){if(b.apply(a[g++],d)===false)break}else if(k)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=a[0];g<i&&b.call(d,g,d)!==false;d=a[++g]);return a},trim:function(a){return(a||"").replace(Oa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?da.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;
return-1},merge:function(a,b){var d=a.length,e=0;if(typeof b.length==="number")for(var g=b.length;e<g;e++)a[d++]=b[e];else for(;b[e]!==w;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],g=0,i=a.length;g<i;g++)!d!==!b(a[g],g)&&e.push(a[g]);return e},map:function(a,b,d){for(var e=[],g,i=0,k=a.length;i<k;i++){g=b(a[i],i,d);if(g!=null)e[e.length]=g}return e.concat.apply([],e)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&!c.isFunction(b)){d=
b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a))b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))b={browser:"opera",version:/opera[\/ ]([\w.]+)/};else if(/msie/.test(a))b={browser:"msie",version:/msie ([\w.]+)/};else if(/mozilla/.test(a)&&!/compatible/.test(a))b={browser:"mozilla",version:/rv:([\w.]+)/};b.version=(b.version&&b.version.exec(a)||
[0,"0"])[1];return b},browser:{}});N=c.uaMatch(N);if(N.browser){c.browser[N.browser]=true;c.browser.version=N.version}if(c.browser.webkit)c.browser.safari=true;if(T)c.inArray=function(a,b){return T.call(b,a)};S=c(s);if(s.addEventListener)J=function(){s.removeEventListener("DOMContentLoaded",J,false);c.ready()};else if(s.attachEvent)J=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",J);c.ready()}};if(T)c.inArray=function(a,b){return T.call(b,a)};(function(){c.support={};
var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),e="script"+M();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("*"),i=d.getElementsByTagName("a")[0];if(!(!g||!g.length||!i)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),
hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+e+"=1;"))}catch(k){}a.insertBefore(b,a.firstChild);if(z[e]){c.support.scriptEval=true;delete z[e]}a.removeChild(b);if(d.attachEvent&&
d.fireEvent){d.attachEvent("onclick",function o(){c.support.noCloneEvent=false;d.detachEvent("onclick",o)});d.cloneNode(true).fireEvent("onclick")}c(function(){var o=s.createElement("div");o.style.width=o.style.paddingLeft="1px";s.body.appendChild(o);c.boxModel=c.support.boxModel=o.offsetWidth===2;s.body.removeChild(o).style.display="none"});a=function(o){var p=s.createElement("div");o="on"+o;var n=o in p;if(!n){p.setAttribute(o,"return;");n=typeof p[o]==="function"}return n};c.support.submitBubbles=
a("submit");c.support.changeBubbles=a("change");a=b=d=g=i=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),
e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)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 Qa=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(e!==w){d=c.proxy(d);d.data=e}var g=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),k;if(!i){k=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(k.elem,arguments):w};
i=c.data(a,"handle",k)}i.elem=a;b=b.split(/\s+/);for(var o,p=0;o=b[p++];){var n=o.split(".");o=n.shift();d.type=n.slice(0).sort().join(".");var u=g[o],y=this.special[o]||{};if(!u){u=g[o]={};if(!y.setup||y.setup.call(a,e,n,d)===false)if(a.addEventListener)a.addEventListener(o,i,false);else a.attachEvent&&a.attachEvent("on"+o,i)}if(y.add)if((n=y.add.call(a,d,e,n,u))&&c.isFunction(n)){n.guid=n.guid||d.guid;d=n}u[d.guid]=d;this.global[o]=true}a=null}},global:{},remove:function(a,b,d){if(!(a.nodeType===
3||a.nodeType===8)){var e=c.data(a,"events"),g,i,k;if(e){if(b===w||typeof b==="string"&&b.charAt(0)===".")for(i in e)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var o=0;i=b[o++];){var p=i.split(".");i=p.shift();var n=!p.length,u=c.map(p.slice(0).sort(),Qa);u=new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.)?")+"(\\.|$)");var y=this.special[i]||{};if(e[i]){if(d){k=e[i][d.guid];delete e[i][d.guid]}else for(var A in e[i])if(n||u.test(e[i][A].type))delete e[i][A];y.remove&&
y.remove.call(a,p,k);for(g in e[i])break;if(!g){if(!y.teardown||y.teardown.call(a,p)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));g=null;delete e[i]}}}}for(g in e)break;if(!g){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,e){var g=a.type||a;if(!e){a=typeof a==="object"?a[E]?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();this.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 w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;var i=c.data(d,"handle");i&&i.apply(d,b);var k,o;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){k=d[g];o=d["on"+g]}}catch(p){}i=c.nodeName(d,"a")&&g==="click";if(!e&&k&&!a.isDefaultPrevented()&&!i){this.triggered=
true;try{d[g]()}catch(n){}}else if(o&&d["on"+g].apply(d,b)===false)a.result=false;this.triggered=false;if(!a.isPropagationStopped())(d=d.parentNode||d.ownerDocument)&&c.event.trigger(a,b,d,true)},handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var e=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var g in d){var i=d[g];if(b||e.test(i.type)){a.handler=
i;a.data=i.data;i=i.apply(this,arguments);if(i!==w){a.result=i;if(i===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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[E])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||s;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=s.documentElement;d=s.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&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)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,b){c.extend(a,b||{});a.guid+=b.selector+b.live;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b=0,d=new RegExp("(^|\\.)"+
a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};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=M();this[E]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
aa;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=aa;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=aa;this.stopPropagation()},isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$};var ua=function(a){for(var b=a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==
this){a.type=a.data;c.event.handle.apply(this,arguments)}},va=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?va:ua,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?va:ua)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit."+d.guid,
function(e){var g=e.target,i=g.type;if((i==="submit"||i==="image")&&c(g).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(e){var g=e.target,i=g.type;if((i==="text"||i==="password")&&c(g).closest("form").length&&e.keyCode===13)return ma("submit",this,arguments)})}},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,"keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var ea=
/textarea|input|select/i;function wa(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(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function fa(a,b){var d=a.target,e,g;if(!(!ea.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");g=wa(d);if(g!==e){if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",g);if(d.type!=="select"&&(e!=
null||g)){a.type="change";return c.event.trigger(a,b,this)}}}}c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.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 fa.call(this,a)},beforeactivate:function(a){a=a.target;a.nodeName.toLowerCase()===
"input"&&a.type==="radio"&&c.data(a,"_change_data",wa(a))}},setup:function(a,b,d){for(var e in U)c.event.add(this,e+".specialChange."+d.guid,U[e]);return ea.test(this.nodeName)},remove:function(a,b){for(var d in U)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),U[d]);return ea.test(this.nodeName)}};var U=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]=
{setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,g){if(typeof d==="object"){for(var i in d)this[b](i,e,d[i],g);return this}if(c.isFunction(e)){thisObject=g;g=e;e=w}var k=b==="one"?c.proxy(g,function(o){c(this).unbind(o,k);return g.apply(this,arguments)}):g;d==="unload"&&b!=="one"?this.one(d,e,g,thisObject):(!this.selector&&!this.context?c(s):this).each(function(){c.event.add(this,
d,k,e)});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]);return this}(!this.selector&&!this.context?c(s):this).each(function(){c.event.remove(this,a,b)});return this},trigger:function(a,b){(!this.selector&&!this.context?c(s):this).each(function(){c.event.trigger(a,b,this)});return this},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.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(e){var g=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,g+1);e.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},live:function(a,b,d){if(c.isFunction(b)){d=b;b=w}c(this.context).bind(oa(a,this.selector),{data:b,selector:this.selector,live:a},d);return this},die:function(a,b){c(this.context).unbind(oa(a,
this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.each("blur focus 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){return d?this.bind(b,d):this.trigger(b)};if(c.fnAttr)c.fnAttr[b]=true});z.attachEvent&&!z.addEventListener&&z.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
var E="jQuery"+M(),Ra=0,xa={},Sa={};c.extend({cache:{},expando:E,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var e=a[E],g=c.cache;if(!b&&!e)return null;e||(e=++Ra);if(typeof b==="object"){a[E]=e;g=g[e]=c.extend(true,{},b)}else g=g[e]?g[e]:typeof d==="undefined"?Sa:(g[e]={});if(d!==w){a[E]=e;g[b]=d}return typeof b==="string"?g[b]:g}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==z?xa:a;var d=a[E],e=c.cache,g=e[d];if(b){if(g){delete g[b];c.isEmptyObject(g)&&c.removeData(a)}}else{try{delete a[E]}catch(i){a.removeAttribute&&a.removeAttribute(E)}delete e[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===w&&this.length)e=c.data(this[0],a);return e===
w&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});(function(){function a(f){for(var h="",j,m=0;f[m];m++){j=f[m];if(j.nodeType===3||j.nodeType===4)h+=j.nodeValue;else if(j.nodeType!==8)h+=a(j.childNodes)}return h}function b(f,h,j,m,r,q){r=0;for(var v=m.length;r<v;r++){var t=m[r];if(t){t=t[f];for(var x=false;t;){if(t.sizcache===j){x=m[t.sizset];break}if(t.nodeType===
1&&!q){t.sizcache=j;t.sizset=r}if(t.nodeName.toLowerCase()===h){x=t;break}t=t[f]}m[r]=x}}}function d(f,h,j,m,r,q){r=0;for(var v=m.length;r<v;r++){var t=m[r];if(t){t=t[f];for(var x=false;t;){if(t.sizcache===j){x=m[t.sizset];break}if(t.nodeType===1){if(!q){t.sizcache=j;t.sizset=r}if(typeof h!=="string"){if(t===h){x=true;break}}else if(p.filter(h,[t]).length>0){x=t;break}}t=t[f]}m[r]=x}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
g=0,i=Object.prototype.toString,k=false,o=true;[0,0].sort(function(){o=false;return 0});var p=function(f,h,j,m){j=j||[];var r=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!f||typeof f!=="string")return j;for(var q=[],v,t,x,Q,F=true,K=V(h),G=f;(e.exec(""),v=e.exec(G))!==null;){G=v[3];q.push(v[1]);if(v[2]){Q=v[3];break}}if(q.length>1&&u.exec(f))if(q.length===2&&n.relative[q[0]])t=ya(q[0]+q[1],h);else for(t=n.relative[q[0]]?[h]:p(q.shift(),h);q.length;){f=q.shift();if(n.relative[f])f+=q.shift();
t=ya(f,t)}else{if(!m&&q.length>1&&h.nodeType===9&&!K&&n.match.ID.test(q[0])&&!n.match.ID.test(q[q.length-1])){v=p.find(q.shift(),h,K);h=v.expr?p.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:q.pop(),set:A(m)}:p.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&h.parentNode?h.parentNode:h,K);t=v.expr?p.filter(v.expr,v.set):v.set;if(q.length>0)x=A(t);else F=false;for(;q.length;){var B=q.pop();v=B;if(n.relative[B])v=q.pop();else B="";if(v==null)v=h;n.relative[B](x,v,K)}}else x=[]}x||(x=t);x||p.error(B||
f);if(i.call(x)==="[object Array]")if(F)if(h&&h.nodeType===1)for(f=0;x[f]!=null;f++){if(x[f]&&(x[f]===true||x[f].nodeType===1&&H(h,x[f])))j.push(t[f])}else for(f=0;x[f]!=null;f++)x[f]&&x[f].nodeType===1&&j.push(t[f]);else j.push.apply(j,x);else A(x,j);if(Q){p(Q,r,j,m);p.uniqueSort(j)}return j};p.uniqueSort=function(f){if(D){k=o;f.sort(D);if(k)for(var h=1;h<f.length;h++)f[h]===f[h-1]&&f.splice(h--,1)}return f};p.matches=function(f,h){return p(f,null,null,h)};p.find=function(f,h,j){var m,r;if(!f)return[];
for(var q=0,v=n.order.length;q<v;q++){var t=n.order[q];if(r=n.leftMatch[t].exec(f)){var x=r[1];r.splice(1,1);if(x.substr(x.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");m=n.find[t](r,h,j);if(m!=null){f=f.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:f}};p.filter=function(f,h,j,m){for(var r=f,q=[],v=h,t,x,Q=h&&h[0]&&V(h[0]);f&&h.length;){for(var F in n.filter)if((t=n.leftMatch[F].exec(f))!=null&&t[2]){var K=n.filter[F],G,B;B=t[1];x=false;t.splice(1,1);if(B.substr(B.length-
1)!=="\\"){if(v===q)q=[];if(n.preFilter[F])if(t=n.preFilter[F](t,v,j,q,m,Q)){if(t===true)continue}else x=G=true;if(t)for(var W=0;(B=v[W])!=null;W++)if(B){G=K(B,t,W,v);var za=m^!!G;if(j&&G!=null)if(za)x=true;else v[W]=false;else if(za){q.push(B);x=true}}if(G!==w){j||(v=q);f=f.replace(n.match[F],"");if(!x)return[];break}}}if(f===r)if(x==null)p.error(f);else break;r=f}return v};p.error=function(f){throw"Syntax error, unrecognized expression: "+f;};var n=p.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(f){return f.getAttribute("href")}},
relative:{"+":function(f,h){var j=typeof h==="string",m=j&&!/\W/.test(h);j=j&&!m;if(m)h=h.toLowerCase();m=0;for(var r=f.length,q;m<r;m++)if(q=f[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);f[m]=j||q&&q.nodeName.toLowerCase()===h?q||false:q===h}j&&p.filter(h,f,true)},">":function(f,h){var j=typeof h==="string";if(j&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,r=f.length;m<r;m++){var q=f[m];if(q){j=q.parentNode;f[m]=j.nodeName.toLowerCase()===h?j:false}}}else{m=0;for(r=f.length;m<r;m++)if(q=f[m])f[m]=
j?q.parentNode:q.parentNode===h;j&&p.filter(h,f,true)}},"":function(f,h,j){var m=g++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("parentNode",h,m,f,q,j)},"~":function(f,h,j){var m=g++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("previousSibling",h,m,f,q,j)}},find:{ID:function(f,h,j){if(typeof h.getElementById!=="undefined"&&!j)return(f=h.getElementById(f[1]))?[f]:[]},NAME:function(f,h){if(typeof h.getElementsByName!=="undefined"){var j=[];
h=h.getElementsByName(f[1]);for(var m=0,r=h.length;m<r;m++)h[m].getAttribute("name")===f[1]&&j.push(h[m]);return j.length===0?null:j}},TAG:function(f,h){return h.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,h,j,m,r,q){f=" "+f[1].replace(/\\/g,"")+" ";if(q)return f;q=0;for(var v;(v=h[q])!=null;q++)if(v)if(r^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(f)>=0))j||m.push(v);else if(j)h[q]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f){return f[1].toLowerCase()},
CHILD:function(f){if(f[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]==="even"&&"2n"||f[2]==="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=h[1]+(h[2]||1)-0;f[3]=h[3]-0}f[0]=g++;return f},ATTR:function(f,h,j,m,r,q){h=f[1].replace(/\\/g,"");if(!q&&n.attrMap[h])f[1]=n.attrMap[h];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,h,j,m,r){if(f[1]==="not")if((e.exec(f[3])||"").length>1||/^\w/.test(f[3]))f[3]=p(f[3],null,null,h);else{f=p.filter(f[3],h,j,true^r);j||m.push.apply(m,
f);return false}else if(n.match.POS.test(f[0])||n.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,h,j){return!!p(j[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},
text:function(f){return"text"===f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toLowerCase()==="button"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},
setFilters:{first:function(f,h){return h===0},last:function(f,h,j,m){return h===m.length-1},even:function(f,h){return h%2===0},odd:function(f,h){return h%2===1},lt:function(f,h,j){return h<j[3]-0},gt:function(f,h,j){return h>j[3]-0},nth:function(f,h,j){return j[3]-0===h},eq:function(f,h,j){return j[3]-0===h}},filter:{PSEUDO:function(f,h,j,m){var r=h[1],q=n.filters[r];if(q)return q(f,j,h,m);else if(r==="contains")return(f.textContent||f.innerText||a([f])||"").indexOf(h[3])>=0;else if(r==="not"){h=
h[3];j=0;for(m=h.length;j<m;j++)if(h[j]===f)return false;return true}else p.error("Syntax error, unrecognized expression: "+r)},CHILD:function(f,h){var j=h[1],m=f;switch(j){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(j==="first")return true;m=f;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":j=h[2];var r=h[3];if(j===1&&r===0)return true;h=h[0];var q=f.parentNode;if(q&&(q.sizcache!==h||!f.nodeIndex)){var v=0;for(m=q.firstChild;m;m=
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;q.sizcache=h}f=f.nodeIndex-r;return j===0?f===0:f%j===0&&f/j>=0}},ID:function(f,h){return f.nodeType===1&&f.getAttribute("id")===h},TAG:function(f,h){return h==="*"&&f.nodeType===1||f.nodeName.toLowerCase()===h},CLASS:function(f,h){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(f,h){var j=h[1];f=n.attrHandle[j]?n.attrHandle[j](f):f[j]!=null?f[j]:f.getAttribute(j);j=f+"";var m=h[2];h=h[4];return f==null?m==="!=":m===
"="?j===h:m==="*="?j.indexOf(h)>=0:m==="~="?(" "+j+" ").indexOf(h)>=0:!h?j&&f!==false:m==="!="?j!==h:m==="^="?j.indexOf(h)===0:m==="$="?j.substr(j.length-h.length)===h:m==="|="?j===h||j.substr(0,h.length+1)===h+"-":false},POS:function(f,h,j,m){var r=n.setFilters[h[2]];if(r)return r(f,j,h,m)}}},u=n.match.POS;for(var y in n.match){n.match[y]=new RegExp(n.match[y].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[y]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[y].source.replace(/\\(\d+)/g,function(f,
h){return"\\"+(h-0+1)}))}var A=function(f,h){f=Array.prototype.slice.call(f,0);if(h){h.push.apply(h,f);return h}return f};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(L){A=function(f,h){h=h||[];if(i.call(f)==="[object Array]")Array.prototype.push.apply(h,f);else if(typeof f.length==="number")for(var j=0,m=f.length;j<m;j++)h.push(f[j]);else for(j=0;f[j];j++)h.push(f[j]);return h}}var D;if(s.documentElement.compareDocumentPosition)D=function(f,h){if(!f.compareDocumentPosition||
!h.compareDocumentPosition){if(f==h)k=true;return f.compareDocumentPosition?-1:1}f=f.compareDocumentPosition(h)&4?-1:f===h?0:1;if(f===0)k=true;return f};else if("sourceIndex"in s.documentElement)D=function(f,h){if(!f.sourceIndex||!h.sourceIndex){if(f==h)k=true;return f.sourceIndex?-1:1}f=f.sourceIndex-h.sourceIndex;if(f===0)k=true;return f};else if(s.createRange)D=function(f,h){if(!f.ownerDocument||!h.ownerDocument){if(f==h)k=true;return f.ownerDocument?-1:1}var j=f.ownerDocument.createRange(),m=
h.ownerDocument.createRange();j.setStart(f,0);j.setEnd(f,0);m.setStart(h,0);m.setEnd(h,0);f=j.compareBoundaryPoints(Range.START_TO_END,m);if(f===0)k=true;return f};(function(){var f=s.createElement("div"),h="script"+(new Date).getTime();f.innerHTML="<a name='"+h+"'/>";var j=s.documentElement;j.insertBefore(f,j.firstChild);if(s.getElementById(h)){n.find.ID=function(m,r,q){if(typeof r.getElementById!=="undefined"&&!q)return(r=r.getElementById(m[1]))?r.id===m[1]||typeof r.getAttributeNode!=="undefined"&&
r.getAttributeNode("id").nodeValue===m[1]?[r]:w:[]};n.filter.ID=function(m,r){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===r}}j.removeChild(f);j=f=null})();(function(){var f=s.createElement("div");f.appendChild(s.createComment(""));if(f.getElementsByTagName("*").length>0)n.find.TAG=function(h,j){j=j.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;j[m];m++)j[m].nodeType===1&&h.push(j[m]);j=h}return j};f.innerHTML="<a href='#'></a>";
if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};f=null})();s.querySelectorAll&&function(){var f=p,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){p=function(m,r,q,v){r=r||s;if(!v&&r.nodeType===9&&!V(r))try{return A(r.querySelectorAll(m),q)}catch(t){}return f(m,r,q,v)};for(var j in f)p[j]=f[j];h=null}}();
(function(){var f=s.createElement("div");f.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!f.getElementsByClassName||f.getElementsByClassName("e").length===0)){f.lastChild.className="e";if(f.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,j,m){if(typeof j.getElementsByClassName!=="undefined"&&!m)return j.getElementsByClassName(h[1])};f=null}}})();var H=s.compareDocumentPosition?function(f,h){return!!(f.compareDocumentPosition(h)&16)}:
function(f,h){return f!==h&&(f.contains?f.contains(h):true)},V=function(f){return(f=(f?f.ownerDocument||f:0).documentElement)?f.nodeName!=="HTML":false},ya=function(f,h){var j=[],m="",r;for(h=h.nodeType?[h]:h;r=n.match.PSEUDO.exec(f);){m+=r[0];f=f.replace(n.match.PSEUDO,"")}f=n.relative[f]?f+"*":f;r=0;for(var q=h.length;r<q;r++)p(f,h[r],j);return p.filter(m,j)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.getText=a;c.isXMLDoc=V;c.contains=H})();var Ta=/Until$/,Ua=
/^(?:parents|prevUntil|prevAll)/,Va=/,/;P=Array.prototype.slice;var Aa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(g,i){return!!b.call(g,i,g)===d});else if(b.nodeType)return c.grep(a,function(g){return g===b===d});else if(typeof b==="string"){var e=c.grep(a,function(g){return g.nodeType===1});if(Ma.test(b))return c.filter(b,e,!d);else b=c.filter(b,a)}return c.grep(a,function(g){return c.inArray(g,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,
e=0,g=this.length;e<g;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var i=d;i<b.length;i++)for(var k=0;k<d;k++)if(b[k]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Aa(this,a,false),"not",a)},filter:function(a){return this.pushStack(Aa(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=
[],e=this[0],g,i={},k;if(e&&a.length){g=0;for(var o=a.length;g<o;g++){k=a[g];i[k]||(i[k]=c.expr.match.POS.test(k)?c(k,b||this.context):k)}for(;e&&e.ownerDocument&&e!==b;){for(k in i){g=i[k];if(g.jquery?g.index(e)>-1:c(e).is(g)){d.push({selector:k,elem:e});delete i[k]}}e=e.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,u){for(;u&&u.ownerDocument&&u!==b;){if(p?p.index(u)>-1:c(u).is(a))return u;u=u.parentNode}return null})},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){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(a[0]&&(a[0].setInterval||a[0].nodeType===9||a[0].parentNode&&a[0].parentNode.nodeType!==11)?c.unique(b):b)},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,e){var g=c.map(this,b,d);Ta.test(a)||(e=d);if(e&&typeof e==="string")g=c.filter(e,g);g=this.length>1?c.unique(g):g;if((this.length>1||Va.test(e))&&Ua.test(a))g=g.reverse();return this.pushStack(g,a,P.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=
a[b];a&&a.nodeType!==9&&(d===w||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===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 Ba=/[\n\t]/g,ga=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,Ca=/radio|checkbox/;c.fn.extend({attr:function(a,b){return Z(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(p){var n=c(this);n.addClass(a.call(this,p,n.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ga),d=0,e=this.length;d<e;d++){var g=this[d];if(g.nodeType===1)if(g.className)for(var i=" "+g.className+" ",k=0,o=b.length;k<o;k++){if(i.indexOf(" "+b[k]+" ")<0)g.className+=" "+b[k]}else g.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var n=
c(this);n.removeClass(a.call(this,p,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ga),d=0,e=this.length;d<e;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var i=(" "+g.className+" ").replace(Ba," "),k=0,o=b.length;k<o;k++)i=i.replace(" "+b[k]+" "," ");g.className=i.substring(1,i.length-1)}else g.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(g){var i=c(this);i.toggleClass(a.call(this,
g,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var g,i=0,k=c(this),o=b,p=a.split(ga);g=p[i++];){o=e?o:!k.hasClass(g);k[o?"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(Ba," ").indexOf(a)>-1)return true;return false},
val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],g=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:g.length;i<d;i++){var k=g[i];if(k.selected){a=c(k).val();if(b)return a;e.push(a)}}return e}if(Ca.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Wa,"")}return w}var o=c.isFunction(a);
return this.each(function(p){var n=c(this),u=a;if(this.nodeType===1){if(o)u=a.call(this,p,n.val());if(typeof u==="number")u+="";if(c.isArray(u)&&Ca.test(this.type))this.checked=c.inArray(n.val(),u)>=0;else if(c.nodeName(this,"select")){var y=c.makeArray(u);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),y)>=0});if(!y.length)this.selectedIndex=-1}else this.value=u}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,
b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return w;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var g=d!==w;b=e&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&e&&!i){if(g){if(b==="type"&&Ya.test(a.nodeName)&&a.parentNode)throw"type property can't be changed";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)||$a.test(a.nodeName)&&
a.href?0:w;return a[b]}if(!c.support.style&&e&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var Da=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,ab=/(<([\w:]+)[^>]*?)\/>/g,bb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ea=/<([\w:]+)/,cb=/<tbody/i,db=/<|&\w+;/,eb=function(a,b,d){return bb.test(d)?a:b+"></"+d+">"},C={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,"",""]};C.optgroup=C.option;C.tbody=C.tfoot=C.colgroup=C.caption=C.thead;C.th=C.td;if(!c.support.htmlSerialize)C._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);return d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.getText(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){return this.each(function(){c(this).contents().wrapAll(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}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Da,"").replace(X,"")],e)[0]}else return this.cloneNode(true)});if(a===true){pa(this,b);pa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Da,""):null;else if(typeof a==="string"&&
!/<script/i.test(a)&&(c.support.leadingWhitespace||!X.test(a))&&!C[(Ea.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){R(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}else c.isFunction(a)?this.each(function(g){var i=c(this),k=i.html();i.empty().append(function(){return a.call(this,g,k)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=
this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)}):this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function e(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}var g,i,k=a[0],o=[];if(c.isFunction(k))return this.each(function(u){var y=c(this);a[0]=k.call(this,u,b?y.html():w);return y.domManip(a,b,d)});if(this[0]){g=
a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:qa(a,this,o);if(i=g.fragment.firstChild){b=b&&c.nodeName(i,"tr");for(var p=0,n=this.length;p<n;p++)d.call(b?e(this[p],i):this[p],g.cacheable||this.length>1||p>0?g.fragment.cloneNode(true):g.fragment)}o&&c.each(o,Ia)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);for(var g=0,
i=d.length;g<i;g++){var k=(g>0?this.clone(true):this).get();c.fn[b].apply(c(d[g]),k);e=e.concat(k)}return this.pushStack(e,a,d.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a,[this]).length){if(!b&&this.nodeType===1){R(this.getElementsByTagName("*"));R([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&R(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,
arguments)}});c.extend({clean:function(a,b,d,e){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;var g=[];c.each(a,function(i,k){if(typeof k==="number")k+="";if(k){if(typeof k==="string"&&!db.test(k))k=b.createTextNode(k);else if(typeof k==="string"){k=k.replace(ab,eb);var o=(Ea.exec(k)||["",""])[1].toLowerCase(),p=C[o]||C._default,n=p[0];i=b.createElement("div");for(i.innerHTML=p[1]+k+p[2];n--;)i=i.lastChild;if(!c.support.tbody){n=cb.test(k);o=o==="table"&&
!n?i.firstChild&&i.firstChild.childNodes:p[1]==="<table>"&&!n?i.childNodes:[];for(p=o.length-1;p>=0;--p)c.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!c.support.leadingWhitespace&&X.test(k)&&i.insertBefore(b.createTextNode(X.exec(k)[0]),i.firstChild);k=c.makeArray(i.childNodes)}if(k.nodeType)g.push(k);else g=c.merge(g,k)}});if(d)for(a=0;g[a];a++)if(e&&c.nodeName(g[a],"script")&&(!g[a].type||g[a].type.toLowerCase()==="text/javascript"))e.push(g[a].parentNode?
g[a].parentNode.removeChild(g[a]):g[a]);else{g[a].nodeType===1&&g.splice.apply(g,[a+1,0].concat(c.makeArray(g[a].getElementsByTagName("script"))));d.appendChild(g[a])}return g}});var fb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Fa=/alpha\([^)]*\)/,Ga=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,gb=/([A-Z])/g,hb=/^-?\d+(?:px)?$/i,ib=/^-?\d/,jb={position:"absolute",visibility:"hidden",display:"block"},kb=["Left","Right"],lb=["Top","Bottom"],mb=s.defaultView&&s.defaultView.getComputedStyle,
Ha=c.support.cssFloat?"cssFloat":"styleFloat",ja=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return Z(this,a,b,true,function(d,e,g){if(g===w)return c.curCSS(d,e);if(typeof g==="number"&&!fb.test(e))g+="px";c.style(d,e,g)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var e=a.style||a,g=d!==w;if(!c.support.opacity&&b==="opacity"){if(g){e.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+
")";a=e.filter||c.curCSS(a,"filter")||"";e.filter=Fa.test(a)?a.replace(Fa,b):b}return e.filter&&e.filter.indexOf("opacity=")>=0?parseFloat(Ga.exec(e.filter)[1])/100+"":""}if(ha.test(b))b=Ha;b=b.replace(ia,ja);if(g)e[b]=d;return e[b]},css:function(a,b,d,e){if(b==="width"||b==="height"){var g,i=b==="width"?kb:lb;function k(){g=b==="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(i,function(){e||(g-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(e==="margin")g+=parseFloat(c.curCSS(a,"margin"+
this,true))||0;else g-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?k():c.swap(a,jb,k);return Math.max(0,Math.round(g))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,g=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){e=Ga.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return e===""?"1":e}if(ha.test(b))b=Ha;if(!d&&g&&g[b])e=g[b];else if(mb){if(ha.test(b))b="float";b=b.replace(gb,"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;
if(a=g.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b==="opacity"&&e==="")e="1"}else if(a.currentStyle){d=b.replace(ia,ja);e=a.currentStyle[b]||a.currentStyle[d];if(!hb.test(e)&&ib.test(e)){b=g.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=d==="fontSize"?"1em":e||0;e=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=i}}return e},swap:function(a,b,d){var e={};for(var g in b){e[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=e[g]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=
function(a){var b=a.offsetWidth,d=a.offsetHeight,e=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!e?true:b>0&&d>0&&!e?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var ka={},nb=/toggle|show|hide/,ob=/^([+-]=)?([\d+-.]+)(.*)$/,Y,ra=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a!=null)return this.animate(I("show",
3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var e;if(ka[d])e=ka[d];else{var g=c("<"+d+" />").appendTo("body");e=g.css("display");if(e==="none")e="block";g.remove();ka[d]=e}c.data(this[a],"olddisplay",e)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a!=null)return this.animate(I("hide",3),a,b);else{a=0;for(b=
this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var e=d?a:c(this).is(":hidden");c(this)[e?"show":"hide"]()}):this.animate(I("toggle",3),a,b);return this},fadeTo:function(a,b,
d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,e){var g=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var i=c.extend({},g),k,o=this.nodeType===1&&c(this).is(":hidden"),p=this;for(k in a){var n=k.replace(ia,ja);if(k!==n){a[n]=a[k];delete a[k];k=n}if(a[k]==="hide"&&o||a[k]==="show"&&!o)return i.complete.call(this);if((k==="height"||k==="width")&&this.style){i.display=
c.css(this,"display");i.overflow=this.style.overflow}if(c.isArray(a[k])){(i.specialEasing=i.specialEasing||{})[k]=a[k][1];a[k]=a[k][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(u,y){var A=new c.fx(p,i,u);if(nb.test(y))A[y==="toggle"?o?"show":"hide":y](a);else{var L=ob.exec(y),D=A.cur(true)||0;if(L){y=parseFloat(L[2]);var H=L[3]||"px";if(H!=="px"){p.style[u]=(y||1)+H;D=(y||1)/A.cur(true)*D;p.style[u]=D+H}if(L[1])y=(L[1]==="-="?-1:1)*y+D;A.custom(D,
y,H)}else A.custom(D,y,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:I("show",1),slideUp:I("hide",1),slideToggle:I("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,d,e)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?a:{complete:d||
!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+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);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,
b,d){function e(i){return g.step(i)}this.startTime=M();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;e.elem=this.elem;if(e()&&c.timers.push(e)&&!Y)Y=setInterval(c.fx.tick,13)},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=M(),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 e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display=
"block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=b-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,g,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()},stop:function(){clearInterval(Y);Y=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};c.fn.offset="getBoundingClientRect"in s.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(g){c.offset.setOffset(this,a,g)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),e=b.ownerDocument;b=e.body;e=e.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||
0),left:d.left+(self.pageXOffset||c.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(u){c.offset.setOffset(this,a,u)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,e=b,g=b.ownerDocument,i,k=g.documentElement,o=g.body;e=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&
b!==o&&b!==k;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;i=g?g.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;n-=b.scrollLeft;if(b===d){p+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(i.borderTopWidth)||0;n+=parseFloat(i.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){p+=parseFloat(i.borderTopWidth)||
0;n+=parseFloat(i.borderLeftWidth)||0}e=i}if(e.position==="relative"||e.position==="static"){p+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){p+=Math.max(k.scrollTop,o.scrollTop);n+=Math.max(k.scrollLeft,o.scrollLeft)}return{top:p,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,e,g,i=parseFloat(c.curCSS(a,"marginTop",true))||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;e=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;e.style.position=
"fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;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.curCSS(a,"marginTop",true))||
0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var e=c(a),g=e.offset(),i=parseInt(c.curCSS(a,"top",true),10)||0,k=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,g);d={top:b.top-g.top+i,left:b.left-g.left+k};"using"in b?b.using.call(a,d):e.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),
e=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;e.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;e.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.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(e){var g=this[0],i;if(!g)return null;if(e!==w)return this.each(function(){if(i=sa(this))i.scrollTo(!a?e:c(i).scrollLeft(),a?e:c(i).scrollTop());else this[d]=e});else return(i=sa(g))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.document.body[d]:g[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],
d,false,"padding"):null};c.fn["outer"+b]=function(e){return this[0]?c.css(this[0],d,false,e?"margin":"border"):null};c.fn[d]=function(e){var g=this[0];if(!g)return e==null?null:this;return"scrollTo"in g&&g.document?g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+b]||g.document.body["client"+b]:g.nodeType===9?Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]):e===w?c.css(g,d):this.css(d,
typeof e==="string"?e:e+"px")}});z.jQuery=z.$=c})(window);
}/*
Copyright (C) 2010 Emweb bvba, Kessel-Lo, Belgium.

For terms of use, see LICENSE.
Includes Array Remove - By John Resig (MIT Licensed)
Includes jQuery Caret Range plugin
Copyright (c) 2009 Matt Zabriskie
Released under the MIT and GPL licenses.

Includes Yahoo History Frameowork
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.2
*/
;
if(!window.Wt3_2_1)window.Wt3_2_1=new (function(){function M(a){return a.split("/")[2]}function N(a,b,e){if(a=="auto"||a==null)return e;return(a=(a=b.exec(a))&&a.length==2?a[1]:null)?parseFloat(a):e}function F(a,b){return N(a,/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/i,b)}function K(a){if(L==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!=L;)b=b.parentNode;return b==L?g.isIElt9?a:null:L}else return L}function P(a){var b=K(a);if(b&&!X){if(!a)a=window.event;X=true;if(g.isIElt9){g.firedTarget=
a.srcElement||b;b.fireEvent("onmousemove",a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return X=false}else return true}function Y(a){var b=K(a);g.capture(null);if(b){if(!a)a=window.event;if(g.isIElt9){g.firedTarget=a.srcElement||b;b.fireEvent("onmouseup",a);g.firedTarget=null}else g.condCall(b,"onmouseup",a);g.cancelEvent(a,g.CancelPropagate);return false}else return true}function la(){if(!ea){ea=true;if(document.body.addEventListener){var a=document.body;a.addEventListener("mousemove",
P,true);a.addEventListener("mouseup",Y,true);g.isGecko&&window.addEventListener("mouseout",function(b){!b.relatedTarget&&g.hasTag(b.target,"HTML")&&Y(b)},true)}else{a=document.body;a.attachEvent("onmousemove",P);a.attachEvent("onmouseup",Y)}}}function fa(){if(!S){var a,b,e=document.styleSheets;a=0;for(b=e.length;a<b;++a){var i=e[a];if(g.hasTag(e[a].ownerNode,"STYLE")){S=i;break}}if(!S){i=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(i);S=i.sheet}}return S}function ga(a){return a.replace(/%/g,
"%25").replace(/\+/g,"%2b").replace(/ /g,"%20").replace(/#/g,"%23").replace(/&/g,"%26")}var g=this;this.condCall=function(a,b,e){a[b]&&a[b](e)};var T=this.buttons=0;this.button=function(a){try{var b=a.type;if(g.isIE&&(b=="click"||b=="dblclick"))return T;if(b!="mouseup"&&b!="mousedown"&&b!="click"&&b!="dblclick")return 0}catch(e){return 0}return!g.isGecko&&typeof a.which!=="undefined"?a.which==3?4:a.which==2?2:a.which==1?1:0:g.isIE&&typeof a.button!=="undefined"?a.button==2?4:a.button==4?2:a.button==
1?1:0:typeof a.button!=="undefined"?a.button==2?4:a.button==1?2:1:0};this.mouseDown=function(a){g.buttons|=g.button(a)};this.mouseUp=function(a){T=g.button(a);g.buttons&=~T};this.arrayRemove=function(a,b,e){e=a.slice((e||b)+1||a.length);a.length=b<0?a.length+b:b;return a.push.apply(a,e)};this.addAll=function(a,b){for(var e=0,i=b.length;e<i;++e)a.push(b[e])};var ha=function(){for(var a,b=3,e=document.createElement("div"),i=e.getElementsByTagName("i");e.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]--\>",
i[0];);return b>4?b:a}(),Q=navigator.userAgent.toLowerCase();this.isIE=ha!==undefined;this.isIE6=ha===6;this.isIElt9=ha<9;this.isIEMobile=Q.indexOf("msie 4")!=-1||Q.indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.isAndroid=Q.indexOf("safari")!=-1&&Q.indexOf("android")!=-1;this.isWebKit=Q.indexOf("applewebkit")!=-1;this.isGecko=Q.indexOf("gecko")!=-1&&!this.isWebKit;this.updateDelay=this.isIE?10:51;if(this.isAndroid){console.error("init console.error");console.info("init console.info");
console.log("init console.log");console.warn("init console.warn")}var Z=new Date;this.trace=function(a,b){if(b)Z=new Date;b=new Date;b=(b.getMinutes()-Z.getMinutes())*6E4+(b.getSeconds()-Z.getSeconds())*1E3+(b.getMilliseconds()-Z.getMilliseconds());window.console&&console.log("["+b+"]: "+a)};this.initAjaxComm=function(a,b){function e(k,l){var o=null,s=true;if(window.XMLHttpRequest){o=new XMLHttpRequest;if(i)if("withCredentials"in o){if(l){o.open(k,l,true);o.withCredentials="true"}}else if(typeof XDomainRequest!=
"undefined"){o=new XDomainRequest;if(l){s=false;try{o.open(k,l+"&contentType=x-www-form-urlencoded")}catch(t){o=null}}}else o=null;else l&&o.open(k,l,true)}else if(!i&&window.ActiveXObject){try{o=new ActiveXObject("Msxml2.XMLHTTP")}catch(q){try{o=new ActiveXObject("Microsoft.XMLHTTP")}catch(A){}}l&&o&&o.open(k,l,true)}o&&l&&s&&o.setRequestHeader("Content-type","application/x-www-form-urlencoded");return o}var i=a.indexOf("://")!=-1&&M(a)!=window.location.host;return e("POST",a)!=null?new (function(){function k(o,
s,t,q){function A(G){if(!C){clearTimeout(D);G?b(0,u.responseText,s):b(1,null,s);if(u){u.onreadystatechange=new Function;try{u.onload=u.onreadystatechange}catch(H){}u=null}C=true}}function w(){if(u.readyState==4){var G=u.status==200&&u.getResponseHeader("Content-Type")&&u.getResponseHeader("Content-Type").indexOf("text/javascript")==0;A(G)}}function B(){u.onreadystatechange=new Function;u=null;C=true;b(2,null,s)}var u=e("POST",l),D=null,C=false;this.abort=function(){u.onreadystatechange=new Function;
C=true;u.abort();u=null};false&&u.setRequestHeader("Connection","close");if(q>0)D=setTimeout(B,q);u.onreadystatechange=w;try{u.onload=function(){A(true)};u.onerror=function(){A(false)}}catch(p){}u.send(o)}var l=a;this.responseReceived=function(){};this.sendUpdate=function(o,s,t,q){return new k(o,s,t,q)};this.setUrl=function(o){l=o}}):new (function(){function k(s,t,q){function A(){b(1,null,t);w.parentNode.removeChild(w)}this.userData=t;var w=this.script=document.createElement("script");
w.id="script"+q;w.setAttribute("src",l+"&"+s);w.onerror=A;document.getElementsByTagName("head")[0].appendChild(w);this.abort=function(){w.parentNode.removeChild(w)}}var l=a,o=null;this.responseReceived=function(){if(o!=null){var s=o;o.script.parentNode.removeChild(o.script);o=null;b(0,"",s.userData)}};this.sendUpdate=function(s,t,q,A){return o=new k(s,t,q,A)};this.setUrl=function(s){l=s}})};this.setHtml=function(a,b,e){function i(l,o){var s,t,q;switch(l.nodeType){case 1:s=l.namespaceURI===null?document.createElement(l.nodeName):
document.createElementNS(l.namespaceURI,l.nodeName);if(l.attributes&&l.attributes.length>0){t=0;for(q=l.attributes.length;t<q;)s.setAttribute(l.attributes[t].nodeName,l.getAttribute(l.attributes[t++].nodeName))}if(o&&l.childNodes.length>0){t=0;for(q=l.childNodes.length;t<q;){var A=i(l.childNodes[t++],o);A&&s.appendChild(A)}}return s;case 3:case 4:case 5:return document.createTextNode(l.nodeValue)}return null}if(g.isIE||true&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var k;k=new DOMParser;
k=k.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(k.nodeType!=1)k=k.nextSibling;if(!e)a.innerHTML="";b=0;for(e=k.childNodes.length;b<e;)a.appendChild(i(k.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length?a.insertBefore(b,a.childNodes[e]):a.appendChild(b)};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,
b){for(b=b.parentNode;b&&!g.hasTag(b,"BODY");){if(b==a)return true;b=b.parentNode}return false};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=a.style.width};this.changeTag=function(a,b){var e=document.createElement(b);if(b=="img"&&e.mergeAttributes){e.mergeAttributes(a,
false);e.src=a.src}else if(a.attributes&&a.attributes.length>0){var i;b=0;for(i=a.attributes.length;b<i;b++){var k=a.attributes[b].nodeName;k!="type"&&k!="name"&&e.setAttribute(k,a.getAttribute(k))}}for(;a.firstChild;)e.appendChild(a.removeChild(a.firstChild));a.parentNode.replaceChild(e,a)};this.unwrap=function(a){a=g.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")){if(a.getAttribute("type")=="submit"){a.setAttribute("type","button");a.removeAttribute("name")}g.hasTag(a,"INPUT")&&a.getAttribute("type")==
"image"&&g.changeTag(a,"img")}else{var b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className.substring(8);var e=a.getAttribute("style");if(e)g.isIE?b.style.setAttribute("cssText",e):b.setAttribute("style",e);a.parentNode.replaceChild(b,a)}};this.navigateInternalPath=function(a,b){a=a||window.event;if(!a.ctrlKey&&!a.metaKey&&g.button(a)<=1){g.history.navigate(b,true);g.cancelEvent(a,g.CancelDefaultAction)}};this.ajaxInternalPaths=function(a){$(".Wt-ip").each(function(){var b=this.getAttribute("href"),
e=b.lastIndexOf("?wtd");if(e===-1)e=b.lastIndexOf("&wtd");if(e!==-1)b=b.substr(0,e);var i;if(b.indexOf("://")!=-1){e=document.createElement("div");e.innerHTML='<a href="'+a+'">x</a>';i=b.substr(e.firstChild.href.length-1)}else i=b.substr(a.length);if(i.substr(0,3)=="?_=")i=i.substr(3);this.setAttribute("href",b);this.setAttribute("href",this.href);this.onclick=function(k){g.navigateInternalPath(k,i)};$(this).removeClass("Wt-ip")})};this.resolveRelativeAnchors=function(){$(".Wt-rr").each(function(){this.setAttribute("href",
this.href);$(this).removeClass("Wt-rr")})};var X=false;this.CancelPropagate=1;this.CancelDefaultAction=2;this.CancelAll=3;this.cancelEvent=function(a,b){if(!X){b=b===undefined?g.CancelAll:b;if(b&g.CancelDefaultAction)if(a.preventDefault)a.preventDefault();else a.returnValue=false;if(b&g.CancelPropagate){if(a.stopPropagation)a.stopPropagation();else a.cancelBubble=true;try{document.activeElement&&document.activeElement.blur&&g.hasTag(document.activeElement,"TEXTAREA")&&document.activeElement.blur()}catch(e){}}}};
this.$=this.getElement=function(a){var b=document.getElementById(a);if(!b)for(var e=0;e<window.frames.length;++e)try{if(b=window.frames[e].document.getElementById(a))return b}catch(i){}return b};this.validate=function(a){var b;b=a.options?a.options.item(a.selectedIndex).text:a.value;b=a.wtValidate.validate(b);if(b.valid){a.removeAttribute("title");$(a).removeClass("Wt-invalid")}else{a.setAttribute("title",b.message);$(a).addClass("Wt-invalid")}};this.filter=function(a,b,e){a=String.fromCharCode(typeof b.charCode!==
"undefined"?b.charCode:b.keyCode);(new RegExp(e)).test(a)||g.cancelEvent(b)};this.widgetPageCoordinates=function(a){var b=0,e=0,i;if(!a.parentNode)return{x:0,y:0};if(g.hasTag(a,"AREA"))a=a.parentNode.nextSibling;for(var k=$(document.body).hasClass("Wt-rtl");a;){b+=a.offsetLeft;e+=a.offsetTop;if(g.css(a,"position")=="fixed"){b+=document.body.scrollLeft+document.documentElement.scrollLeft;e+=document.body.scrollTop+document.documentElement.scrollTop;break}i=a.offsetParent;if(i==null)a=null;else{do{a=
a.parentNode;if(g.hasTag(a,"DIV")){if(k&&!g.isGecko){if(a.scrollWidth>a.parentNode.scrollWidth)b-=a.scrollLeft+a.parentNode.scrollWidth-a.scrollWidth}else b-=a.scrollLeft;e-=a.scrollTop}}while(a!=null&&a!=i)}}return{x:b,y:e}};this.widgetCoordinates=function(a,b){b=g.pageCoordinates(b);a=g.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,e=0;if(a.pageX||a.pageY){b=a.pageX;e=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+
document.documentElement.scrollLeft;e=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:e}};this.windowCoordinates=function(a){a=g.pageCoordinates(a);return{x:a.x-document.body.scrollLeft-document.documentElement.scrollLeft,y:a.y-document.body.scrollTop-document.documentElement.scrollTop}};this.wheelDelta=function(a){var b=0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&
a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),e=b.duplicate();e.moveToElementText(a);var i=0;if(b.text.length>1){i-=b.text.length;if(i<0)i=0}a=-1+i;for(e.moveStart("character",i);e.inRange(b);){e.moveStart("character");a++}b=b.text.replace(/\r/g,"");return{start:a,end:b.length+a}}else{e=b=-1;if(a=$(a).val()){e=document.selection.createRange().duplicate();e.moveEnd("character",a.length);
b=e.text==""?a.length:a.lastIndexOf(e.text);e=document.selection.createRange().duplicate();e.moveStart("character",-a.length);e=e.text.length}return{start:b,end:e}}else return a.selectionStart||a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,e){var i=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>i.length)e=i.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=
b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var U=null,aa=null;this.eventRepeat=function(a,
b,e){g.stopRepeat();b=b||500;e=e||50;a();U=setTimeout(function(){U=null;a();aa=setInterval(a,e)},b)};this.stopRepeat=function(){if(U){clearTimeout(U);U=null}if(aa){clearInterval(aa);aa=null}};var ia=null,ba=null;this.css=function(a,b){if(a.style[b])return a.style[b];else{if(a!==ia){ia=a;ba=window.getComputedStyle?window.getComputedStyle(a,null):a.currentStyle?a.currentStyle:null}return ba?ba[b]:null}};this.parsePx=function(a){return N(a,/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/i,0)};this.px=function(a,b){return g.parsePx(g.css(a,
b))};this.pxself=function(a,b){return g.parsePx(a.style[b])};this.pctself=function(a,b){return F(a.style[b],0)};this.cssPrefix=function(a){var b=["Moz","Webkit"],e=document.createElement("div"),i,k;i=0;for(k=b.length;i<k;++i)if(b[i]+a in e.style)return b[i];return null};this.boxSizing=function(a){return(a.style.boxSizing||a.style.MozBoxSizing||a.style.WebkitBoxSizing)==="border-box"};this.isHidden=function(a){if(a.style.display=="none")return true;else return(a=a.parentNode)&&!g.hasTag(a,"BODY")?
g.isHidden(a):false};this.innerWidth=function(a){var b=a.offsetWidth;g.boxSizing(a)||(b-=g.px(a,"paddingLeft")+g.px(a,"paddingRight")+g.px(a,"borderLeftWidth")+g.px(a,"borderRightWidth"));return b};this.innerHeight=function(a){var b=a.offsetHeight;g.boxSizing(a)||(b-=g.px(a,"paddingTop")+g.px(a,"paddingBottom")+g.px(a,"borderTopWidth")+g.px(a,"borderBottomWidth"));return b};this.IEwidth=function(a,b,e){if(a.parentNode){var i=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,
"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=F(b,0);e=F(e,1E5);return i<b?b-1:i>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var L=null;this.firedTarget=null;this.target=function(a){try{return g.firedTarget||
a.target||a.srcElement}catch(b){return null}};var ea=false;this.capture=function(a){la();if(!(L&&a)){L=a;var b=document.body;document.body.addEventListener||(a!=null?b.setCapture():b.releaseCapture());if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectable","on");b.onselectstart="return false;"}else{$(b).removeClass("unselectable");b.setAttribute("unselectable","off");b.onselectstart=""}}};this.checkReleaseCapture=function(a,b){b&&L&&a==L&&b.type=="mouseup"&&this.capture(null)};this.getElementsByClassName=
function(a,b){if(document.getElementsByClassName)return b.getElementsByClassName(a);else{b=b.getElementsByTagName("*");for(var e=[],i,k=0,l=b.length;k<l;k++){i=b[k];i.className.indexOf(a)!=-1&&e.push(i)}return e}};var S=null;this.addCss=function(a,b){var e=fa();e.insertRule(a+" { "+b+" }",e.cssRules?e.cssRules.length:0)};this.addCssText=function(a){var b=document.getElementById("Wt-inline-css");if(!b){b=document.createElement("style");b.id="Wt-inline-css";document.getElementsByTagName("head")[0].appendChild(b)}if(b.styleSheet){var e=
b.previousSibling;if(!e||!g.hasTag(e,"STYLE")||e.styleSheet.cssText.length>32768){e=document.createElement("style");b.parentNode.insertBefore(e,b);e.styleSheet.cssText=a}else e.styleSheet.cssText+=a}else{a=document.createTextNode(a);b.appendChild(a)}};this.getCssRule=function(a,b){a=a.toLowerCase();if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var i=document.styleSheets[e],k=0,l;do{l=null;try{if(i.cssRules)l=i.cssRules[k];else if(i.rules)l=i.rules[k];if(l&&l.selectorText)if(l.selectorText.toLowerCase()==
a)if(b=="delete"){i.cssRules?i.deleteRule(k):i.removeRule(k);return true}else return l}catch(o){}++k}while(l)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var e=document.createElement("link");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute("media",b);b=document.getElementsByTagName("link");
if(b.length>0){b=b[b.length-1];b.parentNode.insertBefore(e,b.nextSibling)}else document.body.appendChild(e)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,e,i,k){var l=g.windowSize(),o=document.body.scrollLeft+document.documentElement.scrollLeft,s=document.body.scrollTop+document.documentElement.scrollTop;
if(a.offsetParent){var t=g.widgetPageCoordinates(a.offsetParent),q=["left","right"],A=["top","bottom"],w=g.px(a,"maxWidth")||a.offsetWidth,B=g.px(a,"maxHeight")||a.offsetHeight;if(w>l.x){b=o;i=0}else if(b+w>o+l.x){i-=t.x;b=a.offsetParent.offsetWidth-(i+g.px(a,"marginRight"));i=1}else{b-=t.x;b-=g.px(a,"marginLeft");i=0}if(w>l.y){e=s;k=0}else if(e+B>s+l.y){if(k>s+l.y)k=s+l.y;k-=t.y;e=a.offsetParent.offsetHeight-(k+g.px(a,"marginBottom"));k=1}else{e-=t.y;e-=g.px(a,"marginTop");k=0}a.style[q[i]]=b+"px";
a.style[q[1-i]]="";a.style[A[k]]=e+"px";a.style[A[1-k]]=""}};this.positionXY=function(a,b,e){a=g.getElement(a);g.isHidden(a)||g.fitToWindow(a,b,e,b,e)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,e,i,k){a=g.getElement(a);if((b=g.getElement(b))&&a){var l=g.widgetPageCoordinates(b);if(i){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";if(k)a.style.display="block";if(e==g.Horizontal){e=l.x+b.offsetWidth;i=l.y;k=l.x;b=l.y+b.offsetHeight}else{e=
l.x;i=l.y+b.offsetHeight;k=l.x+b.offsetWidth;b=l.y}g.fitToWindow(a,e,i,k,b);a.style.visibility=""}};this.hasFocus=function(a){try{return a==document.activeElement}catch(b){return false}};this.history=window.history&&window.history.pushState?function(){function a(o){k[l.location.pathname+l.location.search]=o}var b=null,e=null,i=null,k={},l=window;return{_initialize:function(){},_initTimeout:function(){},register:function(o,s){function t(q){q=q.state;if(q===null)q=k[l.location.pathname+l.location.search];
if(q===null)a(b);else if(q!=b){b=q;s(b!=""?b:"/")}}b=o;i=s;a(o);window.addEventListener("popstate",t,false)},initialize:function(o,s,t){g.resolveRelativeAnchors();e=t;if(e.length>=1&&e[e.length-1]=="/"){;;e=e.substr(0,e.length-1);}},navigate:function(o,s){g.resolveRelativeAnchors();b=o;var t=e+ga(o);if(e.length<3||e.substr(e.length-3)!="?_=")t+=window.location.search;else{function q(B){if(B.length>
1)B=B.substr(1);var u=B.split("&"),D,C;B="";D=0;for(C=u.length;D<C;++D)if(u[D].split("=")[0]!="_")B+=(B.length?"&":"?")+u[D];return B}var A=q(window.location.search);if(A.length>1)t+="&"+A.substr(1)}try{window.history.pushState(o?o:"",document.title,t)}catch(w){console.log(w.toString())}g.scrollIntoView(o);s&&i(o)},getCurrentState:function(){return b}}}():function(){function a(){var m,r;r=location.href;m=r.indexOf("#");return m>=0?r.substr(m+1):null}function b(){u.value=G+"|"+H;if(t)u.value+="|"+
p.join(",")}function e(){var m,r;m=0;for(r=V.length;m<r;++m)V[m](unescape(H))}function i(m){if(m){if(!m||H!==m){H=m||G;e()}}else{H=G;e()}}function k(m){var r;m='<html><body><div id="state">'+m+"</div></body></html>";try{r=B.contentWindow.document;r.open();r.write(m);r.close();return true}catch(z){return false}}function l(){var m,r,z,I;if(!B.contentWindow||!B.contentWindow.document)setTimeout(l,10);else{m=B.contentWindow.document;z=(r=m.getElementById("state"))?r.innerText:null;I=a();setInterval(function(){var E,
J;m=B.contentWindow.document;E=(r=m.getElementById("state"))?r.innerText:null;J=a();if(E!==z){z=E;i(z);J=z?z:G;I=location.hash=J;b()}else if(J!==I){I=J;k(J)}},50);D=true;w!=null&&w()}}function o(){if(!q){var m=a(),r=history.length;C&&clearInterval(C);C=setInterval(function(){var z,I;z=a();I=history.length;if(z!==m){m=z;r=I;i(m);b()}else if(I!==r&&t){m=z;r=I;z=p[r-1];i(z);b()}},50)}}function s(){var m;m=u.value.split("|");if(m.length>1){G=m[0];H=m[1]}else G=H="";if(m.length>2)p=m[2].split(",");if(q)l();
else{o();D=true;w!=null&&w()}}var t=false,q=g.isIElt9,A=false,w=null,B=null,u=null,D=false,C=null,p=[],G,H,V=[];return{_initialize:function(){u!=null&&s()},_initTimeout:function(){o()},register:function(m,r){if(!D)H=G=escape(m);V.push(r)},initialize:function(m,r){if(!D){var z=navigator.vendor||"";if(z!=="KDE")if(typeof window.opera!=="undefined")A=true;else if(!q&&z.indexOf("Apple Computer, Inc.")>-1)t=true;if(typeof m==="string")m=document.getElementById(m);if(!(!m||m.tagName.toUpperCase()!=="TEXTAREA"&&
(m.tagName.toUpperCase()!=="INPUT"||m.type!=="hidden"&&m.type!=="text"))){u=m;if(q){if(typeof r==="string")r=document.getElementById(r);!r||r.tagName.toUpperCase()!=="IFRAME"||(B=r)}}}},navigate:function(m,r){m=ga(m);if(D){m=m;if(q)k(m);else{if(m.length>0)location.hash=m;if(t){p[history.length]=m;b()}}r&&e()}},getCurrentState:function(){if(!D)return"";return unescape(H)}}}()});if(window.Wt)try{window.Wt._p_.quit()}catch(e$$28){}
window.Wt=new (function(){function M(c){c=p.pageCoordinates(c);G=c.x;H=c.y}function N(){var c=Wt3_2_1.history.getCurrentState();if(!(c.length>0&&c.substr(0,1)!="/"))if(m!=c){m=c;setTimeout(function(){a(null,"hash",null,true)},1)}}function F(c){if(!(m==c||!m&&c=="/")){m=c;p.history.navigate(c,false)}}function K(){document.body.ondragstart=function(){return false}}function P(c,d){var f=p.target(d);if(f)if(f.offsetWidth>f.clientWidth||f.offsetHeight>f.clientHeight){var h=p.widgetPageCoordinates(f),
n=p.pageCoordinates(d),j=n.y-h.y;if(n.x-h.x>f.clientWidth||j>f.clientHeight)return true}f=r;f.object=p.getElement(c.getAttribute("dwid"));if(f.object==null)return true;f.sourceId=c.getAttribute("dsid");f.objectPrevStyle={position:f.object.style.position,display:f.object.style.display,left:f.object.style.left,top:f.object.style.top,className:f.object.className};f.object.parentNode.removeChild(f.object);f.object.style.position="absolute";f.object.className="";f.object.style["z-index"]="1000";document.body.appendChild(f.object);
p.capture(null);p.capture(f.object);f.object.onmousemove=Y;f.object.onmouseup=la;f.offsetX=-4;f.offsetY=-4;f.dropTarget=null;f.mimeType=c.getAttribute("dmt");f.xy=p.pageCoordinates(d);p.cancelEvent(d,p.CancelPropagate);return false}function Y(c){if(r.object!=null){var d=r,f=p.pageCoordinates(c);if(d.object.style.display!=""&&d.xy.x!=f.x&&d.xy.y!=f.y)d.object.style.display="";d.object.style.left=f.x-d.offsetX+"px";d.object.style.top=f.y-d.offsetY+"px";f=d.dropTarget;var h=p.target(c),n="{"+d.mimeType+
":",j=null;for(d.dropTarget=null;h;){j=h.getAttribute("amts");if(j!=null&&j.indexOf(n)!=-1){d.dropTarget=h;break}h=h.parentNode;if(!h.tagName||p.hasTag(h,"HTML"))break}if(d.dropTarget!=f){if(d.dropTarget){h=j.indexOf(n)+n.length;var v=j.indexOf("}",h);j=j.substring(h,v);if(j.length!=0){d.dropTarget.setAttribute("dos",d.dropTarget.className);d.dropTarget.className=d.dropTarget.className+" "+j}}else d.object.styleClass="";if(f!=null){f.handleDragDrop&&f.handleDragDrop("end",d.object,c,"",n);j=f.getAttribute("dos");
if(j!=null)f.className=j}}if(d.dropTarget)if(d.dropTarget.handleDragDrop)d.dropTarget.handleDragDrop("drag",d.object,c,"",n);else d.object.className="Wt-valid-drop";else d.object.className="";return false}return true}function la(c){p.capture(null);var d=r;if(d.object){if(d.dropTarget){var f=d.dropTarget.getAttribute("dos");if(f!=null)d.dropTarget.className=f;d.dropTarget.handleDragDrop?d.dropTarget.handleDragDrop("drop",d.object,c,d.sourceId,d.mimeType):o(d.dropTarget,{name:"_drop",eventObject:d.dropTarget,
event:c},d.sourceId,d.mimeType)}d.object.style.position=d.objectPrevStyle.position;d.object.style.display=d.objectPrevStyle.display;d.object.style.left=d.objectPrevStyle.left;d.object.style.top=d.objectPrevStyle.top;d.object.className=d.objectPrevStyle.className;d.object=null}}function fa(c,d,f){var h,n;n=c+"=";c=0;for(h=d.length;c<h;++c){var j=d[c];if(c!=0)n+=";";n+=[j.identifier,j.clientX,j.clientY,j.pageX,j.pageY,j.screenX,j.screenY,j.pageX-f.x,j.pageY-f.y].join(";")}return n}function ga(c,d){var f,
h;h=c.event;d=d>0?"&e"+d:"&";f=d+"signal="+c.signal;if(c.id){f+=d+"id="+c.id+d+"name="+encodeURIComponent(c.name)+d+"an="+c.args.length;for(var n=0;n<c.args.length;++n)f+=d+"a"+n+"="+encodeURIComponent(c.args[n])}for(var j=0;j<z.length;++j){var v=p.getElement(z[j]),x=null,sa;if(v!=null){if(v.wtEncodeValue)x=v.wtEncodeValue(v);else if(v.type=="select-multiple"){n=0;for(sa=v.options.length;n<sa;n++)if(v.options[n].selected)f+=d+z[j]+"="+encodeURIComponent(v.options[n].value)}else if(v.type=="checkbox"||
v.type=="radio")if(v.indeterminate||v.style.opacity=="0.5")x="i";else{if(v.checked)x=v.value}else if(v.type!="file"){if($(v).hasClass("Wt-edit-emptyText"))x="";else{v.ed&&v.ed.save();x=""+v.value}if(p.hasFocus(v)){n=p.getSelectionRange(v);f+=d+"selstart="+n.start+d+"selend="+n.end}}if(x!=null)f+=d+z[j]+"="+encodeURIComponent(x)}}try{if(document.activeElement)f+=d+"focus="+document.activeElement.id}catch(ya){}if(m!=null)f+=d+"_="+encodeURIComponent(m);if(!h){c.data=f;return c}for(j=p.target(h);j&&
!j.id&&j.parentNode;)j=j.parentNode;if(j&&j.id)f+=d+"tid="+j.id;try{f+=d+"type="+h.type}catch(za){}if(h.clientX||h.clientY)f+=d+"clientX="+h.clientX+d+"clientY="+h.clientY;x=p.pageCoordinates(h);j=x.x;n=x.y;if(j||n){f+=d+"documentX="+j+d+"documentY="+n;f+=d+"dragdX="+(j-G)+d+"dragdY="+(n-H);x=p.wheelDelta(h);f+=d+"wheel="+x}if(h.screenX||h.screenY)f+=d+"screenX="+h.screenX+d+"screenY="+h.screenY;x={x:0,y:0};if(c.object&&c.object.nodeType!=9){x=p.widgetPageCoordinates(c.object);f+=d+"scrollX="+c.object.scrollLeft+
d+"scrollY="+c.object.scrollTop+d+"width="+c.object.clientWidth+d+"height="+c.object.clientHeight+d+"widgetX="+(j-x.x)+d+"widgetY="+(n-x.y)}j=p.button(h);if(!j)if(p.buttons&1)j=1;else if(p.buttons&2)j=2;else if(p.buttons&4)j=4;f+=d+"button="+j;if(typeof h.keyCode!=="undefined")f+=d+"keyCode="+h.keyCode;j=0;if(typeof h.charCode!=="undefined"){if(h.type=="keypress")j=h.charCode}else if(h.type=="keypress")j=h.keyCode;f+=d+"charCode="+j;if(h.altKey)f+=d+"altKey=1";if(h.ctrlKey)f+=d+"ctrlKey=1";if(h.metaKey)f+=
d+"metaKey=1";if(h.shiftKey)f+=d+"shiftKey=1";if(typeof h.touches!=="undefined")f+=fa(d+"touches",h.touches,x);if(typeof h.targetTouches!=="undefined")f+=fa(d+"ttouches",h.targetTouches,x);if(typeof h.changedTouches!=="undefined")f+=fa(d+"ctouches",h.changedTouches,x);if(h.scale)f+=d+"scale="+h.scale;if(h.rotation)f+=d+"rotation="+h.rotation;c.data=f;return c}function g(){for(var c="",d=false,f=0;f<E.length;++f){d=d||E[f].feedback;c+=E[f].data}I=E;E=[];return{feedback:d,result:c}}function T(){R=true;
if(ja){clearInterval(ja);ja=null}var c=$("#Wt-timers");c.size()>0&&p.setHtml(c.get(0),"",false)}function ha(){p.history._initTimeout();ka==0&&a(null,"none",null,false)}function Q(c){if(!p.isIEMobile)document.title=c}function Z(c){if(!ta){if(c){if(!window.WtLoadWidgetTree)return;p.history.initialize("Wt-history-field","Wt-history-iframe",V)}if(!("activeElement"in document)){function d(h){if(h&&h.target)document.activeElement=h.target==document?null:h.target}function f(){document.activeElement=
null}document.addEventListener("focus",d,true);document.addEventListener("blur",f,true)}$(document).mousedown(p.mouseDown).mouseup(p.mouseUp);p.history._initialize();K();ta=true;c&&window.WtLoadWidgetTree();R||ja||(ja=setInterval(ha,300000))}}function X(c){clearTimeout(c);document.body.style.cursor="auto";if(ma!=null){try{ma()}catch(d){}ma=null}}function U(){document.body.style.cursor="wait";ma=hideLoadingIndicator;showLoadingIndicator()}function aa(c){ua=c}function ia(){if(!oa){oa=
true;setTimeout(function(){oa=false;C._p_.autoJavaScript()},1)}}function ba(c){if(c){c="(function() {"+c+"})();";window.execScript?window.execScript(c):window.eval(c)}C==window.Wt&&ia()}function L(c,d,f){if(!R){if(c==0){p.resolveRelativeAnchors();;ba(d);;f&&X(f)}else E=I.concat(E);I=[];if(W){clearTimeout(W);W=null}O=null;if(c>0)++ka;else ka=0;if(!R)if(ua||E.length>0)if(c==1){c=Math.min(12E4,Math.exp(ka)*500);ca=setTimeout(function(){k()},c)}else k()}}function ea(c){J=c.indexOf("://")!=-1||c[0]=="/"?c:V+c;na&&na.setUrl(c)}function S(){O.abort();W=O=null;R||k()}function a(c,d,f,h){if(!pa){pa=true;p.checkReleaseCapture(c,f);;var n={},j=E.length;n.object=c;n.signal=d;n.event=
window.fakeEvent||f;n.feedback=h;E[j]=ga(n,j);b();ba();;pa=false}}function b(){if(!R){;if(y.state!=2)if(typeof window.WebSocket==="undefined"&&typeof window.MozWebSocket==="undefined")y.state=2;else{var c=y.socket;if(c==null||c.readyState>1)if(c!=null&&y.state==0)y.state=2;else{function d(){++y.reconnectTries;var h=Math.min(12E4,Math.exp(y.reconnectTries)*500);setTimeout(function(){b()},h)}var f;if(J.indexOf("://")!=-1)f=
"ws"+J.substr(4);else{f=J.substr(J.indexOf("?"));f="ws"+location.protocol.substr(4)+"//"+location.hostname+":"+location.port+V+f}f+="&request=ws";y.socket=typeof window.WebSocket!=="undefined"?(c=new WebSocket(f)):(c=new MozWebSocket(f));y.keepAlive&&clearInterval(y.keepAlive);y.keepAlive=null;c.onmessage=function(h){y.reconnectTries=0;y.state=1;L(0,h.data,null)};c.onerror=function(){if(reconnectTries==3&&y.state==0)y.state=2;d()};c.onclose=function(){if(y.reconnectTries==3&&y.state==0)y.state=2;
d()};c.onopen=function(){y.keepAlive=setInterval(function(){if(c.readyState==1)c.send("&signal=ping");else{clearInterval(y.keepAlive);y.keepAlive=null}},50000)}}if(c.readyState==1){k();return}};if(O!=null&&W!=null){clearTimeout(W);O.abort();O=null}if(O==null)if(ca==null){ca=setTimeout(function(){k()},p.updateDelay);va=(new Date).getTime()}else if(ka){clearTimeout(ca);k()}else if((new Date).getTime()-va>p.updateDelay){clearTimeout(ca);k()}}}function e(c,d){qa=d;ra=
c;na.responseReceived(c)}function i(c){wa=c}function k(){if(C!=window.Wt)T();else if(!O){ca=null;if(R){if(!xa){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;xa=true}}else{var c,d,f;if(E.length>0){c=g();d=c.feedback?setTimeout(U,500):null;f=false}else{c={result:"&signal=poll"};d=null;f=true}c.result+="&ackId="+ra+"&pageId="+wa;if(qa){var h="",n=$("#"+qa).get(0);if(n)for(n=n.parentNode;!p.hasTag(n,"BODY");n=n.parentNode)if(n.id){if(h!=
"")h+=",";h+=n.id}c.result+="&ackPuzzle="+encodeURIComponent(h)}c.result+="&";if(y.socket!=null&&y.socket.readyState==1){O=null;d!=null&&clearTimeout(d);f||y.socket.send(c.result)}else{O=na.sendUpdate("request=jsupdate"+c.result,d,ra,-1);W=f?setTimeout(S,50000):null}}}}function l(c,d,f){if(typeof c.wtWidth==="undefined"||c.wtWidth!=d||typeof c.wtHeight==="undefined"||c.wtHeight!=f){c.wtWidth=d;c.wtHeight=f;o(c,"resized",d,f)}}function o(c,d){var f={},h=E.length;f.signal=
"user";f.id=typeof c==="string"?c:c==C?"app":c.id;if(typeof d==="object"){f.name=d.name;f.object=d.eventObject;f.event=d.event}else{f.name=d;f.object=f.event=null}f.args=[];for(var n=2;n<arguments.length;++n){var j=arguments[n];j=j===false?0:j===true?1:j.toDateString?j.toDateString():j;f.args[n-2]=j}f.feedback=true;E[h]=ga(f,h);b()}function s(c,d,f){var h=function(){var j=p.getElement(c);if(j){if(f)j.timer=setTimeout(j.tm,d);else{j.timer=null;j.tm=null}j.onclick&&j.onclick()}},n=p.getElement(c);n.timer=
setTimeout(h,d);n.tm=h}function t(c,d){setTimeout(function(){if(da[c]===true)d();else da[c]=d},20)}function q(c){if(da[c]!==true){typeof da[c]!=="undefined"&&da[c]();da[c]=true}}function A(c,d,f){function h(){var x=f===undefined?p.isIE?1:2:f;if(x>1)A(c,d,x-1);else{alert("Fatal error: failed loading "+c);T()}}var n=false;if(d!="")try{n=!eval("typeof "+d+" === 'undefined'")}catch(j){n=false}if(n)q(c);else{var v=document.createElement("script");v.setAttribute("src",c);v.onload=function(){q(c)};v.onerror=
h;v.onreadystatechange=function(){var x=v.readyState;if(x=="loaded")p.isOpera||p.isIE?q(c):h();else x=="complete"&&q(c)};document.getElementsByTagName("head")[0].appendChild(v)}}function w(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}function B(c){m=c;p.history.register(c,N)}function u(c){if(c.ieAlternativeExecuted)return"0";C.emit(c.parentNode,"IeAltnernative");c.style.width="";c.ieAlternativeExecuted=true;return"0"}
function D(c){window.onbeforeunload=c&&c!=""?function(d){if(d=d||window.event)d.returnValue=c;return c}:null}var C=this,p=Wt3_2_1,G=0,H=0,V='/text.js',m=null,r={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null},z=[],I=[],E=[],J,R=false,xa=false,ta=false,O=null,W=null,ja=null,ka=0,ua=false,ca=null,ma=null,y={state:0,socket:null,keepAlive:null,reconnectTries:0},oa=false;ea('http://0.0.0.0:8000/text.js?wtd=friLgzCvw3zzBtr6&wtd=friLgzCvw3zzBtr6');var na=p.initAjaxComm(J,
L),pa=false,va,ra=1881876779,qa=null,wa=0,da={};w.prototype.preload=function(c){var d=new Image;this.images.push(d);d.onload=w.prototype.onload;d.onerror=w.prototype.onload;d.onabort=w.prototype.onload;d.imagePreloader=this;d.src=c};w.prototype.onload=function(){var c=this.imagePreloader;--c.work==0&&c.callback(c.images)};window.onunload=function(){if(!R){C.emit(C,"Wt-unload");b();k()}};this._p_={ieAlternative:u,loadScript:A,onJsLoad:t,setTitle:Q,update:a,quit:T,setSessionUrl:ea,setFormObjects:function(c){z=
c},saveDownPos:M,addTimerEvent:s,load:Z,setServerPush:aa,dragStart:P,dragDrag:Y,dragEnd:la,capture:p.capture,enableInternalPaths:B,onHashChange:N,setHash:F,ImagePreloader:w,doAutoJavaScript:ia,autoJavaScript:function(){},response:e,setPage:i,setCloseMessage:D,propagateSize:l};this.WT=Wt3_2_1;this.emit=o});window.WtSignalEmit=Wt.emit;window.WtOnLoad=function(){Wt._p_.load()};
Wt._p_.setPage(0);$(document).ready(function() { Wt._p_.update(null, 'load', null, false);});
(3-3/3)