|
if (typeof window.jQuery === '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(y,w){function ea(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ea,1);return}c.ready()}}function Da(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 U(a,b,d,f,g,i){var k=a.length;if(typeof b==="object"){for(var o in b)U(a,o,b[o],f,g,d);return a}if(d!==w){f=f&&c.isFunction(d);for(o=0;o<k;o++)g(a[o],b,f?d.call(a[o],o,g(a[o],b)):d,i);return a}return k?
|
|
g(a[0],b):null}function V(){return(new Date).getTime()}function W(){return false}function X(){return true}function fa(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function ga(a){var b=true,d=[],f=[],g=arguments,i,k,o,p,n,v=c.extend({},c.data(this,"events").live);for(p in v){k=v[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)||f.push(k.selector)}else delete v[p]}i=c(a.target).closest(f,a.currentTarget);
|
|
n=0;for(l=i.length;n<l;n++)for(p in v){k=v[p];o=i[n].elem;f=null;if(i[n].selector===k.selector){if(k.live==="mouseenter"||k.live==="mouseleave")f=c(a.relatedTarget).closest(k.selector)[0];if(!f||f!==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 ha(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"&")].join(".")}function ia(a,b){var d=0;b.each(function(){if(this.nodeName===
|
|
(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),g=c.data(this,f);if(f=f&&f.events){delete g.handle;g.events={};for(var i in f)for(var k in f[i])c.event.add(this,i,f[i][k],f[i][k].data)}}})}function ja(a,b,d){var f,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)f=i}if(!f){b=b&&b[0]?b[0].ownerDocument||b[0]:s;f=b.createDocumentFragment();c.clean(a,b,f,d)}if(g)c.fragments[a[0]]=i?f:1;return{fragment:f,cacheable:g}}function N(a){for(var b=
|
|
0,d,f;(d=a[b])!=null;b++)if(!c.noData[d.nodeName.toLowerCase()]&&(f=d[C]))delete c.cache[f]}function ka(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)},Ea=y.jQuery,Fa=y.$,s=y.document,O,Ga=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ha=/^.[^:#\[\.,]*$/,Ia=/\S/,Ja=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ka=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,I=navigator.userAgent,la=false,J=[],G,Y=Object.prototype.toString,Z=Object.prototype.hasOwnProperty,
|
|
$=Array.prototype.push,K=Array.prototype.slice,P=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Ga.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Ka.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ja([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=
|
|
s.getElementById(d[2])){if(b.id!==d[2])return O.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||O).find(a):c(b).find(a);else if(c.isFunction(a))return O.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 K.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;$.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 J&&J.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(K.apply(this,arguments),"slice",K.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:$,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,f=false,g,i,k,o;if(typeof a==="boolean"){f=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(f&&o&&(c.isPlainObject(o)||c.isArray(o))){k=k&&(c.isPlainObject(k)||c.isArray(k))?k:c.isArray(o)?[]:{};a[i]=c.extend(f,k,o)}else if(o!==w)a[i]=o}return a};c.extend({noConflict:function(a){y.$=Fa;if(a)y.jQuery=Ea;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,
|
|
13);c.isReady=true;if(J){for(var a,b=0;a=J[b++];)a.call(s,c);J=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!la){la=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",G,false);y.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",G);y.attachEvent("onload",c.ready);var a=false;try{a=y.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ea()}}},isFunction:function(a){return Y.call(a)===
|
|
"[object Function]"},isArray:function(a){return Y.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||Y.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!Z.call(a,"constructor")&&!Z.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===w||Z.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},noop:function(){},globalEval:function(a){if(a&&Ia.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 f,g=0,i=a.length,k=i===w||c.isFunction(a);if(d)if(k)for(f in a){if(b.apply(a[f],d)===false)break}else for(;g<i;){if(b.apply(a[g++],d)===false)break}else if(k)for(f in a){if(b.call(a[f],f,a[f])===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(Ja,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?$.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var g=b.length;f<g;f++)a[d++]=b[f];else for(;b[f]!==
|
|
w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],g=0,i=a.length;g<i;g++)!d!==!b(a[g],g)&&f.push(a[g]);return f},map:function(a,b,d){for(var f=[],g,i=0,k=a.length;i<k;i++){g=b(a[i],i,d);if(g!=null)f[f.length]=g}return f.concat.apply([],f)},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:{}});I=c.uaMatch(I);if(I.browser){c.browser[I.browser]=true;c.browser.version=
|
|
I.version}if(c.browser.webkit)c.browser.safari=true;if(P)c.inArray=function(a,b){return P.call(b,a)};O=c(s);if(s.addEventListener)G=function(){s.removeEventListener("DOMContentLoaded",G,false);c.ready()};else if(s.attachEvent)G=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",G);c.ready()}};if(P)c.inArray=function(a,b){return P.call(b,a)};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+V();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."+f+"=1;"))}catch(k){}a.insertBefore(b,a.firstChild);if(y[f]){c.support.scriptEval=true;delete y[f]}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 f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");
|
|
f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===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 La=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==y&&!a.frameElement)a=y;if(!d.guid)d.guid=c.guid++;if(f!==w){d=c.proxy(d);d.data=f}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 v=g[o],z=this.special[o]||{};if(!v){v=g[o]={};if(!z.setup||z.setup.call(a,f,n,d)===false)if(a.addEventListener)a.addEventListener(o,i,false);else a.attachEvent&&a.attachEvent("on"+o,i)}if(z.add)if((n=z.add.call(a,d,f,n,v))&&c.isFunction(n)){n.guid=n.guid||d.guid;d=n}v[d.guid]=d;this.global[o]=true}a=null}},global:{},remove:function(a,b,d){if(!(a.nodeType===3||a.nodeType===8)){var f=c.data(a,"events"),g,i,k;if(f){if(b===
|
|
w||typeof b==="string"&&b.charAt(0)===".")for(i in f)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,v=c.map(p.slice(0).sort(),La);v=new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)");var z=this.special[i]||{};if(f[i]){if(d){k=f[i][d.guid];delete f[i][d.guid]}else for(var D in f[i])if(n||v.test(f[i][D].type))delete f[i][D];z.remove&&z.remove.call(a,p,k);for(g in f[i])break;if(!g){if(!z.teardown||
|
|
z.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 f[i]}}}}for(g in f)break;if(!g){if(D=c.data(a,"handle"))D.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var g=a.type||a;if(!f){a=typeof a==="object"?a[C]?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(!f&&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||y.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=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||f.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[C])return a;
|
|
var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||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,ga,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],ga)}},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=V();this[C]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
|
|
X;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=X;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=X;this.stopPropagation()},isDefaultPrevented:W,isPropagationStopped:W,isImmediatePropagationStopped:W};var ma=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)}},na=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?na:ma,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?na:ma)}}});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(f){var g=f.target,i=g.type;if((i==="submit"||i==="image")&&c(g).closest("form").length)return fa("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(f){var g=f.target,i=g.type;if((i==="text"||i==="password")&&c(g).closest("form").length&&f.keyCode===13)return fa("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 aa=
|
|
/textarea|input|select/i;function oa(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function ba(a,b){var d=a.target,f,g;if(!(!aa.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");g=oa(d);if(g!==f){if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",g);if(d.type!=="select"&&(f!=
|
|
null||g)){a.type="change";return c.event.trigger(a,b,this)}}}}c.event.special.change={filters:{focusout:ba,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ba.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 ba.call(this,a)},beforeactivate:function(a){a=a.target;a.nodeName.toLowerCase()===
|
|
"input"&&a.type==="radio"&&c.data(a,"_change_data",oa(a))}},setup:function(a,b,d){for(var f in Q)c.event.add(this,f+".specialChange."+d.guid,Q[f]);return aa.test(this.nodeName)},remove:function(a,b){for(var d in Q)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),Q[d]);return aa.test(this.nodeName)}};var Q=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}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,f,g){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],g);return this}if(c.isFunction(f)){thisObject=g;g=f;f=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,f,g,thisObject):(!this.selector&&!this.context?c(s):this).each(function(){c.event.add(this,
|
|
d,k,f)});return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);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(f){var g=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,g+1);f.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},live:function(a,b,d){if(c.isFunction(b)){d=b;b=w}c(this.context).bind(ha(a,this.selector),{data:b,selector:this.selector,live:a},d);return this},die:function(a,b){c(this.context).unbind(ha(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});y.attachEvent&&!y.addEventListener&&y.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 C="jQuery"+V(),Ma=0,pa={},Na={};c.extend({cache:{},expando:C,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==y?pa:a;var f=a[C],g=c.cache;if(!b&&!f)return null;f||(f=++Ma);if(typeof b==="object"){a[C]=f;g=g[f]=c.extend(true,{},b)}else g=g[f]?g[f]:typeof d==="undefined"?Na:(g[f]={});if(d!==w){a[C]=f;g[b]=d}return typeof b==="string"?g[b]:g}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
|
|
a==y?pa:a;var d=a[C],f=c.cache,g=f[d];if(b){if(g){delete g[b];c.isEmptyObject(g)&&c.removeData(a)}}else{try{delete a[C]}catch(i){a.removeAttribute&&a.removeAttribute(C)}delete f[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 f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===
|
|
w&&d[1]?this.data(d[0]):f}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(e){for(var h="",j,m=0;e[m];m++){j=e[m];if(j.nodeType===3||j.nodeType===4)h+=j.nodeValue;else if(j.nodeType!==8)h+=a(j.childNodes)}return h}function b(e,h,j,m,r,q){r=0;for(var u=m.length;r<u;r++){var t=m[r];if(t){t=t[e];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[e]}m[r]=x}}}function d(e,h,j,m,r,q){r=0;for(var u=m.length;r<u;r++){var t=m[r];if(t){t=t[e];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[e]}m[r]=x}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\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(e,h,j,m){j=j||[];var r=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!e||typeof e!=="string")return j;for(var q=[],u,t,x,L,E=true,H=R(h),F=e;(f.exec(""),u=f.exec(F))!==null;){F=u[3];q.push(u[1]);if(u[2]){L=u[3];break}}if(q.length>1&&v.exec(e))if(q.length===2&&n.relative[q[0]])t=qa(q[0]+q[1],h);else for(t=n.relative[q[0]]?[h]:p(q.shift(),h);q.length;){e=q.shift();if(n.relative[e])e+=q.shift();
|
|
t=qa(e,t)}else{if(!m&&q.length>1&&h.nodeType===9&&!H&&n.match.ID.test(q[0])&&!n.match.ID.test(q[q.length-1])){u=p.find(q.shift(),h,H);h=u.expr?p.filter(u.expr,u.set)[0]:u.set[0]}if(h){u=m?{expr:q.pop(),set:D(m)}:p.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&h.parentNode?h.parentNode:h,H);t=u.expr?p.filter(u.expr,u.set):u.set;if(q.length>0)x=D(t);else E=false;for(;q.length;){var A=q.pop();u=A;if(n.relative[A])u=q.pop();else A="";if(u==null)u=h;n.relative[A](x,u,H)}}else x=[]}x||(x=t);x||p.error(A||
|
|
e);if(i.call(x)==="[object Array]")if(E)if(h&&h.nodeType===1)for(e=0;x[e]!=null;e++){if(x[e]&&(x[e]===true||x[e].nodeType===1&&ra(h,x[e])))j.push(t[e])}else for(e=0;x[e]!=null;e++)x[e]&&x[e].nodeType===1&&j.push(t[e]);else j.push.apply(j,x);else D(x,j);if(L){p(L,r,j,m);p.uniqueSort(j)}return j};p.uniqueSort=function(e){if(M){k=o;e.sort(M);if(k)for(var h=1;h<e.length;h++)e[h]===e[h-1]&&e.splice(h--,1)}return e};p.matches=function(e,h){return p(e,null,null,h)};p.find=function(e,h,j){var m,r;if(!e)return[];
|
|
for(var q=0,u=n.order.length;q<u;q++){var t=n.order[q];if(r=n.leftMatch[t].exec(e)){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){e=e.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:e}};p.filter=function(e,h,j,m){for(var r=e,q=[],u=h,t,x,L=h&&h[0]&&R(h[0]);e&&h.length;){for(var E in n.filter)if((t=n.leftMatch[E].exec(e))!=null&&t[2]){var H=n.filter[E],F,A;A=t[1];x=false;t.splice(1,1);if(A.substr(A.length-
|
|
1)!=="\\"){if(u===q)q=[];if(n.preFilter[E])if(t=n.preFilter[E](t,u,j,q,m,L)){if(t===true)continue}else x=F=true;if(t)for(var S=0;(A=u[S])!=null;S++)if(A){F=H(A,t,S,u);var sa=m^!!F;if(j&&F!=null)if(sa)x=true;else u[S]=false;else if(sa){q.push(A);x=true}}if(F!==w){j||(u=q);e=e.replace(n.match[E],"");if(!x)return[];break}}}if(e===r)if(x==null)p.error(e);else break;r=e}return u};p.error=function(e){throw"Syntax error, unrecognized expression: "+e;};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(e){return e.getAttribute("href")}},
|
|
relative:{"+":function(e,h){var j=typeof h==="string",m=j&&!/\W/.test(h);j=j&&!m;if(m)h=h.toLowerCase();m=0;for(var r=e.length,q;m<r;m++)if(q=e[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);e[m]=j||q&&q.nodeName.toLowerCase()===h?q||false:q===h}j&&p.filter(h,e,true)},">":function(e,h){var j=typeof h==="string";if(j&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,r=e.length;m<r;m++){var q=e[m];if(q){j=q.parentNode;e[m]=j.nodeName.toLowerCase()===h?j:false}}}else{m=0;for(r=e.length;m<r;m++)if(q=e[m])e[m]=
|
|
j?q.parentNode:q.parentNode===h;j&&p.filter(h,e,true)}},"":function(e,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,e,q,j)},"~":function(e,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,e,q,j)}},find:{ID:function(e,h,j){if(typeof h.getElementById!=="undefined"&&!j)return(e=h.getElementById(e[1]))?[e]:[]},NAME:function(e,h){if(typeof h.getElementsByName!=="undefined"){var j=[];
|
|
h=h.getElementsByName(e[1]);for(var m=0,r=h.length;m<r;m++)h[m].getAttribute("name")===e[1]&&j.push(h[m]);return j.length===0?null:j}},TAG:function(e,h){return h.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,h,j,m,r,q){e=" "+e[1].replace(/\\/g,"")+" ";if(q)return e;q=0;for(var u;(u=h[q])!=null;q++)if(u)if(r^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(e)>=0))j||m.push(u);else if(j)h[q]=false;return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(e){return e[1].toLowerCase()},
|
|
CHILD:function(e){if(e[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=h[1]+(h[2]||1)-0;e[3]=h[3]-0}e[0]=g++;return e},ATTR:function(e,h,j,m,r,q){h=e[1].replace(/\\/g,"");if(!q&&n.attrMap[h])e[1]=n.attrMap[h];if(e[2]==="~=")e[4]=" "+e[4]+" ";return e},PSEUDO:function(e,h,j,m,r){if(e[1]==="not")if((f.exec(e[3])||"").length>1||/^\w/.test(e[3]))e[3]=p(e[3],null,null,h);else{e=p.filter(e[3],h,j,true^r);j||m.push.apply(m,
|
|
e);return false}else if(n.match.POS.test(e[0])||n.match.CHILD.test(e[0]))return true;return e},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){return e.selected===true},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,h,j){return!!p(j[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},
|
|
text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},
|
|
setFilters:{first:function(e,h){return h===0},last:function(e,h,j,m){return h===m.length-1},even:function(e,h){return h%2===0},odd:function(e,h){return h%2===1},lt:function(e,h,j){return h<j[3]-0},gt:function(e,h,j){return h>j[3]-0},nth:function(e,h,j){return j[3]-0===h},eq:function(e,h,j){return j[3]-0===h}},filter:{PSEUDO:function(e,h,j,m){var r=h[1],q=n.filters[r];if(q)return q(e,j,h,m);else if(r==="contains")return(e.textContent||e.innerText||a([e])||"").indexOf(h[3])>=0;else if(r==="not"){h=
|
|
h[3];j=0;for(m=h.length;j<m;j++)if(h[j]===e)return false;return true}else p.error("Syntax error, unrecognized expression: "+r)},CHILD:function(e,h){var j=h[1],m=e;switch(j){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(j==="first")return true;m=e;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=e.parentNode;if(q&&(q.sizcache!==h||!e.nodeIndex)){var u=0;for(m=q.firstChild;m;m=
|
|
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++u;q.sizcache=h}e=e.nodeIndex-r;return j===0?e===0:e%j===0&&e/j>=0}},ID:function(e,h){return e.nodeType===1&&e.getAttribute("id")===h},TAG:function(e,h){return h==="*"&&e.nodeType===1||e.nodeName.toLowerCase()===h},CLASS:function(e,h){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(e,h){var j=h[1];e=n.attrHandle[j]?n.attrHandle[j](e):e[j]!=null?e[j]:e.getAttribute(j);j=e+"";var m=h[2];h=h[4];return e==null?m==="!=":m===
|
|
"="?j===h:m==="*="?j.indexOf(h)>=0:m==="~="?(" "+j+" ").indexOf(h)>=0:!h?j&&e!==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(e,h,j,m){var r=n.setFilters[h[2]];if(r)return r(e,j,h,m)}}},v=n.match.POS;for(var z in n.match){n.match[z]=new RegExp(n.match[z].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[z]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[z].source.replace(/\\(\d+)/g,function(e,
|
|
h){return"\\"+(h-0+1)}))}var D=function(e,h){e=Array.prototype.slice.call(e,0);if(h){h.push.apply(h,e);return h}return e};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(ib){D=function(e,h){h=h||[];if(i.call(e)==="[object Array]")Array.prototype.push.apply(h,e);else if(typeof e.length==="number")for(var j=0,m=e.length;j<m;j++)h.push(e[j]);else for(j=0;e[j];j++)h.push(e[j]);return h}}var M;if(s.documentElement.compareDocumentPosition)M=function(e,h){if(!e.compareDocumentPosition||
|
|
!h.compareDocumentPosition){if(e==h)k=true;return e.compareDocumentPosition?-1:1}e=e.compareDocumentPosition(h)&4?-1:e===h?0:1;if(e===0)k=true;return e};else if("sourceIndex"in s.documentElement)M=function(e,h){if(!e.sourceIndex||!h.sourceIndex){if(e==h)k=true;return e.sourceIndex?-1:1}e=e.sourceIndex-h.sourceIndex;if(e===0)k=true;return e};else if(s.createRange)M=function(e,h){if(!e.ownerDocument||!h.ownerDocument){if(e==h)k=true;return e.ownerDocument?-1:1}var j=e.ownerDocument.createRange(),m=
|
|
h.ownerDocument.createRange();j.setStart(e,0);j.setEnd(e,0);m.setStart(h,0);m.setEnd(h,0);e=j.compareBoundaryPoints(Range.START_TO_END,m);if(e===0)k=true;return e};(function(){var e=s.createElement("div"),h="script"+(new Date).getTime();e.innerHTML="<a name='"+h+"'/>";var j=s.documentElement;j.insertBefore(e,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(e);j=e=null})();(function(){var e=s.createElement("div");e.appendChild(s.createComment(""));if(e.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};e.innerHTML="<a href='#'></a>";
|
|
if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};e=null})();s.querySelectorAll&&function(){var e=p,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){p=function(m,r,q,u){r=r||s;if(!u&&r.nodeType===9&&!R(r))try{return D(r.querySelectorAll(m),q)}catch(t){}return e(m,r,q,u)};for(var j in e)p[j]=e[j];h=null}}();
|
|
(function(){var e=s.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!e.getElementsByClassName||e.getElementsByClassName("e").length===0)){e.lastChild.className="e";if(e.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])};e=null}}})();var ra=s.compareDocumentPosition?function(e,h){return!!(e.compareDocumentPosition(h)&16)}:
|
|
function(e,h){return e!==h&&(e.contains?e.contains(h):true)},R=function(e){return(e=(e?e.ownerDocument||e:0).documentElement)?e.nodeName!=="HTML":false},qa=function(e,h){var j=[],m="",r;for(h=h.nodeType?[h]:h;r=n.match.PSEUDO.exec(e);){m+=r[0];e=e.replace(n.match.PSEUDO,"")}e=n.relative[e]?e+"*":e;r=0;for(var q=h.length;r<q;r++)p(e,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=R;c.contains=ra})();var Oa=/Until$/,Pa=
|
|
/^(?:parents|prevUntil|prevAll)/,Qa=/,/;K=Array.prototype.slice;var ta=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 f=c.grep(a,function(g){return g.nodeType===1});if(Ha.test(b))return c.filter(b,f,!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,
|
|
f=0,g=this.length;f<g;f++){d=b.length;c.find(a,this[f],b);if(f>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,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(ta(this,a,false),"not",a)},filter:function(a){return this.pushStack(ta(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=
|
|
[],f=this[0],g,i={},k;if(f&&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(;f&&f.ownerDocument&&f!==b;){for(k in i){g=i[k];if(g.jquery?g.index(f)>-1:c(f).is(g)){d.push({selector:k,elem:f});delete i[k]}}f=f.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,v){for(;v&&v.ownerDocument&&v!==b;){if(p?p.index(v)>-1:c(v).is(a))return v;v=v.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,f){var g=c.map(this,b,d);Oa.test(a)||(f=d);if(f&&typeof f==="string")g=c.filter(f,g);g=this.length>1?c.unique(g):g;if((this.length>1||Qa.test(f))&&Pa.test(a))g=g.reverse();return this.pushStack(g,a,K.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 f=[];for(a=
|
|
a[b];a&&a.nodeType!==9&&(d===w||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var ua=/[\n\t]/g,ca=/\s+/,Ra=/\r/g,Sa=/href|src|style/,Ta=/(button|input)/i,Ua=/(button|input|object|select|textarea)/i,Va=/^(a|area)$/i,va=/radio|checkbox/;c.fn.extend({attr:function(a,b){return U(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(ca),d=0,f=this.length;d<f;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(ca),d=0,f=this.length;d<f;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var i=(" "+g.className+" ").replace(ua," "),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,f=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(ca);g=p[i++];){o=f?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(ua," ").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,f=[],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;f.push(a)}}return f}if(va.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ra,"")}return w}var o=c.isFunction(a);
|
|
return this.each(function(p){var n=c(this),v=a;if(this.nodeType===1){if(o)v=a.call(this,p,n.val());if(typeof v==="number")v+="";if(c.isArray(v)&&va.test(this.type))this.checked=c.inArray(n.val(),v)>=0;else if(c.nodeName(this,"select")){var z=c.makeArray(v);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),z)>=0});if(!z.length)this.selectedIndex=-1}else this.value=v}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,
|
|
b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var g=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Sa.test(b);if(b in a&&f&&!i){if(g){if(b==="type"&&Ta.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:Ua.test(a.nodeName)||Va.test(a.nodeName)&&
|
|
a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var wa=/ jQuery\d+="(?:\d+|null)"/g,T=/^\s+/,Wa=/(<([\w:]+)[^>]*?)\/>/g,Xa=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,xa=/<([\w:]+)/,Ya=/<tbody/i,Za=/<|&\w+;/,$a=function(a,b,d){return Xa.test(d)?a:b+"></"+d+">"},B={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,"",""]};B.optgroup=B.option;B.tbody=B.tfoot=B.colgroup=B.caption=B.thead;B.th=B.td;if(!c.support.htmlSerialize)B._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,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(wa,"").replace(T,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ia(this,b);ia(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(wa,""):null;else if(typeof a==="string"&&
|
|
!/<script/i.test(a)&&(c.support.leadingWhitespace||!T.test(a))&&!B[(xa.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){N(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){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 f(v){return c.nodeName(v,"table")?v.getElementsByTagName("tbody")[0]||v.appendChild(v.ownerDocument.createElement("tbody")):v}var g,i,k=a[0],o=[];if(c.isFunction(k))return this.each(function(v){var z=c(this);a[0]=k.call(this,v,b?z.html():w);return z.domManip(a,b,d)});if(this[0]){g=
|
|
a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:ja(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?f(this[p],i):this[p],g.cacheable||this.length>1||p>0?g.fragment.cloneNode(true):g.fragment)}o&&c.each(o,Da)}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 f=[];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);f=f.concat(k)}return this.pushStack(f,a,d.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a,[this]).length){if(!b&&this.nodeType===1){N(this.getElementsByTagName("*"));N([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&N(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,f){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"&&!Za.test(k))k=b.createTextNode(k);else if(typeof k==="string"){k=k.replace(Wa,$a);var o=(xa.exec(k)||["",""])[1].toLowerCase(),p=B[o]||B._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=Ya.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&&T.test(k)&&i.insertBefore(b.createTextNode(T.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(f&&c.nodeName(g[a],"script")&&(!g[a].type||g[a].type.toLowerCase()==="text/javascript"))f.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 ab=/z-?index|font-?weight|opacity|zoom|line-?height/i,ya=/alpha\([^)]*\)/,za=/opacity=([^)]*)/,da=/float/i,Aa=/-([a-z])/ig,bb=/([A-Z])/g,cb=/^-?\d+(?:px)?$/i,db=/^-?\d/,eb={position:"absolute",visibility:"hidden",display:"block"},fb=["Left","Right"],gb=["Top","Bottom"],hb=s.defaultView&&s.defaultView.getComputedStyle,
|
|
Ba=c.support.cssFloat?"cssFloat":"styleFloat",Ca=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return U(this,a,b,true,function(d,f,g){if(g===w)return c.curCSS(d,f);if(typeof g==="number"&&!ab.test(f))g+="px";c.style(d,f,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 f=a.style||a,g=d!==w;if(!c.support.opacity&&b==="opacity"){if(g){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+
|
|
")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=ya.test(a)?a.replace(ya,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(za.exec(f.filter)[1])/100+"":""}if(da.test(b))b=Ba;b=b.replace(Aa,Ca);if(g)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var g,i=b==="width"?fb:gb;function k(){g=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(i,function(){f||(g-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="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,eb,k);return Math.max(0,Math.round(g))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,g=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=za.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(da.test(b))b=Ba;if(!d&&g&&g[b])f=g[b];else if(hb){if(da.test(b))b="float";b=b.replace(bb,"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;
|
|
if(a=g.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(Aa,Ca);f=a.currentStyle[b]||a.currentStyle[d];if(!cb.test(f)&&db.test(f)){b=g.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=d==="fontSize"?"1em":f||0;f=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=i}}return f},swap:function(a,b,d){var f={};for(var g in b){f[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=f[g]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=
|
|
function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}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(),
|
|
f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(v){c.offset.setOffset(this,a,v)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=
|
|
b,g=b.ownerDocument,i,k=g.documentElement,o=g.body;f=(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&&f.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}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){p+=parseFloat(i.borderTopWidth)||0;n+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){p+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&f.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,f,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;f=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==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 f=c(a),g=f.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):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^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;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-f.top,left:d.left-f.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(f){var g=this[0],i;if(!g)return null;if(f!==w)return this.each(function(){if(i=ka(this))i.scrollTo(!a?f:c(i).scrollLeft(),a?f:c(i).scrollTop());else this[d]=f});else return(i=ka(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(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var g=this[0];if(!g)return f==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]):f===w?c.css(g,d):this.css(d,typeof f==="string"?f:f+"px")}});y.jQuery=y.$=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_1_10)window.Wt3_1_10=new (function(){function I(a){return a.split("/")[2]}function J(a,b){if(a.style[b])return a.style[b];else{if(a!==ga){ga=a;W=window.getComputedStyle?window.getComputedStyle(a,null):a.currentStyle?a.currentStyle:null}return W?W[b]:null}}function D(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 G(a){return D(a,/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/i,0)}function Q(a,b){return D(a,/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/i,
|
|
b)}function ca(a){if(E==null)return null;if(!a)a=window.event;if(a){for(var b=a=i.target(a);b&&b!=E;)b=b.parentNode;return b==E?i.isIElt9?a:null:E}else return E}function da(a){var b=ca(a);if(b&&!X){if(!a)a=window.event;X=true;if(i.isIElt9){i.firedTarget=a.srcElement||b;b.fireEvent("onmousemove",a);i.firedTarget=null}else i.condCall(b,"onmousemove",a);return X=false}else return true}function S(a){var b=ca(a);i.capture(null);if(b){if(!a)a=window.event;if(i.isIElt9){i.firedTarget=a.srcElement||b;b.fireEvent("onmouseup",
|
|
a);i.firedTarget=null}else i.condCall(b,"onmouseup",a);i.cancelEvent(a,i.CancelPropagate);return false}else return true}function ha(){if(!ea){ea=true;if(document.body.addEventListener){var a=document.body;a.addEventListener("mousemove",da,true);a.addEventListener("mouseup",S,true);i.isGecko&&window.addEventListener("mouseout",function(b){!b.relatedTarget&&i.hasTag(b.target,"HTML")&&S(b)},true)}else{a=document.body;a.attachEvent("onmousemove",da);a.attachEvent("onmouseup",S)}}}var i=this;this.condCall=
|
|
function(a,b,e){a[b]&&a[b](e)};this.buttons=0;this.button=function(a){return a.which?a.which==3?4:a.which==2?2:1:i.isIE&&typeof a.button!="undefined"?a.button==2?4:a.button==4?2:1:typeof a.button!="undefined"?a.button==2?4:a.button==1?2:1:0};this.mouseDown=function(a){i.buttons|=i.button(a)};this.mouseUp=function(a){i.buttons&=~i.button(a)};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,j=b.length;e<
|
|
j;++e)a.push(b[e])};var T=function(){for(var a,b=3,e=document.createElement("div"),j=e.getElementsByTagName("i");e.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]--\>",j[0];);return b>4?b:a}(),N=navigator.userAgent.toLowerCase();this.isIE=T!==undefined;this.isIE6=T===6;this.isIElt9=T<9;this.isIEMobile=N.indexOf("msie 4")!=-1||N.indexOf("msie 5")!=-1;this.isGecko=N.indexOf("gecko")!=-1;this.isOpera=typeof window.opera!=="undefined";this.isAndroid=N.indexOf("safari")!=-1&&N.indexOf("android")!=
|
|
-1;this.isMobileWebKit=N.indexOf("applewebkit")!=-1&&N.indexOf("mobile")!=-1;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 Y=new Date;this.trace=function(a,b){if(b)Y=new Date;b=new Date;b=(b.getMinutes()-Y.getMinutes())*6E4+(b.getSeconds()-Y.getSeconds())*1E3+(b.getMilliseconds()-Y.getMilliseconds());window.console&&console.log("["+b+"]: "+a)};this.initAjaxComm=
|
|
function(a,b){function e(l,g){var p=null,s=true;if(window.XMLHttpRequest){p=new XMLHttpRequest;if(j)if("withCredentials"in p){if(g){p.open(l,g,true);p.withCredentials="true"}}else if(typeof XDomainRequest!="undefined"){p=new XDomainRequest;if(g){s=false;try{p.open(l,g+"&contentType=x-www-form-urlencoded")}catch(t){p=null}}}else p=null;else g&&p.open(l,g,true)}else if(!j&&window.ActiveXObject){try{p=new ActiveXObject("Msxml2.XMLHTTP")}catch(v){try{p=new ActiveXObject("Microsoft.XMLHTTP")}catch(x){}}g&&
|
|
p&&p.open(l,g,true)}p&&g&&s&&p.setRequestHeader("Content-type","application/x-www-form-urlencoded");return p}var j=a.indexOf("://")!=-1&&I(a)!=window.location.host;return e("POST",a)!=null?new (function(){function l(g,p,s,t){function v(o){if(!F){clearTimeout(O);o?b(0,u.responseText,p):b(1,null,p);u.onreadystatechange=new Function;try{u.onload=u.onreadystatechange}catch(P){}u=null;F=true}}function x(){if(u.readyState==4){var o=u.status==200&&u.getResponseHeader("Content-Type")&&u.getResponseHeader("Content-Type").indexOf("text/javascript")==
|
|
0;v(o)}}function B(){u.onreadystatechange=new Function;u=null;F=true;b(2,null,p)}var u=e("POST",a),O=null,F=false;this.abort=function(){u.onreadystatechange=new Function;F=true;u.abort();u=null};false&&u.setRequestHeader("Connection","close");if(t>0)O=setTimeout(B,t);u.onreadystatechange=x;try{u.onload=function(){v(true)};u.onerror=function(){v(false)}}catch(H){}u.send(g)}this.responseReceived=function(){};this.sendUpdate=function(g,p,s,t){return new l(g,p,s,t)}}):new (function(){function l(p,
|
|
s,t){function v(){b(1,null,s);x.parentNode.removeChild(x)}this.userData=s;var x=this.script=document.createElement("script");x.id="script"+t;x.setAttribute("src",a+"&"+p);x.onerror=v;document.getElementsByTagName("head")[0].appendChild(x);this.abort=function(){x.parentNode.removeChild(x)}}var g=null;this.responseReceived=function(){if(g!=null){var p=g;g.script.parentNode.removeChild(g.script);g=null;b(0,"",p.userData)}};this.sendUpdate=function(p,s,t,v){return g=new l(p,s,t,v)}})};this.setHtml=function(a,
|
|
b,e){function j(g,p){var s,t,v;switch(g.nodeType){case 1:s=g.namespaceURI===null?document.createElement(g.nodeName):document.createElementNS(g.namespaceURI,g.nodeName);if(g.attributes&&g.attributes.length>0){t=0;for(v=g.attributes.length;t<v;)s.setAttribute(g.attributes[t].nodeName,g.getAttribute(g.attributes[t++].nodeName))}if(p&&g.childNodes.length>0){t=0;for(v=g.childNodes.length;t<v;){var x=j(g.childNodes[t++],p);x&&s.appendChild(x)}}return s;case 3:case 4:case 5:return document.createTextNode(g.nodeValue)}return null}
|
|
if(i.isIE||true&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var l;l=new DOMParser;l=l.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(l.nodeType!=1)l=l.nextSibling;if(!e)a.innerHTML="";b=0;for(e=l.childNodes.length;b<e;)a.appendChild(j(l.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&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=i.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,b){for(b=b.parentNode;b&&b.tagName.toLowerCase()!="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.unwrap=function(a){a=
|
|
i.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")){if(a.getAttribute("type")=="submit"){a.setAttribute("type","button");a.removeAttribute("name")}if(i.hasTag(a,"INPUT")&&a.getAttribute("type")=="image"){var b=document.createElement("img");if(b.mergeAttributes){b.mergeAttributes(a,false);b.src=a.src}else if(a.attributes&&a.attributes.length>0){var e,j;e=0;for(j=a.attributes.length;e<j;e++){var l=a.attributes[e].nodeName;l!="type"&&l!="name"&&b.setAttribute(l,a.getAttribute(l))}}a.parentNode.replaceChild(b,
|
|
a)}}else{b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className.substring(8);i.isIE?b.style.setAttribute("cssText",a.getAttribute("style")):b.setAttribute("style",a.getAttribute("style"));a.parentNode.replaceChild(b,a)}};var X=false;this.CancelPropagate=1;this.CancelDefaultAction=2;this.CancelAll=3;this.cancelEvent=function(a,b){if(!X){b=b===undefined?i.CancelAll:b;if(b&i.CancelDefaultAction)if(a.preventDefault)a.preventDefault();else a.returnValue=false;if(b&i.CancelPropagate){if(a.stopPropagation)a.stopPropagation();
|
|
else a.cancelBubble=true;try{document.activeElement&&document.activeElement.blur&&i.hasTag(document.activeElement,"TEXTAREA")&&document.activeElement.blur()}catch(e){}}}};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(j){}return b};this.validate=function(a){var b=a.wtValidate.validate(a.value);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)||i.cancelEvent(b)};this.widgetPageCoordinates=function(a){var b=0,e=0,j;if(i.hasTag(a,"AREA"))a=a.parentNode.nextSibling;for(var l=$(document.body).hasClass("Wt-rtl");a;){b+=a.offsetLeft;e+=a.offsetTop;if(J(a,"position")=="fixed"){b+=document.body.scrollLeft+document.documentElement.scrollLeft;e+=document.body.scrollTop+document.documentElement.scrollTop;
|
|
break}j=a.offsetParent;if(j==null)a=null;else{do{a=a.parentNode;if(i.hasTag(a,"DIV")){l||(b-=a.scrollLeft);e-=a.scrollTop}}while(a!=null&&a!=j)}}return{x:b,y:e}};this.widgetCoordinates=function(a,b){b=i.pageCoordinates(b);a=i.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=i.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(i.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),e=b.duplicate();e.moveToElementText(a);var j=0;if(b.text.length>1){j-=b.text.length;if(j<0)j=0}a=-1+j;for(e.moveStart("character",j);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 j=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>j.length)e=j.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||i.isIE?true:i.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,Z=null;this.eventRepeat=function(a,b,e){i.stopRepeat();b=b||500;e=e||50;a();U=setTimeout(function(){U=null;a();Z=setInterval(a,
|
|
e)},b)};this.stopRepeat=function(){if(U){clearTimeout(U);U=null}if(Z){clearInterval(Z);Z=null}};var ga=null,W=null;this.px=function(a,b){return G(J(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return Q(a.style[b],0)};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{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?
|
|
i.isHidden(a):false}};this.IEwidth=function(a,b,e){if(a.parentNode){var j=a.parentNode.clientWidth-i.px(a,"marginLeft")-i.px(a,"marginRight")-i.px(a,"borderLeftWidth")-i.px(a,"borderRightWidth")-i.px(a.parentNode,"paddingLeft")-i.px(a.parentNode,"paddingRight");b=Q(b,0);e=Q(e,1E5);return j<b?b-1:j>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){i.getElement(a).style.display="none"};this.inline=function(a){i.getElement(a).style.display="inline"};this.block=function(a){i.getElement(a).style.display=
|
|
"block"};this.show=function(a){i.getElement(a).style.display=""};var E=null;this.firedTarget=null;this.target=function(a){return i.firedTarget||a.target||a.srcElement};var ea=false;this.capture=function(a){ha();if(!(E&&a)){E=a;var b=document.body;if(b.setCapture)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&&E&&a==E&&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=[],j,l=0,g=b.length;l<g;l++){j=b[l];j.className.indexOf(a)!=-1&&e.push(j)}return e}};this.addCss=function(a,b){var e=document.styleSheets[0];e.insertRule(a+" { "+b+" }",e.cssRules.length)};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||e.tagName.toLowerCase()!="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 j=
|
|
document.styleSheets[e],l=0,g;do{g=null;try{if(j.cssRules)g=j.cssRules[l];else if(j.rules)g=j.rules[l];if(g&&g.selectorText)if(g.selectorText.toLowerCase()==a)if(b=="delete"){j.cssRules?j.deleteRule(l):j.removeRule(l);return true}else return g}catch(p){}++l}while(g)}return false};this.removeCssRule=function(a){return i.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("type","text/css");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute("media",b);document.getElementsByTagName("head")[0].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,j,l){var g=i.windowSize(),
|
|
p=document.body.scrollLeft+document.documentElement.scrollLeft,s=document.body.scrollTop+document.documentElement.scrollTop;if(a.offsetParent){var t=i.widgetPageCoordinates(a.offsetParent),v=["left","right"],x=["top","bottom"],B=i.px(a,"maxWidth")||a.offsetWidth,u=i.px(a,"maxHeight")||a.offsetHeight;if(B>g.x){b=p;j=0}else if(b+B>p+g.x){j-=t.x;b=a.offsetParent.offsetWidth-(j+i.px(a,"marginRight"));j=1}else{b-=t.x;b-=i.px(a,"marginLeft");j=0}if(B>g.y){e=s;l=0}else if(e+u>s+g.y){if(l>s+g.y)l=s+g.y;l-=
|
|
t.y;e=a.offsetParent.offsetHeight-(l+i.px(a,"marginBottom"));l=1}else{e-=t.y;e-=i.px(a,"marginTop");l=0}a.style[v[j]]=b+"px";a.style[v[1-j]]="";a.style[x[l]]=e+"px";a.style[x[1-l]]=""}};this.positionXY=function(a,b,e){a=i.getElement(a);i.isHidden(a)||i.fitToWindow(a,b,e,b,e)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,e,j,l){a=i.getElement(a);if((b=i.getElement(b))&&a){var g=i.widgetPageCoordinates(b);if(j){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position=
|
|
"absolute";if(l)a.style.display="block";if(e==i.Horizontal){e=g.x+b.offsetWidth;j=g.y;l=g.x;b=g.y+b.offsetHeight}else{e=g.x;j=g.y+b.offsetHeight;l=g.x+b.offsetWidth;b=g.y}i.fitToWindow(a,e,j,l,b);a.style.visibility=""}};this.hasFocus=function(a){return a==document.activeElement};this.history=!i.isMobileWebKit&&window.history&&window.history.pushState?function(){var a=null,b=null,e=null;return{_initialize:function(){},_initTimeout:function(){},register:function(j,l){function g(s){if((s=s.state)&&s!=
|
|
a){a=s;l(a)}}function p(){var s=window.location.hash,t=null;if(s=="")t=s;else if(s.substr(0,2)=="#/")t=s.substr(2);if(t!==a){a=t;l(a)}}a=j;e=l;window.addEventListener("popstate",g,false);window.addEventListener("hashchange",p,false)},initialize:function(j,l,g){if(g&&g[g.length-1]=="/"){;b=g+"?_=";;}else b=g?g:window.location.pathname},navigate:function(j,l){a=j;var g=b+j;if(b.length>
|
|
3&&b.substr(b.length-3)!="?_=")g+=window.location.search;try{window.history.pushState(j,document.title,g)}catch(p){console.log(p.toString())}l&&e(j)},getCurrentState:function(){return a}}}():function(){function a(){var n,q;q=location.href;n=q.indexOf("#");return n>=0?q.substr(n+1):null}function b(){O.value=P+"|"+K;if(t)O.value+="|"+o.join(",")}function e(){var n,q;n=0;for(q=L.length;n<q;++n)L[n](unescape(K))}function j(n){if(n){if(!n||K!==n){K=n||P;e()}}else{K=P;e()}}function l(n){var q;n='<html><body><div id="state">'+
|
|
n+"</div></body></html>";try{q=u.contentWindow.document;q.open();q.write(n);q.close();return true}catch(z){return false}}function g(){var n,q,z,w;if(!u.contentWindow||!u.contentWindow.document)setTimeout(g,10);else{n=u.contentWindow.document;z=(q=n.getElementById("state"))?q.innerText:null;w=a();setInterval(function(){var R,C;n=u.contentWindow.document;R=(q=n.getElementById("state"))?q.innerText:null;C=a();if(R!==z){z=R;j(z);C=z?z:P;w=location.hash=C;b()}else if(C!==w){w=C;l(C)}},50);F=true;B!=null&&
|
|
B()}}function p(){if(!v){var n=a(),q=history.length;H&&clearInterval(H);H=setInterval(function(){var z,w;z=a();w=history.length;if(z!==n){n=z;q=w;j(n);b()}else if(w!==q&&t){n=z;q=w;z=o[q-1];j(z);b()}},50)}}function s(){var n;n=O.value.split("|");if(n.length>1){P=n[0];K=n[1]}if(n.length>2)o=n[2].split(",");if(v)g();else{p();F=true;B!=null&&B()}}var t=false,v=i.isIElt9,x=false,B=null,u=null,O=null,F=false,H=null,o=[],P,K,L=[];return{_initialize:function(){O!=null&&s()},_initTimeout:function(){p()},
|
|
register:function(n,q){if(!F)K=P=escape(n);L.push(q)},initialize:function(n,q){if(!F){var z=navigator.vendor||"";if(z!=="KDE")if(typeof window.opera!=="undefined")x=true;else if(!v&&z.indexOf("Apple Computer, Inc.")>-1)t=true;if(typeof n==="string")n=document.getElementById(n);if(!(!n||n.tagName.toUpperCase()!=="TEXTAREA"&&(n.tagName.toUpperCase()!=="INPUT"||n.type!=="hidden"&&n.type!=="text"))){O=n;if(v){if(typeof q==="string")q=document.getElementById(q);!q||q.tagName.toUpperCase()!=="IFRAME"||
|
|
(u=q)}}}},navigate:function(n,q){if(F){if(v)l(n);else{location.hash=n;if(t){o[history.length]=n;b()}}q&&e()}},getCurrentState:function(){if(!F)return"";return K}}}()});if(window.Wt)try{window.Wt._p_.quit()}catch(e$$24){}
|
|
window.Wt=new (function(){function I(d){d=o.pageCoordinates(d);P=d.x;K=d.y}function J(){var d=o.history.getCurrentState();if(L!=d){L=d;setTimeout(function(){b(null,"hash",null,true)},1)}}function D(d){if(L!=d){L=d;o.history.navigate(escape(d),false)}}function G(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function Q(d,c){var f=n;f.object=o.getElement(d.getAttribute("dwid"));if(f.object==null)return true;f.sourceId=d.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="";document.body.appendChild(f.object);o.capture(null);o.capture(f.object);f.object.onmousemove=ca;f.object.onmouseup=da;f.offsetX=-4;f.offsetY=-4;f.dropTarget=null;f.mimeType=d.getAttribute("dmt");f.xy=o.pageCoordinates(c);o.cancelEvent(c,o.CancelPropagate);return false}
|
|
function ca(d){if(n.object!=null){var c=n,f=o.pageCoordinates(d);if(c.object.style.display!=""&&c.xy.x!=f.x&&c.xy.y!=f.y)c.object.style.display="";c.object.style.left=f.x-c.offsetX+"px";c.object.style.top=f.y-c.offsetY+"px";f=c.dropTarget;var h=o.target(d),m="{"+c.mimeType+":",k=null;for(c.dropTarget=null;h;){k=h.getAttribute("amts");if(k!=null&&k.indexOf(m)!=-1){c.dropTarget=h;break}h=h.parentNode;if(!h.tagName||o.hasTag(h,"HTML"))break}if(c.dropTarget!=f){if(c.dropTarget){h=k.indexOf(m)+m.length;
|
|
var r=k.indexOf("}",h);k=k.substring(h,r);if(k.length!=0){c.dropTarget.setAttribute("dos",c.dropTarget.className);c.dropTarget.className=c.dropTarget.className+" "+k}}else c.object.styleClass="";if(f!=null){f.handleDragDrop&&f.handleDragDrop("end",c.object,d,"",m);k=f.getAttribute("dos");if(k!=null)f.className=k}}if(c.dropTarget)if(c.dropTarget.handleDragDrop)c.dropTarget.handleDragDrop("drag",c.object,d,"",m);else c.object.className="Wt-valid-drop";return false}return true}function da(d){o.capture(null);
|
|
var c=n;if(c.object){if(c.dropTarget){var f=c.dropTarget.getAttribute("dos");if(f!=null)c.dropTarget.className=f;c.dropTarget.handleDragDrop?c.dropTarget.handleDragDrop("drop",c.object,d,c.sourceId,c.mimeType):p(c.dropTarget,{name:"_drop",eventObject:c.dropTarget,event:d},c.sourceId,c.mimeType)}c.object.style.position=c.objectPrevStyle.position;c.object.style.display=c.objectPrevStyle.display;c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;
|
|
c.object=null}}function S(d,c,f){var h,m;m=d+"=";d=0;for(h=c.length;d<h;++d){var k=c[d];if(d!=0)m+=";";m+=[k.identifier,k.clientX,k.clientY,k.pageX,k.pageY,k.screenX,k.screenY,k.pageX-f.x,k.pageY-f.y].join(";")}return m}function ha(d,c){var f,h;h=d.event;c=c>0?"&e"+c:"&";f=c+"signal="+d.signal;if(d.id){f+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d.args.length;++m)f+=c+"a"+m+"="+encodeURIComponent(d.args[m])}for(var k=0;k<q.length;++k){var r=o.getElement(q[k]),
|
|
y=null,na;if(r!=null){if(r.type=="select-multiple"){m=0;for(na=r.options.length;m<na;m++)if(r.options[m].selected)f+=c+q[k]+"="+encodeURIComponent(r.options[m].value)}else if(r.type=="checkbox"||r.type=="radio")if(r.indeterminate||r.style.opacity=="0.5")y="i";else{if(r.checked)y=r.value}else if(o.hasTag(r,"VIDEO")||o.hasTag(r,"AUDIO"))y=""+r.volume+";"+r.currentTime+";"+r.duration+";"+(r.paused?"1":"0")+";"+(r.ended?" 1":"0")+";"+r.readyState;else if(o.hasTag(r,"DIV")&&r.childNodes.length==1){m=r.childNodes[0];
|
|
if(o.hasTag(m,"VIDEO")||o.hasTag(m,"AUDIO"))y=""+m.volume+";"+m.currentTime+";"+m.duration+";"+(m.paused?"1":"0")+";"+(m.ended?"1":"0")+";"+m.readyState}else if(r.type!="file"){if($(r).hasClass("Wt-edit-emptyText"))y="";else{r.ed&&r.ed.save();y=""+r.value}if(o.hasFocus(r)){m=o.getSelectionRange(r);f+=c+"selstart="+m.start+c+"selend="+m.end}}if(y!=null)f+=c+q[k]+"="+encodeURIComponent(y)}}try{if(document.activeElement)f+=c+"focus="+document.activeElement.id}catch(ua){}if(L!=null)f+=c+"_="+encodeURIComponent(unescape(L));
|
|
if(!h){d.data=f;return d}for(k=o.target(h);k&&!k.id&&k.parentNode;)k=k.parentNode;if(k&&k.id)f+=c+"tid="+k.id;try{f+=c+"type="+h.type}catch(va){}if(h.clientX||h.clientY)f+=c+"clientX="+h.clientX+c+"clientY="+h.clientY;y=o.pageCoordinates(h);k=y.x;y=y.y;if(k||y){f+=c+"documentX="+k+c+"documentY="+y;f+=c+"dragdX="+(k-P)+c+"dragdY="+(y-K);m=o.wheelDelta(h);f+=c+"wheel="+m}if(h.screenX||h.screenY)f+=c+"screenX="+h.screenX+c+"screenY="+h.screenY;m={x:0,y:0};if(d.object&&d.object.nodeType!=9){m=o.widgetPageCoordinates(d.object);
|
|
f+=c+"scrollX="+d.object.scrollLeft+c+"scrollY="+d.object.scrollTop+c+"width="+d.object.clientWidth+c+"height="+d.object.clientHeight+c+"widgetX="+(k-m.x)+c+"widgetY="+(y-m.y)}k=o.button(h);if(!k)if(o.buttons&1)k=1;else if(o.buttons&2)k=2;else if(o.buttons&4)k=4;f+=c+"button="+k;if(typeof h.keyCode!=="undefined")f+=c+"keyCode="+h.keyCode;if(typeof h.charCode!=="undefined")f+=c+"charCode="+h.charCode;if(h.altKey)f+=c+"altKey=1";if(h.ctrlKey)f+=c+"ctrlKey=1";if(h.metaKey)f+=c+"metaKey=1";if(h.shiftKey)f+=
|
|
c+"shiftKey=1";if(typeof h.touches!=="undefined")f+=S(c+"touches",h.touches,m);if(typeof h.targetTouches!=="undefined")f+=S(c+"ttouches",h.targetTouches,m);if(typeof h.changedTouches!=="undefined")f+=S(c+"ctouches",h.changedTouches,m);if(h.scale)f+=c+"scale="+h.scale;if(h.rotation)f+=c+"rotation="+h.rotation;d.data=f;return d}function i(){for(var d="",c=false,f=0;f<w.length;++f){c=c||w[f].feedback;d+=w[f].data}z=w;w=[];return{feedback:c,result:d}}function T(){C=true;if(ia){clearInterval(ia);ia=null}var d=
|
|
$("#Wt-timers");d.size()>0&&o.setHtml(d.get(0),"",false)}function N(){o.history._initTimeout();fa==0&&b(null,"none",null,false)}function Y(d){if(!o.isIEMobile)document.title=d}function X(d){if(!oa){if(d){if(!window.WtLoadWidgetTree)return;o.history.initialize("Wt-history-field","Wt-history-iframe",'/')}if(!("activeElement"in document)){function c(h){if(h&&h.target)document.activeElement=h.target==document?null:h.target}function f(){document.activeElement=null}document.addEventListener("focus",
|
|
c,true);document.addEventListener("blur",f,true)}o.history._initialize();G();oa=true;d&&window.WtLoadWidgetTree();if(!C){N();ia=setInterval(N,150000)}}}function U(d){clearTimeout(d);document.body.style.cursor="auto";if(ja!=null){try{ja()}catch(c){}ja=null}}function Z(){document.body.style.cursor="wait";ja=hideLoadingIndicator;showLoadingIndicator()}function ga(d){pa=d}function W(){if(!ka){ka=true;setTimeout(function(){ka=false;H._p_.autoJavaScript()},1)}}function E(d){if(d){d=
|
|
"(function() {"+d+"})();";window.execScript?window.execScript(d):window.eval(d)}H==window.Wt&&W()}function ea(d,c,f){if(!C){if(d==0){;E(c);;f&&U(f)}else w=z.concat(w);z=[];if(V){clearTimeout(V);V=null}M=null;if(d>0)++fa;else fa=
|
|
0;if(!C)if(pa||w.length>0)if(d==1){d=Math.min(12E4,Math.exp(fa)*500);aa=setTimeout(function(){g()},d)}else g()}}function a(){M.abort();V=M=null;C||g()}function b(d,c,f,h){if(!la){la=true;o.checkReleaseCapture(d,f);;var m={},k=w.length;m.object=d;m.signal=c;m.event=window.fakeEvent||f;m.feedback=h;w[k]=ha(m,k);e();E();;la=false}}function e(){if(!C){;if(M!=null&&V!=null){clearTimeout(V);M.abort();M=null}if(M==null)if(aa==null){aa=setTimeout(function(){g()},o.updateDelay);qa=(new Date).getTime()}else if(fa){clearTimeout(aa);g()}else if((new Date).getTime()-
|
|
qa>o.updateDelay){clearTimeout(aa);g()}}}function j(d){ma=d;ra.responseReceived(d)}function l(d){sa=d}function g(){if(H!=window.Wt)T();else if(!M){aa=null;if(C){if(!ta){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ta=true}}else{var d,c,f;if(w.length>0){d=i();c=d.feedback?setTimeout(Z,500):null;f=false}else{d={result:"&signal=poll"};c=null;f=true}d.result+="&ackId="+ma+"&pageId="+sa;d.result+="&";
|
|
if(A.socket!=null&&A.socket.readyState==1){M=null;c!=null&&clearTimeout(c);f||A.socket.send(d.result)}else{M=ra.sendUpdate("request=jsupdate"+d.result,c,ma,-1);V=f?setTimeout(a,50000):null}}}}function p(d,c){var f={},h=w.length;f.signal="user";f.id=typeof d==="string"?d:d==H?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){var k=arguments[m];k=k===false?0:k===
|
|
true?1:k.toDateString?k.toDateString():k;f.args[m-2]=k}f.feedback=true;w[h]=ha(f,h);e()}function s(d,c,f){var h=function(){var k=o.getElement(d);if(k){if(f)k.timer=setTimeout(k.tm,c);else{k.timer=null;k.tm=null}k.onclick&&k.onclick()}},m=o.getElement(d);m.timer=setTimeout(h,c);m.tm=h}function t(d,c){setTimeout(function(){if(ba[d]===true)c();else ba[d]=c},20)}function v(d){if(ba[d]!==true){typeof ba[d]!=="undefined"&&ba[d]();ba[d]=true}}function x(d,c,f){function h(){var y=f===undefined?o.isIE?1:2:
|
|
f;if(y>1)x(d,c,y-1);else{alert("Fatal error: failed loading "+d);T()}}var m=false;if(c!="")try{m=!eval("typeof "+c+" === 'undefined'")}catch(k){m=false}if(m)v(d);else{var r=document.createElement("script");r.setAttribute("src",d);r.onload=function(){v(d)};r.onerror=h;r.onreadystatechange=function(){var y=r.readyState;if(y=="loaded")o.isOpera||o.isIE?v(d):h();else y=="complete"&&v(d)};document.getElementsByTagName("head")[0].appendChild(r)}}function B(d,c){this.callback=c;this.work=d.length;this.images=
|
|
[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function u(d){L=d;o.history.register(d,J)}function O(d){if(d.ieAlternativeExecuted)return"0";H.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}function F(d){window.onbeforeunload=d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var H=this,o=Wt3_1_10,P=0,K=0,L=null,n={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,
|
|
objectPrevStyle:null,xy:null},q=[],z=[],w=[],R='?wtd=WxN3BgrteaB2hpEI',C=false,ta=false,oa=false,M=null,V=null,ia=null,fa=0,pa=false,aa=null,ja=null,A={state:0,socket:null,keepAlive:null,reconnectTries:0},ka=false,ra=o.initAjaxComm(R,ea),la=false,qa,ma=0,sa=0,ba={};B.prototype.preload=function(d){var c=new Image;this.images.push(c);c.onload=B.prototype.onload;c.onerror=B.prototype.onload;c.onabort=B.prototype.onload;c.imagePreloader=this;c.src=d};B.prototype.onload=function(){var d=this.imagePreloader;
|
|
--d.work==0&&d.callback(d.images)};window.onunload=function(){if(!C){H.emit(H,"Wt-unload");e();g()}};this._p_={ieAlternative:O,loadScript:x,onJsLoad:t,setTitle:Y,update:b,quit:T,setFormObjects:function(d){q=d},saveDownPos:I,addTimerEvent:s,load:X,setServerPush:ga,dragStart:Q,dragDrag:ca,dragEnd:da,capture:o.capture,enableInternalPaths:u,onHashChange:J,setHash:D,ImagePreloader:B,doAutoJavaScript:W,autoJavaScript:function(){},response:j,setPage:l,setCloseMessage:F};this.WT=Wt3_1_10;this.emit=
|
|
p});window.WtSignalEmit=Wt.emit;window.WtOnLoad=function(){Wt._p_.load()};
|
|
Wt._p_.setPage(1);window.WtLoadWidgetTree = function(){
|
|
Wt.sf10=function(s, e) {var states = new Array('Wt-expand','Wt-collapse'), i, il;for (i=0; i<2; ++i) {if (s.className == states[i]) {Wt.emit(s, 't-'+s.className);s.className = states[(i+1) % 2];break;}}};
|
|
Wt._p_.enableInternalPaths('');
|
|
Wt.sf18=function(s, e) {var states = new Array('Wt-expand','Wt-collapse'), i, il;for (i=0; i<2; ++i) {if (s.className == states[i]) {Wt.emit(s, 't-'+s.className);s.className = states[(i+1) % 2];break;}}};
|
|
{var j132=$('#ocvtex7').get(0);
|
|
var j133=document.createElement('<div id="ocvtex7" class="Wt-loading" style="display:none;">');j132.parentNode.replaceChild(j133,j132);
|
|
Wt3_1_10.setHtml(j133,'Loading...');
|
|
Wt3_1_10.unstub(j132,j133,1);
|
|
var j134=$('#ocvtexu').get(0);
|
|
var j135=document.createElement('<div id="ocvtexu" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd\',e,true);" style="display:none;">');j134.parentNode.replaceChild(j135,j134);
|
|
Wt3_1_10.setHtml(j135,'<img id="ocvtexv" alt="" title="Logout as administrator" onmousedown="var e=event||window.event,o=this;Wt._p_.saveDownPos(event);Wt3_1_10.capture(this);{var f=function(sender, event){if (document.images) { document.getElementById(\'ocvtexv\').src = \'icons/logout_down.png\'; }};f(o,e);}" onmouseup="var e=event||window.event,o=this;{var f=function(sender, event){if (document.images) { document.getElementById(\'ocvtexv\').src = \'icons/logout_over.png\'; }};f(o,e);}" onmouseout="var e=event||window.event,o=this;{var f=function(sender, event){if (document.images) { document.getElementById(\'ocvtexv\').src = \'icons/logout_default.png\'; }};f(o,e);}" onmouseover="var e=event||window.event,o=this;{var f=function(sender, event){if (document.images) { document.getElementById(\'ocvtexv\').src = \'icons/logout_over.png\'; }};f(o,e);}" src="icons/logout_default.png" class="imagebutton" /><img id="ocvtexw" alt="" title="Logout as administrator" src="icons/logout_disabled.png" class="disabled_imagebutton" style="display:none;" />');
|
|
Wt3_1_10.unstub(j134,j135,1);
|
|
var j136=$('#ocvtf4j').get(0);
|
|
var j137=document.createElement('<div id="ocvtf4j" style="height:100.0%;display:none;">');j136.parentNode.replaceChild(j137,j136);
|
|
Wt3_1_10.setHtml(j137,'<div id="ocvtf05"><div id="fowlconfig"><div id="ocvtf0d"><div id="ocvtf0e" class="message" style="text-align:center;"><table id="ocvtf0el" class="Wt-hcenter"><tr><td><div id="ocvtf0o" style="position:relative;zoom: 1;"><table><tbody><tr><td style="position:relative;"><img id="ocvtf0f" alt="" src="icons/FeedbackOK.png" style="display:none;" /></td><td style="position:relative;"><img id="ocvtf0g" alt="" src="icons/FeedbackInfo.png" style="display:none;" /></td><td style="position:relative;"><img id="ocvtf0h" alt="" src="icons/network_warning.png" style="display:none;" /></td><td style="position:relative;padding:9px 3px 9px 9px;vertical-align:middle;"><span id="ocvtf0i"></span></td><td style="position:relative;padding:9px 3px 9px 3px;vertical-align:middle;"><span id="ocvtf0j"></span></td><td style="position:relative;padding:9px 9px 9px 3px;vertical-align:middle;"><span id="ocvtf0k"></span></td></tr></tbody></table></div></td></tr></table></div><div id="ocvtf08" class="Wt-panel Wt-outset"><span class="Wt-x1"><span class="Wt-x1a"></span></span><span class="Wt-x2"><span class="Wt-x2a"></span></span><div id="ocvtf0a" class="titlebar"><span id="ocvtf0c"> Weblink</span><br id="ocvtf0b" style="clear:both;" /></div><div id="ocvtf09" class="body"><table id="ocvtf0v"><col id="ocvtf0y" /><col id="ocvtf3n" /><tbody id="ocvtf0vtb"><tr id="ocvtf0w"><td id="ocvtf0x" colspan="2" style="padding:10.0px;"><div id="ocvtf10" class="Wt-panel Wt-outset"><span class="Wt-x1"><span class="Wt-x1a"></span></span><span class="Wt-x2"><span class="Wt-x2a"></span></span><div id="ocvtf12" class="titlebar"><span id="ocvtf14"> System configuration</span><br id="ocvtf13" style="clear:both;" /></div><div id="ocvtf11" class="body"><table id="ocvtf15"><col id="ocvtf18" /><col id="ocvtf1b" /><tbody id="ocvtf15tb"><tr id="ocvtf16"><td id="ocvtf17"><span id="ocvtf19" class="label">Weblink name:</span></td><td id="ocvtf1a" title="Name of this WebLink"><input id="ocvtf1c" maxLength="32" name="ocvtf1c" size="30" type="text" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s14\',e,true);}" value="FOWL 71" disabled="disabled" /></td></tr><tr id="ocvtf1d"><td id="ocvtf1e" style="min-width:180.0px;"><span id="ocvtf1g" class="label">Day : Month : Year:</span></td><td id="ocvtf1f" title="Local Time"><span id="ocvtf1k"><input id="ocvtf1j" name="ocvtf1j" size="10" type="text" onchange="var e=event||window.event,o=this;Wt._p_.update(o,\'s15\',e,true);{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s23\',e,true);}" onkeyup="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onclick="Wt3_1_10.cancelEvent(event||window.event);" value="24:06:2011" disabled="disabled" style="vertical-align:middle;" /><img id="ocvtf1i" alt="" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s20\',e,true);Wt3_1_10.show(\'ocvtf1l\');\n{var f=function() { Wt3_1_10.positionAtWidget(\'ocvtf1l\',\'ocvtf1i\', Wt3_1_10.Horizontal, false);};f(o,e);}" src="resources/calendar_edit.png" style="vertical-align:middle;display:none;" /><div id="ocvtf1l" onkeydown="var e=event||window.event,o=this;if((e.keyCode && e.keyCode == 27)){Wt._p_.update(this,\'s1f\',e,true);Wt3_1_10.hide(\'ocvtf1l\');\n}" class="Wt-outset Wt-datepicker" style="position:absolute;z-index:5;display:none;"><span class="Wt-x1"><span class="Wt-x1a"></span></span><span class="Wt-x2"><span class="Wt-x2a"></span></span><div id="ocvtf1n" onselectstart="return false;" unselectable="on" class="Wt-cal unselectable"><table class="d3" cellspacing="0" cellpadding="0"><caption><span id="ocvtf1o" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s16\',e,true);" class="Wt-cal-navbutton">?</span> <select id="ocvtf1q" name="ocvtf1q" onchange="var e=event||window.event,o=this;Wt._p_.update(o,\'sd9\',e,true);"><option value="0">January</option><option value="1">February</option><option value="2">March</option><option value="3">April</option><option value="4">May</option><option value="5" selected="selected">June</option><option value="6">July</option><option value="7">August</option><option value="8">September</option><option value="9">October</option><option value="10">November</option><option value="11">December</option></select> <span id="ocvtf1t" class="Wt-cal-year"><span id="ocvtf1u" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s18\',e,true);Wt3_1_10.hide(\'ocvtf1u\');\nWt3_1_10.show(\'ocvtf1v\');\nvar j98=$(\'#ocvtf1v\').get(0);\nsetTimeout(function() {var f = $(\'#ocvtf1v\').get(0);if (f) f.focus(); }, 500);\n" style="cursor:default;">2011</span><input id="ocvtf1v" name="ocvtf1v" size="4" type="text" onblur="var e=event||window.event,o=this;Wt._p_.update(o,\'s1d\',e,true);var j101=$(\'#ocvtf1v\').get(0);\nj101.disabled=true;\n" onkeydown="var e=event||window.event,o=this;if((e.keyCode && e.keyCode == 13)){Wt._p_.update(this,\'s19\',e,true);var j101=$(\'#ocvtf1v\').get(0);\nj101.disabled=true;\nWt3_1_10.cancelEvent(e,0x2);}if((e.keyCode && e.keyCode == 27)){Wt._p_.update(this,\'s1a\',e,true);Wt3_1_10.hide(\'ocvtf1v\');\nWt3_1_10.show(\'ocvtf1u\');\nWt3_1_10.cancelEvent(e,0x2);}" value="2011" style="display:none;" /></span> <span id="ocvtf1p" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s17\',e,true);" class="Wt-cal-navbutton">?</span></caption><tr><th title="Monday" scope="col">Mon</th><th title="Tuesday" scope="col">Tue</th><th title="Wednesday" scope="col">Wed</th><th title="Thursday" scope="col">Thu</th><th title="Friday" scope="col">Fri</th><th title="Saturday" scope="col">Sat</th><th title="Sunday" scope="col">Sun</th></tr><tr><td><div id="ocvtfgj" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s85\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s86\',e,true);" class=" Wt-cal-oom">30</div></td><td><div id="ocvtfgk" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s87\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s88\',e,true);" class=" Wt-cal-oom">31</div></td><td><div id="ocvtfgl" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s89\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8a\',e,true);">1</div></td><td><div id="ocvtfgm" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8b\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8c\',e,true);">2</div></td><td><div id="ocvtfgn" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8d\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8e\',e,true);">3</div></td><td><div id="ocvtfgo" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s8f\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s90\',e,true);">4</div></td><td><div id="ocvtfgp" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s91\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s92\',e,true);">5</div></td></tr><tr><td><div id="ocvtfgq" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s93\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s94\',e,true);">6</div></td><td><div id="ocvtfgr" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s95\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s96\',e,true);">7</div></td><td><div id="ocvtfgs" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s97\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s98\',e,true);">8</div></td><td><div id="ocvtfgt" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s99\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9a\',e,true);">9</div></td><td><div id="ocvtfgu" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9b\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9c\',e,true);">10</div></td><td><div id="ocvtfgv" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9d\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9e\',e,true);">11</div></td><td><div id="ocvtfgw" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s9f\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa0\',e,true);">12</div></td></tr><tr><td><div id="ocvtfgx" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa1\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa2\',e,true);">13</div></td><td><div id="ocvtfgy" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa3\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa4\',e,true);">14</div></td><td><div id="ocvtfgz" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa5\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa6\',e,true);">15</div></td><td><div id="ocvtfh0" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa7\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa8\',e,true);">16</div></td><td><div id="ocvtfh1" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sa9\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'saa\',e,true);">17</div></td><td><div id="ocvtfh2" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sab\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sac\',e,true);">18</div></td><td><div id="ocvtfh3" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sad\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sae\',e,true);">19</div></td></tr><tr><td><div id="ocvtfh4" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'saf\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb0\',e,true);">20</div></td><td><div id="ocvtfh5" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb1\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb2\',e,true);">21</div></td><td><div id="ocvtfh6" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb3\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb4\',e,true);">22</div></td><td><div id="ocvtfh7" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb5\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb6\',e,true);">23</div></td><td><div id="ocvtfh8" title="Today" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb7\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb8\',e,true);" class=" Wt-cal-sel">24</div></td><td><div id="ocvtfh9" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sb9\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sba\',e,true);">25</div></td><td><div id="ocvtfha" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sbb\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sbc\',e,true);">26</div></td></tr><tr><td><div id="ocvtfhb" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sbd\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sbe\',e,true);">27</div></td><td><div id="ocvtfhc" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sbf\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc0\',e,true);">28</div></td><td><div id="ocvtfhd" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc1\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc2\',e,true);">29</div></td><td><div id="ocvtfhe" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc3\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc4\',e,true);">30</div></td><td><div id="ocvtfhf" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc5\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc6\',e,true);" class=" Wt-cal-oom">1</div></td><td><div id="ocvtfhg" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc7\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc8\',e,true);" class=" Wt-cal-oom">2</div></td><td><div id="ocvtfhh" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sc9\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sca\',e,true);" class=" Wt-cal-oom">3</div></td></tr><tr><td><div id="ocvtfhi" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'scb\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'scc\',e,true);" class=" Wt-cal-oom">4</div></td><td><div id="ocvtfhj" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'scd\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sce\',e,true);" class=" Wt-cal-oom">5</div></td><td><div id="ocvtfhk" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'scf\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd0\',e,true);" class=" Wt-cal-oom">6</div></td><td><div id="ocvtfhl" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd1\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd2\',e,true);" class=" Wt-cal-oom">7</div></td><td><div id="ocvtfhm" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd3\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd4\',e,true);" class=" Wt-cal-oom">8</div></td><td><div id="ocvtfhn" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd5\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd6\',e,true);" class=" Wt-cal-oom">9</div></td><td><div id="ocvtfho" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd7\',e,true);" ondblclick="var e=event||window.event,o=this;Wt._p_.update(o,\'sd8\',e,true);" class=" Wt-cal-oom">10</div></td></tr></table></div><div style="text-align:center; margin-top:3px"><button id="ocvtf1y" type="button" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s1e\',e,true);Wt3_1_10.hide(\'ocvtf1l\');\n" class="Wt-btn">Close</button></div></div></span></td></tr><tr id="ocvtf20"><td id="ocvtf21"><span id="ocvtf23" class="label">Local time:</span></td><td id="ocvtf22" title="Enter the local time settings in this field"><input id="ocvtf24" name="ocvtf24" size="13" type="text" onchange="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onblur="var e=event||window.event,o=this;Wt._p_.update(o,\'s29\',e,true);" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s24\',e,true);}" onkeyup="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onclick="Wt3_1_10.cancelEvent(event||window.event);" onfocus="var e=event||window.event,o=this;Wt._p_.update(o,\'s28\',e,true);" value="10:23:06" disabled="disabled" /></td></tr><tr id="ocvtf26"><td id="ocvtf27"><span id="ocvtf29" class="label">Time server IP:</span></td><td id="ocvtf28" title="NTP time server URL"><input id="ocvtf2a" name="ocvtf2a" size="13" type="text" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s2a\',e,true);}" value="17.151.16.23" disabled="disabled" /></td></tr><tr id="ocvtf2b"><td id="ocvtf2c"><span id="ocvtf2e" class="label">Time zone:</span></td><td id="ocvtf2d" title="The current timezone where the controller is installed"><select id="ocvtf2f" name="ocvtf2f" onchange="var e=event||window.event,o=this;Wt._p_.update(o,\'s84\',e,true);" disabled="disabled"><option value="0">(GMT) Casablanca</option><option value="1">(GMT) Greenwich Mean Time: Dublin, Edingburgh, Lisbon, London</option><option value="2">(GMT) Monorovia, Reykjavik</option><option value="3" selected="selected">(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna</option><option value="4">(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague</option><option value="5">(GMT+01:00) Brussels, Copenhagen, Madrid, Paris</option><option value="6">(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb</option><option value="7">(GMT+02:00) Amman</option><option value="8">(GMT+02:00) Athens, Bucharest, Istanbul</option><option value="9">(GMT+02:00) Beirut</option><option value="10">(GMT+02:00) Cairo</option><option value="11">(GMT+02:00) Harare, Pretoria</option><option value="12">(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius</option><option value="13">(GMT+02:00) Jerusalem</option><option value="14">(GMT+02:00) Minsk</option><option value="15">(GMT+02:00) Windhoek</option><option value="16">(GMT+03:00) Beghdad</option><option value="17">(GMT+03:00) Kuwait, Riyadh</option><option value="18">(GMT+03:00) Moscow, St. Petersburg, Volgograd</option><option value="19">(GMT+03:00) Nairobi</option><option value="20">(GMT+03:00) Tbilisi</option><option value="21">(GMT+03:30) Tehran</option><option value="22">(GMT+04:00) Abu Dhabi, Muscat</option><option value="23">(GMT+04:00) Baku</option><option value="24">(GMT+04:00) Yerevan</option><option value="25">(GMT+04:30) Kabul</option><option value="26">(GMT+05:00) Tashkent</option><option value="27">(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi</option><option value="28">(GMT+05:30) Sri Jayawardenepura</option><option value="29">(GMT+05:45) Kathmandu</option><option value="30">(GMT+06:00) Almaty, Novosibirsk</option><option value="31">(GMT+06:00) Astana, Dhaka</option><option value="32">(GMT+06:30) Yangon (Rangoon)</option><option value="33">(GMT+07:00) Bangkok, Hanoi, Jakarta</option><option value="34">(GMT+07:00) Krasnoyarsk</option><option value="35">(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi</option><option value="36">(GMT+08:00) Irkutsk, Ulaan Bataar</option><option value="37">(GMT+08:00) Kuala Lumpur, Singapore</option><option value="38">(GMT+08:00) Perth</option><option value="39">(GMT+08:00) Taipei</option><option value="40">(GMT+09:00) Osaka, Sapporo, Tokyo</option><option value="41">(GMT+09:00) Seoul</option><option value="42">(GMT+09:00) Yakutsk</option><option value="43">(GMT+09:30) Adelaide</option><option value="44">(GMT+09:30) Darwin</option><option value="45">(GMT+10:00) Brisbane</option><option value="46">(GMT+10:00) Canberra, Melbourne, Sydney</option><option value="47">(GMT+10:00) Guam</option><option value="48">(GMT+10:00) Hobart</option><option value="49">(GMT+10:00) Vladivostok</option><option value="50">(GMT+11:00) Magadan, Solomon Is., New Caledonia</option><option value="51">(GMT+12:00) Auckland, Wellington</option><option value="52">(GMT+12:00) Fiji, Kamchatka, Marshall Is.</option><option value="53">(GMT-01:00) Azores</option><option value="54">(GMT-01:00) Cape Verde Is.</option><option value="55">(GMT-03:00) Buenos Aires</option><option value="56">(GMT-03:00) Greenland</option><option value="57">(GMT-03:00) Montevideo</option><option value="58">(GMT-03:30) Newfoundland</option><option value="59">(GMT-04:00) Atlantic Time (Canada)</option><option value="60">(GMT-04:00) La Paz</option><option value="61">(GMT-04:00) Manaus</option><option value="62">(GMT-04:00) Santiago</option><option value="63">(GMT-04:30) Caracas</option><option value="64">(GMT-05:00) Bogota, Lima, Quito, Rio Branco</option><option value="65">(GMT-05:00) Eastern Time (US &amp; Canada)</option><option value="66">(GMT-05:00) Indiana (East)</option><option value="67">(GMT-06:00) Central Time (US &amp; Canada)</option><option value="68">(GMT-06:00) Guadalajara, Mexico City, Monterrey</option><option value="69">(GMT-06:00) Saskatchewan</option><option value="70">(GMT-07:00) Arizona</option><option value="71">(GMT-07:00) Chihuahua, La Paz, Mazatlan</option><option value="72">(GMT-07:00) Mountain Time (US &amp; Canada)</option><option value="73">(GMT-08:00) Pacific Time (US &amp; Canada)</option><option value="74">(GMT-08:00) Tijuana, Baja California</option><option value="75">(GMT-09:00) Alaska</option><option value="76">(GMT-10:00) Hawaii</option><option value="77">(GMT-11:00) Midway Island, Samoa</option></select></td></tr></tbody></table></div></div></td></tr><tr id="ocvtf2k"><td id="ocvtf2l" style="padding:10.0px;"><div id="ocvtf2n" class="Wt-panel Wt-outset"><span class="Wt-x1"><span class="Wt-x1a"></span></span><span class="Wt-x2"><span class="Wt-x2a"></span></span><div id="ocvtf2p" class="titlebar"><span id="ocvtf2r"> IP configuration</span><br id="ocvtf2q" style="clear:both;" /></div><div id="ocvtf2o" class="body"><table id="ocvtf2s"><col id="ocvtf2w" /><col id="ocvtf2x" /><col id="ocvtf30" /><tbody id="ocvtf2stb"><tr id="ocvtf2t"><td id="ocvtf2u"></td><td id="ocvtf2v"><span id="ocvtf2y" class="label">DHCP:</span></td><td id="ocvtf2z" title="Click here to enable / disable DHCP"><span id="ocvtf31" name="ocvtf31" style="white-space:nowrap;"><input id="inocvtf31" name="inocvtf31" type="checkbox" onclick="var e=event||window.event,o=this;if(o.checked){Wt._p_.update(this,\'s2c\',e,true);}if(!o.checked){Wt._p_.update(this,\'s2d\',e,true);}" disabled="disabled" /><label id="ocvtf32" for="inocvtf31"><span id="ocvtf33" class="Wt-disabled" style="white-space:nowrap;"></span></label></span></td></tr><tr id="ocvtf34"><td id="ocvtf35"></td><td id="ocvtf36"><span id="ocvtf38" class="label">Address:</span></td><td id="ocvtf37" title="Enter the IP address in this field"><input id="ocvtf39" name="ocvtf39" size="14" type="text" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s2e\',e,true);}" value="10.250.6.71" disabled="disabled" /></td></tr><tr id="ocvtf3a"><td id="ocvtf3b"></td><td id="ocvtf3c"><span id="ocvtf3e" class="label">Mask:</span></td><td id="ocvtf3d" title="Enter the subnet mask in this field"><input id="ocvtf3f" name="ocvtf3f" size="14" type="text" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s2f\',e,true);}" value="255.255.0.0" disabled="disabled" /></td></tr><tr id="ocvtf3g"><td id="ocvtf3h"></td><td id="ocvtf3i"><span id="ocvtf3k" class="label">Gateway:</span></td><td id="ocvtf3j" title="Enter the gateway in this field"><input id="ocvtf3l" name="ocvtf3l" size="14" type="text" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s30\',e,true);}" value="10.250.0.1" disabled="disabled" /></td></tr></tbody></table></div></div></td><td id="ocvtf3m" style="padding:10.0px;"><div id="ocvtf3p" class="Wt-panel Wt-outset"><span class="Wt-x1"><span class="Wt-x1a"></span></span><span class="Wt-x2"><span class="Wt-x2a"></span></span><div id="ocvtf3r" class="titlebar"><span id="ocvtf3t"> Admin user configuration</span><br id="ocvtf3s" style="clear:both;" /></div><div id="ocvtf3q" class="body"><table id="ocvtf3u"><col id="ocvtf3y" /><col id="ocvtf3z" /><col id="ocvtf42" /><tbody id="ocvtf3utb"><tr id="ocvtf3v"><td id="ocvtf3w"></td><td id="ocvtf3x"><span id="ocvtf40" class="label">New password:</span></td><td id="ocvtf41" title="Enter a new password"><input id="ocvtf43" name="ocvtf43" size="10" type="password" onchange="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s31\',e,true);}" onkeyup="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onclick="Wt3_1_10.cancelEvent(event||window.event);" value="" disabled="disabled" /></td></tr><tr id="ocvtf44"><td id="ocvtf45"></td><td id="ocvtf46"><span id="ocvtf48" class="label">Retype new password:</span></td><td id="ocvtf47" title="Retype the new password"><input id="ocvtf49" name="ocvtf49" size="10" type="password" onchange="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onkeypress="if (Wt3_1_10.isKeyPress(event)){var e=event||window.event,o=this;Wt._p_.update(o,\'s32\',e,true);}" onkeyup="var e=event||window.event,o=this;{var f=function(o){Wt3_1_10.validate(o)};f(o,e);}" onclick="Wt3_1_10.cancelEvent(event||window.event);" value="" disabled="disabled" /></td></tr></tbody></table></div></div></td></tr></tbody></table></div></div><div id="ocvtf4b" style="text-align:right;"><div id="ocvtf4d" style="position:relative;float:right;zoom: 1;"><table><tbody><tr><td style="position:relative;padding:9px 3px 9px 9px;"><button id="ocvtf4e" title="Save changes" type="button" onclick="Wt3_1_10.cancelEvent(event||window.event);" disabled="disabled" class="Wt-btn" style="width:60.0px;height:25.0px;margin-right:0;margin-left:0;">Save</button></td><td style="position:relative;padding:9px 9px 9px 3px;"><button id="ocvtf4g" title="Cancel and revert changes" type="button" onclick="Wt3_1_10.cancelEvent(event||window.event);" disabled="disabled" class="Wt-btn" style="width:60.0px;height:25.0px;margin-right:0;margin-left:0;">Cancel</button></td></tr></tbody></table></div></div></div></div></div>');
|
|
j137.wtResize=Wt3_1_10.ChildrenResize;
|
|
$('#ocvtf08').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
|
|
Wt3_1_10.unstub(j136,j137,1);
|
|
var j138=$('#ocvtf6a').get(0);
|
|
var j139=document.createElement('<button id="ocvtf6a" type="button" onclick="var e=event||window.event,o=this;Wt._p_.update(o,\'s40\',e,true);" class="Wt-btn" style="width:180.0px;height:25.0px;display:none;">');j138.parentNode.replaceChild(j139,j138);
|
|
Wt3_1_10.setHtml(j139,'Stop test telegrams');
|
|
Wt3_1_10.unstub(j138,j139,1);
|
|
{var obj=$('#ocvteyt').get(0);if (obj && obj.timer) {clearTimeout(obj.timer);obj.timer = null;}Wt3_1_10.remove('ocvteyt');}{var obj=$('#ocvtf7q').get(0);if (obj && obj.timer) {clearTimeout(obj.timer);obj.timer = null;}Wt3_1_10.remove('ocvtf7q');}$('#ocvtexe').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
$('#ocvtexy').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
$('#ocvtffa').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
|
|
|
|
new Wt3_1_10.WTreeView(Wt,$('#ocvteyv').get(0),$('#ocvtezh').get(0),$('#ocvtezg').get(0),0);
|
|
Wt.layouts.add(new Wt3_1_10.StdLayout( Wt3_1_10, 'ocvtezk', { stretch: [0,1], minheight: [0,0]}));
|
|
new Wt3_1_10.WTreeView(Wt,$('#ocvtf5g').get(0),$('#ocvtf62').get(0),$('#ocvtf61').get(0),0);
|
|
$('#ocvtf73').get(0).wtValidate=new Wt3_1_10.WIntValidator(true,1,255,'Field may not be empty','Value must be a number','Value is to small','Value is to big');;
|
|
Wt.layouts.add(new Wt3_1_10.StdLayout( Wt3_1_10, 'ocvtf65', { stretch: [0,1], minheight: [0,0]}));$('#ocvtf7s').get(0).wtResize=Wt3_1_10.ChildrenResize;
|
|
$('#ocvtfdk').get(0).wtResize=Wt3_1_10.ChildrenResize;
|
|
$('#ocvtff4').get(0).wtResize=Wt3_1_10.ChildrenResize;
|
|
$('#ocvtezz').get(0).wtResize=Wt3_1_10.ChildrenResize;
|
|
$('#ocvtezy').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';var c = self.firstChild;var t = self.lastChild;h -= c.offsetHeight;if (h > 0)t.wtResize(t, w, h);};;
|
|
|
|
Wt._p_.addTimerEvent('ocvtf2j', 0,false);
|
|
Wt._p_.addTimerEvent('ocvtfm4', 8927,false);
|
|
Wt._p_.addTimerEvent('ocvtfm6', 8946,false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#ocvtf1j').get(0).wtValidate=new Wt3_1_10.WDateValidator(false,[{regexp:'(\\d{2}):(\\d{2}):(\\d{4})',getMonth:function(results){return parseInt(results[2], 10);;},getDay:function(results){return parseInt(results[1], 10);;},getYear:function(results){return parseInt(results[3], 10);}}],null,null,'This field cannot be empty','Must be a date in the format \'dd:MM:yyyy\'','','');;
|
|
$('#ocvtf24').get(0).wtValidate=new Wt3_1_10.WRegExpValidator(false,'(\\d{1,2}):(\\d{1,2}):(\\d{1,2})','','This field cannot be empty','Invalid input');;
|
|
|
|
|
|
|
|
|
|
$('#ocvtf43').get(0).wtValidate=new Wt3_1_10.WLengthValidator(false,6,20,'This field cannot be empty','Password is too short','The input must have a length between 6 and 20 characters');;
|
|
$('#ocvtf49').get(0).wtValidate=new Wt3_1_10.WLengthValidator(false,6,20,'This field cannot be empty','Password is too short','The input must have a length between 6 and 20 characters');;
|
|
|
|
$('#ocvtf10').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
$('#ocvtf2n').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
$('#ocvtf3p').get(0).wtResize=function(self, w, h) {self.style.height= h + 'px';if (Wt3_1_10.boxSizing(self)) {h -= Wt3_1_10.px(self, 'borderTopWidth') + Wt3_1_10.px(self, 'borderBottomWidth');}var c = self.lastChild;var t = c.previousSibling;if (t.className == 'titlebar')h -= t.offsetHeight;h -= 8;if (h > 0) {c.style.height = h + 'px';$(c).children().each(function() { var self = $(this), padding = self.outerHeight() - self.height();self.height(h - padding);});}};;
|
|
|
|
Wt._p_.setFormObjects(['c_ocvtfjd','c_ocvtfjw','c_ocvtfkf','c_ocvtfky','c_ocvtflh','c_ocvtfm0','ocvtexo','ocvtf6x','ocvtf73']);}Wt._p_.autoJavaScript=function(){{var obj = $('#ocvteyv').data('obj');if (obj) obj.autoJavaScript();}Wt.layouts.adjust();{var obj = $('#ocvtf5g').data('obj');if (obj) obj.autoJavaScript();}{var obj = $('#ocvtfbz').data('obj');if (obj) obj.autoJavaScript();}};showLoadingIndicator = function() {var o=null,e=null;
|
|
Wt3_1_10.show('ocvtex7');
|
|
};
|
|
hideLoadingIndicator = function() {var o=null,e=null;
|
|
Wt3_1_10.hide('ocvtex7');
|
|
};
|
|
Wt._p_.response(7);Wt._p_.setHash('/');
|
|
Wt._p_.update(null, 'load', null, false);};Wt._p_.setServerPush(false);$(document).ready(function() { Wt._p_.load(true);});
|