if(!this.JSON)this.JSON={};
(function(){function c(a){return a<10?"0"+a:a}function a(a){k.lastIndex=0;return k.test(a)?'"'+a.replace(k,function(a){var c=o[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function d(c,j){var i,p,h,k,e=g,o,v=j[c];v&&typeof v==="object"&&typeof v.toJSON==="function"&&(v=v.toJSON(c));typeof q==="function"&&(v=q.call(j,c,v));switch(typeof v){case "string":return a(v);case "number":return isFinite(v)?String(v):"null";case "boolean":case "null":return String(v);
case "object":if(!v)return"null";g+=m;o=[];if(Object.prototype.toString.apply(v)==="[object Array]"){k=v.length;for(i=0;i<k;i+=1)o[i]=d(i,v)||"null";h=o.length===0?"[]":g?"[\n"+g+o.join(",\n"+g)+"\n"+e+"]":"["+o.join(",")+"]";g=e;return h}if(q&&typeof q==="object"){k=q.length;for(i=0;i<k;i+=1)p=q[i],typeof p==="string"&&(h=d(p,v))&&o.push(a(p)+(g?": ":":")+h)}else for(p in v)Object.hasOwnProperty.call(v,p)&&(h=d(p,v))&&o.push(a(p)+(g?": ":":")+h);h=o.length===0?"{}":g?"{\n"+g+o.join(",\n"+g)+"\n"+
e+"}":"{"+o.join(",")+"}";g=e;return h}}if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+c(this.getUTCMonth()+1)+"-"+c(this.getUTCDate())+"T"+c(this.getUTCHours())+":"+c(this.getUTCMinutes())+":"+c(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var h=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
k=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g,m,o={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},q;if(typeof JSON.stringify!=="function")JSON.stringify=function(a,c,i){var h;m=g="";if(typeof i==="number")for(h=0;h<i;h+=1)m+=" ";else typeof i==="string"&&(m=i);if((q=c)&&typeof c!=="function"&&(typeof c!=="object"||typeof c.length!=="number"))throw Error("JSON.stringify");return d("",
{"":a})};if(typeof JSON.parse!=="function")JSON.parse=function(a,c){function d(a,g){var e,l,h=a[g];if(h&&typeof h==="object")for(e in h)Object.hasOwnProperty.call(h,e)&&(l=d(h,e),l!==void 0?h[e]=l:delete h[e]);return c.call(a,g,h)}var g,a=String(a);h.lastIndex=0;h.test(a)&&(a=a.replace(h,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return g=eval("("+a+")"),typeof c==="function"?d({"":g},""):g;throw new SyntaxError("JSON.parse");}})();
(function(c,a){function d(){if(!e.isReady){try{r.documentElement.doScroll("left")}catch(b){setTimeout(d,1);return}e.ready()}}function h(b,f){f.src?e.ajax({url:f.src,async:!1,dataType:"script"}):e.globalEval(f.text||f.textContent||f.innerHTML||"");f.parentNode&&f.parentNode.removeChild(f)}function k(b,f,s,D,n,c){var d=b.length;if(typeof f==="object"){for(var j in f)k(b,j,f[j],D,n,s);return b}if(s!==a){D=!c&&D&&e.isFunction(s);for(j=0;j<d;j++)n(b[j],f,D?s.call(b[j],j,n(b[j],f)):s,c);return b}return d?
n(b[0],f):a}function g(){return(new Date).getTime()}function m(){return!1}function o(){return!0}function q(b,f,s){s[0].type=b;return e.event.handle.apply(f,s)}function l(b){var f,s=[],a=[],n=arguments,c,d,j,g,i,l;d=e.data(this,"events");if(!(b.liveFired===this||!d||!d.live||b.button&&b.type==="click")){b.liveFired=this;var h=d.live.slice(0);for(g=0;g<h.length;g++)d=h[g],d.origType.replace(B,"")===b.type?a.push(d.selector):h.splice(g--,1);c=e(b.target).closest(a,b.currentTarget);for(i=0,l=c.length;i<
l;i++)for(g=0;g<h.length;g++)if(d=h[g],c[i].selector===d.selector){j=c[i].elem;a=null;if(d.preType==="mouseenter"||d.preType==="mouseleave")a=e(b.relatedTarget).closest(d.selector)[0];(!a||a!==j)&&s.push({elem:j,handleObj:d})}for(i=0,l=s.length;i<l;i++)if(c=s[i],b.currentTarget=c.elem,b.data=c.handleObj.data,b.handleObj=c.handleObj,c.handleObj.origHandler.apply(c.elem,n)===!1){f=!1;break}return f}}function j(b,f){return"live."+(b&&b!=="*"?b+".":"")+f.replace(/\./g,"`").replace(/ /g,"&")}function i(b,
f){var s=0;f.each(function(){if(this.nodeName===(b[s]&&b[s].nodeName)){var f=e.data(b[s++]),a=e.data(this,f);if(f=f&&f.events){delete a.handle;a.events={};for(var c in f)for(var d in f[c])e.event.add(this,c,f[c][d],f[c][d].data)}}})}function p(b,f,s){var a,c,d,f=f&&f[0]?f[0].ownerDocument||f[0]:r;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&f===r&&!X.test(b[0])&&(e.support.checkClone||!Y.test(b[0])))c=!0,(d=e.fragments[b[0]])&&d!==1&&(a=d);a||(a=f.createDocumentFragment(),e.clean(b,f,
a,s));c&&(e.fragments[b[0]]=d?a:1);return{fragment:a,cacheable:c}}function t(b,f){var a={};e.each(Z.concat.apply([],Z.slice(0,f)),function(){a[this]=b});return a}function w(b){return"scrollTo"in b&&b.document?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}var e=function(b,f){return new e.fn.init(b,f)},y=c.jQuery,v=c.$,r=c.document,A,sa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,ta=/^.[^:#\[\.,]*$/,ua=/\S/,va=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,wa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,G=navigator.userAgent,$=!1,H=
[],C,L=Object.prototype.toString,M=Object.prototype.hasOwnProperty,N=Array.prototype.push,I=Array.prototype.slice,aa=Array.prototype.indexOf;e.fn=e.prototype={init:function(b,f){var s,c,n;if(!b)return this;if(b.nodeType)return this.context=this[0]=b,this.length=1,this;if(b==="body"&&!f)return this.context=r,this[0]=r.body,this.selector="body",this.length=1,this;if(typeof b==="string")if((s=sa.exec(b))&&(s[1]||!f))if(s[1])return n=f?f.ownerDocument||f:r,(c=wa.exec(b))?e.isPlainObject(f)?(b=[r.createElement(c[1])],
e.fn.attr.call(b,f,!0)):b=[n.createElement(c[1])]:(c=p([s[1]],[n]),b=(c.cacheable?c.fragment.cloneNode(!0):c.fragment).childNodes),e.merge(this,b);else{if(c=r.getElementById(s[2])){if(c.id!==s[2])return A.find(b);this.length=1;this[0]=c}this.context=r;this.selector=b;return this}else return!f&&/^\w+$/.test(b)?(this.selector=b,this.context=r,b=r.getElementsByTagName(b),e.merge(this,b)):!f||f.jquery?(f||A).find(b):e(f).find(b);else if(e.isFunction(b))return A.ready(b);if(b.selector!==a)this.selector=
b.selector,this.context=b.context;return e.makeArray(b,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return I.call(this,0)},get:function(b){return b==null?this.toArray():b<0?this.slice(b)[0]:this[b]},pushStack:function(b,f,a){var c=e();e.isArray(b)?N.apply(c,b):e.merge(c,b);c.prevObject=this;c.context=this.context;if(f==="find")c.selector=this.selector+(this.selector?" ":"")+a;else if(f)c.selector=this.selector+"."+f+"("+a+")";return c},each:function(b,
f){return e.each(this,b,f)},ready:function(b){e.bindReady();e.isReady?b.call(r,e):H&&H.push(b);return this},eq:function(b){return b===-1?this.slice(b):this.slice(b,+b+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice",I.call(arguments).join(","))},map:function(b){return this.pushStack(e.map(this,function(f,e){return b.call(f,e,f)}))},end:function(){return this.prevObject||e(null)},push:N,sort:[].sort,splice:[].splice};
e.fn.init.prototype=e.fn;e.extend=e.fn.extend=function(){var b=arguments[0]||{},f=1,s=arguments.length,c=!1,n,d,j,g;typeof b==="boolean"&&(c=b,b=arguments[1]||{},f=2);typeof b!=="object"&&!e.isFunction(b)&&(b={});s===f&&(b=this,--f);for(;f<s;f++)if((n=arguments[f])!=null)for(d in n)j=b[d],g=n[d],b!==g&&(c&&g&&(e.isPlainObject(g)||e.isArray(g))?(j=j&&(e.isPlainObject(j)||e.isArray(j))?j:e.isArray(g)?[]:{},b[d]=e.extend(c,j,g)):g!==a&&(b[d]=g));return b};e.extend({noConflict:function(b){c.$=v;if(b)c.jQuery=
y;return e},isReady:!1,ready:function(){if(!e.isReady){if(!r.body)return setTimeout(e.ready,13);e.isReady=!0;if(H){for(var b,f=0;b=H[f++];)b.call(r,e);H=null}e.fn.triggerHandler&&e(r).triggerHandler("ready")}},bindReady:function(){if(!$){$=!0;if(r.readyState==="complete")return e.ready();if(r.addEventListener)r.addEventListener("DOMContentLoaded",C,!1),c.addEventListener("load",e.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",C);c.attachEvent("onload",e.ready);var b=!1;try{b=
c.frameElement==null}catch(f){}r.documentElement.doScroll&&b&&d()}}},isFunction:function(b){return L.call(b)==="[object Function]"},isArray:function(b){return L.call(b)==="[object Array]"},isPlainObject:function(b){if(!b||L.call(b)!=="[object Object]"||b.nodeType||b.setInterval)return!1;if(b.constructor&&!M.call(b,"constructor")&&!M.call(b.constructor.prototype,"isPrototypeOf"))return!1;for(var f in b);return f===a||M.call(b,f)},isEmptyObject:function(b){for(var f in b)return!1;return!0},error:function(b){throw b;
},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=e.trim(b);if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return c.JSON&&c.JSON.parse?c.JSON.parse(b):(new Function("return "+b))();else e.error("Invalid JSON: "+b)},noop:function(){},globalEval:function(b){if(b&&ua.test(b)){var f=r.getElementsByTagName("head")[0]||r.documentElement,a=r.createElement("script");
a.type="text/javascript";e.support.scriptEval?a.appendChild(r.createTextNode(b)):a.text=b;f.insertBefore(a,f.firstChild);f.removeChild(a)}},nodeName:function(b,f){return b.nodeName&&b.nodeName.toUpperCase()===f.toUpperCase()},each:function(b,f,s){var c,n=0,d=b.length,j=d===a||e.isFunction(b);if(s)if(j)for(c in b){if(f.apply(b[c],s)===!1)break}else for(;n<d;){if(f.apply(b[n++],s)===!1)break}else if(j)for(c in b){if(f.call(b[c],c,b[c])===!1)break}else for(s=b[0];n<d&&f.call(s,n,s)!==!1;s=b[++n]);return b},
trim:function(b){return(b||"").replace(va,"")},makeArray:function(b,f){var a=f||[];b!=null&&(b.length==null||typeof b==="string"||e.isFunction(b)||typeof b!=="function"&&b.setInterval?N.call(a,b):e.merge(a,b));return a},inArray:function(b,f){if(f.indexOf)return f.indexOf(b);for(var e=0,a=f.length;e<a;e++)if(f[e]===b)return e;return-1},merge:function(b,f){var e=b.length,c=0;if(typeof f.length==="number")for(var n=f.length;c<n;c++)b[e++]=f[c];else for(;f[c]!==a;)b[e++]=f[c++];b.length=e;return b},grep:function(b,
f,e){for(var a=[],c=0,d=b.length;c<d;c++)!e!==!f(b[c],c)&&a.push(b[c]);return a},map:function(b,f,e){for(var a=[],c,d=0,j=b.length;d<j;d++)c=f(b[d],d,e),c!=null&&(a[a.length]=c);return a.concat.apply([],a)},guid:1,proxy:function(b,f,s){arguments.length===2&&(typeof f==="string"?(s=b,b=s[f],f=a):f&&!e.isFunction(f)&&(s=f,f=a));!f&&b&&(f=function(){return b.apply(s||this,arguments)});if(b)f.guid=b.guid=b.guid||f.guid||e.guid++;return f},uaMatch:function(b){b=b.toLowerCase();b=/(webkit)[ \/]([\w.]+)/.exec(b)||
/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||!/compatible/.test(b)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(b)||[];return{browser:b[1]||"",version:b[2]||"0"}},browser:{}});G=e.uaMatch(G);if(G.browser)e.browser[G.browser]=!0,e.browser.version=G.version;if(e.browser.webkit)e.browser.safari=!0;if(aa)e.inArray=function(b,f){return aa.call(f,b)};A=e(r);r.addEventListener?C=function(){r.removeEventListener("DOMContentLoaded",C,!1);e.ready()}:r.attachEvent&&(C=function(){r.readyState===
"complete"&&(r.detachEvent("onreadystatechange",C),e.ready())});(function(){e.support={};var b=r.documentElement,f=r.createElement("script"),a=r.createElement("div"),d="script"+g();a.style.display="none";a.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var n=a.getElementsByTagName("*"),j=a.getElementsByTagName("a")[0];if(n&&n.length&&j){e.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,
htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:a.getElementsByTagName("input")[0].value==="on",optSelected:r.createElement("select").appendChild(r.createElement("option")).selected,parentNode:a.removeChild(a.appendChild(r.createElement("div"))).parentNode===null,deleteExpando:!0,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null};
f.type="text/javascript";try{f.appendChild(r.createTextNode("window."+d+"=1;"))}catch(i){}b.insertBefore(f,b.firstChild);if(c[d])e.support.scriptEval=!0,delete c[d];try{delete f.test}catch(l){e.support.deleteExpando=!1}b.removeChild(f);a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function ra(){e.support.noCloneEvent=!1;a.detachEvent("onclick",ra)}),a.cloneNode(!0).fireEvent("onclick"));a=r.createElement("div");a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=r.createDocumentFragment();
b.appendChild(a.firstChild);e.support.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;e(function(){var b=r.createElement("div");b.style.width=b.style.paddingLeft="1px";r.body.appendChild(b);e.boxModel=e.support.boxModel=b.offsetWidth===2;r.body.removeChild(b).style.display="none"});b=function(b){var f=r.createElement("div"),b="on"+b,e=b in f;e||(f.setAttribute(b,"return;"),e=typeof f[b]==="function");return e};e.support.submitBubbles=b("submit");e.support.changeBubbles=b("change");b=f=
a=n=j=null}})();e.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var z="jQuery"+g(),xa=0,ba={};e.extend({cache:{},expando:z,noData:{embed:!0,object:!0,applet:!0},data:function(b,f,s){if(!b.nodeName||!e.noData[b.nodeName.toLowerCase()]){var b=b==c?ba:b,d=b[z],n=e.cache;if(!d&&typeof f==="string"&&s===a)return null;d||(d=++xa);typeof f===
"object"?(b[z]=d,n[d]=e.extend(!0,{},f)):n[d]||(b[z]=d,n[d]={});b=n[d];s!==a&&(b[f]=s);return typeof f==="string"?b[f]:b}},removeData:function(b,f){if(!b.nodeName||!e.noData[b.nodeName.toLowerCase()]){var b=b==c?ba:b,a=b[z],d=e.cache,n=d[a];f?n&&(delete n[f],e.isEmptyObject(n)&&e.removeData(b)):(e.support.deleteExpando?delete b[e.expando]:b.removeAttribute&&b.removeAttribute(e.expando),delete d[a])}}});e.fn.extend({data:function(b,f){if(typeof b==="undefined"&&this.length)return e.data(this[0]);else if(typeof b===
"object")return this.each(function(){e.data(this,b)});var c=b.split(".");c[1]=c[1]?"."+c[1]:"";if(f===a){var d=this.triggerHandler("getData"+c[1]+"!",[c[0]]);d===a&&this.length&&(d=e.data(this[0],b));return d===a&&c[1]?this.data(c[0]):d}else return this.trigger("setData"+c[1]+"!",[c[0],f]).each(function(){e.data(this,b,f)})},removeData:function(b){return this.each(function(){e.removeData(this,b)})}});e.extend({queue:function(b,f,a){if(b){var f=(f||"fx")+"queue",c=e.data(b,f);if(!a)return c||[];!c||
e.isArray(a)?c=e.data(b,f,e.makeArray(a)):c.push(a);return c}},dequeue:function(b,f){var f=f||"fx",a=e.queue(b,f),c=a.shift();c==="inprogress"&&(c=a.shift());c&&(f==="fx"&&a.unshift("inprogress"),c.call(b,function(){e.dequeue(b,f)}))}});e.fn.extend({queue:function(b,f){typeof b!=="string"&&(f=b,b="fx");return f===a?e.queue(this[0],b):this.each(function(){var a=e.queue(this,b,f);b==="fx"&&a[0]!=="inprogress"&&e.dequeue(this,b)})},dequeue:function(b){return this.each(function(){e.dequeue(this,b)})},
delay:function(b,f){b=e.fx?e.fx.speeds[b]||b:b;f=f||"fx";return this.queue(f,function(){var a=this;setTimeout(function(){e.dequeue(a,f)},b)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var ca=/[\n\t]/g,O=/\s+/,ya=/\r/g,za=/href|src|style/,Aa=/(button|input)/i,Ba=/(button|input|object|select|textarea)/i,Ca=/^(a|area)$/i,da=/radio|checkbox/;e.fn.extend({attr:function(b,f){return k(this,b,f,!0,e.attr)},removeAttr:function(b){return this.each(function(){e.attr(this,b,"");this.nodeType===
1&&this.removeAttribute(b)})},addClass:function(b){if(e.isFunction(b))return this.each(function(f){var a=e(this);a.addClass(b.call(this,f,a.attr("class")))});if(b&&typeof b==="string")for(var f=(b||"").split(O),a=0,c=this.length;a<c;a++){var d=this[a];if(d.nodeType===1)if(d.className){for(var j=" "+d.className+" ",g=d.className,i=0,l=f.length;i<l;i++)j.indexOf(" "+f[i]+" ")<0&&(g+=" "+f[i]);d.className=e.trim(g)}else d.className=b}return this},removeClass:function(b){if(e.isFunction(b))return this.each(function(f){var a=
e(this);a.removeClass(b.call(this,f,a.attr("class")))});if(b&&typeof b==="string"||b===a)for(var f=(b||"").split(O),c=0,d=this.length;c<d;c++){var n=this[c];if(n.nodeType===1&&n.className)if(b){for(var j=(" "+n.className+" ").replace(ca," "),g=0,i=f.length;g<i;g++)j=j.replace(" "+f[g]+" "," ");n.className=e.trim(j)}else n.className=""}return this},toggleClass:function(b,f){var a=typeof b,c=typeof f==="boolean";return e.isFunction(b)?this.each(function(a){var c=e(this);c.toggleClass(b.call(this,a,
c.attr("class"),f),f)}):this.each(function(){if(a==="string")for(var d,j=0,g=e(this),i=f,l=b.split(O);d=l[j++];)i=c?i:!g.hasClass(d),g[i?"addClass":"removeClass"](d);else if(a==="undefined"||a==="boolean")this.className&&e.data(this,"__className__",this.className),this.className=this.className||b===!1?"":e.data(this,"__className__")||""})},hasClass:function(b){for(var b=" "+b+" ",f=0,e=this.length;f<e;f++)if((" "+this[f].className+" ").replace(ca," ").indexOf(b)>-1)return!0;return!1},val:function(b){if(b===
a){var f=this[0];if(f){if(e.nodeName(f,"option"))return(f.attributes.value||{}).specified?f.value:f.text;if(e.nodeName(f,"select")){var c=f.selectedIndex,d=[],n=f.options,f=f.type==="select-one";if(c<0)return null;for(var j=f?c:0,c=f?c+1:n.length;j<c;j++){var g=n[j];if(g.selected){b=e(g).val();if(f)return b;d.push(b)}}return d}return da.test(f.type)&&!e.support.checkOn?f.getAttribute("value")===null?"on":f.value:(f.value||"").replace(ya,"")}return a}var i=e.isFunction(b);return this.each(function(f){var a=
e(this),c=b;if(this.nodeType===1)if(i&&(c=b.call(this,f,a.val())),typeof c==="number"&&(c+=""),e.isArray(c)&&da.test(this.type))this.checked=e.inArray(a.val(),c)>=0;else if(e.nodeName(this,"select")){var d=e.makeArray(c);e("option",this).each(function(){this.selected=e.inArray(e(this).val(),d)>=0});if(!d.length)this.selectedIndex=-1}else this.value=c})}});e.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(b,f,c,d){if(!b||b.nodeType===3||b.nodeType===
8)return a;if(d&&f in e.attrFn)return e(b)[f](c);var d=b.nodeType!==1||!e.isXMLDoc(b),n=c!==a,f=d&&e.props[f]||f;if(b.nodeType===1){var j=za.test(f);if(f in b&&d&&!j){n&&(f==="type"&&Aa.test(b.nodeName)&&b.parentNode&&e.error("type property can't be changed"),b[f]=c);if(e.nodeName(b,"form")&&b.getAttributeNode(f))return b.getAttributeNode(f).nodeValue;return f==="tabIndex"?(f=b.getAttributeNode("tabIndex"))&&f.specified?f.value:Ba.test(b.nodeName)||Ca.test(b.nodeName)&&b.href?0:a:b[f]}if(!e.support.style&&
d&&f==="style"){if(n)b.style.cssText=""+c;return b.style.cssText}n&&b.setAttribute(f,""+c);b=!e.support.hrefNormalized&&d&&j?b.getAttribute(f,2):b.getAttribute(f);return b===null?a:b}return e.style(b,f,c)}});var B=/\.(.*)$/,Da=function(b){return b.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};e.event={add:function(b,f,d,j){if(!(b.nodeType===3||b.nodeType===8)){b.setInterval&&b!==c&&!b.frameElement&&(b=c);var n,g;if(d.handler)n=d,d=n.handler;if(!d.guid)d.guid=e.guid++;if(g=e.data(b)){var i=g.events=
g.events||{},l=g.handle;if(!l)g.handle=l=function(){return typeof e!=="undefined"&&!e.event.triggered?e.event.handle.apply(l.elem,arguments):a};l.elem=b;for(var f=f.split(" "),h,p=0,k;h=f[p++];){g=n?e.extend({},n):{handler:d,data:j};h.indexOf(".")>-1?(k=h.split("."),h=k.shift(),g.namespace=k.slice(0).sort().join(".")):(k=[],g.namespace="");g.type=h;g.guid=d.guid;var m=i[h],t=e.event.special[h]||{};if(!m&&(m=i[h]=[],!t.setup||t.setup.call(b,j,k,l)===!1))b.addEventListener?b.addEventListener(h,l,!1):
b.attachEvent&&b.attachEvent("on"+h,l);if(t.add&&(t.add.call(b,g),!g.handler.guid))g.handler.guid=d.guid;m.push(g);e.event.global[h]=!0}b=null}}},global:{},remove:function(b,f,a,c){if(!(b.nodeType===3||b.nodeType===8)){var d,j=0,g,i,l,h,p,k,m=e.data(b),t=m&&m.events;if(m&&t){if(f&&f.type)a=f.handler,f=f.type;if(!f||typeof f==="string"&&f.charAt(0)===".")for(d in f=f||"",t)e.event.remove(b,d+f);else{for(f=f.split(" ");d=f[j++];)if(h=d,g=d.indexOf(".")<0,i=[],g||(i=d.split("."),d=i.shift(),l=RegExp("(^|\\.)"+
e.map(i.slice(0).sort(),Da).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[d])if(a){h=e.event.special[d]||{};for(o=c||0;o<p.length;o++)if(k=p[o],a.guid===k.guid){if(g||l.test(k.namespace))c==null&&p.splice(o--,1),h.remove&&h.remove.call(b,k);if(c!=null)break}if(p.length===0||c!=null&&p.length===1)(!h.teardown||h.teardown.call(b,i)===!1)&&ea(b,d,m.handle),delete t[d]}else for(var o=0;o<p.length;o++)if(k=p[o],g||l.test(k.namespace))e.event.remove(b,h,k.handler,o),p.splice(o--,1);if(e.isEmptyObject(t)){if(f=
m.handle)f.elem=null;delete m.events;delete m.handle;e.isEmptyObject(m)&&e.removeData(b)}}}}},trigger:function(b,f,c,d){var n=b.type||b;if(!d){b=typeof b==="object"?b[z]?b:e.extend(e.Event(n),b):e.Event(n);if(n.indexOf("!")>=0)b.type=n=n.slice(0,-1),b.exclusive=!0;c||(b.stopPropagation(),e.event.global[n]&&e.each(e.cache,function(){this.events&&this.events[n]&&e.event.trigger(b,f,this.handle.elem)}));if(!c||c.nodeType===3||c.nodeType===8)return a;b.result=a;b.target=c;f=e.makeArray(f);f.unshift(b)}b.currentTarget=
c;(d=e.data(c,"handle"))&&d.apply(c,f);d=c.parentNode||c.ownerDocument;try{if((!c||!c.nodeName||!e.noData[c.nodeName.toLowerCase()])&&c["on"+n]&&c["on"+n].apply(c,f)===!1)b.result=!1}catch(j){}if(!b.isPropagationStopped()&&d)e.event.trigger(b,f,d,!0);else if(!b.isDefaultPrevented()){var d=b.target,g,i=e.nodeName(d,"a")&&n==="click",l=e.event.special[n]||{};if((!l._default||l._default.call(c,b)===!1)&&!i&&(!d||!d.nodeName||!e.noData[d.nodeName.toLowerCase()])){try{if(d[n])(g=d["on"+n])&&(d["on"+n]=
null),e.event.triggered=!0,d[n]()}catch(h){}g&&(d["on"+n]=g);e.event.triggered=!1}}},handle:function(b){var f,d,j,n,b=arguments[0]=e.event.fix(b||c.event);b.currentTarget=this;f=b.type.indexOf(".")<0&&!b.exclusive;if(!f)d=b.type.split("."),b.type=d.shift(),j=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");n=e.data(this,"events");d=n[b.type];if(n&&d){d=d.slice(0);n=0;for(var g=d.length;n<g;n++){var i=d[n];if(f||j.test(i.namespace)){b.handler=i.handler;b.data=i.data;b.handleObj=
i;i=i.handler.apply(this,arguments);if(i!==a)b.result=i,i===!1&&(b.preventDefault(),b.stopPropagation());if(b.isImmediatePropagationStopped())break}}}return b.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(b){if(b[z])return b;for(var f=b,b=e.Event(f),c=this.props.length,d;c;)d=this.props[--c],b[d]=f[d];if(!b.target)b.target=b.srcElement||r;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null)f=r.documentElement,c=r.body,b.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),b.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||
0)-(f&&f.clientTop||c&&c.clientTop||0);if(!b.which&&(b.charCode||b.charCode===0?b.charCode:b.keyCode))b.which=b.charCode||b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button!==a)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},guid:1E8,proxy:e.proxy,special:{ready:{setup:e.bindReady,teardown:e.noop},live:{add:function(b){e.event.add(this,b.origType,e.extend({},b,{handler:l}))},remove:function(b){var f=!0,a=b.origType.replace(B,"");e.each(e.data(this,"events").live||
[],function(){if(a===this.origType.replace(B,""))return f=!1});f&&e.event.remove(this,b.origType,l)}},beforeunload:{setup:function(b,f,e){if(this.setInterval)this.onbeforeunload=e;return!1},teardown:function(b,f){if(this.onbeforeunload===f)this.onbeforeunload=null}}}};var ea=r.removeEventListener?function(b,f,e){b.removeEventListener(f,e,!1)}:function(b,f,e){b.detachEvent("on"+f,e)};e.Event=function(b){if(!this.preventDefault)return new e.Event(b);b&&b.type?(this.originalEvent=b,this.type=b.type):
this.type=b;this.timeStamp=g();this[z]=!0};e.Event.prototype={preventDefault:function(){this.isDefaultPrevented=o;var b=this.originalEvent;if(b)b.preventDefault&&b.preventDefault(),b.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=o;var b=this.originalEvent;if(b)b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o;this.stopPropagation()},isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m};
var fa=function(b){var f=b.relatedTarget;try{for(;f&&f!==this;)f=f.parentNode;if(f!==this)b.type=b.data,e.event.handle.apply(this,arguments)}catch(a){}},ga=function(b){b.type=b.data;e.event.handle.apply(this,arguments)};e.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,f){e.event.special[b]={setup:function(a){e.event.add(this,f,a&&a.selector?ga:fa,b)},teardown:function(b){e.event.remove(this,f,b&&b.selector?ga:fa)}}});if(!e.support.submitBubbles)e.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form")e.event.add(this,"click.specialSubmit",function(b){var f=b.target,a=f.type;if((a==="submit"||a==="image")&&e(f).closest("form").length)return q("submit",this,arguments)}),e.event.add(this,"keypress.specialSubmit",function(b){var f=b.target,a=f.type;if((a==="text"||a==="password")&&e(f).closest("form").length&&b.keyCode===13)return q("submit",this,arguments)});else return!1},teardown:function(){e.event.remove(this,".specialSubmit")}};if(!e.support.changeBubbles){var P=/textarea|input|select/i,
Q,ha=function(b){var f=b.type,a=b.value;if(f==="radio"||f==="checkbox")a=b.checked;else if(f==="select-multiple")a=b.selectedIndex>-1?e.map(b.options,function(b){return b.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")a=b.selectedIndex;return a},R=function(b,f){var c=b.target,d,n;if(P.test(c.nodeName)&&!c.readOnly&&(d=e.data(c,"_change_data"),n=ha(c),(b.type!=="focusout"||c.type!=="radio")&&e.data(c,"_change_data",n),!(d===a||n===d)))if(d!=null||n)return b.type="change",e.event.trigger(b,
f,c)};e.event.special.change={filters:{focusout:R,click:function(b){var f=b.target,e=f.type;if(e==="radio"||e==="checkbox"||f.nodeName.toLowerCase()==="select")return R.call(this,b)},keydown:function(b){var f=b.target,e=f.type;if(b.keyCode===13&&f.nodeName.toLowerCase()!=="textarea"||b.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")return R.call(this,b)},beforeactivate:function(b){b=b.target;e.data(b,"_change_data",ha(b))}},setup:function(){if(this.type==="file")return!1;for(var b in Q)e.event.add(this,
b+".specialChange",Q[b]);return P.test(this.nodeName)},teardown:function(){e.event.remove(this,".specialChange");return P.test(this.nodeName)}};Q=e.event.special.change.filters}r.addEventListener&&e.each({focus:"focusin",blur:"focusout"},function(b,f){function a(b){b=e.event.fix(b);b.type=f;return e.event.handle.call(this,b)}e.event.special[f]={setup:function(){this.addEventListener(b,a,!0)},teardown:function(){this.removeEventListener(b,a,!0)}}});e.each(["bind","one"],function(b,f){e.fn[f]=function(b,
c,d){if(typeof b==="object"){for(var j in b)this[f](j,c,b[j],d);return this}e.isFunction(c)&&(d=c,c=a);var g=f==="one"?e.proxy(d,function(b){e(this).unbind(b,g);return d.apply(this,arguments)}):d;if(b==="unload"&&f!=="one")this.one(b,c,d);else{j=0;for(var i=this.length;j<i;j++)e.event.add(this[j],b,g,c)}return this}});e.fn.extend({unbind:function(b,f){if(typeof b==="object"&&!b.preventDefault)for(var a in b)this.unbind(a,b[a]);else{a=0;for(var c=this.length;a<c;a++)e.event.remove(this[a],b,f)}return this},
delegate:function(b,f,e,a){return this.live(f,e,a,b)},undelegate:function(b,f,e){return arguments.length===0?this.unbind("live"):this.die(f,null,e,b)},trigger:function(b,f){return this.each(function(){e.event.trigger(b,f,this)})},triggerHandler:function(b,f){if(this[0]){var a=e.Event(b);a.preventDefault();a.stopPropagation();e.event.trigger(a,f,this[0]);return a.result}},toggle:function(b){for(var f=arguments,a=1;a<f.length;)e.proxy(b,f[a++]);return this.click(e.proxy(b,function(c){var d=(e.data(this,
"lastToggle"+b.guid)||0)%a;e.data(this,"lastToggle"+b.guid,d+1);c.preventDefault();return f[d].apply(this,arguments)||!1}))},hover:function(b,f){return this.mouseenter(b).mouseleave(f||b)}});var ia={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};e.each(["live","die"],function(b,f){e.fn[f]=function(b,c,d,g){var i,l=0,h,p,k=g||this.selector,m=g?this:e(this.context);e.isFunction(c)&&(d=c,c=a);for(b=(b||"").split(" ");(i=b[l++])!=null;)g=B.exec(i),h="",g&&(h=g[0],i=i.replace(B,
"")),i==="hover"?b.push("mouseenter"+h,"mouseleave"+h):(p=i,i==="focus"||i==="blur"?(b.push(ia[i]+h),i+=h):i=(ia[i]||i)+h,f==="live"?m.each(function(){e.event.add(this,j(i,k),{data:c,selector:k,handler:d,origType:i,origHandler:d,preType:p})}):m.unbind(j(i,k),d));return this}});e.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(b,f){e.fn[f]=
function(b){return b?this.bind(f,b):this.trigger(f)};e.attrFn&&(e.attrFn[f]=!0)});c.attachEvent&&!c.addEventListener&&c.attachEvent("onunload",function(){for(var b in e.cache)if(e.cache[b].handle)try{e.event.remove(e.cache[b].handle.elem)}catch(f){}});(function(){function b(f){for(var a="",e,c=0;f[c];c++)e=f[c],e.nodeType===3||e.nodeType===4?a+=e.nodeValue:e.nodeType!==8&&(a+=b(e.childNodes));return a}function f(b,f,e,a,c,d){for(var c=0,j=a.length;c<j;c++){var n=a[c];if(n){for(var n=n[b],g=!1;n;){if(n.sizcache===
e){g=a[n.sizset];break}if(n.nodeType===1&&!d)n.sizcache=e,n.sizset=c;if(n.nodeName.toLowerCase()===f){g=n;break}n=n[b]}a[c]=g}}}function c(b,f,e,a,d,j){for(var d=0,n=a.length;d<n;d++){var g=a[d];if(g){for(var g=g[b],i=!1;g;){if(g.sizcache===e){i=a[g.sizset];break}if(g.nodeType===1){if(!j)g.sizcache=e,g.sizset=d;if(typeof f!=="string"){if(g===f){i=!0;break}}else if(h.filter(f,[g]).length>0){i=g;break}}g=g[b]}a[d]=i}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
j=0,g=Object.prototype.toString,i=!1,l=!0;[0,0].sort(function(){l=!1;return 0});var h=function(b,f,a,e){var a=a||[],c=f=f||r;if(f.nodeType!==1&&f.nodeType!==9)return[];if(!b||typeof b!=="string")return a;for(var j=[],n,i,s,l,m=!0,o=u(f),q=b;(d.exec(""),n=d.exec(q))!==null;)if(q=n[3],j.push(n[1]),n[2]){l=n[3];break}if(j.length>1&&k.exec(b))if(j.length===2&&p.relative[j[0]])i=v(j[0]+j[1],f);else for(i=p.relative[j[0]]?[f]:h(j.shift(),f);j.length;)b=j.shift(),p.relative[b]&&(b+=j.shift()),i=v(b,i);else if(!e&&
j.length>1&&f.nodeType===9&&!o&&p.match.ID.test(j[0])&&!p.match.ID.test(j[j.length-1])&&(n=h.find(j.shift(),f,o),f=n.expr?h.filter(n.expr,n.set)[0]:n.set[0]),f){n=e?{expr:j.pop(),set:t(e)}:h.find(j.pop(),j.length===1&&(j[0]==="~"||j[0]==="+")&&f.parentNode?f.parentNode:f,o);i=n.expr?h.filter(n.expr,n.set):n.set;for(j.length>0?s=t(i):m=!1;j.length;){var F=j.pop();n=F;p.relative[F]?n=j.pop():F="";n==null&&(n=f);p.relative[F](s,n,o)}}else s=[];s||(s=i);s||h.error(F||b);if(g.call(s)==="[object Array]")if(m)if(f&&
f.nodeType===1)for(b=0;s[b]!=null;b++)s[b]&&(s[b]===!0||s[b].nodeType===1&&w(f,s[b]))&&a.push(i[b]);else for(b=0;s[b]!=null;b++)s[b]&&s[b].nodeType===1&&a.push(i[b]);else a.push.apply(a,s);else t(s,a);l&&(h(l,c,a,e),h.uniqueSort(a));return a};h.uniqueSort=function(b){if(q&&(i=l,b.sort(q),i))for(var f=1;f<b.length;f++)b[f]===b[f-1]&&b.splice(f--,1);return b};h.matches=function(b,f){return h(b,null,null,f)};h.find=function(b,f,a){var e,c;if(!b)return[];for(var d=0,j=p.order.length;d<j;d++){var n=p.order[d];
if(c=p.leftMatch[n].exec(b)){var g=c[1];c.splice(1,1);if(g.substr(g.length-1)!=="\\"&&(c[1]=(c[1]||"").replace(/\\/g,""),e=p.find[n](c,f,a),e!=null)){b=b.replace(p.match[n],"");break}}}e||(e=f.getElementsByTagName("*"));return{set:e,expr:b}};h.filter=function(b,f,e,c){for(var d=b,j=[],n=f,g,i,s=f&&f[0]&&u(f[0]);b&&f.length;){for(var l in p.filter)if((g=p.leftMatch[l].exec(b))!=null&&g[2]){var D=p.filter[l],k,m;m=g[1];i=!1;g.splice(1,1);if(m.substr(m.length-1)!=="\\"){n===j&&(j=[]);if(p.preFilter[l])if(g=
p.preFilter[l](g,n,e,j,c,s)){if(g===!0)continue}else i=k=!0;if(g)for(var t=0;(m=n[t])!=null;t++)if(m){k=D(m,g,t,n);var o=c^!!k;e&&k!=null?o?i=!0:n[t]=!1:o&&(j.push(m),i=!0)}if(k!==a){e||(n=j);b=b.replace(p.match[l],"");if(!i)return[];break}}}if(b===d)if(i==null)h.error(b);else break;d=b}return n};h.error=function(b){throw"Syntax error, unrecognized expression: "+b;};var p=h.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(b){return b.getAttribute("href")}},relative:{"+":function(b,f){var a=typeof f==="string",
e=a&&!/\W/.test(f),a=a&&!e;e&&(f=f.toLowerCase());for(var e=0,c=b.length,d;e<c;e++)if(d=b[e]){for(;(d=d.previousSibling)&&d.nodeType!==1;);b[e]=a||d&&d.nodeName.toLowerCase()===f?d||!1:d===f}a&&h.filter(f,b,!0)},">":function(b,f){var e=typeof f==="string";if(e&&!/\W/.test(f))for(var f=f.toLowerCase(),a=0,c=b.length;a<c;a++){var d=b[a];if(d)e=d.parentNode,b[a]=e.nodeName.toLowerCase()===f?e:!1}else{a=0;for(c=b.length;a<c;a++)(d=b[a])&&(b[a]=e?d.parentNode:d.parentNode===f);e&&h.filter(f,b,!0)}},"":function(b,
a,e){var d=j++,g=c;if(typeof a==="string"&&!/\W/.test(a))var i=a=a.toLowerCase(),g=f;g("parentNode",a,d,b,i,e)},"~":function(b,a,e){var d=j++,g=c;if(typeof a==="string"&&!/\W/.test(a))var i=a=a.toLowerCase(),g=f;g("previousSibling",a,d,b,i,e)}},find:{ID:function(b,f,a){if(typeof f.getElementById!=="undefined"&&!a)return(b=f.getElementById(b[1]))?[b]:[]},NAME:function(b,f){if(typeof f.getElementsByName!=="undefined"){for(var a=[],e=f.getElementsByName(b[1]),c=0,d=e.length;c<d;c++)e[c].getAttribute("name")===
b[1]&&a.push(e[c]);return a.length===0?null:a}},TAG:function(b,f){return f.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,f,a,e,c,d){b=" "+b[1].replace(/\\/g,"")+" ";if(d)return b;for(var d=0,j;(j=f[d])!=null;d++)j&&(c^(j.className&&(" "+j.className+" ").replace(/[\t\n]/g," ").indexOf(b)>=0)?a||e.push(j):a&&(f[d]=!1));return!1},ID:function(b){return b[1].replace(/\\/g,"")},TAG:function(b){return b[1].toLowerCase()},CHILD:function(b){if(b[1]==="nth"){var f=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(b[2]===
"even"&&"2n"||b[2]==="odd"&&"2n+1"||!/\D/.test(b[2])&&"0n+"+b[2]||b[2]);b[2]=f[1]+(f[2]||1)-0;b[3]=f[3]-0}b[0]=j++;return b},ATTR:function(b,f,a,e,c,d){f=b[1].replace(/\\/g,"");!d&&p.attrMap[f]&&(b[1]=p.attrMap[f]);b[2]==="~="&&(b[4]=" "+b[4]+" ");return b},PSEUDO:function(b,f,a,e,c){if(b[1]==="not")if((d.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=h(b[3],null,null,f);else return b=h.filter(b[3],f,a,1^c),a||e.push.apply(e,b),!1;else if(p.match.POS.test(b[0])||p.match.CHILD.test(b[0]))return!0;
return b},POS:function(b){b.unshift(!0);return b}},filters:{enabled:function(b){return b.disabled===!1&&b.type!=="hidden"},disabled:function(b){return b.disabled===!0},checked:function(b){return b.checked===!0},selected:function(b){return b.selected===!0},parent:function(b){return!!b.firstChild},empty:function(b){return!b.firstChild},has:function(b,f,a){return!!h(a[3],b).length},header:function(b){return/h\d/i.test(b.nodeName)},text:function(b){return"text"===b.type},radio:function(b){return"radio"===
b.type},checkbox:function(b){return"checkbox"===b.type},file:function(b){return"file"===b.type},password:function(b){return"password"===b.type},submit:function(b){return"submit"===b.type},image:function(b){return"image"===b.type},reset:function(b){return"reset"===b.type},button:function(b){return"button"===b.type||b.nodeName.toLowerCase()==="button"},input:function(b){return/input|select|textarea|button/i.test(b.nodeName)}},setFilters:{first:function(b,f){return f===0},last:function(b,f,a,e){return f===
e.length-1},even:function(b,f){return f%2===0},odd:function(b,f){return f%2===1},lt:function(b,f,a){return f<a[3]-0},gt:function(b,f,a){return f>a[3]-0},nth:function(b,f,a){return a[3]-0===f},eq:function(b,f,a){return a[3]-0===f}},filter:{PSEUDO:function(f,a,e,c){var d=a[1],j=p.filters[d];if(j)return j(f,e,a,c);else if(d==="contains")return(f.textContent||f.innerText||b([f])||"").indexOf(a[3])>=0;else if(d==="not"){a=a[3];e=0;for(c=a.length;e<c;e++)if(a[e]===f)return!1;return!0}else h.error("Syntax error, unrecognized expression: "+
d)},CHILD:function(b,f){var a=f[1],e=b;switch(a){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return!1;if(a==="first")return!0;e=b;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return!1;return!0;case "nth":var a=f[2],c=f[3];if(a===1&&c===0)return!0;var d=f[0],j=b.parentNode;if(j&&(j.sizcache!==d||!b.nodeIndex)){for(var n=0,e=j.firstChild;e;e=e.nextSibling)if(e.nodeType===1)e.nodeIndex=++n;j.sizcache=d}e=b.nodeIndex-c;return a===0?e===0:e%a===0&&e/a>=0}},ID:function(b,
f){return b.nodeType===1&&b.getAttribute("id")===f},TAG:function(b,f){return f==="*"&&b.nodeType===1||b.nodeName.toLowerCase()===f},CLASS:function(b,f){return(" "+(b.className||b.getAttribute("class"))+" ").indexOf(f)>-1},ATTR:function(b,f){var a=f[1],a=p.attrHandle[a]?p.attrHandle[a](b):b[a]!=null?b[a]:b.getAttribute(a),e=a+"",c=f[2],d=f[4];return a==null?c==="!=":c==="="?e===d:c==="*="?e.indexOf(d)>=0:c==="~="?(" "+e+" ").indexOf(d)>=0:!d?e&&a!==!1:c==="!="?e!==d:c==="^="?e.indexOf(d)===0:c==="$="?
e.substr(e.length-d.length)===d:c==="|="?e===d||e.substr(0,d.length+1)===d+"-":!1},POS:function(b,f,a,e){var c=p.setFilters[f[2]];if(c)return c(b,a,f,e)}}},k=p.match.POS,m;for(m in p.match)p.match[m]=RegExp(p.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[m]=RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[m].source.replace(/\\(\d+)/g,function(b,f){return"\\"+(f-0+1)}));var t=function(b,f){b=Array.prototype.slice.call(b,0);return f?(f.push.apply(f,b),f):b};try{Array.prototype.slice.call(r.documentElement.childNodes,
0)}catch(o){t=function(b,f){var a=f||[];if(g.call(b)==="[object Array]")Array.prototype.push.apply(a,b);else if(typeof b.length==="number")for(var e=0,c=b.length;e<c;e++)a.push(b[e]);else for(e=0;b[e];e++)a.push(b[e]);return a}}var q;r.documentElement.compareDocumentPosition?q=function(b,f){if(!b.compareDocumentPosition||!f.compareDocumentPosition)return b==f&&(i=!0),b.compareDocumentPosition?-1:1;var a=b.compareDocumentPosition(f)&4?-1:b===f?0:1;a===0&&(i=!0);return a}:"sourceIndex"in r.documentElement?
q=function(b,f){if(!b.sourceIndex||!f.sourceIndex)return b==f&&(i=!0),b.sourceIndex?-1:1;var a=b.sourceIndex-f.sourceIndex;a===0&&(i=!0);return a}:r.createRange&&(q=function(b,f){if(!b.ownerDocument||!f.ownerDocument)return b==f&&(i=!0),b.ownerDocument?-1:1;var a=b.ownerDocument.createRange(),e=f.ownerDocument.createRange();a.setStart(b,0);a.setEnd(b,0);e.setStart(f,0);e.setEnd(f,0);a=a.compareBoundaryPoints(Range.START_TO_END,e);a===0&&(i=!0);return a});(function(){var b=r.createElement("div"),f=
"script"+(new Date).getTime();b.innerHTML="<a name='"+f+"'/>";var e=r.documentElement;e.insertBefore(b,e.firstChild);if(r.getElementById(f))p.find.ID=function(b,f,e){if(typeof f.getElementById!=="undefined"&&!e)return(f=f.getElementById(b[1]))?f.id===b[1]||typeof f.getAttributeNode!=="undefined"&&f.getAttributeNode("id").nodeValue===b[1]?[f]:a:[]},p.filter.ID=function(b,f){var a=typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id");return b.nodeType===1&&a&&a.nodeValue===f};e.removeChild(b);
e=b=null})();(function(){var b=r.createElement("div");b.appendChild(r.createComment(""));if(b.getElementsByTagName("*").length>0)p.find.TAG=function(b,f){var a=f.getElementsByTagName(b[1]);if(b[1]==="*"){for(var e=[],c=0;a[c];c++)a[c].nodeType===1&&e.push(a[c]);a=e}return a};b.innerHTML="<a href='#'></a>";if(b.firstChild&&typeof b.firstChild.getAttribute!=="undefined"&&b.firstChild.getAttribute("href")!=="#")p.attrHandle.href=function(b){return b.getAttribute("href",2)};b=null})();r.querySelectorAll&&
function(){var b=h,f=r.createElement("div");f.innerHTML="<p class='TEST'></p>";if(!(f.querySelectorAll&&f.querySelectorAll(".TEST").length===0)){h=function(f,a,e,c){a=a||r;if(!c&&a.nodeType===9&&!u(a))try{return t(a.querySelectorAll(f),e)}catch(d){}return b(f,a,e,c)};for(var a in b)h[a]=b[a];f=null}}();(function(){var b=r.createElement("div");b.innerHTML="<div class='test e'></div><div class='test'></div>";if(b.getElementsByClassName&&b.getElementsByClassName("e").length!==0&&(b.lastChild.className=
"e",b.getElementsByClassName("e").length!==1))p.order.splice(1,0,"CLASS"),p.find.CLASS=function(b,f,a){if(typeof f.getElementsByClassName!=="undefined"&&!a)return f.getElementsByClassName(b[1])},b=null})();var w=r.compareDocumentPosition?function(b,f){return!!(b.compareDocumentPosition(f)&16)}:function(b,f){return b!==f&&(b.contains?b.contains(f):!0)},u=function(b){return(b=(b?b.ownerDocument||b:0).documentElement)?b.nodeName!=="HTML":!1},v=function(b,f){for(var a=[],e="",c,d=f.nodeType?[f]:f;c=p.match.PSEUDO.exec(b);)e+=
c[0],b=b.replace(p.match.PSEUDO,"");b=p.relative[b]?b+"*":b;c=0;for(var j=d.length;c<j;c++)h(b,d[c],a);return h.filter(e,a)};e.find=h;e.expr=h.selectors;e.expr[":"]=e.expr.filters;e.unique=h.uniqueSort;e.text=b;e.isXMLDoc=u;e.contains=w})();var Ea=/Until$/,Fa=/^(?:parents|prevUntil|prevAll)/,Ga=/,/,I=Array.prototype.slice,ja=function(b,f,a){if(e.isFunction(f))return e.grep(b,function(b,e){return!!f.call(b,e,b)===a});else if(f.nodeType)return e.grep(b,function(b){return b===f===a});else if(typeof f===
"string"){var c=e.grep(b,function(b){return b.nodeType===1});if(ta.test(f))return e.filter(f,c,!a);else f=e.filter(f,c)}return e.grep(b,function(b){return e.inArray(b,f)>=0===a})};e.fn.extend({find:function(b){for(var f=this.pushStack("","find",b),a=0,c=0,d=this.length;c<d;c++)if(a=f.length,e.find(b,this[c],f),c>0)for(var j=a;j<f.length;j++)for(var g=0;g<a;g++)if(f[g]===f[j]){f.splice(j--,1);break}return f},has:function(b){var f=e(b);return this.filter(function(){for(var b=0,a=f.length;b<a;b++)if(e.contains(this,
f[b]))return!0})},not:function(b){return this.pushStack(ja(this,b,!1),"not",b)},filter:function(b){return this.pushStack(ja(this,b,!0),"filter",b)},is:function(b){return!!b&&e.filter(b,this).length>0},closest:function(b,f){if(e.isArray(b)){var a=[],c=this[0],d,j={},g;if(c&&b.length){d=0;for(var i=b.length;d<i;d++)g=b[d],j[g]||(j[g]=e.expr.match.POS.test(g)?e(g,f||this.context):g);for(;c&&c.ownerDocument&&c!==f;){for(g in j)if(d=j[g],d.jquery?d.index(c)>-1:e(c).is(d))a.push({selector:g,elem:c}),delete j[g];
c=c.parentNode}}return a}var h=e.expr.match.POS.test(b)?e(b,f||this.context):null;return this.map(function(a,c){for(;c&&c.ownerDocument&&c!==f;){if(h?h.index(c)>-1:e(c).is(b))return c;c=c.parentNode}return null})},index:function(b){return!b||typeof b==="string"?e.inArray(this[0],b?e(b):this.parent().children()):e.inArray(b.jquery?b[0]:b,this)},add:function(b,f){var a=typeof b==="string"?e(b,f||this.context):e.makeArray(b),c=e.merge(this.get(),a);return this.pushStack(!a[0]||!a[0].parentNode||a[0].parentNode.nodeType===
11||!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11?c:e.unique(c))},andSelf:function(){return this.add(this.prevObject)}});e.each({parent:function(b){return(b=b.parentNode)&&b.nodeType!==11?b:null},parents:function(b){return e.dir(b,"parentNode")},parentsUntil:function(b,f,a){return e.dir(b,"parentNode",a)},next:function(b){return e.nth(b,2,"nextSibling")},prev:function(b){return e.nth(b,2,"previousSibling")},nextAll:function(b){return e.dir(b,"nextSibling")},prevAll:function(b){return e.dir(b,
"previousSibling")},nextUntil:function(b,f,a){return e.dir(b,"nextSibling",a)},prevUntil:function(b,f,a){return e.dir(b,"previousSibling",a)},siblings:function(b){return e.sibling(b.parentNode.firstChild,b)},children:function(b){return e.sibling(b.firstChild)},contents:function(b){return e.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:e.makeArray(b.childNodes)}},function(b,f){e.fn[b]=function(a,c){var d=e.map(this,f,a);Ea.test(b)||(c=a);c&&typeof c==="string"&&(d=e.filter(c,d));
d=this.length>1?e.unique(d):d;if((this.length>1||Ga.test(c))&&Fa.test(b))d=d.reverse();return this.pushStack(d,b,I.call(arguments).join(","))}});e.extend({filter:function(b,f,a){a&&(b=":not("+b+")");return e.find.matches(b,f)},dir:function(b,f,c){for(var d=[],b=b[f];b&&b.nodeType!==9&&(c===a||b.nodeType!==1||!e(b).is(c));)b.nodeType===1&&d.push(b),b=b[f];return d},nth:function(b,f,a){for(var f=f||1,e=0;b;b=b[a])if(b.nodeType===1&&++e===f)break;return b},sibling:function(b,f){for(var a=[];b;b=b.nextSibling)b.nodeType===
1&&b!==f&&a.push(b);return a}});var ka=/ jQuery\d+="(?:\d+|null)"/g,J=/^\s+/,la=/(<([\w:]+)[^>]*?)\/>/g,Ha=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ma=/<([\w:]+)/,Ia=/<tbody/i,Ja=/<|&#?\w+;/,X=/<script|<object|<embed|<option|<style/i,Y=/checked\s*(?:[^=]|=\s*.checked.)/i,na=function(b,f,a){return Ha.test(a)?b:f+"></"+a+">"},x={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,"",""]};x.optgroup=x.option;x.tbody=x.tfoot=x.colgroup=x.caption=x.thead;x.th=x.td;if(!e.support.htmlSerialize)x._default=[1,"div<div>","</div>"];e.fn.extend({text:function(b){return e.isFunction(b)?this.each(function(f){var a=e(this);a.text(b.call(this,f,a.text()))}):typeof b!=="object"&&b!==a?this.empty().append((this[0]&&this[0].ownerDocument||
r).createTextNode(b)):e.text(this)},wrapAll:function(b){if(e.isFunction(b))return this.each(function(f){e(this).wrapAll(b.call(this,f))});if(this[0]){var f=e(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&f.insertBefore(this[0]);f.map(function(){for(var b=this;b.firstChild&&b.firstChild.nodeType===1;)b=b.firstChild;return b}).append(this)}return this},wrapInner:function(b){return e.isFunction(b)?this.each(function(f){e(this).wrapInner(b.call(this,f))}):this.each(function(){var f=e(this),
a=f.contents();a.length?a.wrapAll(b):f.append(b)})},wrap:function(b){return this.each(function(){e(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){e.nodeName(this,"body")||e(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&
this[0].parentNode)return this.domManip(arguments,!1,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var b=e(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,e(arguments[0]).toArray());return b}},remove:function(b,
f){for(var a=0,c;(c=this[a])!=null;a++)if(!b||e.filter(b,[c]).length)!f&&c.nodeType===1&&(e.cleanData(c.getElementsByTagName("*")),e.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){for(var b=0,a;(a=this[b])!=null;b++)for(a.nodeType===1&&e.cleanData(a.getElementsByTagName("*"));a.firstChild;)a.removeChild(a.firstChild);return this},clone:function(b){var a=this.map(function(){if(!e.support.noCloneEvent&&!e.isXMLDoc(this)){var b=this.outerHTML,a=this.ownerDocument;
if(!b)b=a.createElement("div"),b.appendChild(this.cloneNode(!0)),b=b.innerHTML;return e.clean([b.replace(ka,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(J,"")],a)[0]}else return this.cloneNode(!0)});b===!0&&(i(this,a),i(this.find("*"),a.find("*")));return a},html:function(b){if(b===a)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof b==="string"&&!X.test(b)&&(e.support.leadingWhitespace||!J.test(b))&&!x[(ma.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(la,
na);try{for(var f=0,c=this.length;f<c;f++)if(this[f].nodeType===1)e.cleanData(this[f].getElementsByTagName("*")),this[f].innerHTML=b}catch(d){this.empty().append(b)}}else e.isFunction(b)?this.each(function(a){var f=e(this),c=f.html();f.empty().append(function(){return b.call(this,a,c)})}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(e.isFunction(b))return this.each(function(a){var c=e(this),d=c.html();c.replaceWith(b.call(this,a,d))});typeof b!=="string"&&
(b=e(b).detach());return this.each(function(){var a=this.nextSibling,c=this.parentNode;e(this).remove();a?e(a).before(b):e(c).append(b)})}else return this.pushStack(e(e.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,!0)},domManip:function(b,f,c){var d,j,g=b[0],i=[],l;if(!e.support.checkClone&&arguments.length===3&&typeof g==="string"&&Y.test(g))return this.each(function(){e(this).domManip(b,f,c,!0)});if(e.isFunction(g))return this.each(function(d){var j=e(this);b[0]=
g.call(this,d,f?j.html():a);j.domManip(b,f,c)});if(this[0]){d=g&&g.parentNode;d=e.support.parentNode&&d&&d.nodeType===11&&d.childNodes.length===this.length?{fragment:d}:p(b,this,i);l=d.fragment;if(j=l.childNodes.length===1?l=l.firstChild:l.firstChild){f=f&&e.nodeName(j,"tr");j=0;for(var k=this.length;j<k;j++)c.call(f?e.nodeName(this[j],"table")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):this[j]:this[j],j>0||d.cacheable||this.length>
1?l.cloneNode(!0):l)}i.length&&e.each(i,h)}return this}});e.fragments={};e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){e.fn[b]=function(c){var d=[],c=e(c),j=this.length===1&&this[0].parentNode;if(j&&j.nodeType===11&&j.childNodes.length===1&&c.length===1)return c[a](this[0]),this;else{for(var j=0,g=c.length;j<g;j++){var i=(j>0?this.clone(!0):this).get();e.fn[a].apply(e(c[j]),i);d=d.concat(i)}return this.pushStack(d,b,
c.selector)}}});e.extend({clean:function(b,a,c,d){a=a||r;typeof a.createElement==="undefined"&&(a=a.ownerDocument||a[0]&&a[0].ownerDocument||r);for(var j=[],g=0,i;(i=b[g])!=null;g++)if(typeof i==="number"&&(i+=""),i){if(typeof i==="string"&&!Ja.test(i))i=a.createTextNode(i);else if(typeof i==="string"){i=i.replace(la,na);var h=(ma.exec(i)||["",""])[1].toLowerCase(),l=x[h]||x._default,p=l[0],k=a.createElement("div");for(k.innerHTML=l[1]+i+l[2];p--;)k=k.lastChild;if(!e.support.tbody){p=Ia.test(i);h=
h==="table"&&!p?k.firstChild&&k.firstChild.childNodes:l[1]==="<table>"&&!p?k.childNodes:[];for(l=h.length-1;l>=0;--l)e.nodeName(h[l],"tbody")&&!h[l].childNodes.length&&h[l].parentNode.removeChild(h[l])}!e.support.leadingWhitespace&&J.test(i)&&k.insertBefore(a.createTextNode(J.exec(i)[0]),k.firstChild);i=k.childNodes}i.nodeType?j.push(i):j=e.merge(j,i)}if(c)for(g=0;j[g];g++)d&&e.nodeName(j[g],"script")&&(!j[g].type||j[g].type.toLowerCase()==="text/javascript")?d.push(j[g].parentNode?j[g].parentNode.removeChild(j[g]):
j[g]):(j[g].nodeType===1&&j.splice.apply(j,[g+1,0].concat(e.makeArray(j[g].getElementsByTagName("script")))),c.appendChild(j[g]));return j},cleanData:function(b){for(var a,c,d=e.cache,j=e.event.special,g=e.support.deleteExpando,i=0,h;(h=b[i])!=null;i++)if(c=h[e.expando]){a=d[c];if(a.events)for(var l in a.events)j[l]?e.event.remove(h,l):ea(h,l,a.handle);g?delete h[e.expando]:h.removeAttribute&&h.removeAttribute(e.expando);delete d[c]}}});var Ka=/z-?index|font-?weight|opacity|zoom|line-?height/i,oa=
/alpha\([^)]*\)/,pa=/opacity=([^)]*)/,S=/float/i,T=/-([a-z])/ig,La=/([A-Z])/g,Ma=/^-?\d+(?:px)?$/i,Na=/^-?\d/,Oa={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],Ra=r.defaultView&&r.defaultView.getComputedStyle,qa=e.support.cssFloat?"cssFloat":"styleFloat",U=function(b,a){return a.toUpperCase()};e.fn.css=function(b,f){return k(this,b,f,!0,function(b,f,c){if(c===a)return e.curCSS(b,f);typeof c==="number"&&!Ka.test(f)&&(c+="px");e.style(b,f,c)})};e.extend({style:function(b,
f,c){if(!b||b.nodeType===3||b.nodeType===8)return a;if((f==="width"||f==="height")&&parseFloat(c)<0)c=a;var d=b.style||b,j=c!==a;if(!e.support.opacity&&f==="opacity"){if(j)d.zoom=1,f=parseInt(c,10)+""==="NaN"?"":"alpha(opacity="+c*100+")",b=d.filter||e.curCSS(b,"filter")||"",d.filter=oa.test(b)?b.replace(oa,f):f;return d.filter&&d.filter.indexOf("opacity=")>=0?parseFloat(pa.exec(d.filter)[1])/100+"":""}S.test(f)&&(f=qa);f=f.replace(T,U);j&&(d[f]=c);return d[f]},css:function(b,a,c,d){if(a==="width"||
a==="height"){var j,g=a==="width"?Pa:Qa,c=function(){j=a==="width"?b.offsetWidth:b.offsetHeight;d!=="border"&&e.each(g,function(){d||(j-=parseFloat(e.curCSS(b,"padding"+this,!0))||0);d==="margin"?j+=parseFloat(e.curCSS(b,"margin"+this,!0))||0:j-=parseFloat(e.curCSS(b,"border"+this+"Width",!0))||0})};b.offsetWidth!==0?c():e.swap(b,Oa,c);return Math.max(0,Math.round(j))}return e.curCSS(b,a,c)},curCSS:function(b,a,c){var d,j=b.style;if(!e.support.opacity&&a==="opacity"&&b.currentStyle)return d=pa.test(b.currentStyle.filter||
"")?parseFloat(RegExp.$1)/100+"":"",d===""?"1":d;S.test(a)&&(a=qa);if(!c&&j&&j[a])d=j[a];else if(Ra){S.test(a)&&(a="float");a=a.replace(La,"-$1").toLowerCase();j=b.ownerDocument.defaultView;if(!j)return null;(b=j.getComputedStyle(b,null))&&(d=b.getPropertyValue(a));a==="opacity"&&d===""&&(d="1")}else if(b.currentStyle&&(c=a.replace(T,U),d=b.currentStyle[a]||b.currentStyle[c],!Ma.test(d)&&Na.test(d))){var a=j.left,g=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;j.left=c==="fontSize"?
"1em":d||0;d=j.pixelLeft+"px";j.left=a;b.runtimeStyle.left=g}return d},swap:function(b,a,e){var c={},d;for(d in a)c[d]=b.style[d],b.style[d]=a[d];e.call(b);for(d in a)b.style[d]=c[d]}});if(e.expr&&e.expr.filters)e.expr.filters.hidden=function(b){var a=b.offsetWidth,c=b.offsetHeight,d=b.nodeName.toLowerCase()==="tr";return a===0&&c===0&&!d?!0:a>0&&c>0&&!d?!1:e.curCSS(b,"display")==="none"},e.expr.filters.visible=function(b){return!e.expr.filters.hidden(b)};var Sa=g(),Ta=/<script(.|\s)*?\/script>/gi,
Ua=/select|textarea/i,Va=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,E=/=\?(&|$)/,V=/\?/,Wa=/(\?|&)_=.*?(&|$)/,Xa=/^(\w+:)?\/\/([^\/?#]+)/,Ya=/%20/g,Za=e.fn.load;e.fn.extend({load:function(b,a,c){if(typeof b!=="string")return Za.call(this,b);else if(!this.length)return this;var d=b.indexOf(" ");if(d>=0)var j=b.slice(d,b.length),b=b.slice(0,d);d="GET";a&&(e.isFunction(a)?(c=a,a=null):typeof a==="object"&&(a=e.param(a,e.ajaxSettings.traditional),d="POST"));
var g=this;e.ajax({url:b,type:d,dataType:"html",data:a,complete:function(b,a){if(a==="success"||a==="notmodified")g.html(j?e("<div />").append(b.responseText.replace(Ta,"")).find(j):b.responseText);c&&g.each(c,[b.responseText,a,b])}});return this},serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?e.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ua.test(this.nodeName)||
Va.test(this.type))}).map(function(b,a){var c=e(this).val();return c==null?null:e.isArray(c)?e.map(c,function(b){return{name:a.name,value:b}}):{name:a.name,value:c}}).get()}});e.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,a){e.fn[a]=function(b){return this.bind(a,b)}});e.extend({get:function(b,a,c,d){e.isFunction(a)&&(d=d||c,c=a,a=null);return e.ajax({type:"GET",url:b,data:a,success:c,dataType:d})},getScript:function(b,a){return e.get(b,null,a,"script")},
getJSON:function(b,a,c){return e.get(b,a,c,"json")},post:function(b,a,c,d){e.isFunction(a)&&(d=d||c,c=a,a={});return e.ajax({type:"POST",url:b,data:a,success:c,dataType:d})},ajaxSetup:function(b){e.extend(e.ajaxSettings,b)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:c.XMLHttpRequest&&(c.location.protocol!=="file:"||!c.ActiveXObject)?function(){return new c.XMLHttpRequest}:function(){try{return new c.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}},
accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(b){function f(){i.success&&i.success.call(k,p,l,u);i.global&&j("ajaxSuccess",[u,i])}function d(){i.complete&&i.complete.call(k,u,l);i.global&&j("ajaxComplete",[u,i]);i.global&&!--e.active&&e.event.trigger("ajaxStop")}function j(b,a){(i.context?e(i.context):e.event).trigger(b,a)}var i=
e.extend(!0,{},e.ajaxSettings,b),h,l,p,k=b&&b.context||i,m=i.type.toUpperCase();if(i.data&&i.processData&&typeof i.data!=="string")i.data=e.param(i.data,i.traditional);if(i.dataType==="jsonp"){if(m==="GET")E.test(i.url)||(i.url+=(V.test(i.url)?"&":"?")+(i.jsonp||"callback")+"=?");else if(!i.data||!E.test(i.data))i.data=(i.data?i.data+"&":"")+(i.jsonp||"callback")+"=?";i.dataType="json"}if(i.dataType==="json"&&(i.data&&E.test(i.data)||E.test(i.url))){h=i.jsonpCallback||"jsonp"+Sa++;if(i.data)i.data=
(i.data+"").replace(E,"="+h+"$1");i.url=i.url.replace(E,"="+h+"$1");i.dataType="script";c[h]=c[h]||function(b){p=b;f();d();c[h]=a;try{delete c[h]}catch(e){}q&&q.removeChild(w)}}if(i.dataType==="script"&&i.cache===null)i.cache=!1;if(i.cache===!1&&m==="GET"){var t=g(),o=i.url.replace(Wa,"$1_="+t+"$2");i.url=o+(o===i.url?(V.test(i.url)?"&":"?")+"_="+t:"")}i.data&&m==="GET"&&(i.url+=(V.test(i.url)?"&":"?")+i.data);i.global&&!e.active++&&e.event.trigger("ajaxStart");t=(t=Xa.exec(i.url))&&(t[1]&&t[1]!==
location.protocol||t[2]!==location.host);if(i.dataType==="script"&&m==="GET"&&t){var q=r.getElementsByTagName("head")[0]||r.documentElement,w=r.createElement("script");w.src=i.url;if(i.scriptCharset)w.charset=i.scriptCharset;if(!h){var v=!1;w.onload=w.onreadystatechange=function(){if(!v&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete"))v=!0,f(),d(),w.onload=w.onreadystatechange=null,q&&w.parentNode&&q.removeChild(w)}}q.insertBefore(w,q.firstChild);return a}var y=!1,u=i.xhr();
if(u){i.username?u.open(m,i.url,i.async,i.username,i.password):u.open(m,i.url,i.async);try{(i.data||b&&b.contentType)&&u.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(e.lastModified[i.url]&&u.setRequestHeader("If-Modified-Since",e.lastModified[i.url]),e.etag[i.url]&&u.setRequestHeader("If-None-Match",e.etag[i.url])),t||u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.setRequestHeader("Accept",i.dataType&&i.accepts[i.dataType]?i.accepts[i.dataType]+", */*":i.accepts._default)}catch(A){}if(i.beforeSend&&
i.beforeSend.call(k,u,i)===!1)return i.global&&!--e.active&&e.event.trigger("ajaxStop"),u.abort(),!1;i.global&&j("ajaxSend",[u,i]);var x=u.onreadystatechange=function(b){if(!u||u.readyState===0||b==="abort"){if(y||d(),y=!0,u)u.onreadystatechange=e.noop}else if(!y&&u&&(u.readyState===4||b==="timeout")){y=!0;u.onreadystatechange=e.noop;l=b==="timeout"?"timeout":!e.httpSuccess(u)?"error":i.ifModified&&e.httpNotModified(u,i.url)?"notmodified":"success";var a;if(l==="success")try{p=e.httpData(u,i.dataType,
i)}catch(c){l="parsererror",a=c}l==="success"||l==="notmodified"?h||f():e.handleError(i,u,l,a);d();b==="timeout"&&u.abort();i.async&&(u=null)}};try{var z=u.abort;u.abort=function(){u&&z.call(u);x("abort")}}catch(C){}i.async&&i.timeout>0&&setTimeout(function(){u&&!y&&x("timeout")},i.timeout);try{u.send(m==="POST"||m==="PUT"||m==="DELETE"?i.data:null)}catch(B){e.handleError(i,u,null,B),d()}i.async||x();return u}},handleError:function(b,a,c,d){b.error&&b.error.call(b.context||b,a,c,d);b.global&&(b.context?
e(b.context):e.event).trigger("ajaxError",[a,b,d])},active:0,httpSuccess:function(b){try{return!b.status&&location.protocol==="file:"||b.status>=200&&b.status<300||b.status===304||b.status===1223||b.status===0}catch(a){}return!1},httpNotModified:function(b,a){var c=b.getResponseHeader("Last-Modified"),d=b.getResponseHeader("Etag");c&&(e.lastModified[a]=c);d&&(e.etag[a]=d);return b.status===304||b.status===0},httpData:function(b,a,c){var d=b.getResponseHeader("content-type")||"",j=a==="xml"||!a&&d.indexOf("xml")>=
0,b=j?b.responseXML:b.responseText;j&&b.documentElement.nodeName==="parsererror"&&e.error("parsererror");c&&c.dataFilter&&(b=c.dataFilter(b,a));typeof b==="string"&&(a==="json"||!a&&d.indexOf("json")>=0?b=e.parseJSON(b):(a==="script"||!a&&d.indexOf("javascript")>=0)&&e.globalEval(b));return b},param:function(b,c){function d(b,a){e.isArray(a)?e.each(a,function(a,i){c||/\[\]$/.test(b)?j(b,i):d(b+"["+(typeof i==="object"||e.isArray(i)?a:"")+"]",i)}):!c&&a!=null&&typeof a==="object"?e.each(a,function(a,
c){d(b+"["+a+"]",c)}):j(b,a)}function j(b,a){a=e.isFunction(a)?a():a;i[i.length]=encodeURIComponent(b)+"="+encodeURIComponent(a)}var i=[];if(c===a)c=e.ajaxSettings.traditional;if(e.isArray(b)||b.jquery)e.each(b,function(){j(this.name,this.value)});else for(var g in b)d(g,b[g]);return i.join("&").replace(Ya,"+")}});var W={},$a=/toggle|show|hide/,ab=/^([+-]=)?([\d+-.]+)(.*)$/,K,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],
["opacity"]];e.fn.extend({show:function(b,a){if(b||b===0)return this.animate(t("show",3),b,a);else{for(var c=0,d=this.length;c<d;c++){var j=e.data(this[c],"olddisplay");this[c].style.display=j||"";if(e.css(this[c],"display")==="none"){var j=this[c].nodeName,i;if(W[j])i=W[j];else{var g=e("<"+j+" />").appendTo("body");i=g.css("display");i==="none"&&(i="block");g.remove();W[j]=i}e.data(this[c],"olddisplay",i)}}c=0;for(d=this.length;c<d;c++)this[c].style.display=e.data(this[c],"olddisplay")||"";return this}},
hide:function(b,a){if(b||b===0)return this.animate(t("hide",3),b,a);else{for(var c=0,d=this.length;c<d;c++){var j=e.data(this[c],"olddisplay");!j&&j!=="none"&&e.data(this[c],"olddisplay",e.css(this[c],"display"))}c=0;for(d=this.length;c<d;c++)this[c].style.display="none";return this}},_toggle:e.fn.toggle,toggle:function(b,a){var c=typeof b==="boolean";e.isFunction(b)&&e.isFunction(a)?this._toggle.apply(this,arguments):b==null||c?this.each(function(){var a=c?b:e(this).is(":hidden");e(this)[a?"show":
"hide"]()}):this.animate(t("toggle",3),b,a);return this},fadeTo:function(b,a,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:a},b,c)},animate:function(b,a,c,d){var j=e.speed(a,c,d);return e.isEmptyObject(b)?this.each(j.complete):this[j.queue===!1?"each":"queue"](function(){var a=e.extend({},j),c,f=this.nodeType===1&&e(this).is(":hidden"),d=this;for(c in b){var i=c.replace(T,U);c!==i&&(b[i]=b[c],delete b[c],c=i);if(b[c]==="hide"&&f||b[c]==="show"&&!f)return a.complete.call(this);
if((c==="height"||c==="width")&&this.style)a.display=e.css(this,"display"),a.overflow=this.style.overflow;if(e.isArray(b[c]))(a.specialEasing=a.specialEasing||{})[c]=b[c][1],b[c]=b[c][0]}if(a.overflow!=null)this.style.overflow="hidden";a.curAnim=e.extend({},b);e.each(b,function(c,j){var i=new e.fx(d,a,c);if($a.test(j))i[j==="toggle"?f?"show":"hide":j](b);else{var g=ab.exec(j),h=i.cur(!0)||0;if(g){var l=parseFloat(g[2]),p=g[3]||"px";p!=="px"&&(d.style[c]=(l||1)+p,h*=(l||1)/i.cur(!0),d.style[c]=h+p);
g[1]&&(l=(g[1]==="-="?-1:1)*l+h);i.custom(h,l,p)}else i.custom(h,j,"")}});return!0})},stop:function(b,a){var c=e.timers;b&&this.queue([]);this.each(function(){for(var b=c.length-1;b>=0;b--)if(c[b].elem===this){if(a)c[b](!0);c.splice(b,1)}});a||this.dequeue();return this}});e.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){e.fn[b]=function(b,c){return this.animate(a,b,c)}});e.extend({speed:function(b,a,c){var d=
b&&typeof b==="object"?b:{complete:c||!c&&a||e.isFunction(b)&&b,duration:b,easing:c&&a||a&&!e.isFunction(a)&&a};d.duration=e.fx.off?0:typeof d.duration==="number"?d.duration:e.fx.speeds[d.duration]||e.fx.speeds._default;d.old=d.complete;d.complete=function(){d.queue!==!1&&e(this).dequeue();e.isFunction(d.old)&&d.old.call(this)};return d},easing:{linear:function(b,a,c,e){return c+e*b},swing:function(b,a,c,e){return(-Math.cos(b*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(b,a,c){this.options=a;this.elem=
b;this.prop=c;if(!a.orig)a.orig={}}});e.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(e.fx.step[this.prop]||e.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(b){return this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)?this.elem[this.prop]:(b=parseFloat(e.css(this.elem,this.prop,b)))&&b>-1E4?b:parseFloat(e.curCSS(this.elem,this.prop))||
0},custom:function(b,a,c){function d(b){return j.step(b)}this.startTime=g();this.start=b;this.end=a;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var j=this;d.elem=this.elem;d()&&e.timers.push(d)&&!K&&(K=setInterval(e.fx.tick,13))},show:function(){this.options.orig[this.prop]=e.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());e(this.elem).show()},hide:function(){this.options.orig[this.prop]=e.style(this.elem,
this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(b){var a=g(),c=!0;if(b||a>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var d in this.options.curAnim)this.options.curAnim[d]!==!0&&(c=!1);if(c){if(this.options.display!=null&&(this.elem.style.overflow=this.options.overflow,b=e.data(this.elem,"olddisplay"),this.elem.style.display=b?b:this.options.display,e.css(this.elem,"display")==="none"))this.elem.style.display=
"block";this.options.hide&&e(this.elem).hide();if(this.options.hide||this.options.show)for(var j in this.options.curAnim)e.style(this.elem,j,this.options.orig[j]);this.options.complete.call(this.elem)}return!1}else j=a-this.startTime,this.state=j/this.options.duration,b=this.options.easing||(e.easing.swing?"swing":"linear"),this.pos=e.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,j,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,
this.update();return!0}};e.extend(e.fx,{tick:function(){for(var b=e.timers,a=0;a<b.length;a++)b[a]()||b.splice(a--,1);b.length||e.fx.stop()},stop:function(){clearInterval(K);K=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){e.style(b.elem,"opacity",b.now)},_default:function(b){b.elem.style&&b.elem.style[b.prop]!=null?b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit:b.elem[b.prop]=b.now}}});if(e.expr&&e.expr.filters)e.expr.filters.animated=
function(b){return e.grep(e.timers,function(a){return b===a.elem}).length};e.fn.offset="getBoundingClientRect"in r.documentElement?function(b){var a=this[0];if(b)return this.each(function(a){e.offset.setOffset(this,b,a)});if(!a||!a.ownerDocument)return null;if(a===a.ownerDocument.body)return e.offset.bodyOffset(a);var c=a.getBoundingClientRect(),d=a.ownerDocument,a=d.body,d=d.documentElement;return{top:c.top+(self.pageYOffset||e.support.boxModel&&d.scrollTop||a.scrollTop)-(d.clientTop||a.clientTop||
0),left:c.left+(self.pageXOffset||e.support.boxModel&&d.scrollLeft||a.scrollLeft)-(d.clientLeft||a.clientLeft||0)}}:function(b){var a=this[0];if(b)return this.each(function(a){e.offset.setOffset(this,b,a)});if(!a||!a.ownerDocument)return null;if(a===a.ownerDocument.body)return e.offset.bodyOffset(a);e.offset.initialize();var c=a.offsetParent,d=a.ownerDocument,j,i=d.documentElement,g=d.body;j=(d=d.defaultView)?d.getComputedStyle(a,null):a.currentStyle;for(var h=a.offsetTop,l=a.offsetLeft;(a=a.parentNode)&&
a!==g&&a!==i;){if(e.offset.supportsFixedPosition&&j.position==="fixed")break;j=d?d.getComputedStyle(a,null):a.currentStyle;h-=a.scrollTop;l-=a.scrollLeft;if(a===c){h+=a.offsetTop;l+=a.offsetLeft;if(e.offset.doesNotAddBorder&&(!e.offset.doesAddBorderForTableAndCells||!/^t(able|d|h)$/i.test(a.nodeName)))h+=parseFloat(j.borderTopWidth)||0,l+=parseFloat(j.borderLeftWidth)||0;c=a.offsetParent}e.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"&&(h+=parseFloat(j.borderTopWidth)||0,l+=
parseFloat(j.borderLeftWidth)||0)}if(j.position==="relative"||j.position==="static")h+=g.offsetTop,l+=g.offsetLeft;e.offset.supportsFixedPosition&&j.position==="fixed"&&(h+=Math.max(i.scrollTop,g.scrollTop),l+=Math.max(i.scrollLeft,g.scrollLeft));return{top:h,left:l}};e.offset={initialize:function(){var b=r.body,a=r.createElement("div"),c,d,j,i=parseFloat(e.curCSS(b,"marginTop",!0))||0;e.extend(a.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
a.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>";b.insertBefore(a,b.firstChild);c=a.firstChild;d=c.firstChild;j=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=d.offsetTop!==5;this.doesAddBorderForTableAndCells=j.offsetTop===5;d.style.position=
"fixed";d.style.top="20px";this.supportsFixedPosition=d.offsetTop===20||d.offsetTop===15;d.style.position=d.style.top="";c.style.overflow="hidden";c.style.position="relative";this.subtractsBorderForOverflowNotVisible=d.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=b.offsetTop!==i;b.removeChild(a);e.offset.initialize=e.noop},bodyOffset:function(b){var a=b.offsetTop,c=b.offsetLeft;e.offset.initialize();e.offset.doesNotIncludeMarginInBodyOffset&&(a+=parseFloat(e.curCSS(b,"marginTop",!0))||0,c+=
parseFloat(e.curCSS(b,"marginLeft",!0))||0);return{top:a,left:c}},setOffset:function(b,a,c){if(/static/.test(e.curCSS(b,"position")))b.style.position="relative";var d=e(b),j=d.offset(),i=parseInt(e.curCSS(b,"top",!0),10)||0,g=parseInt(e.curCSS(b,"left",!0),10)||0;e.isFunction(a)&&(a=a.call(b,c,j));c={top:a.top-j.top+i,left:a.left-j.left+g};"using"in a?a.using.call(b,c):d.css(c)}};e.fn.extend({position:function(){if(!this[0])return null;var b=this[0],a=this.offsetParent(),c=this.offset(),d=/^body|html$/i.test(a[0].nodeName)?
{top:0,left:0}:a.offset();c.top-=parseFloat(e.curCSS(b,"marginTop",!0))||0;c.left-=parseFloat(e.curCSS(b,"marginLeft",!0))||0;d.top+=parseFloat(e.curCSS(a[0],"borderTopWidth",!0))||0;d.left+=parseFloat(e.curCSS(a[0],"borderLeftWidth",!0))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){for(var b=this.offsetParent||r.body;b&&!/^body|html$/i.test(b.nodeName)&&e.css(b,"position")==="static";)b=b.offsetParent;return b})}});e.each(["Left","Top"],function(b,
c){var d="scroll"+c;e.fn[d]=function(c){var f=this[0],j;return!f?null:c!==a?this.each(function(){(j=w(this))?j.scrollTo(!b?c:e(j).scrollLeft(),b?c:e(j).scrollTop()):this[d]=c}):(j=w(f))?"pageXOffset"in j?j[b?"pageYOffset":"pageXOffset"]:e.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:f[d]}});e.each(["Height","Width"],function(b,c){var d=c.toLowerCase();e.fn["inner"+c]=function(){return this[0]?e.css(this[0],d,!1,"padding"):null};e.fn["outer"+c]=function(b){return this[0]?e.css(this[0],
d,!1,b?"margin":"border"):null};e.fn[d]=function(b){var j=this[0];return!j?b==null?null:this:e.isFunction(b)?this.each(function(a){var c=e(this);c[d](b.call(this,a,c[d]()))}):"scrollTo"in j&&j.document?j.document.compatMode==="CSS1Compat"&&j.document.documentElement["client"+c]||j.document.body["client"+c]:j.nodeType===9?Math.max(j.documentElement["client"+c],j.body["scroll"+c],j.documentElement["scroll"+c],j.body["offset"+c],j.documentElement["offset"+c]):b===a?e.css(j,d):this.css(d,typeof b==="string"?
b:b+"px")}});c.jQuery=c.$=e})(window);
(function(c){c.ui=c.ui||{};c.ui.version||(c.extend(c.ui,{version:"1.8.2",plugin:{add:function(a,d,h){var a=c.ui[a].prototype,k;for(k in h)a.plugins[k]=a.plugins[k]||[],a.plugins[k].push([d,h[k]])},call:function(a,c,h){if((c=a.plugins[c])&&a.element[0].parentNode)for(var k=0;k<c.length;k++)a.options[c[k][0]]&&c[k][1].apply(a.element,h)}},contains:function(a,c){return document.compareDocumentPosition?a.compareDocumentPosition(c)&16:a!==c&&a.contains(c)},hasScroll:function(a,d){if(c(a).css("overflow")==
"hidden")return!1;var h=d&&d=="left"?"scrollLeft":"scrollTop",k=!1;if(a[h]>0)return!0;a[h]=1;k=a[h]>0;a[h]=0;return k},isOverAxis:function(a,c,h){return a>c&&a<c+h},isOver:function(a,d,h,k,g,m){return c.ui.isOverAxis(a,h,g)&&c.ui.isOverAxis(d,k,m)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,
NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),c.fn.extend({_focus:c.fn.focus,focus:function(a,d){return typeof a==="number"?this.each(function(){var h=this;setTimeout(function(){c(h).focus();d&&d.call(h)},a)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect",
"none")},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",
1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==void 0)return this.css("zIndex",a);if(this.length)for(var a=c(this[0]),d;a.length&&a[0]!==document;){d=a.css("position");if(d=="absolute"||d=="relative"||d=="fixed")if(d=parseInt(a.css("zIndex")),!isNaN(d)&&d!=0)return d;a=a.parent()}return 0}}),c.extend(c.expr[":"],{data:function(a,d,h){return!!c.data(a,h[3])},focusable:function(a){var d=a.nodeName.toLowerCase(),h=c.attr(a,"tabindex");return(/input|select|textarea|button|object/.test(d)?
!a.disabled:"a"==d||"area"==d?a.href||!isNaN(h):!isNaN(h))&&!c(a)["area"==d?"parents":"closest"](":hidden").length},tabbable:function(a){var d=c.attr(a,"tabindex");return(isNaN(d)||d>=0)&&c(a).is(":focusable")}}))})(jQuery);
(function(c){var a=c.fn.remove;c.fn.remove=function(d,h){return this.each(function(){h||(!d||c.filter(d,[this]).length)&&c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return a.call(c(this),d,h)})};c.widget=function(a,h,k){var g=a.split(".")[0],m,a=a.split(".")[1];m=g+"-"+a;if(!k)k=h,h=c.Widget;c.expr[":"][m]=function(g){return!!c.data(g,a)};c[g]=c[g]||{};c[g][a]=function(a,c){arguments.length&&this._createWidget(a,c)};h=new h;h.options=c.extend({},h.options);c[g][a].prototype=
c.extend(!0,h,{namespace:g,widgetName:a,widgetEventPrefix:c[g][a].prototype.widgetEventPrefix||a,widgetBaseClass:m},k);c.widget.bridge(a,c[g][a])};c.widget.bridge=function(a,h){c.fn[a]=function(k){var g=typeof k==="string",m=Array.prototype.slice.call(arguments,1),o=this,k=!g&&m.length?c.extend.apply(null,[!0,k].concat(m)):k;if(g&&k.substring(0,1)==="_")return o;g?this.each(function(){var g=c.data(this,a),h=g&&c.isFunction(g[k])?g[k].apply(g,m):g;if(h!==g&&h!==void 0)return o=h,!1}):this.each(function(){var g=
c.data(this,a);g?(k&&g.option(k),g._init()):c.data(this,a,new h(k,this))});return o}};c.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(a,h){this.element=c(h).data(this.widgetName,this);this.options=c.extend(!0,{},this.options,c.metadata&&c.metadata.get(h)[this.widgetName],a);var k=this;this.element.bind("remove."+this.widgetName,function(){k.destroy()});this._create();this._init()},
_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,h){var k=a,g=this;if(arguments.length===0)return c.extend({},g.options);if(typeof a==="string"){if(h===void 0)return this.options[a];k={};k[a]=h}c.each(k,function(a,c){g._setOption(a,
c)});return g},_setOption:function(a,c){this.options[a]=c;a==="disabled"&&this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(a,h,k){var g=this.options[a],h=c.Event(h);h.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();k=k||{};if(h.originalEvent)for(var a=c.event.props.length,
m;a;)m=c.event.props[--a],h[m]=h.originalEvent[m];this.element.trigger(h,k);return!(c.isFunction(g)&&g.call(this.element[0],h,k)===!1||h.isDefaultPrevented())}}})(jQuery);
(function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(a._preventClickEvent)return a._preventClickEvent=!1,c.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&
this._mouseUp(a);this._mouseDownEvent=a;var d=this,h=a.which==1,k=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:!1;if(!h||k||!this._mouseCapture(a))return!0;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=this._mouseStart(a)!==!1,!this._mouseStarted))return a.preventDefault(),
!0;this._mouseMoveDelegate=function(a){return d._mouseMove(a)};this._mouseUpDelegate=function(a){return d._mouseUp(a)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.browser.safari||a.preventDefault();return a.originalEvent.mouseHandled=!0}},_mouseMove:function(a){if(c.browser.msie&&!a.button)return this._mouseUp(a);if(this._mouseStarted)return this._mouseDrag(a),a.preventDefault();if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=
this._mouseStart(this._mouseDownEvent,a)!==!1)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted)this._mouseStarted=!1,this._preventClickEvent=a.target==this._mouseDownEvent.target,this._mouseStop(a);return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-
a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);
(function(c){c.ui=c.ui||{};var a=/left|center|right/,d=/top|center|bottom/,h=c.fn.position,k=c.fn.offset;c.fn.position=function(g){if(!g||!g.of)return h.apply(this,arguments);var g=c.extend({},g),k=c(g.of),o=(g.collision||"flip").split(" "),q=g.offset?g.offset.split(" "):[0,0],l,j,i;g.of.nodeType===9?(l=k.width(),j=k.height(),i={top:0,left:0}):g.of.scrollTo&&g.of.document?(l=k.width(),j=k.height(),i={top:k.scrollTop(),left:k.scrollLeft()}):g.of.preventDefault?(g.at="left top",l=j=0,i={top:g.of.pageY,
left:g.of.pageX}):(l=k.outerWidth(),j=k.outerHeight(),i=k.offset());c.each(["my","at"],function(){var c=(g[this]||"").split(" ");c.length===1&&(c=a.test(c[0])?c.concat(["center"]):d.test(c[0])?["center"].concat(c):["center","center"]);c[0]=a.test(c[0])?c[0]:"center";c[1]=d.test(c[1])?c[1]:"center";g[this]=c});o.length===1&&(o[1]=o[0]);q[0]=parseInt(q[0],10)||0;q.length===1&&(q[1]=q[0]);q[1]=parseInt(q[1],10)||0;g.at[0]==="right"?i.left+=l:g.at[0]==="center"&&(i.left+=l/2);g.at[1]==="bottom"?i.top+=
j:g.at[1]==="center"&&(i.top+=j/2);i.left+=q[0];i.top+=q[1];return this.each(function(){var a=c(this),d=a.outerWidth(),h=a.outerHeight(),e=c.extend({},i);g.my[0]==="right"?e.left-=d:g.my[0]==="center"&&(e.left-=d/2);g.my[1]==="bottom"?e.top-=h:g.my[1]==="center"&&(e.top-=h/2);e.left=parseInt(e.left);e.top=parseInt(e.top);c.each(["left","top"],function(a,i){if(c.ui.position[o[a]])c.ui.position[o[a]][i](e,{targetWidth:l,targetHeight:j,elemWidth:d,elemHeight:h,offset:q,my:g.my,at:g.at})});c.fn.bgiframe&&
a.bgiframe();a.offset(c.extend(e,{using:g.using}))})};c.ui.position={fit:{left:function(a,d){var h=c(window),h=a.left+d.elemWidth-h.width()-h.scrollLeft();a.left=h>0?a.left-h:Math.max(0,a.left)},top:function(a,d){var h=c(window),h=a.top+d.elemHeight-h.height()-h.scrollTop();a.top=h>0?a.top-h:Math.max(0,a.top)}},flip:{left:function(a,d){if(d.at[0]!=="center"){var h=c(window),h=a.left+d.elemWidth-h.width()-h.scrollLeft(),k=d.my[0]==="left"?-d.elemWidth:d.my[0]==="right"?d.elemWidth:0,l=-2*d.offset[0];
a.left+=a.left<0?k+d.targetWidth+l:h>0?k-d.targetWidth+l:0}},top:function(a,d){if(d.at[1]!=="center"){var h=c(window),h=a.top+d.elemHeight-h.height()-h.scrollTop(),k=d.my[1]==="top"?-d.elemHeight:d.my[1]==="bottom"?d.elemHeight:0,l=d.at[1]==="top"?d.targetHeight:-d.targetHeight,j=-2*d.offset[1];a.top+=a.top<0?k+d.targetHeight+j:h>0?k+l+j:0}}}};if(!c.offset.setOffset)c.offset.setOffset=function(a,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var h=c(a),k=h.offset(),l=parseInt(c.curCSS(a,
"top",!0),10)||0,j=parseInt(c.curCSS(a,"left",!0),10)||0,k={top:d.top-k.top+l,left:d.left-k.left+j};"using"in d?d.using.call(a,k):h.css(k)},c.fn.offset=function(a){var d=this[0];return!d||!d.ownerDocument?null:a?this.each(function(){c.offset.setOffset(this,a)}):k.call(this)}})(jQuery);
jQuery.effects||function(c){function a(a){var d;return a&&a.constructor==Array&&a.length==3?a:(d=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))?[parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10)]:(d=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a))?[parseFloat(d[1])*2.55,parseFloat(d[2])*2.55,parseFloat(d[3])*2.55]:(d=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?[parseInt(d[1],16),parseInt(d[2],
16),parseInt(d[3],16)]:(d=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a))?[parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(a)?m.transparent:m[c.trim(a).toLowerCase()]}function d(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,c={},d,g;if(a&&a.length&&a[0]&&a[a[0]])for(var h=a.length;h--;)d=a[h],typeof a[d]=="string"&&(g=d.replace(/\-(\w)/g,function(a,c){return c.toUpperCase()}),c[g]=a[d]);else for(d in a)typeof a[d]===
"string"&&(c[d]=a[d]);return c}function h(a){var d,i;for(d in a)i=a[d],(i==null||c.isFunction(i)||d in q||/scrollbar/.test(d)||!/color/i.test(d)&&isNaN(parseFloat(i)))&&delete a[d];return a}function k(a,c){var d={_:0},g;for(g in c)a[g]!=c[g]&&(d[g]=c[g]);return d}function g(a,d,i,g){if(typeof a=="object")g=d,i=null,d=a,a=d.effect;c.isFunction(d)&&(g=d,i=null,d={});c.isFunction(i)&&(g=i,i=null);if(typeof d=="number"||c.fx.speeds[d])g=i,i=d,d={};d=d||{};i=i||d.duration;i=c.fx.off?0:typeof i=="number"?
i:c.fx.speeds[i]||c.fx.speeds._default;g=g||d.complete;return[a,d,i,g]}c.effects={};c.each("backgroundColor,borderBottomColor,borderLeftColor,borderRightColor,borderTopColor,color,outlineColor".split(","),function(d,j){c.fx.step[j]=function(d){if(!d.colorInit){var g;g=d.elem;var h=j,l;do{l=c.curCSS(g,h);if(l!=""&&l!="transparent"||c.nodeName(g,"body"))break;h="backgroundColor"}while(g=g.parentNode);g=a(l);d.start=g;d.end=a(d.end);d.colorInit=!0}d.elem.style[j]="rgb("+Math.max(Math.min(parseInt(d.pos*
(d.end[0]-d.start[0])+d.start[0],10),255),0)+","+Math.max(Math.min(parseInt(d.pos*(d.end[1]-d.start[1])+d.start[1],10),255),0)+","+Math.max(Math.min(parseInt(d.pos*(d.end[2]-d.start[2])+d.start[2],10),255),0)+")"}});var m={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],
darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,
0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},o=["add","remove","toggle"],q={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};c.effects.animateClass=function(a,j,i,g){c.isFunction(i)&&(g=i,i=null);return this.each(function(){var t=c(this),m=t.attr("style")||" ",e=h(d.call(this)),q,v=t.attr("className");c.each(o,function(c,d){if(a[d])t[d+"Class"](a[d])});q=h(d.call(this));t.attr("className",
v);t.animate(k(e,q),j,i,function(){c.each(o,function(c,d){if(a[d])t[d+"Class"](a[d])});typeof t.attr("style")=="object"?(t.attr("style").cssText="",t.attr("style").cssText=m):t.attr("style",m);g&&g.apply(this,arguments)})})};c.fn.extend({_addClass:c.fn.addClass,addClass:function(a,d,i,g){return d?c.effects.animateClass.apply(this,[{add:a},d,i,g]):this._addClass(a)},_removeClass:c.fn.removeClass,removeClass:function(a,d,i,g){return d?c.effects.animateClass.apply(this,[{remove:a},d,i,g]):this._removeClass(a)},
_toggleClass:c.fn.toggleClass,toggleClass:function(a,d,i,g,h){return typeof d=="boolean"||d===void 0?i?c.effects.animateClass.apply(this,[d?{add:a}:{remove:a},i,g,h]):this._toggleClass(a,d):c.effects.animateClass.apply(this,[{toggle:a},d,i,g])},switchClass:function(a,d,i,g,h){return c.effects.animateClass.apply(this,[{add:d,remove:a},i,g,h])}});c.extend(c.effects,{version:"1.8.2",save:function(a,c){for(var d=0;d<c.length;d++)c[d]!==null&&a.data("ec.storage."+c[d],a[0].style[c[d]])},restore:function(a,
c){for(var d=0;d<c.length;d++)c[d]!==null&&a.css(c[d],a.data("ec.storage."+c[d]))},setMode:function(a,c){c=="toggle"&&(c=a.is(":hidden")?"show":"hide");return c},getBaseline:function(a,c){var d,g;switch(a[0]){case "top":d=0;break;case "middle":d=0.5;break;case "bottom":d=1;break;default:d=a[0]/c.height}switch(a[1]){case "left":g=0;break;case "center":g=0.5;break;case "right":g=1;break;default:g=a[1]/c.width}return{x:g,y:d}},createWrapper:function(a){if(a.parent().is(".ui-effects-wrapper"))return a.parent();
var d={width:a.outerWidth(!0),height:a.outerHeight(!0),"float":a.css("float")},g=c("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});a.wrap(g);g=a.parent();a.css("position")=="static"?(g.css({position:"relative"}),a.css({position:"relative"})):(c.extend(d,{position:a.css("position"),zIndex:a.css("z-index")}),c.each(["top","left","bottom","right"],function(c,g){d[g]=a.css(g);isNaN(parseInt(d[g],10))&&(d[g]="auto")}),a.css({position:"relative",
top:0,left:0}));return g.css(d).show()},removeWrapper:function(a){return a.parent().is(".ui-effects-wrapper")?a.parent().replaceWith(a):a},setTransition:function(a,d,g,h){h=h||{};c.each(d,function(c,d){unit=a.cssUnit(d);unit[0]>0&&(h[d]=unit[0]*g+unit[1])});return h}});c.fn.extend({effect:function(a,d,i,h){var k=g.apply(this,arguments),k={options:k[1],duration:k[2],callback:k[3]},m=c.effects[a];return m&&!c.fx.off?m.call(this,k):this},_show:c.fn.show,show:function(a){if(!a||typeof a=="number"||c.fx.speeds[a])return this._show.apply(this,
arguments);else{var d=g.apply(this,arguments);d[1].mode="show";return this.effect.apply(this,d)}},_hide:c.fn.hide,hide:function(a){if(!a||typeof a=="number"||c.fx.speeds[a])return this._hide.apply(this,arguments);else{var d=g.apply(this,arguments);d[1].mode="hide";return this.effect.apply(this,d)}},__toggle:c.fn.toggle,toggle:function(a){if(!a||typeof a=="number"||c.fx.speeds[a]||typeof a=="boolean"||c.isFunction(a))return this.__toggle.apply(this,arguments);else{var d=g.apply(this,arguments);d[1].mode=
"toggle";return this.effect.apply(this,d)}},cssUnit:function(a){var d=this.css(a),g=[];c.each(["em","px","%","pt"],function(a,c){d.indexOf(c)>0&&(g=[parseFloat(d),c])});return g}});c.easing.jswing=c.easing.swing;c.extend(c.easing,{def:"easeOutQuad",swing:function(a,d,g,h,k){return c.easing[c.easing.def](a,d,g,h,k)},easeInQuad:function(a,c,d,g,h){return g*(c/=h)*c+d},easeOutQuad:function(a,c,d,g,h){return-g*(c/=h)*(c-2)+d},easeInOutQuad:function(a,c,d,g,h){return(c/=h/2)<1?g/2*c*c+d:-g/2*(--c*(c-2)-
1)+d},easeInCubic:function(a,c,d,g,h){return g*(c/=h)*c*c+d},easeOutCubic:function(a,c,d,g,h){return g*((c=c/h-1)*c*c+1)+d},easeInOutCubic:function(a,c,d,g,h){return(c/=h/2)<1?g/2*c*c*c+d:g/2*((c-=2)*c*c+2)+d},easeInQuart:function(a,c,d,g,h){return g*(c/=h)*c*c*c+d},easeOutQuart:function(a,c,d,g,h){return-g*((c=c/h-1)*c*c*c-1)+d},easeInOutQuart:function(a,c,d,g,h){return(c/=h/2)<1?g/2*c*c*c*c+d:-g/2*((c-=2)*c*c*c-2)+d},easeInQuint:function(a,c,d,g,h){return g*(c/=h)*c*c*c*c+d},easeOutQuint:function(a,
c,d,g,h){return g*((c=c/h-1)*c*c*c*c+1)+d},easeInOutQuint:function(a,c,d,g,h){return(c/=h/2)<1?g/2*c*c*c*c*c+d:g/2*((c-=2)*c*c*c*c+2)+d},easeInSine:function(a,c,d,g,h){return-g*Math.cos(c/h*(Math.PI/2))+g+d},easeOutSine:function(a,c,d,g,h){return g*Math.sin(c/h*(Math.PI/2))+d},easeInOutSine:function(a,c,d,g,h){return-g/2*(Math.cos(Math.PI*c/h)-1)+d},easeInExpo:function(a,c,d,g,h){return c==0?d:g*Math.pow(2,10*(c/h-1))+d},easeOutExpo:function(a,c,d,g,h){return c==h?d+g:g*(-Math.pow(2,-10*c/h)+1)+d},
easeInOutExpo:function(a,c,d,g,h){return c==0?d:c==h?d+g:(c/=h/2)<1?g/2*Math.pow(2,10*(c-1))+d:g/2*(-Math.pow(2,-10*--c)+2)+d},easeInCirc:function(a,c,d,g,h){return-g*(Math.sqrt(1-(c/=h)*c)-1)+d},easeOutCirc:function(a,c,d,g,h){return g*Math.sqrt(1-(c=c/h-1)*c)+d},easeInOutCirc:function(a,c,d,g,h){return(c/=h/2)<1?-g/2*(Math.sqrt(1-c*c)-1)+d:g/2*(Math.sqrt(1-(c-=2)*c)+1)+d},easeInElastic:function(a,c,d,g,h){var a=1.70158,k=0,e=g;if(c==0)return d;if((c/=h)==1)return d+g;k||(k=h*0.3);e<Math.abs(g)?
(e=g,a=k/4):a=k/(2*Math.PI)*Math.asin(g/e);return-(e*Math.pow(2,10*(c-=1))*Math.sin((c*h-a)*2*Math.PI/k))+d},easeOutElastic:function(a,c,d,g,h){var a=1.70158,k=0,e=g;if(c==0)return d;if((c/=h)==1)return d+g;k||(k=h*0.3);e<Math.abs(g)?(e=g,a=k/4):a=k/(2*Math.PI)*Math.asin(g/e);return e*Math.pow(2,-10*c)*Math.sin((c*h-a)*2*Math.PI/k)+g+d},easeInOutElastic:function(a,c,d,g,h){var a=1.70158,k=0,e=g;if(c==0)return d;if((c/=h/2)==2)return d+g;k||(k=h*0.3*1.5);e<Math.abs(g)?(e=g,a=k/4):a=k/(2*Math.PI)*Math.asin(g/
e);return c<1?-0.5*e*Math.pow(2,10*(c-=1))*Math.sin((c*h-a)*2*Math.PI/k)+d:e*Math.pow(2,-10*(c-=1))*Math.sin((c*h-a)*2*Math.PI/k)*0.5+g+d},easeInBack:function(a,c,d,g,h,k){k==void 0&&(k=1.70158);return g*(c/=h)*c*((k+1)*c-k)+d},easeOutBack:function(a,c,d,g,h,k){k==void 0&&(k=1.70158);return g*((c=c/h-1)*c*((k+1)*c+k)+1)+d},easeInOutBack:function(a,c,d,g,h,k){k==void 0&&(k=1.70158);return(c/=h/2)<1?g/2*c*c*(((k*=1.525)+1)*c-k)+d:g/2*((c-=2)*c*(((k*=1.525)+1)*c+k)+2)+d},easeInBounce:function(a,d,g,
h,k){return h-c.easing.easeOutBounce(a,k-d,0,h,k)+g},easeOutBounce:function(a,c,d,g,h){return(c/=h)<1/2.75?g*7.5625*c*c+d:c<2/2.75?g*(7.5625*(c-=1.5/2.75)*c+0.75)+d:c<2.5/2.75?g*(7.5625*(c-=2.25/2.75)*c+0.9375)+d:g*(7.5625*(c-=2.625/2.75)*c+0.984375)+d},easeInOutBounce:function(a,d,g,h,k){return d<k/2?c.easing.easeInBounce(a,d*2,0,h,k)*0.5+g:c.easing.easeOutBounce(a,d*2-k,0,h,k)*0.5+h*0.5+g}})}(jQuery);
(function(c){c.effects.blind=function(a){return this.queue(function(){var d=c(this),h=["position","top","left"],k=c.effects.setMode(d,a.options.mode||"hide"),g=a.options.direction||"vertical";c.effects.save(d,h);d.show();var m=c.effects.createWrapper(d).css({overflow:"hidden"}),o=g=="vertical"?"height":"width",g=g=="vertical"?m.height():m.width();k=="show"&&m.css(o,0);var q={};q[o]=k=="show"?g:0;m.animate(q,a.duration,a.options.easing,function(){k=="hide"&&d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);
a.callback&&a.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
(function(c){c.effects.bounce=function(a){return this.queue(function(){var d=c(this),h=["position","top","left"],k=c.effects.setMode(d,a.options.mode||"effect"),g=a.options.direction||"up",m=a.options.distance||20,o=a.options.times||5,q=a.duration||250;/show|hide/.test(k)&&h.push("opacity");c.effects.save(d,h);d.show();c.effects.createWrapper(d);var l=g=="up"||g=="down"?"top":"left",g=g=="up"||g=="left"?"pos":"neg",m=a.options.distance||(l=="top"?d.outerHeight({margin:!0})/3:d.outerWidth({margin:!0})/
3);k=="show"&&d.css("opacity",0).css(l,g=="pos"?-m:m);k=="hide"&&(m/=o*2);k!="hide"&&o--;if(k=="show"){var j={opacity:1};j[l]=(g=="pos"?"+=":"-=")+m;d.animate(j,q/2,a.options.easing);m/=2;o--}for(j=0;j<o;j++){var i={},p={};i[l]=(g=="pos"?"-=":"+=")+m;p[l]=(g=="pos"?"+=":"-=")+m;d.animate(i,q/2,a.options.easing).animate(p,q/2,a.options.easing);m=k=="hide"?m*2:m/2}k=="hide"?(j={opacity:0},j[l]=(g=="pos"?"-=":"+=")+m,d.animate(j,q/2,a.options.easing,function(){d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);
a.callback&&a.callback.apply(this,arguments)})):(i={},p={},i[l]=(g=="pos"?"-=":"+=")+m,p[l]=(g=="pos"?"+=":"-=")+m,d.animate(i,q/2,a.options.easing).animate(p,q/2,a.options.easing,function(){c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(this,arguments)}));d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
(function(c){c.effects.clip=function(a){return this.queue(function(){var d=c(this),h=["position","top","left","height","width"],k=c.effects.setMode(d,a.options.mode||"hide"),g=a.options.direction||"vertical";c.effects.save(d,h);d.show();var m=c.effects.createWrapper(d).css({overflow:"hidden"}),m=d[0].tagName=="IMG"?m:d,o=g=="vertical"?"height":"width",q=g=="vertical"?"top":"left",g=g=="vertical"?m.height():m.width();k=="show"&&(m.css(o,0),m.css(q,g/2));var l={};l[o]=k=="show"?g:0;l[q]=k=="show"?0:
g/2;m.animate(l,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){k=="hide"&&d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(d[0],arguments);d.dequeue()}})})}})(jQuery);
(function(c){c.effects.drop=function(a){return this.queue(function(){var d=c(this),h=["position","top","left","opacity"],k=c.effects.setMode(d,a.options.mode||"hide"),g=a.options.direction||"left";c.effects.save(d,h);d.show();c.effects.createWrapper(d);var m=g=="up"||g=="down"?"top":"left",g=g=="up"||g=="left"?"pos":"neg",o=a.options.distance||(m=="top"?d.outerHeight({margin:!0})/2:d.outerWidth({margin:!0})/2);k=="show"&&d.css("opacity",0).css(m,g=="pos"?-o:o);var q={opacity:k=="show"?1:0};q[m]=(k==
"show"?g=="pos"?"+=":"-=":g=="pos"?"-=":"+=")+o;d.animate(q,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){k=="hide"&&d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
(function(c){c.effects.explode=function(a){return this.queue(function(){var d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,h=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode=="toggle"?c(this).is(":visible")?"hide":"show":a.options.mode;var k=c(this).show().css("visibility","hidden"),g=k.offset();g.top-=parseInt(k.css("marginTop"),10)||0;g.left-=parseInt(k.css("marginLeft"),10)||0;for(var m=k.outerWidth(!0),o=k.outerHeight(!0),q=0;q<d;q++)for(var l=
0;l<h;l++)k.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-l*(m/h),top:-q*(o/d)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:m/h,height:o/d,left:g.left+l*(m/h)+(a.options.mode=="show"?(l-Math.floor(h/2))*(m/h):0),top:g.top+q*(o/d)+(a.options.mode=="show"?(q-Math.floor(d/2))*(o/d):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+l*(m/h)+(a.options.mode=="show"?0:(l-Math.floor(h/2))*(m/h)),top:g.top+
q*(o/d)+(a.options.mode=="show"?0:(q-Math.floor(d/2))*(o/d)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?k.css({visibility:"visible"}):k.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(k[0]);k.dequeue();c("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
(function(c){c.effects.fold=function(a){return this.queue(function(){var d=c(this),h=["position","top","left"],k=c.effects.setMode(d,a.options.mode||"hide"),g=a.options.size||15,m=!!a.options.horizFirst,o=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(d,h);d.show();var q=c.effects.createWrapper(d).css({overflow:"hidden"}),l=k=="show"!=m,j=l?["width","height"]:["height","width"],l=l?[q.width(),q.height()]:[q.height(),q.width()],i=/([0-9]+)%/.exec(g);i&&(g=parseInt(i[1],10)/100*l[k==
"hide"?0:1]);k=="show"&&q.css(m?{height:0,width:g}:{height:g,width:0});m={};i={};m[j[0]]=k=="show"?l[0]:g;i[j[1]]=k=="show"?l[1]:0;q.animate(m,o,a.options.easing).animate(i,o,a.options.easing,function(){k=="hide"&&d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
(function(c){c.effects.highlight=function(a){return this.queue(function(){var d=c(this),h=["backgroundImage","backgroundColor","opacity"],k=c.effects.setMode(d,a.options.mode||"show"),g={backgroundColor:d.css("backgroundColor")};if(k=="hide")g.opacity=0;c.effects.save(d,h);d.show().css({backgroundImage:"none",backgroundColor:a.options.color||"#ffff99"}).animate(g,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){k=="hide"&&d.hide();c.effects.restore(d,h);k=="show"&&!c.support.opacity&&
this.style.removeAttribute("filter");a.callback&&a.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
(function(c){c.effects.pulsate=function(a){return this.queue(function(){var d=c(this),h=c.effects.setMode(d,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:c.fx.speeds._default/2;isVisible=d.is(":visible");animateTo=0;isVisible||(d.css("opacity",0).show(),animateTo=1);(h=="hide"&&isVisible||h=="show"&&!isVisible)&&times--;for(h=0;h<times;h++)d.animate({opacity:animateTo},duration,a.options.easing),animateTo=(animateTo+1)%2;d.animate({opacity:animateTo},duration,
a.options.easing,function(){animateTo==0&&d.hide();a.callback&&a.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()}).dequeue()})}})(jQuery);
(function(c){c.effects.puff=function(a){return this.queue(function(){var d=c(this),h=c.effects.setMode(d,a.options.mode||"hide"),k=parseInt(a.options.percent,10)||150,g=k/100,m={height:d.height(),width:d.width()};c.extend(a.options,{fade:!0,mode:h,percent:h=="hide"?k:100,from:h=="hide"?m:{height:m.height*g,width:m.width*g}});d.effect("scale",a.options,a.duration,a.callback);d.dequeue()})};c.effects.scale=function(a){return this.queue(function(){var d=c(this),h=c.extend(!0,{},a.options),k=c.effects.setMode(d,
a.options.mode||"effect"),g=parseInt(a.options.percent,10)||(parseInt(a.options.percent,10)==0?0:k=="hide"?0:100),m=a.options.direction||"both",o=a.options.origin;if(k!="effect")h.origin=o||["middle","center"],h.restore=!0;o={height:d.height(),width:d.width()};d.from=a.options.from||(k=="show"?{height:0,width:0}:o);d.to={height:o.height*(m!="horizontal"?g/100:1),width:o.width*(m!="vertical"?g/100:1)};if(a.options.fade){if(k=="show")d.from.opacity=0,d.to.opacity=1;if(k=="hide")d.from.opacity=1,d.to.opacity=
0}h.from=d.from;h.to=d.to;h.mode=k;d.effect("size",h,a.duration,a.callback);d.dequeue()})};c.effects.size=function(a){return this.queue(function(){var d=c(this),h="position,top,left,width,height,overflow,opacity".split(","),k=["position","top","left","overflow","opacity"],g=["width","height","overflow"],m=["fontSize"],o=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],q=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=c.effects.setMode(d,a.options.mode||"effect"),
j=a.options.restore||!1,i=a.options.scale||"both",p=a.options.origin,t={height:d.height(),width:d.width()};d.from=a.options.from||t;d.to=a.options.to||t;if(p)p=c.effects.getBaseline(p,t),d.from.top=(t.height-d.from.height)*p.y,d.from.left=(t.width-d.from.width)*p.x,d.to.top=(t.height-d.to.height)*p.y,d.to.left=(t.width-d.to.width)*p.x;var w=d.from.height/t.height,e=d.from.width/t.width,y=d.to.height/t.height,v=d.to.width/t.width;if(i=="box"||i=="both"){if(w!=y)h=h.concat(o),d.from=c.effects.setTransition(d,
o,w,d.from),d.to=c.effects.setTransition(d,o,y,d.to);if(e!=v)h=h.concat(q),d.from=c.effects.setTransition(d,q,e,d.from),d.to=c.effects.setTransition(d,q,v,d.to)}if((i=="content"||i=="both")&&w!=y)h=h.concat(m),d.from=c.effects.setTransition(d,m,w,d.from),d.to=c.effects.setTransition(d,m,y,d.to);c.effects.save(d,j?h:k);d.show();c.effects.createWrapper(d);d.css("overflow","hidden").css(d.from);if(i=="content"||i=="both")o=o.concat(["marginTop","marginBottom"]).concat(m),q=q.concat(["marginLeft","marginRight"]),
g=h.concat(o).concat(q),d.find("*[width]").each(function(){child=c(this);j&&c.effects.save(child,g);var d=child.height(),h=child.width();child.from={height:d*w,width:h*e};child.to={height:d*y,width:h*v};if(w!=y)child.from=c.effects.setTransition(child,o,w,child.from),child.to=c.effects.setTransition(child,o,y,child.to);if(e!=v)child.from=c.effects.setTransition(child,q,e,child.from),child.to=c.effects.setTransition(child,q,v,child.to);child.css(child.from);child.animate(child.to,a.duration,a.options.easing,
function(){j&&c.effects.restore(child,g)})});d.animate(d.to,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){d.to.opacity===0&&d.css("opacity",d.from.opacity);l=="hide"&&d.hide();c.effects.restore(d,j?h:k);c.effects.removeWrapper(d);a.callback&&a.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
(function(c){c.effects.shake=function(a){return this.queue(function(){var d=c(this),h=["position","top","left"];c.effects.setMode(d,a.options.mode||"effect");var k=a.options.direction||"left",g=a.options.distance||20,m=a.options.times||3,o=a.duration||a.options.duration||140;c.effects.save(d,h);d.show();c.effects.createWrapper(d);var q=k=="up"||k=="down"?"top":"left",l=k=="up"||k=="left"?"pos":"neg",k={},j={},i={};k[q]=(l=="pos"?"-=":"+=")+g;j[q]=(l=="pos"?"+=":"-=")+g*2;i[q]=(l=="pos"?"-=":"+=")+
g*2;d.animate(k,o,a.options.easing);for(g=1;g<m;g++)d.animate(j,o,a.options.easing).animate(i,o,a.options.easing);d.animate(j,o,a.options.easing).animate(k,o/2,a.options.easing,function(){c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(this,arguments)});d.queue("fx",function(){d.dequeue()});d.dequeue()})}})(jQuery);
(function(c){c.effects.slide=function(a){return this.queue(function(){var d=c(this),h=["position","top","left"],k=c.effects.setMode(d,a.options.mode||"show"),g=a.options.direction||"left";c.effects.save(d,h);d.show();c.effects.createWrapper(d).css({overflow:"hidden"});var m=g=="up"||g=="down"?"top":"left",g=g=="up"||g=="left"?"pos":"neg",o=a.options.distance||(m=="top"?d.outerHeight({margin:!0}):d.outerWidth({margin:!0}));k=="show"&&d.css(m,g=="pos"?-o:o);var q={};q[m]=(k=="show"?g=="pos"?"+=":"-=":
g=="pos"?"-=":"+=")+o;d.animate(q,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){k=="hide"&&d.hide();c.effects.restore(d,h);c.effects.removeWrapper(d);a.callback&&a.callback.apply(this,arguments);d.dequeue()}})})}})(jQuery);
(function(c){c.effects.transfer=function(a){return this.queue(function(){var d=c(this),h=c(a.options.to),k=h.offset(),h={top:k.top,left:k.left,height:h.innerHeight(),width:h.innerWidth()},k=d.offset(),g=c('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:k.top,left:k.left,height:d.innerHeight(),width:d.innerWidth(),position:"absolute"}).animate(h,a.duration,a.options.easing,function(){g.remove();a.callback&&a.callback.apply(d[0],arguments);d.dequeue()})})}})(jQuery);
jQuery.noConflict();
jQuery.cookie=function(c,a,d){if(typeof a!="undefined"){d=d||{};if(a===null)a="",d.expires=-1;var h="";if(d.expires&&(typeof d.expires=="number"||d.expires.toUTCString))typeof d.expires=="number"?(h=new Date,h.setTime(h.getTime()+d.expires*864E5)):h=d.expires,h="; expires="+h.toUTCString();var k=d.path?"; path="+d.path:"",g=d.domain?"; domain="+d.domain:"",d=d.secure?"; secure":"";document.cookie=[c,"=",encodeURIComponent(a),h,k,g,d].join("")}else{a=null;if(document.cookie&&document.cookie!=""){d=
document.cookie.split(";");for(h=0;h<d.length;h++)if(k=jQuery.trim(d[h]),k.substring(0,c.length+1)==c+"="){a=decodeURIComponent(k.substring(c.length+1));break}}return a}};
(function(c){function a(a){return typeof a=="object"?a:{top:a,left:a}}var d=c.scrollTo=function(a,d,g){c(window).scrollTo(a,d,g)};d.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};d.window=function(){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){if(this.nodeName&&c.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])==-1)return this;var a=(this.contentWindow||this).document||this.ownerDocument||this;return c.browser.safari||
a.compatMode=="BackCompat"?a.body:a.documentElement})};c.fn.scrollTo=function(h,k,g){typeof k=="object"&&(g=k,k=0);typeof g=="function"&&(g={onAfter:g});h=="max"&&(h=9E9);g=c.extend({},d.defaults,g);k=k||g.speed||g.duration;g.queue=g.queue&&g.axis.length>1;g.queue&&(k/=2);g.offset=a(g.offset);g.over=a(g.over);return this._scrollable().each(function(){function m(a){q.animate(i,k,g.easing,a&&function(){a.call(this,h,g)})}var o=this,q=c(o),l=h,j,i={},p=q.is("html,body");switch(typeof l){case "number":case "string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(l)){l=
a(l);break}l=c(l,this);case "object":if(l.is||l.style)j=(l=c(l)).offset()}c.each(g.axis.split(""),function(a,c){var e=c=="x"?"Left":"Top",h=e.toLowerCase(),k="scroll"+e,r=o[k],A=d.max(o,c);j?(i[k]=j[h]+(p?0:r-q.offset()[h]),g.margin&&(i[k]-=parseInt(l.css("margin"+e))||0,i[k]-=parseInt(l.css("border"+e+"Width"))||0),i[k]+=g.offset[h]||0,g.over[h]&&(i[k]+=l[c=="x"?"width":"height"]()*g.over[h])):(e=l[h],i[k]=e.slice&&e.slice(-1)=="%"?parseFloat(e)/100*A:e);/^\d+$/.test(i[k])&&(i[k]=i[k]<=0?0:Math.min(i[k],
A));!a&&g.queue&&(r!=i[k]&&m(g.onAfterFirst),delete i[k])});m(g.onAfter)}).end()};d.max=function(a,d){var g=d=="x"?"Width":"Height",m="scroll"+g;if(!c(a).is("html,body"))return a[m]-c(a)[g.toLowerCase()]();var g="client"+g,o=a.ownerDocument.documentElement,q=a.ownerDocument.body;return Math.max(o[m],q[m])-Math.min(o[g],q[g])}})(jQuery);
jQuery.fn.topLink=function(c){c=jQuery.extend({min:1,fadeSpeed:200,ieOffset:50},c);return this.each(function(){var a=jQuery(this);a.hide();jQuery(window).scroll(function(){jQuery.support.hrefNormalized||a.css({position:"absolute",top:jQuery(window).scrollTop()+jQuery(window).height()-c.ieOffset});jQuery(window).scrollTop()>=c.min?a.fadeIn(c.fadeSpeed):a.fadeOut(c.fadeSpeed)})})};
function $f(c,a,d){return a==void 0?d==void 0?function(){return c()}:function(){return c.apply(d)}:d==void 0?function(){return c.apply({},a)}:function(){return c.apply(d,a)}}var Skinbox={};
(function(c){Skinbox=function(){return{storage:{},storage_ns:"",init:function(a){Skinbox.storage_ns=a.storage_ns;if(c.cookie("skinbox_storage_"+a.storage_ns)!=null)Skinbox.storage=c.parseJSON(c.cookie("skinbox_storage_"+a.storage_ns));if(Skinbox.storage.shides==void 0)Skinbox.storage.shides={};if(Skinbox.storage.backgrounds==void 0)Skinbox.storage.backgrounds={};c("table").attr("cellspacing","0")},store:function(a){c.extend(!0,Skinbox.storage,a);Skinbox.commit()},commit:function(){c.cookie("skinbox_storage_"+
Skinbox.storage_ns,JSON.stringify(Skinbox.storage),{expires:10,path:"/"})},ready:function(a){c.isArray(a)?c(document).ready(function(){a.each(function(a){a()})}):c(document).ready(a)},topLink:function(a){a==void 0&&(a={element:"#sb-toplink"});c(a.element).topLink({min:a.min||200,fadeSpeed:a.fadeSpeed||500});c(a.element).click(function(d){d.preventDefault();c.scrollTo(0,a.scrollSpeed||300)})},shide:function(a){if(!a.duration)a.duration=750;if(!a.direction)a.direction="top";c(a.element).wrapAll('<div id="sb-anim-wrapper-'+
a.ns+'" />').wrapAll('<div id="sb-anim-'+a.ns+'" />');var d=c("#sb-anim-wrapper-"+a.ns),h=c("#sb-anim-"+a.ns);a.$animation=h;a.$animationWrapper=d;d.css({overflow:"hidden"});a.direction=="right"&&(d.css({}),h.css({position:"relative",left:0,top:0}));if(a.state==void 0)a.state={_after:function(a){a.callback!=void 0&&a.callback(c,a,Skinbox.storage.shides[a.ns]);a.before!=void 0&&a.before(c,a,Skinbox.storage.shides[a.ns]);a.after!=void 0&&a.after(c,a,Skinbox.storage.shides[a.ns]);a.complete!=void 0&&
a.complete(c,a,Skinbox.storage.shides[a.ns])}},a.direction=="top"?(a.state.shown=function(a,c){c.state._after(c)},a.state.hidden=function(a,c){c.$animation.css({marginTop:-c.$animation.outerHeight(),opacity:0});c.state._after(c)}):(a.state.shown=function(a,c){Skinbox.superShideShow(c);c.state._after(c)},a.state.hidden=function(a,c){Skinbox.superShideHide(c);c.state._after(c)});Skinbox.storage.shides[a.ns]!=void 0?Skinbox.storage.shides[a.ns]?a.state.shown(c,a):a.state.hidden(c,a):a.showByDefault!=
void 0||a.showByDefault==!1?a.state.hidden(c,a):a.state.shown(c,a);c(a.trigger).click(function(){a.callback!=void 0&&a.callback(c,a,!Skinbox.storage.shides[a.ns]);a.before!=void 0&&a.before(c,a,!Skinbox.storage.shides[a.ns]);Skinbox.storage.shides[a.ns]?(Skinbox.storage.shides[a.ns]=!1,c(a.trigger).switchClass("sb-shide-element-on","sb-shide-element-off",500)):(Skinbox.storage.shides[a.ns]=!0,c(a.trigger).switchClass("sb-shide-element-off","sb-shide-element-on",500));Skinbox.commit();Skinbox.storage.shides[a.ns]?
Skinbox.superShideShow(a):Skinbox.superShideHide(a)})},superShideShow:function(a){a.direction=="top"?a.$animation.animate({marginTop:0,opacity:1},{duration:a.duration,queue:!0,complete:function(){a.complete!=void 0&&a.complete(c,a,Skinbox.storage.shides[a.ns])}}):a.direction=="right"&&a.$animation.animate({left:0,opacity:1},{duration:a.duration,queue:!0,complete:function(){a.complete!=void 0&&a.complete(c,a,Skinbox.storage.shides[a.ns])}});a.after!=void 0&&a.after(c,a,Skinbox.storage.shides[a.ns])},
superShideHide:function(a){a.direction=="top"?a.$animation.animate({marginTop:-a.$animation.outerHeight(),opacity:0},{duration:a.duration,queue:!0,complete:function(){a.complete!=void 0&&a.complete(c,a,Skinbox.storage.shides[a.ns])}}):a.direction=="right"&&a.$animation.animate({left:+a.$animation.outerWidth(),opacity:0},{duration:a.duration,queue:!0,complete:function(){a.complete!=void 0&&a.complete(c,a,Skinbox.storage.shides[a.ns])}});a.after!=void 0&&a.after(c,a,Skinbox.storage.shides[a.ns])},shides:function(a){a.triggers.each(function(c,
h){Skinbox.shide({trigger:h,element:a.elements[c]})})},dropdown:function(a){var d=c(a.element),h=d.children(":eq(1)");h.hide();d.addClass("sb-dropdown");d.addClass("sb-dropdown-off");d.hover(function(){Skinbox.dropdownShow(d,h,a)},function(){Skinbox.dropdownHide(d,h,a)})},dropdownShow:function(a,d,h){a.clearQueue();c(".sb-dropdown > *:eq(1)").not(d).is(":visible")&&c(".sb-dropdown > *:eq(1):visible").not(d).each(function(a,d){Skinbox.dropdownHide(c(d),c(d).children(":eq(1)"),c.extend(h,{delay:1}))});
a.queue(function(c){d.slideDown({duration:"fast",queue:!0});a.addClass("sb-dropdown-on");a.removeClass("sb-dropdown-off");c()})},dropdownHide:function(a,c,h){a.delay(h.delay||500);a.queue(function(h){c.slideUp({duration:"fast",queue:!0});a.addClass("sb-dropdown-off");a.removeClass("sb-dropdown-on");h()})},dropdowns:function(a){a.elements.each(function(a,c){Skinbox.dropdown({element:c})})},backgroundSwitcher:function(a){if(a.element==void 0)a.element="body";if(Skinbox.storage.backgrounds[a.ns]!=void 0){var d=
Skinbox.storage.backgrounds[a.ns],h=c("#"+d);h.length==1?Skinbox.switchBackground({id:d,ns:a.ns,href:h.attr("href"),element:a.element,switcher:function(a,c){c.defaultSwitcher()}},a):(Skinbox.storage.backgrounds[a.ns]=void 0,Skinbox.commit())}if(a.switcher==void 0)a.switcher=function(a,c){c.defaultSwitcher()};c(a.triggers).children("a").each(function(d,g){c(g).click(function(d){d.preventDefault();d.stopPropagation();Skinbox.switchBackground({id:c(g).attr("id"),ns:a.ns,href:c(g).attr("href"),element:a.element,
switcher:a.switcher},a)})})},switchBackground:function(a,d){Skinbox.storage.backgrounds[a.ns]=a.id;Skinbox.commit();if(ipb==void 0||ipb.profile==void 0||ipb.profile.customization==void 0||ipb.profile.customization!=1)d.defaultSwitcher=function(){c(a.element).css({"background-image":"url("+a.href+")"})},a.switcher(c,d)},box:function(a){a.width&&(a.width+="px");a.height&&(a.height+="px");if(a.element)c(a.element).hide(),a.content=c(a.element).html(),c(a.element).remove();var d=new ipb.Popup(a.name,
{type:"pane",modal:a.modal||!1,w:a.width||"500px",h:a.height||"500px",initial:a.content,hideAtStart:!0,close:'a[rel="close"]'});a.trigger?c(a.trigger).click(function(a){a.stopPropagation();a.preventDefault();d.show()}):d.show()},balloon:function(a){a.width&&(a.width+="px");a.height&&(a.height+="px");if(a.element)c(a.element).hide(),a.content=c(a.element).html(),c(a.element).remove();var d=new ipb.Popup(a.name,{type:"balloon",stem:!0,modal:a.modal||!1,w:a.width||"500px",h:a.height||"500px",initial:a.content,
hideAtStart:!0,close:'a[rel="close"]',attach:{target:Element.extend(c(a.trigger)[0])}});c(a.trigger).click(function(a){a.stopPropagation();a.preventDefault();d.show()})},loginBox:function(){Skinbox.box({name:"login-box",element:"#sb-login-box",trigger:".trigger-login"})},creditsBox:function(){Skinbox.box({name:"credits-box",trigger:".trigger-credits-box",element:"#sb-credits-box"})}}}()})(jQuery);
