(function(){if(!(typeof jQuery!=="undefined"&&typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined")){(function(i,h){function j(){if(!c.isReady){try{y.documentElement.doScroll("left")}catch(a){setTimeout(j,1);return}c.ready()}}function n(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function v(a,b,d,f,e,l){var m=a.length;if(typeof b==="object"){for(var u in b)v(a,u,b[u],f,e,d);
return a}if(d!==h){f=!l&&f&&c.isFunction(d);for(u=0;u<m;u++)e(a[u],b,f?d.call(a[u],u,e(a[u],b)):d,l);return a}return m?e(a[0],b):h}function q(){return(new Date).getTime()}function s(){return false}function B(){return true}function z(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function G(a){var b,d=[],f=[],e=arguments,l,m,u,o,t,A;m=c.data(this,"events");if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){a.liveFired=this;var E=m.live.slice(0);for(o=0;o<E.length;o++){m=E[o];m.origType.replace(la,
"")===a.type?f.push(m.selector):E.splice(o--,1)}l=c(a.target).closest(f,a.currentTarget);t=0;for(A=l.length;t<A;t++)for(o=0;o<E.length;o++){m=E[o];if(l[t].selector===m.selector){u=l[t].elem;f=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")f=c(a.relatedTarget).closest(m.selector)[0];if(!f||f!==u)d.push({elem:u,handleObj:m})}}t=0;for(A=d.length;t<A;t++){l=d[t];a.currentTarget=l.elem;a.data=l.handleObj.data;a.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,e)===false){b=false;
break}}return b}}function P(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function I(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function C(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var l in f)for(var m in f[l])c.event.add(this,l,f[l][m],f[l][m].data)}}})}function N(a,b,d){var f,e,l;b=b&&b[0]?b[0].ownerDocument||b[0]:y;if(a.length===1&&
typeof a[0]==="string"&&a[0].length<512&&b===y&&!Pa.test(a[0])&&(c.support.checkClone||!Qa.test(a[0]))){e=true;if(l=c.fragments[a[0]])if(l!==1)f=l}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=l?f:1;return{fragment:f,cacheable:e}}function M(a,b){var d={};c.each(Ra.concat.apply([],Ra.slice(0,b)),function(){d[this]=a});return d}function L(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,
b)},T=i.jQuery,ha=i.$,y=i.document,ca,ra=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,lb=/^.[^:#\[\.,]*$/,mb=/\S/,nb=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,ob=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ma=navigator.userAgent,Sa=false,na=[],ia,ya=Object.prototype.toString,za=Object.prototype.hasOwnProperty,Aa=Array.prototype.push,oa=Array.prototype.slice,Ta=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=
y;this[0]=y.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=ra.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:y;if(a=ob.exec(a))if(c.isPlainObject(b)){a=[y.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=N([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=y.getElementById(d[2])){if(b.id!==d[2])return ca.find(a);this.length=1;this[0]=b}this.context=y;this.selector=
a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=y;a=y.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||ca).find(a):c(b).find(a);else if(c.isFunction(a))return ca.ready(a);if(a.selector!==h){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return oa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},
pushStack:function(a,b,d){var f=c();c.isArray(a)?Aa.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(y,c);else na&&na.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
slice:function(){return this.pushStack(oa.apply(this,arguments),"slice",oa.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:Aa,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,l,m,u;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===
b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(l in e){m=a[l];u=e[l];if(a!==u)if(f&&u&&(c.isPlainObject(u)||c.isArray(u))){m=m&&(c.isPlainObject(m)||c.isArray(m))?m:c.isArray(u)?[]:{};a[l]=c.extend(f,m,u)}else if(u!==h)a[l]=u}return a};c.extend({noConflict:function(a){i.$=ha;if(a)i.jQuery=T;return c},isReady:false,ready:function(){if(!c.isReady){if(!y.body)return setTimeout(c.ready,13);c.isReady=true;if(na){for(var a,b=0;a=na[b++];)a.call(y,c);na=null}c.fn.triggerHandler&&c(y).triggerHandler("ready")}},
bindReady:function(){if(!Sa){Sa=true;if(y.readyState==="complete")return c.ready();if(y.addEventListener){y.addEventListener("DOMContentLoaded",ia,false);i.addEventListener("load",c.ready,false)}else if(y.attachEvent){y.attachEvent("onreadystatechange",ia);i.attachEvent("onload",c.ready);var a=false;try{a=i.frameElement==null}catch(b){}y.documentElement.doScroll&&a&&j()}}},isFunction:function(a){return ya.call(a)==="[object Function]"},isArray:function(a){return ya.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||
ya.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!za.call(a,"constructor")&&!za.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===h||za.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);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 i.JSON&&i.JSON.parse?i.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&mb.test(a)){var b=y.getElementsByTagName("head")[0]||y.documentElement,d=y.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(y.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===
b.toUpperCase()},each:function(a,b,d){var f,e=0,l=a.length,m=l===h||c.isFunction(a);if(d)if(m)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<l;){if(b.apply(a[e++],d)===false)break}else if(m)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<l&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(nb,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?Aa.call(b,
a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==h;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,l=a.length;e<l;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,l=0,m=a.length;l<m;l++){e=b(a[l],l,d);if(e!=null)f[f.length]=e}return f.concat.apply([],
f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=h}else if(b&&!c.isFunction(b)){d=b;b=h}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},
browser:{}});ma=c.uaMatch(ma);if(ma.browser){c.browser[ma.browser]=true;c.browser.version=ma.version}if(c.browser.webkit)c.browser.safari=true;if(Ta)c.inArray=function(a,b){return Ta.call(b,a)};ca=c(y);if(y.addEventListener)ia=function(){y.removeEventListener("DOMContentLoaded",ia,false);c.ready()};else if(y.attachEvent)ia=function(){if(y.readyState==="complete"){y.detachEvent("onreadystatechange",ia);c.ready()}};(function(){c.support={};var a=y.documentElement,b=y.createElement("script"),d=y.createElement("div"),
f="script"+q();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!l)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),
cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:y.createElement("select").appendChild(y.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(y.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(y.createTextNode("window."+f+"=1;"))}catch(m){}a.insertBefore(b,a.firstChild);if(i[f]){c.support.scriptEval=true;delete i[f]}try{delete b.test}catch(u){c.support.deleteExpando=
false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function o(){c.support.noCloneEvent=false;d.detachEvent("onclick",o)});d.cloneNode(true).fireEvent("onclick")}d=y.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=y.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var o=y.createElement("div");o.style.width=o.style.paddingLeft="1px";y.body.appendChild(o);
c.boxModel=c.support.boxModel=o.offsetWidth===2;y.body.removeChild(o).style.display="none"});a=function(o){var t=y.createElement("div");o="on"+o;var A=o in t;if(!A){t.setAttribute(o,"return;");A=typeof t[o]==="function"}return A};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=l=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",
frameborder:"frameBorder"};var da="jQuery"+q(),pb=0,Ua={};c.extend({cache:{},expando:da,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==i?Ua:a;var f=a[da],e=c.cache;if(!f&&typeof b==="string"&&d===h)return null;f||(f=++pb);if(typeof b==="object"){a[da]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[da]=f;e[f]={}}a=e[f];if(d!==h)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==i?Ua:a;var d=a[da],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===h){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===h&&
this.length)f=c.data(this[0],a);return f===h&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();
if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===h)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||
"fx",[])}});var Va=/[\n\t]/g,Ba=/\s+/,qb=/\r/g,rb=/href|src|style/,sb=/(button|input)/i,tb=/(button|input|object|select|textarea)/i,ub=/^(a|area)$/i,Wa=/radio|checkbox/;c.fn.extend({attr:function(a,b){return v(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(t){var A=c(this);A.addClass(a.call(this,t,A.attr("class")))});if(a&&typeof a==="string")for(var b=
(a||"").split(Ba),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var l=" "+e.className+" ",m=e.className,u=0,o=b.length;u<o;u++)if(l.indexOf(" "+b[u]+" ")<0)m+=" "+b[u];e.className=c.trim(m)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var t=c(this);t.removeClass(a.call(this,o,t.attr("class")))});if(a&&typeof a==="string"||a===h)for(var b=(a||"").split(Ba),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===
1&&e.className)if(a){for(var l=(" "+e.className+" ").replace(Va," "),m=0,u=b.length;m<u;m++)l=l.replace(" "+b[m]+" "," ");e.className=c.trim(l)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var l=c(this);l.toggleClass(a.call(this,e,l.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,l=0,m=c(this),u=b,o=a.split(Ba);e=o[l++];){u=f?u:!m.hasClass(e);m[u?"addClass":"removeClass"](e)}else if(d===
"undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Va," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===h){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=
[],e=b.options;b=b.type==="select-one";if(d<0)return null;var l=b?d:0;for(d=b?d+1:e.length;l<d;l++){var m=e[l];if(m.selected){a=c(m).val();if(b)return a;f.push(a)}}return f}if(Wa.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(qb,"")}return h}var u=c.isFunction(a);return this.each(function(o){var t=c(this),A=a;if(this.nodeType===1){if(u)A=a.call(this,o,t.val());if(typeof A==="number")A+="";if(c.isArray(A)&&Wa.test(this.type))this.checked=
c.inArray(t.val(),A)>=0;else if(c.nodeName(this,"select")){var E=c.makeArray(A);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),E)>=0});if(!E.length)this.selectedIndex=-1}else this.value=A}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return h;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==h;b=f&&c.props[b]||b;if(a.nodeType===
1){var l=rb.test(b);if(b in a&&f&&!l){if(e){b==="type"&&sb.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:tb.test(a.nodeName)||ub.test(a.nodeName)&&a.href?0:h;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&
f&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?h:a}return c.style(a,b,d)}});var la=/\.(.*)$/,vb=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==i&&!a.frameElement)a=i;var e,l;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(l=c.data(a)){var m=l.events=l.events||{},u=l.handle;if(!u)l.handle=u=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(u.elem,
arguments):h};u.elem=a;b=b.split(" ");for(var o,t=0,A;o=b[t++];){l=e?c.extend({},e):{handler:d,data:f};if(o.indexOf(".")>-1){A=o.split(".");o=A.shift();l.namespace=A.slice(0).sort().join(".")}else{A=[];l.namespace=""}l.type=o;l.guid=d.guid;var E=m[o],K=c.event.special[o]||{};if(!E){E=m[o]=[];if(!K.setup||K.setup.call(a,f,A,u)===false)if(a.addEventListener)a.addEventListener(o,u,false);else a.attachEvent&&a.attachEvent("on"+o,u)}if(K.add){K.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}E.push(l);
c.event.global[o]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,l=0,m,u,o,t,A,E,K=c.data(a),S=K&&K.events;if(K&&S){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in S)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[l++];){t=e;m=e.indexOf(".")<0;u=[];if(!m){u=e.split(".");e=u.shift();o=new RegExp("(^|\\.)"+c.map(u.slice(0).sort(),vb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=S[e])if(d){t=c.event.special[e]||
{};for(R=f||0;R<A.length;R++){E=A[R];if(d.guid===E.guid){if(m||o.test(E.namespace)){f==null&&A.splice(R--,1);t.remove&&t.remove.call(a,E)}if(f!=null)break}}if(A.length===0||f!=null&&A.length===1){if(!t.teardown||t.teardown.call(a,u)===false)Xa(a,e,K.handle);delete S[e]}}else for(var R=0;R<A.length;R++){E=A[R];if(m||o.test(E.namespace)){c.event.remove(a,t,E.handler,R);A.splice(R--,1)}}}if(c.isEmptyObject(S)){if(b=K.handle)b.elem=null;delete K.events;delete K.handle;c.isEmptyObject(K)&&c.removeData(a)}}}}},
trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[da]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return h;a.result=h;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;
try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(l){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var m,u=c.nodeName(f,"a")&&e==="click",o=c.event.special[e]||{};if((!o._default||o._default.call(d,a)===false)&&!u&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(m=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(t){}if(m)f["on"+e]=
m;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||i.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var l=d.length;e<l;e++){var m=d[e];if(b||f.test(m.namespace)){a.handler=m.handler;a.data=m.data;a.handleObj=m;m=m.handler.apply(this,arguments);if(m!==h){a.result=
m;if(m===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[da])return a;
var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||y;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=y.documentElement;d=y.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||
d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==h)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:G}))},remove:function(a){var b=true,d=a.origType.replace(la,"");c.each(c.data(this,"events").live||[],function(){if(d===
this.origType.replace(la,""))return b=false});b&&c.event.remove(this,a.origType,G)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Xa=y.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=
a;this.timeStamp=q();this[da]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=B;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=B;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=B;this.stopPropagation()},isDefaultPrevented:s,isPropagationStopped:s,isImmediatePropagationStopped:s};
var Ya=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Za=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Za:Ya,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Za:Ya)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return z("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return z("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Ca=/textarea|input|select/i,
Da,$a=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Ea=function(a,b){var d=a.target,f,e;if(!(!Ca.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=$a(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===h||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,
b,d)}}};c.event.special.change={filters:{focusout:Ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Ea.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",$a(a))}},setup:function(){if(this.type==="file")return false;
for(var a in Da)c.event.add(this,a+".specialChange",Da[a]);return Ca.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Ca.test(this.nodeName)}};Da=c.event.special.change.filters}y.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind",
"one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var l in d)this[b](l,f,d[l],e);return this}if(c.isFunction(f)){e=f;f=h}var m=b==="one"?c.proxy(e,function(o){c(this).unbind(o,m);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{l=0;for(var u=this.length;l<u;l++)c.event.add(this[l],d,m,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<
f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,
function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ab={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,l){var m,u=0,o,t,A=l||this.selector,E=l?this:c(this.context);if(c.isFunction(f)){e=f;f=h}for(d=(d||"").split(" ");(m=d[u++])!=null;){l=
la.exec(m);o="";if(l){o=l[0];m=m.replace(la,"")}if(m==="hover")d.push("mouseenter"+o,"mouseleave"+o);else{t=m;if(m==="focus"||m==="blur"){d.push(ab[m]+o);m+=o}else m=(ab[m]||m)+o;b==="live"?E.each(function(){c.event.add(this,P(m,A),{data:f,selector:A,handler:e,origType:m,origHandler:e,preType:t})}):E.unbind(P(m,A),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});i.attachEvent&&!i.addEventListener&&i.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var k="",p,r=0;g[r];r++){p=g[r];if(p.nodeType===3||p.nodeType===4)k+=p.nodeValue;else if(p.nodeType!==8)k+=a(p.childNodes)}return k}function b(g,k,p,r,x,w){x=0;for(var F=r.length;x<F;x++){var D=r[x];
if(D){D=D[g];for(var J=false;D;){if(D.sizcache===p){J=r[D.sizset];break}if(D.nodeType===1&&!w){D.sizcache=p;D.sizset=x}if(D.nodeName.toLowerCase()===k){J=D;break}D=D[g]}r[x]=J}}}function d(g,k,p,r,x,w){x=0;for(var F=r.length;x<F;x++){var D=r[x];if(D){D=D[g];for(var J=false;D;){if(D.sizcache===p){J=r[D.sizset];break}if(D.nodeType===1){if(!w){D.sizcache=p;D.sizset=x}if(typeof k!=="string"){if(D===k){J=true;break}}else if(o.filter(k,[D]).length>0){J=D;break}}D=D[g]}r[x]=J}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,l=Object.prototype.toString,m=false,u=true;[0,0].sort(function(){u=false;return 0});var o=function(g,k,p,r){p=p||[];var x=k=k||y;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!g||typeof g!=="string")return p;for(var w=[],F,D,J,pa,ea=true,ja=H(k),fa=g;(f.exec(""),F=f.exec(fa))!==null;){fa=F[3];w.push(F[1]);if(F[2]){pa=F[3];break}}if(w.length>1&&A.exec(g))if(w.length===2&&t.relative[w[0]])D=Fa(w[0]+w[1],k);else for(D=t.relative[w[0]]?[k]:o(w.shift(),k);w.length;){g=w.shift();if(t.relative[g])g+=
w.shift();D=Fa(g,D)}else{if(!r&&w.length>1&&k.nodeType===9&&!ja&&t.match.ID.test(w[0])&&!t.match.ID.test(w[w.length-1])){F=o.find(w.shift(),k,ja);k=F.expr?o.filter(F.expr,F.set)[0]:F.set[0]}if(k){F=r?{expr:w.pop(),set:K(r)}:o.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&k.parentNode?k.parentNode:k,ja);D=F.expr?o.filter(F.expr,F.set):F.set;if(w.length>0)J=K(D);else ea=false;for(;w.length;){var U=w.pop();F=U;if(t.relative[U])F=w.pop();else U="";if(F==null)F=k;t.relative[U](J,F,ja)}}else J=[]}J||
(J=D);J||o.error(U||g);if(l.call(J)==="[object Array]")if(ea)if(k&&k.nodeType===1)for(g=0;J[g]!=null;g++){if(J[g]&&(J[g]===true||J[g].nodeType===1&&V(k,J[g])))p.push(D[g])}else for(g=0;J[g]!=null;g++)J[g]&&J[g].nodeType===1&&p.push(D[g]);else p.push.apply(p,J);else K(J,p);if(pa){o(pa,x,p,r);o.uniqueSort(p)}return p};o.uniqueSort=function(g){if(R){m=u;g.sort(R);if(m)for(var k=1;k<g.length;k++)g[k]===g[k-1]&&g.splice(k--,1)}return g};o.matches=function(g,k){return o(g,null,null,k)};o.find=function(g,
k,p){var r,x;if(!g)return[];for(var w=0,F=t.order.length;w<F;w++){var D=t.order[w];if(x=t.leftMatch[D].exec(g)){var J=x[1];x.splice(1,1);if(J.substr(J.length-1)!=="\\"){x[1]=(x[1]||"").replace(/\\/g,"");r=t.find[D](x,k,p);if(r!=null){g=g.replace(t.match[D],"");break}}}}r||(r=k.getElementsByTagName("*"));return{set:r,expr:g}};o.filter=function(g,k,p,r){for(var x=g,w=[],F=k,D,J,pa=k&&k[0]&&H(k[0]);g&&k.length;){for(var ea in t.filter)if((D=t.leftMatch[ea].exec(g))!=null&&D[2]){var ja=t.filter[ea],fa,
U;U=D[1];J=false;D.splice(1,1);if(U.substr(U.length-1)!=="\\"){if(F===w)w=[];if(t.preFilter[ea])if(D=t.preFilter[ea](D,F,p,w,r,pa)){if(D===true)continue}else J=fa=true;if(D)for(var sa=0;(U=F[sa])!=null;sa++)if(U){fa=ja(U,D,sa,F);var bb=r^!!fa;if(p&&fa!=null)if(bb)J=true;else F[sa]=false;else if(bb){w.push(U);J=true}}if(fa!==h){p||(F=w);g=g.replace(t.match[ea],"");if(!J)return[];break}}}if(g===x)if(J==null)o.error(g);else break;x=g}return F};o.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var t=o.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(g){return g.getAttribute("href")}},relative:{"+":function(g,k){var p=typeof k==="string",r=p&&!/\W/.test(k);p=p&&!r;if(r)k=k.toLowerCase();r=0;for(var x=g.length,w;r<x;r++)if(w=g[r]){for(;(w=w.previousSibling)&&w.nodeType!==1;);g[r]=p||w&&w.nodeName.toLowerCase()===k?w||false:w===k}p&&o.filter(k,g,true)},">":function(g,k){var p=typeof k==="string";if(p&&!/\W/.test(k)){k=k.toLowerCase();for(var r=0,x=g.length;r<x;r++){var w=
g[r];if(w){p=w.parentNode;g[r]=p.nodeName.toLowerCase()===k?p:false}}}else{r=0;for(x=g.length;r<x;r++)if(w=g[r])g[r]=p?w.parentNode:w.parentNode===k;p&&o.filter(k,g,true)}},"":function(g,k,p){var r=e++,x=d;if(typeof k==="string"&&!/\W/.test(k)){var w=k=k.toLowerCase();x=b}x("parentNode",k,r,g,w,p)},"~":function(g,k,p){var r=e++,x=d;if(typeof k==="string"&&!/\W/.test(k)){var w=k=k.toLowerCase();x=b}x("previousSibling",k,r,g,w,p)}},find:{ID:function(g,k,p){if(typeof k.getElementById!=="undefined"&&
!p)return(g=k.getElementById(g[1]))?[g]:[]},NAME:function(g,k){if(typeof k.getElementsByName!=="undefined"){var p=[];k=k.getElementsByName(g[1]);for(var r=0,x=k.length;r<x;r++)k[r].getAttribute("name")===g[1]&&p.push(k[r]);return p.length===0?null:p}},TAG:function(g,k){return k.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,k,p,r,x,w){g=" "+g[1].replace(/\\/g,"")+" ";if(w)return g;w=0;for(var F;(F=k[w])!=null;w++)if(F)if(x^(F.className&&(" "+F.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))p||r.push(F);else if(p)k[w]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=k[1]+(k[2]||1)-0;g[3]=k[3]-0}g[0]=e++;return g},ATTR:function(g,k,p,r,x,w){k=g[1].replace(/\\/g,"");if(!w&&t.attrMap[k])g[1]=t.attrMap[k];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,k,p,r,
x){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,k);else{g=o.filter(g[3],k,p,true^x);p||r.push.apply(r,g);return false}else if(t.match.POS.test(g[0])||t.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},
empty:function(g){return!g.firstChild},has:function(g,k,p){return!!o(p[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===
g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,k){return k===0},last:function(g,k,p,r){return k===r.length-1},even:function(g,k){return k%2===0},odd:function(g,k){return k%2===1},lt:function(g,k,p){return k<p[3]-0},gt:function(g,k,p){return k>p[3]-0},nth:function(g,k,p){return p[3]-0===k},eq:function(g,k,p){return p[3]-0===k}},filter:{PSEUDO:function(g,k,p,r){var x=k[1],w=t.filters[x];if(w)return w(g,
p,k,r);else if(x==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(k[3])>=0;else if(x==="not"){k=k[3];p=0;for(r=k.length;p<r;p++)if(k[p]===g)return false;return true}else o.error("Syntax error, unrecognized expression: "+x)},CHILD:function(g,k){var p=k[1],r=g;switch(p){case "only":case "first":for(;r=r.previousSibling;)if(r.nodeType===1)return false;if(p==="first")return true;r=g;case "last":for(;r=r.nextSibling;)if(r.nodeType===1)return false;return true;case "nth":p=k[2];var x=
k[3];if(p===1&&x===0)return true;k=k[0];var w=g.parentNode;if(w&&(w.sizcache!==k||!g.nodeIndex)){var F=0;for(r=w.firstChild;r;r=r.nextSibling)if(r.nodeType===1)r.nodeIndex=++F;w.sizcache=k}g=g.nodeIndex-x;return p===0?g===0:g%p===0&&g/p>=0}},ID:function(g,k){return g.nodeType===1&&g.getAttribute("id")===k},TAG:function(g,k){return k==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===k},CLASS:function(g,k){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(g,k){var p=
k[1];g=t.attrHandle[p]?t.attrHandle[p](g):g[p]!=null?g[p]:g.getAttribute(p);p=g+"";var r=k[2];k=k[4];return g==null?r==="!=":r==="="?p===k:r==="*="?p.indexOf(k)>=0:r==="~="?(" "+p+" ").indexOf(k)>=0:!k?p&&g!==false:r==="!="?p!==k:r==="^="?p.indexOf(k)===0:r==="$="?p.substr(p.length-k.length)===k:r==="|="?p===k||p.substr(0,k.length+1)===k+"-":false},POS:function(g,k,p,r){var x=t.setFilters[k[2]];if(x)return x(g,p,k,r)}}},A=t.match.POS;for(var E in t.match){t.match[E]=new RegExp(t.match[E].source+/(?![^\[]*\])(?![^\(]*\))/.source);
t.leftMatch[E]=new RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[E].source.replace(/\\(\d+)/g,function(g,k){return"\\"+(k-0+1)}))}var K=function(g,k){g=Array.prototype.slice.call(g,0);if(k){k.push.apply(k,g);return k}return g};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(S){K=function(g,k){k=k||[];if(l.call(g)==="[object Array]")Array.prototype.push.apply(k,g);else if(typeof g.length==="number")for(var p=0,r=g.length;p<r;p++)k.push(g[p]);else for(p=0;g[p];p++)k.push(g[p]);return k}}var R;
if(y.documentElement.compareDocumentPosition)R=function(g,k){if(!g.compareDocumentPosition||!k.compareDocumentPosition){if(g==k)m=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(k)&4?-1:g===k?0:1;if(g===0)m=true;return g};else if("sourceIndex"in y.documentElement)R=function(g,k){if(!g.sourceIndex||!k.sourceIndex){if(g==k)m=true;return g.sourceIndex?-1:1}g=g.sourceIndex-k.sourceIndex;if(g===0)m=true;return g};else if(y.createRange)R=function(g,k){if(!g.ownerDocument||!k.ownerDocument){if(g==
k)m=true;return g.ownerDocument?-1:1}var p=g.ownerDocument.createRange(),r=k.ownerDocument.createRange();p.setStart(g,0);p.setEnd(g,0);r.setStart(k,0);r.setEnd(k,0);g=p.compareBoundaryPoints(Range.START_TO_END,r);if(g===0)m=true;return g};(function(){var g=y.createElement("div"),k="script"+(new Date).getTime();g.innerHTML="<a name='"+k+"'/>";var p=y.documentElement;p.insertBefore(g,p.firstChild);if(y.getElementById(k)){t.find.ID=function(r,x,w){if(typeof x.getElementById!=="undefined"&&!w)return(x=
x.getElementById(r[1]))?x.id===r[1]||typeof x.getAttributeNode!=="undefined"&&x.getAttributeNode("id").nodeValue===r[1]?[x]:h:[]};t.filter.ID=function(r,x){var w=typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id");return r.nodeType===1&&w&&w.nodeValue===x}}p.removeChild(g);p=g=null})();(function(){var g=y.createElement("div");g.appendChild(y.createComment(""));if(g.getElementsByTagName("*").length>0)t.find.TAG=function(k,p){p=p.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var r=
0;p[r];r++)p[r].nodeType===1&&k.push(p[r]);p=k}return p};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")t.attrHandle.href=function(k){return k.getAttribute("href",2)};g=null})();y.querySelectorAll&&function(){var g=o,k=y.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===0)){o=function(r,x,w,F){x=x||y;if(!F&&x.nodeType===9&&!H(x))try{return K(x.querySelectorAll(r),
w)}catch(D){}return g(r,x,w,F)};for(var p in g)o[p]=g[p];k=null}}();(function(){var g=y.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){t.order.splice(1,0,"CLASS");t.find.CLASS=function(k,p,r){if(typeof p.getElementsByClassName!=="undefined"&&!r)return p.getElementsByClassName(k[1])};g=null}}})();var V=y.compareDocumentPosition?
function(g,k){return!!(g.compareDocumentPosition(k)&16)}:function(g,k){return g!==k&&(g.contains?g.contains(k):true)},H=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},Fa=function(g,k){var p=[],r="",x;for(k=k.nodeType?[k]:k;x=t.match.PSEUDO.exec(g);){r+=x[0];g=g.replace(t.match.PSEUDO,"")}g=t.relative[g]?g+"*":g;x=0;for(var w=k.length;x<w;x++)o(g,k[x],p);return o.filter(r,p)};c.find=o;c.expr=o.selectors;c.expr[":"]=c.expr.filters;c.unique=o.uniqueSort;c.text=
a;c.isXMLDoc=H;c.contains=V})();var wb=/Until$/,xb=/^(?:parents|prevUntil|prevAll)/,yb=/,/;oa=Array.prototype.slice;var cb=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,l){return!!b.call(e,l,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(lb.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var l=d;l<b.length;l++)for(var m=0;m<d;m++)if(b[m]===b[l]){b.splice(l--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(cb(this,a,false),"not",a)},filter:function(a){return this.pushStack(cb(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>
0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,l={},m;if(f&&a.length){e=0;for(var u=a.length;e<u;e++){m=a[e];l[m]||(l[m]=c.expr.match.POS.test(m)?c(m,b||this.context):m)}for(;f&&f.ownerDocument&&f!==b;){for(m in l){e=l[m];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:m,elem:f});delete l[m]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(t,A){for(;A&&A.ownerDocument&&A!==b;){if(o?o.index(A)>-1:c(A).is(a))return A;
A=A.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(I(a[0])||I(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},
parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},
contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);wb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||yb.test(f))&&xb.test(a))e=e.reverse();return this.pushStack(e,a,oa.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=
a[b];a&&a.nodeType!==9&&(d===h||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var db=/ jQuery\d+="(?:\d+|null)"/g,ta=/^\s+/,eb=/(<([\w:]+)[^>]*?)\/>/g,zb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,fb=/<([\w:]+)/,Ab=/<tbody/i,Bb=/<|&#?\w+;/,Pa=/<script|<object|<embed|<option|<style/i,
Qa=/checked\s*(?:[^=]|=\s*.checked.)/i,gb=function(a,b,d){return zb.test(d)?a:b+"></"+d+">"},W={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,"",""]};W.optgroup=W.option;W.tbody=W.tfoot=W.colgroup=W.caption=W.thead;W.th=W.td;if(!c.support.htmlSerialize)W._default=
[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==h)return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=
this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(db,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ta,"")],f)[0]}else return this.cloneNode(true)});if(a===true){C(this,b);C(this.find("*"),b.find("*"))}return b},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(db,
""):null;else if(typeof a==="string"&&!Pa.test(a)&&(c.support.leadingWhitespace||!ta.test(a))&&!W[(fb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(eb,gb);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var l=c(this),m=l.html();l.empty().append(function(){return a.call(this,e,m)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(E){return c.nodeName(E,"table")?E.getElementsByTagName("tbody")[0]||
E.appendChild(E.ownerDocument.createElement("tbody")):E}var e,l,m=a[0],u=[],o;if(!c.support.checkClone&&arguments.length===3&&typeof m==="string"&&Qa.test(m))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(m))return this.each(function(E){var K=c(this);a[0]=m.call(this,E,b?K.html():h);K.domManip(a,b,d)});if(this[0]){e=m&&m.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:N(a,this,u);o=e.fragment;if(l=o.childNodes.length===
1?(o=o.firstChild):o.firstChild){b=b&&c.nodeName(l,"tr");for(var t=0,A=this.length;t<A;t++)d.call(b?f(this[t],l):this[t],t>0||e.cacheable||this.length>1?o.cloneNode(true):o)}u.length&&c.each(u,n)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);
return this}else{e=0;for(var l=d.length;e<l;e++){var m=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),m);f=f.concat(m)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||y;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||y;for(var e=[],l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!Bb.test(m))m=b.createTextNode(m);else if(typeof m==="string"){m=m.replace(eb,gb);var u=(fb.exec(m)||["",
""])[1].toLowerCase(),o=W[u]||W._default,t=o[0],A=b.createElement("div");for(A.innerHTML=o[1]+m+o[2];t--;)A=A.lastChild;if(!c.support.tbody){t=Ab.test(m);u=u==="table"&&!t?A.firstChild&&A.firstChild.childNodes:o[1]==="<table>"&&!t?A.childNodes:[];for(o=u.length-1;o>=0;--o)c.nodeName(u[o],"tbody")&&!u[o].childNodes.length&&u[o].parentNode.removeChild(u[o])}!c.support.leadingWhitespace&&ta.test(m)&&A.insertBefore(b.createTextNode(ta.exec(m)[0]),A.firstChild);m=A.childNodes}if(m.nodeType)e.push(m);else e=
c.merge(e,m)}}if(d)for(l=0;e[l];l++)if(f&&c.nodeName(e[l],"script")&&(!e[l].type||e[l].type.toLowerCase()==="text/javascript"))f.push(e[l].parentNode?e[l].parentNode.removeChild(e[l]):e[l]);else{e[l].nodeType===1&&e.splice.apply(e,[l+1,0].concat(c.makeArray(e[l].getElementsByTagName("script"))));d.appendChild(e[l])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,l=c.support.deleteExpando,m=0,u;(u=a[m])!=null;m++)if(d=u[c.expando]){b=f[d];if(b.events)for(var o in b.events)e[o]?
c.event.remove(u,o):Xa(u,o,b.handle);if(l)delete u[c.expando];else u.removeAttribute&&u.removeAttribute(c.expando);delete f[d]}}});var Cb=/z-?index|font-?weight|opacity|zoom|line-?height/i,hb=/alpha\([^)]*\)/,ib=/opacity=([^)]*)/,Ga=/float/i,Ha=/-([a-z])/ig,Db=/([A-Z])/g,Eb=/^-?\d+(?:px)?$/i,Fb=/^-?\d/,Gb={position:"absolute",visibility:"hidden",display:"block"},Hb=["Left","Right"],Ib=["Top","Bottom"],Jb=y.defaultView&&y.defaultView.getComputedStyle,jb=c.support.cssFloat?"cssFloat":"styleFloat",Ia=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return v(this,a,b,true,function(d,f,e){if(e===h)return c.curCSS(d,f);if(typeof e==="number"&&!Cb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return h;if((b==="width"||b==="height")&&parseFloat(d)<0)d=h;var f=a.style||a,e=d!==h;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=
hb.test(a)?a.replace(hb,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(ib.exec(f.filter)[1])/100+"":""}if(Ga.test(b))b=jb;b=b.replace(Ha,Ia);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,l=b==="width"?Hb:Ib;d=function(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(l,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,
"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,Gb,d);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=ib.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Ga.test(b))b=jb;if(!d&&e&&e[b])f=e[b];else if(Jb){if(Ga.test(b))b="float";b=b.replace(Db,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(Ha,Ia);f=a.currentStyle[b]||a.currentStyle[d];if(!Eb.test(f)&&Fb.test(f)){b=e.left;var l=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=l}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var Kb=q(),Lb=/<script(.|\s)*?\/script>/gi,Mb=/select|textarea/i,Nb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,ka=/=\?(&|$)/,Ja=/\?/,Ob=/(\?|&)_=.*?(&|$)/,Pb=/^(\w+:)?\/\/([^\/?#]+)/,Qb=/%20/g,Rb=c.fn.load;c.fn.extend({load:function(a,b,
d){if(typeof a!=="string")return Rb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var l=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(m,u){if(u==="success"||u==="notmodified")l.html(e?c("<div />").append(m.responseText.replace(Lb,"")).find(e):m.responseText);d&&l.each(d,[m.responseText,
u,m])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Mb.test(this.nodeName)||Nb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:i.XMLHttpRequest&&(i.location.protocol!=="file:"||!i.ActiveXObject)?function(){return new i.XMLHttpRequest}:function(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},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(a){function b(){e.success&&
e.success.call(o,u,m,H);e.global&&f("ajaxSuccess",[H,e])}function d(){e.complete&&e.complete.call(o,H,m);e.global&&f("ajaxComplete",[H,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(x,w){(e.context?c(e.context):c.event).trigger(x,w)}var e=c.extend(true,{},c.ajaxSettings,a),l,m,u,o=a&&a.context||e,t=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(t==="GET")ka.test(e.url)||(e.url+=(Ja.test(e.url)?
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!ka.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&ka.test(e.data)||ka.test(e.url))){l=e.jsonpCallback||"jsonp"+Kb++;if(e.data)e.data=(e.data+"").replace(ka,"="+l+"$1");e.url=e.url.replace(ka,"="+l+"$1");e.dataType="script";i[l]=i[l]||function(x){u=x;b();d();i[l]=h;try{delete i[l]}catch(w){}K&&K.removeChild(S)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
false&&t==="GET"){var A=q(),E=e.url.replace(Ob,"$1_="+A+"$2");e.url=E+(E===e.url?(Ja.test(e.url)?"&":"?")+"_="+A:"")}if(e.data&&t==="GET")e.url+=(Ja.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");A=(A=Pb.exec(e.url))&&(A[1]&&A[1]!==location.protocol||A[2]!==location.host);if(e.dataType==="script"&&t==="GET"&&A){var K=y.getElementsByTagName("head")[0]||y.documentElement,S=y.createElement("script");S.src=e.url;if(e.scriptCharset)S.charset=e.scriptCharset;if(!l){var R=
false;S.onload=S.onreadystatechange=function(){if(!R&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){R=true;b();d();S.onload=S.onreadystatechange=null;K&&S.parentNode&&K.removeChild(S)}}}K.insertBefore(S,K.firstChild);return h}var V=false,H=e.xhr();if(H){e.username?H.open(t,e.url,e.async,e.username,e.password):H.open(t,e.url,e.async);try{if(e.data||a&&a.contentType)H.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&H.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]);c.etag[e.url]&&H.setRequestHeader("If-None-Match",c.etag[e.url])}A||H.setRequestHeader("X-Requested-With","XMLHttpRequest");H.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(Fa){}if(e.beforeSend&&e.beforeSend.call(o,H,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");H.abort();return false}e.global&&f("ajaxSend",[H,e]);var g=H.onreadystatechange=function(x){if(!H||H.readyState===0||x==="abort"){V||
d();V=true;if(H)H.onreadystatechange=c.noop}else if(!V&&H&&(H.readyState===4||x==="timeout")){V=true;H.onreadystatechange=c.noop;m=x==="timeout"?"timeout":!c.httpSuccess(H)?"error":e.ifModified&&c.httpNotModified(H,e.url)?"notmodified":"success";var w;if(m==="success")try{u=c.httpData(H,e.dataType,e)}catch(F){m="parsererror";w=F}if(m==="success"||m==="notmodified")l||b();else c.handleError(e,H,m,w);d();x==="timeout"&&H.abort();if(e.async)H=null}};try{var k=H.abort;H.abort=function(){H&&k.call(H);
g("abort")}}catch(p){}e.async&&e.timeout>0&&setTimeout(function(){H&&!V&&g("timeout")},e.timeout);try{H.send(t==="POST"||t==="PUT"||t==="DELETE"?e.data:null)}catch(r){c.handleError(e,H,null,r);d()}e.async||g();return H}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b===
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(m,u){if(c.isArray(u))c.each(u,function(o,t){b||/\[\]$/.test(m)?f(m,t):d(m+"["+(typeof t==="object"||c.isArray(t)?o:"")+"]",t)});else!b&&u!=null&&typeof u==="object"?c.each(u,function(o,t){d(m+"["+o+"]",t)}):f(m,u)}function f(m,u){u=c.isFunction(u)?u():u;e[e.length]=encodeURIComponent(m)+"="+encodeURIComponent(u)}var e=[];if(b===h)b=c.ajaxSettings.traditional;
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var l in a)d(l,a[l]);return e.join("&").replace(Qb,"+")}});var Ka={},Sb=/toggle|show|hide/,Tb=/^([+-]=)?([\d+-.]+)(.*)$/,ua,Ra=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(M("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");
this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(Ka[d])f=Ka[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();Ka[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(M("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(M("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var l=c.extend({},e),m,u=this.nodeType===1&&c(this).is(":hidden"),o=this;for(m in a){var t=m.replace(Ha,Ia);if(m!==t){a[t]=a[m];delete a[m];m=t}if(a[m]==="hide"&&u||a[m]==="show"&&!u)return l.complete.call(this);if((m==="height"||m==="width")&&this.style){l.display=c.css(this,"display");l.overflow=this.style.overflow}if(c.isArray(a[m])){(l.specialEasing=
l.specialEasing||{})[m]=a[m][1];a[m]=a[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(A,E){var K=new c.fx(o,l,A);if(Sb.test(E))K[E==="toggle"?u?"show":"hide":E](a);else{var S=Tb.exec(E),R=K.cur(true)||0;if(S){E=parseFloat(S[2]);var V=S[3]||"px";if(V!=="px"){o.style[A]=(E||1)+V;R=(E||1)/K.cur(true)*R;o.style[A]=R+V}if(S[1])E=(S[1]==="-="?-1:1)*E+R;K.custom(R,E,V)}else K.custom(R,E,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:M("show",1),slideUp:M("hide",1),slideToggle:M("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration===
"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(l){return e.step(l)}this.startTime=q();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!ua)ua=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=q(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,
e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
c.fx.stop()},stop:function(){clearInterval(ua);ua=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in
y.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||
0)}}:function(a){var b=this[0];if(a)return this.each(function(A){c.offset.setOffset(this,a,A)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,l,m=e.documentElement,u=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==u&&b!==m;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;l=e?e.getComputedStyle(b,
null):b.currentStyle;o-=b.scrollTop;t-=b.scrollLeft;if(b===d){o+=b.offsetTop;t+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){o+=parseFloat(l.borderTopWidth)||0;t+=parseFloat(l.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&l.overflow!=="visible"){o+=parseFloat(l.borderTopWidth)||0;t+=parseFloat(l.borderLeftWidth)||0}f=l}if(f.position==="relative"||f.position==="static"){o+=u.offsetTop;
t+=u.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){o+=Math.max(m.scrollTop,u.scrollTop);t+=Math.max(m.scrollLeft,u.scrollLeft)}return{top:o,left:t}};c.offset={initialize:function(){var a=y.body,b=y.createElement("div"),d,f,e,l=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),l=parseInt(c.curCSS(a,"top",true),10)||0,m=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+l,left:b.left-e.left+m};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||y.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],l;if(!e)return null;if(f!==h)return this.each(function(){if(l=L(this))l.scrollTo(!a?f:c(l).scrollLeft(),a?f:c(l).scrollTop());else this[d]=f});else return(l=L(e))?"pageXOffset"in l?l[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(l){var m=c(this);m[d](f.call(this,l,m[d]()))});return"scrollTo"in e&&e.document?
e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===h?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});i.jQuery=i.$=c})(window);var O=jQuery;O.noConflict();jQuery.cookie=function(i,h,j){if(typeof h!="undefined"){j=j||{};if(h===null){h="";j.expires=-1}var n="";if(j.expires&&(typeof j.expires==
"number"||j.expires.toUTCString)){if(typeof j.expires=="number"){n=new Date;n.setTime(n.getTime()+j.expires*24*60*60*1E3)}else n=j.expires;n="; expires="+n.toUTCString()}var v=j.path?"; path="+j.path:"",q=j.domain?"; domain="+j.domain:"";j=j.secure?"; secure":"";document.cookie=[i,"=",encodeURIComponent(h),n,v,q,j].join("")}else{h=null;if(document.cookie&&document.cookie!=""){j=document.cookie.split(";");for(n=0;n<j.length;n++){v=jQuery.trim(j[n]);if(v.substring(0,i.length+1)==i+"="&&v.match("=")){h=
decodeURIComponent(v.substring(i.length+1));break}else if(!v.match("=")&&v.substring(0,i.length)==i){h="";break}}}return h}};jQuery.fn.extend({elementFrame:function(){var i=jQuery(this);if(arguments.length===1){var h=arguments[0],j=h.topleft,n=h.bottomright,v=j.x,q=h.width||n.x-j.x;n=h.height||n.y-j.y;i.css("top",j.y+"px");i.css("left",v+"px");if(!h.ignoreDimensions){i.width(q);i.height(n)}i.css("zIndex",h.zIndex);return this}else{i=jQuery(this);var s=i.offset();q=i.width();n=i.height();h=i.outerWidth()||
q;j=i.outerHeight()||n;v=s.left;var B=v+h;s=s.top;var z=s+j;i=i.css("z-index");return{width:q,height:n,outerWidth:h,outerHeight:j,zIndex:i,topleft:{x:v,y:s},topright:{x:B,y:s},bottomleft:{x:v,y:z},bottomright:{x:B,y:z}}}},windowFrame:function(){var i=jQuery(document.body),h=0,j=jQuery(document.body).width();if(self.innerHeight)h=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)h=document.documentElement.clientHeight;else if(document.body)h=document.body.clientHeight;
var n=parseInt(i.css("margin-left"),10),v=parseInt(i.css("margin-right"),10);i=self.pageYOffset||jQuery.boxModel&&document.documentElement.scrollTop||document.body.scrollTop;var q=i+h,s=self.pageXOffset||jQuery.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;n=s+j+v+n;v=scrollWidth=0;v=document.documentElement&&document.documentElement.scrollHeight>v?document.documentElement.scrollHeight:document.body.scrollHeight>h?document.body.scrollHeight:document.body.offsetHeight;scrollWidth=
document.documentElement&&document.documentElement.scrollWidth>scrollWidth?document.documentElement.scrollWidth:document.body.scrollWidth>j?document.body.scrollWidth:document.body.offsetWidth;return{width:j,height:h,scrollWidth:scrollWidth,scrollHeight:v,topleft:{x:s,y:i},topright:{x:n,y:i},bottomleft:{x:s,y:q},bottomright:{x:n,y:q}}},_availableFrameSizesHelper:function(i,h,j,n,v,q){return i===0||h===0?null:{width:i,height:h,topleft:{x:q,y:j},topright:{x:n,y:j},bottomleft:{x:q,y:v},bottomright:{x:n,
y:v}}},availableFrameSizes:function(){var i=jQuery(this),h=i.elementFrame(),j=i.windowFrame(),n=j.topleft.y,v=j.topleft.x;i=j.topright.x;var q=j.bottomright.y,s=h.topleft.y,B=h.bottomleft.y,z=h.topleft.x,G=h.topright.x,P=h.width,I=h.height,C=s-n;if(C<0)C=0;var N=q-B;if(N<0)N=0;var M=z-v;if(M<0)M=0;var L=i-G;if(L<0)L=0;h=this._availableFrameSizesHelper(j.width,C,n,i,s,v);var c=this._availableFrameSizesHelper(j.width,N,B,i,q,v),T=this._availableFrameSizesHelper(M,j.height,n,G,q,v);j=this._availableFrameSizesHelper(L,
j.height,n,i,q,G);var ha=this._availableFrameSizesHelper(M,C,n,z,s,v),y=this._availableFrameSizesHelper(P,C,n,G,s,z);n=this._availableFrameSizesHelper(L,C,n,i,s,G);C=this._availableFrameSizesHelper(M,N,B,z,q,v);P=this._availableFrameSizesHelper(P,N,B,G,q,z);q=this._availableFrameSizesHelper(L,N,B,i,q,G);v=this._availableFrameSizesHelper(M,I,s,z,B,v);i=this._availableFrameSizesHelper(L,I,s,i,B,G);return{top:h,bottom:c,left:T,right:j,topleft:ha,topcenter:y,topright:n,bottomleft:C,bottomcenter:P,bottomright:q,
middleleft:v,middleright:i}},elementFramePercentHidden:function(){var i=jQuery(this),h=i.windowFrame(),j=i.elementFrame();i=h.topleft.y;var n=h.topleft.x,v=h.bottomright.x,q=h.bottomright.y,s=j.topleft.y,B=j.bottomleft.y,z=j.topleft.x,G=j.topright.x,P=j.outerWidth;j=j.outerHeight;var I=rPixel=tPixel=bPixel=0,C=rPercent=tPercent=bPercent=0,N=false;n=z-n;if(n<0){N=true;I=n*-1;C=(P+n)/P*100}n=v-G;if(n<0){N=true;rPixel=n*-1;rPercent=100-(P+n)/P*100}n=s-i;if(n<0){N=true;tPixel=n*-1;tPercent=(j+n)/j*100}n=
q-B+(!jQuery.browser.msie&&h.scrollWidth>h.width+16?-16:0);if(n<0){N=true;bPixel=n*-1;bPercent=100-(j+n)/j*100}return{isHidden:N,left:C,right:rPercent,top:tPercent,bottom:bPercent,pixels:{left:I,right:rPixel,top:tPixel,bottom:bPixel}}},moveFrameIntoView:function(){var i=jQuery(this),h=i.elementFramePercentHidden();if(h.isHidden){var j=h.pixels.bottom,n=h.pixels.left,v=h.pixels.right;h=h.pixels.top||-j||0;if(h!==0){h=parseInt(i.css("top"),10)+parseInt(h,10);i.css("top",h+"px")}n=n||-v||0;if(n!==0){n=
parseInt(i.css("left"),10)+parseInt(n,10);i.css("left",n+"px")}}},setFramePosition:function(i,h){var j=jQuery(this).css("top",-1000).css("display","block"),n=jQuery(h.element),v=j.elementFrame(),q=n.elementFrame();j.windowFrame();for(var s=j.parents().get(),B=false,z=0;z<s.length;z++)if(jQuery(s[z]).css("position")=="relative"){B=true;break}if(B)z=s=0;else{s=q.topleft.x;z=q.topleft.y}h=this._getFrameOffsetPosition(n,q.height,q.width,h.vertical,h.hortizontal);s+=h.offsetX;z+=h.offsetY;n=this._getFrameOffsetPosition(j,
v.height,v.width,i.vertical,i.hortizontal);h=s+(i.customOffsetX||0)-n.offsetX;n=z+(i.customOffsetY||0)-n.offsetY;if(B){h-=s;n-=z}v={topleft:{x:h,y:n},width:v.width,height:v.height,ignoreDimensions:true};B=j.css("opacity");s=j.css("filter");z=j.css("-ms-filter");j.css("opacity",0).css("filter","alpha(opacity=0)").css("-ms-filter","progid:DXImageTransform.Microsoft.Alpha(Opacity=0)").elementFrame(v);if(!i.adjustFit||i.adjustFit.toLowerCase()==="autoadjust"||i.adjustFit.toLowerCase()==="slide")j.moveFrameIntoView();
j.css("display","none").css("opacity",B).css("filter",s).css("-ms-filter",z);return this},_getFrameOffsetPosition:function(i,h,j,n,v){function q(z,G){if(z.indexOf("%")>0){z=parseFloat(z)/100;return Math.floor(G*z)}else return z.length>0?parseInt(z):0}var s=0,B=0;switch(n.toLowerCase()){case "top":case "t":s=parseInt(i.css("margin-top"),10)||0;break;case "middle":case "m":case "center":case "c":s=Math.floor(h/2);break;case "bottom":case "b":s=h;break;default:s=q(n,h);if(isNaN(s))s=0}switch(v.toLowerCase()){case "left":case "l":B=
parseInt(i.css("margin-left"),10)||0;break;case "center":case "c":B=Math.floor(j/2);break;case "right":case "r":B=j;break;default:B=q(v,j);if(isNaN(B))B=0}return{offsetX:B,offsetY:s}},centerFrameInWindow:function(){var i=jQuery(this),h=false;if(i.is(":visible").length===0){h=true;i.css("top","-10000px").css("display","block")}var j=i.elementFrame(),n=i.windowFrame();h&&i.css("display","none");h=Math.floor((n.width-j.width)/2)+n.topleft.x;n=Math.floor((n.height-j.height)/2)+n.topleft.y;i.elementFrame({topleft:{x:h,
y:n},width:j.width,height:j.height,ignoreDimensions:true});return this},createIE6LayerFix:function(i){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7){var h=jQuery("<iframe src='javascript:\"\";' class='ui-ncbi-iframe-fix' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>"),j=jQuery(this).elementFrame();if(j.zIndex!=="auto"&&typeof parseInt(j.zIndex,10)==="number")j.zIndex-=1;h.elementFrame(j);i&&h.appendTo(document.body);return h}return null}});
(function(i){i.fn.hoverIntent=function(h,j){var n={sensitivity:7,interval:100,timeout:0};n=i.extend(n,j?{over:h,out:j}:h);var v,q,s,B,z=function(I){v=I.pageX;q=I.pageY},G=function(I,C){C.hoverIntent_t=clearTimeout(C.hoverIntent_t);if(Math.abs(s-v)+Math.abs(B-q)<n.sensitivity){i(C).unbind("mousemove",z);C.hoverIntent_s=1;return n.over.apply(C,[I])}else{s=v;B=q;C.hoverIntent_t=setTimeout(function(){G(I,C)},n.interval)}},P=function(I,C){C.hoverIntent_t=clearTimeout(C.hoverIntent_t);C.hoverIntent_s=0;
return n.out.apply(C,[I])};h=function(I){for(var C=(I.type=="mouseover"?I.fromElement:I.toElement)||I.relatedTarget;C&&C!=this;)try{C=C.parentNode}catch(N){C=this}if(C==this)return false;var M=jQuery.extend({},I),L=this;if(L.hoverIntent_t)L.hoverIntent_t=clearTimeout(L.hoverIntent_t);if(I.type=="mouseover"){s=M.pageX;B=M.pageY;i(L).bind("mousemove",z);if(L.hoverIntent_s!=1)L.hoverIntent_t=setTimeout(function(){G(M,L)},n.interval)}else{i(L).unbind("mousemove",z);if(L.hoverIntent_s==1)L.hoverIntent_t=
setTimeout(function(){P(M,L)},n.timeout)}};return this.mouseover(h).mouseout(h)}})(jQuery);jQuery.ui||function(i){i.ui={version:"1.8",plugin:{add:function(h,j,n){h=i.ui[h].prototype;for(var v in n){h.plugins[v]=h.plugins[v]||[];h.plugins[v].push([j,n[v]])}},call:function(h,j,n){if((j=h.plugins[j])&&h.element[0].parentNode)for(var v=0;v<j.length;v++)h.options[j[v][0]]&&j[v][1].apply(h.element,n)}},contains:function(h,j){return document.compareDocumentPosition?h.compareDocumentPosition(j)&16:h!==j&&
h.contains(j)},hasScroll:function(h,j){if(i(h).css("overflow")=="hidden")return false;j=j&&j=="left"?"scrollLeft":"scrollTop";var n=false;if(h[j]>0)return true;h[j]=1;n=h[j]>0;h[j]=0;return n},isOverAxis:function(h,j,n){return h>j&&h<j+n},isOver:function(h,j,n,v,q,s){return i.ui.isOverAxis(h,n,q)&&i.ui.isOverAxis(j,v,s)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,
NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};i.fn.extend({_focus:i.fn.focus,focus:function(h,j){return typeof h==="number"?this.each(function(){var n=this;setTimeout(function(){i(n).focus();j&&j.call(n)},h)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect",
"none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var h;h=i.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(i.curCSS(this,"position",1))&&/(auto|scroll)/.test(i.curCSS(this,"overflow",1)+i.curCSS(this,"overflow-y",1)+i.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(i.curCSS(this,"overflow",1)+i.curCSS(this,
"overflow-y",1)+i.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!h.length?i(document):h},zIndex:function(h){if(h!==undefined)return this.css("zIndex",h);if(this.length){h=i(this[0]);for(var j;h.length&&h[0]!==document;){j=h.css("position");if(j=="absolute"||j=="relative"||j=="fixed"){j=parseInt(h.css("zIndex"));if(!isNaN(j)&&j!=0)return j}h=h.parent()}}return 0}});i.extend(i.expr[":"],{data:function(h,j,n){return!!i.data(h,n[3])},focusable:function(h){var j=h.nodeName.toLowerCase(),
n=i.attr(h,"tabindex");return(/input|select|textarea|button|object/.test(j)?!h.disabled:"a"==j||"area"==j?h.href||!isNaN(n):!isNaN(n))&&!i(h)["area"==j?"parents":"closest"](":hidden").length},tabbable:function(h){var j=i.attr(h,"tabindex");return(isNaN(j)||j>=0)&&i(h).is(":focusable")}})}(jQuery);(function(i){var h=i.fn.remove;i.fn.remove=function(j,n){return this.each(function(){if(!n)if(!j||i.filter(j,[this]).length)i("*",this).add(this).each(function(){i(this).triggerHandler("remove")});return h.call(i(this),
j,n)})};i.widget=function(j,n,v){var q=j.split(".")[0],s;j=j.split(".")[1];s=q+"-"+j;if(!v){v=n;n=i.Widget}i.expr[":"][s]=function(B){return!!i.data(B,j)};i[q]=i[q]||{};i[q][j]=function(B,z){arguments.length&&this._createWidget(B,z)};n=new n;n.options=i.extend({},n.options);i[q][j].prototype=i.extend(true,n,{namespace:q,widgetName:j,widgetEventPrefix:i[q][j].prototype.widgetEventPrefix||j,widgetBaseClass:s},v);i.widget.bridge(j,i[q][j])};i.widget.bridge=function(j,n){i.fn[j]=function(v){var q=typeof v===
"string",s=Array.prototype.slice.call(arguments,1),B=this;v=!q&&s.length?i.extend.apply(null,[true,v].concat(s)):v;if(q&&v.substring(0,1)==="_")return B;q?this.each(function(){var z=i.data(this,j),G=z&&i.isFunction(z[v])?z[v].apply(z,s):z;if(G!==z&&G!==undefined){B=G;return false}}):this.each(function(){var z=i.data(this,j);if(z){v&&z.option(v);z._init()}else i.data(this,j,new n(v,this))});return B}};i.Widget=function(j,n){arguments.length&&this._createWidget(j,n)};i.Widget.prototype={widgetName:"widget",
widgetEventPrefix:"",options:{disabled:false},_createWidget:function(j,n){this.element=i(n).data(this.widgetName,this);this.options=i.extend(true,{},this.options,i.metadata&&i.metadata.get(n)[this.widgetName],j);var v=this;this.element.bind("remove."+this.widgetName,function(){v.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 "+this.namespace+"-state-disabled")},widget:function(){return this.element},option:function(j,n){var v=j,q=this;if(arguments.length===0)return i.extend({},q.options);if(typeof j==="string"){if(n===undefined)return this.options[j];v={};v[j]=n}i.each(v,function(s,B){q._setOption(s,B)});return q},_setOption:function(j,n){this.options[j]=n;if(j==="disabled")this.widget()[n?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",n);
return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(j,n,v){var q=this.options[j];n=i.Event(n);n.type=(j===this.widgetEventPrefix?j:this.widgetEventPrefix+j).toLowerCase();v=v||{};if(n.originalEvent){j=i.event.props.length;for(var s;j;){s=i.event.props[--j];n[s]=n.originalEvent[s]}}this.element.trigger(n,v);return!(i.isFunction(q)&&q.call(this.element[0],n,v)===false||n.isDefaultPrevented())}}})(jQuery);
(function(i){i.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var h=this;this.element.bind("mousedown."+this.widgetName,function(j){return h._mouseDown(j)}).bind("click."+this.widgetName,function(j){if(h._preventClickEvent){h._preventClickEvent=false;j.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(h){h.originalEvent=h.originalEvent||{};if(!h.originalEvent.mouseHandled){this._mouseStarted&&
this._mouseUp(h);this._mouseDownEvent=h;var j=this,n=h.which==1,v=typeof this.options.cancel=="string"?i(h.target).parents().add(h.target).filter(this.options.cancel).length:false;if(!n||v||!this._mouseCapture(h))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){j.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(h)&&this._mouseDelayMet(h)){this._mouseStarted=this._mouseStart(h)!==false;if(!this._mouseStarted){h.preventDefault();
return true}}this._mouseMoveDelegate=function(q){return j._mouseMove(q)};this._mouseUpDelegate=function(q){return j._mouseUp(q)};i(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);i.browser.safari||h.preventDefault();return h.originalEvent.mouseHandled=true}},_mouseMove:function(h){if(i.browser.msie&&!h.button)return this._mouseUp(h);if(this._mouseStarted){this._mouseDrag(h);return h.preventDefault()}if(this._mouseDistanceMet(h)&&
this._mouseDelayMet(h))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,h)!==false)?this._mouseDrag(h):this._mouseUp(h);return!this._mouseStarted},_mouseUp:function(h){i(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=h.target==this._mouseDownEvent.target;this._mouseStop(h)}return false},_mouseDistanceMet:function(h){return Math.max(Math.abs(this._mouseDownEvent.pageX-
h.pageX),Math.abs(this._mouseDownEvent.pageY-h.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(i){i.ui=i.ui||{};var h=/left|center|right/,j=/top|center|bottom/,n=i.fn.position,v=i.fn.offset;i.fn.position=function(q){if(!q||!q.of)return n.apply(this,arguments);q=i.extend({},q);var s=i(q.of),B=(q.collision||"flip").split(" "),z=q.offset?
q.offset.split(" "):[0,0],G,P,I;if(q.of.nodeType===9){G=s.width();P=s.height();I={top:0,left:0}}else if(q.of.scrollTo&&q.of.document){G=s.width();P=s.height();I={top:s.scrollTop(),left:s.scrollLeft()}}else if(q.of.preventDefault){q.at="left top";G=P=0;I={top:q.of.pageY,left:q.of.pageX}}else{G=s.outerWidth();P=s.outerHeight();I=s.offset()}i.each(["my","at"],function(){var C=(q[this]||"").split(" ");if(C.length===1)C=h.test(C[0])?C.concat(["center"]):j.test(C[0])?["center"].concat(C):["center","center"];
C[0]=h.test(C[0])?C[0]:"center";C[1]=j.test(C[1])?C[1]:"center";q[this]=C});if(B.length===1)B[1]=B[0];z[0]=parseInt(z[0],10)||0;if(z.length===1)z[1]=z[0];z[1]=parseInt(z[1],10)||0;if(q.at[0]==="right")I.left+=G;else if(q.at[0]==="center")I.left+=G/2;if(q.at[1]==="bottom")I.top+=P;else if(q.at[1]==="center")I.top+=P/2;I.left+=z[0];I.top+=z[1];return this.each(function(){var C=i(this),N=C.outerWidth(),M=C.outerHeight(),L=i.extend({},I);if(q.my[0]==="right")L.left-=N;else if(q.my[0]==="center")L.left-=
N/2;if(q.my[1]==="bottom")L.top-=M;else if(q.my[1]==="center")L.top-=M/2;i.each(["left","top"],function(c,T){i.ui.position[B[c]]&&i.ui.position[B[c]][T](L,{targetWidth:G,targetHeight:P,elemWidth:N,elemHeight:M,offset:z,my:q.my,at:q.at})});i.fn.bgiframe&&C.bgiframe();C.offset(i.extend(L,{using:q.using}))})};i.ui.position={fit:{left:function(q,s){var B=i(window);s=q.left+s.elemWidth-B.width()-B.scrollLeft();q.left=s>0?q.left-s:Math.max(0,q.left)},top:function(q,s){var B=i(window);s=q.top+s.elemHeight-
B.height()-B.scrollTop();q.top=s>0?q.top-s:Math.max(0,q.top)}},flip:{left:function(q,s){if(s.at[0]!=="center"){var B=i(window);B=q.left+s.elemWidth-B.width()-B.scrollLeft();var z=s.my[0]==="left"?-s.elemWidth:s.my[0]==="right"?s.elemWidth:0,G=-2*s.offset[0];q.left+=q.left<0?z+s.targetWidth+G:B>0?z-s.targetWidth+G:0}},top:function(q,s){if(s.at[1]!=="center"){var B=i(window);B=q.top+s.elemHeight-B.height()-B.scrollTop();var z=s.my[1]==="top"?-s.elemHeight:s.my[1]==="bottom"?s.elemHeight:0,G=s.at[1]===
"top"?s.targetHeight:-s.targetHeight,P=-2*s.offset[1];q.top+=q.top<0?z+s.targetHeight+P:B>0?z+G+P:0}}}};if(!i.offset.setOffset){i.offset.setOffset=function(q,s){if(/static/.test(i.curCSS(q,"position")))q.style.position="relative";var B=i(q),z=B.offset(),G=parseInt(i.curCSS(q,"top",true),10)||0,P=parseInt(i.curCSS(q,"left",true),10)||0;z={top:s.top-z.top+G,left:s.left-z.left+P};"using"in s?s.using.call(q,z):B.css(z)};i.fn.offset=function(q){var s=this[0];if(!s||!s.ownerDocument)return null;if(q)return this.each(function(){i.offset.setOffset(this,
q)});return v.call(this)}}})(jQuery);if(typeof jQuery.ui.jig==="undefined")jQuery.ui.jig={};jQuery.ui.jig._decodeJSON=function(i,h){try{return eval("({"+i+"})")}catch(j){console&&console.info&&console.error("Error parsing parameter metatag: '"+h+"'. "+j.message)}};jQuery.ui.jig._setLocalConfig=function(i,h){if(i=i.attr("config")){i=jQuery.ui.jig._decodeJSON(i);jQuery.extend(h,i)}return h};jQuery.ui.jig._generateId=function(i,h){h=typeof h!=="undefined"?"-"+h:"";arguments.callee.i++;for(var j="ui-"+
i+h+"-"+arguments.callee.i;document.getElementById(j);){arguments.callee.i++;j="ui-"+i+h+arguments.callee.i}return j};jQuery.ui.jig._generateId.i=0;jQuery.ui.jig._isConsole=function(i){var h=typeof window.console!=="undefined"||false;if(h)var j=typeof window.console[i]!=="undefined"||false;return h&&j?true:false};jQuery.ui.jig._getFncFromStr=function(i){var h=null,j=typeof i;if(j==="function")h=i;else if(j==="string"){i=i.replace(/^[^:]*:\s*/,"").replace(/\s*$/,"").split(".");h=window[i[0]];for(j=
1;j<i.length;j++)h=h[i[j]]}return h};var aa=O.ui;uiVersion=aa.version;if(typeof aa.jig==="undefined")aa.jig={};var Q=aa.jig;document.location.search.search(/jig_debug=true/i)!==-1&&typeof window.console==="undefined"&&O(function(){O("body").prepend('<div style="border: 2px solid #ccc; height: 150px; overflow:auto;"><h2 style="color:red">jig Console</h2><ul id="jig-cons"></ul></div>');console={};for(var i=["log","info","warn","group","groupEnd"],h=function(v){O("#jig-cons").append("<li>"+v+"</li>")},
j=0;j<i.length;j++){var n=i[j];if(typeof console[n]==="undefined")console[n]=h}});document.compatMode==="BackCompat"&&Q._isConsole("warn")&&console.warn("Document is in quirks mode. jig widgets only work properly when in standards mode. Please add or correct your DOCTYPE definition in your page.");Q.scanned=false;Q.version="1.4";Q._baseURL=null;Q._isMin=null;Q._jsExt=null;Q._cssExt=null;Q._widgDict={accordion:{selector:"div.jig-accordion",dependsOn:[],onPage:false,overrideDefaults:{autoHeight:false,
header:":header"}},ncbidatepicker:{selector:"input.jig-ncbidatepicker",dependsOn:[],onPage:false},ncbielastictextarea:{selector:"textarea.jig-ncbielastictextarea",dependsOn:[],interactions:[],onPage:false},ncbidialog:{selector:"a.jig-ncbidialog, button.jig-dialog, input.jig-dialog, textarea.jig-dialog",dependsOn:[],interactions:["draggable","resizable"],onPage:false,overrideDefaults:{autoOpen:false}},ncbiautocomplete:{selector:'input[type="text"].jig-ncbiautocomplete',dependsOn:[],onPage:false},ncbigrid:{selector:"div.jig-ncbigrid table,div.jig-ncbigrid-scroll table,table.jig-ncbigrid,table.jig-ncbigrid-scroll",
dependsOn:[],onPage:false},ncbimenu:{selector:"ul.jig-ncbimenu",dependsOn:[],onPage:false},ncbipopper:{selector:".jig-ncbipopper",dependsOn:[],onPage:false},ncbislideshow:{selector:"div.jig-ncbislideshow",dependsOn:[],onPage:false},ncbitabpopper:{selector:".jig-ncbitabpopper",dependsOn:[],onPage:false},ncbitoggler:{selector:"a.jig-ncbitoggler,a.jig-ncbitoggler-open,a.ui-ncbitoggler,a.ui-ncbitoggler-open",dependsOn:[],onPage:false},tabs:{selector:"div.jig-tabs",dependsOn:[],onPage:false}};var ba=Q._widgDict,
Ub=["draggable","resizable"],qa=[];for(var X in ba)qa.push(X);Q.scanjig=function(i,h){var j,n;if(h){n=h.widgets||qa;j=h.configs||{}}else{j={};n=qa}for(var v=0;v<n.length;v++){i=i||O(document.body);var q=n[v];if(!(va&&O.inArray(q,wa)===-1)){var s=aa[q];if(typeof s==="undefined"&&!Q.scanned)Q._isConsole("warn")&&console.warn('jig: widget "'+q+'" does not exist. Check documentation (http://iwebdev/core/jig/ for correct name');else{!Q.scanned&&typeof s._customLocalConfig==="undefined"&&function(G,P,I){G.prototype._create=
function(){var N=this.element.attr("config")||this.element.attr("data-jigconfig");if(N){N=aa.jig._decodeJSON(N);O.extend(this.options,N)}if(I==="droppable"){jQuery(this.options.dragEls);var M=ba.droppable.callbacks[this.options.dropCallback];typeof M!=="undefined"&&this._setData("drop",function(L,c){console.log(L);console.log(c);M()})}I==="tabs"&&this.element.children("ul").siblings("div").attr("role","tabpanel").end().attr("role","tablist").children("li").attr("role","presentation").find("a").attr("role",
"tab").each(function(L){this.tabIndex=L>0?-1:0});if((N=ba[I].interactions||null)&&N.length>0){N=O("head");this.options.draggable&&!aa.draggable&&N.append('<script type="text/javascript" src="/core/ui/'+uiVersion+'/development-bundle/ui/jquery.ui.draggable.js"><\/script>');this.options.resizable&&!aa.resizable&&N.append('<script type="text/javascript" src="/core/ui/'+uiVersion+'/development-bundle/ui/jquery.ui.resizable.js"><\/script>')}P.apply(this,[])};if(I==="tabs"){var C=G.prototype._tabify;G.prototype._tabify=
function(N){var M=this;C.apply(this,[N]);this.getCurrentTabIndex=function(){var c=null;M.element.find("ul.ui-tabs-nav").children("li").each(function(T){if(O(this).hasClass("ui-tabs-selected")){c=T;return false}});return c};var L=G.prototype.select;G.prototype.select=function(c){L.apply(this,[c]);return this.anchors.eq(c)};this.getNextTabIndex=function(){var c=this.anchors,T=this.getCurrentTabIndex();return T===c.length-1?0:T+1};this.getPreviousTabIndex=function(){var c=this.anchors,T=this.getCurrentTabIndex();
return T===0?c.length-1:T-1};this.element.children("ul.ui-tabs-nav").keydown(function(c){O(c.target);c=c.keyCode;var T=O.ui.keyCode,ha=function(ca,ra){ca=jQuery(ca);nDom=ca[0];nDom.focus();nDom.tabIndex=0;ra&&O(ra).each(function(){if(this!==nDom)this.tabIndex=-1})};if(c===T.RIGHT){var y=M.select(M.getNextTabIndex())[0];ha(y,M.anchors)}if(c===T.LEFT){y=M.select(M.getPreviousTabIndex())[0];ha(y,M.anchors)}})}}}(s,s.prototype._create,q);(function(G){s.getSelector=function(){return ba[G].selector}})(q);
h={};for(var B in j)if(B===q)h=j[B];var z=Vb(Wb(q))||{};if(typeof z.contextNode!=="undefined")i=O(z.contextNode);h=jQuery.extend(z,h);z=ba[q].overrideDefaults;typeof z!=="undefined"&&O.extend(h,z);z=aa[q].getSelector();O(z,i)[q](h)}}}Q.scanned=true};Q.scan=Q.scanjig;var Y=["after","before","append","html","prepend"];for(X=0;X<Y.length;X++){var $=Y[X];origMethod=O.fn[$];(function(i,h){O.fn[h]=function(j,n){j=i.apply(this,[j]);if(n)h!=="after"&&h!=="before"?O.ui.jig.scan(j,n):O.ui.jig.scan(j.parent(),
n);return j}})(origMethod,$)}var Xb=/(.*\/)js\/jig(?:\.nojquery)?(\.min)?\.js$/;O("script").each(function(){var i=O(this).attr("src");if(i)if(i=i.match(Xb)){Q._baseURL=i[1];if(i[2]===".min"){Q._isMin=true;Q._jsExt=".min.js";Q._cssExt=".min.css"}else{Q._isMin=false;Q._jsExt=".js";Q._cssExt=".css"}}});var ga=Q._baseURL;ga=Q._baseURL;var La=Q._jsExt,Ma=Q._cssExt,Wb=function(i){var h=Na.length;if(h>0)for(var j=0;j<h;j++){var n=Na[j],v=O.trim(n.getAttribute("name"));if(i===v)return n}},Vb=function(i){i=
O(i);var h=i.attr("content");i.attr("name");if(h)return aa.jig._decodeJSON(h,Oa)};Y=function(){document.write('<script type="text/javascript" src="'+ga+"js/jquery.ui.widgets"+La+'"><\/script>');document.write('<link type="text/css" rel="stylesheet" href="'+ga+"css/jquery.ui.widgets"+Ma+'"><\/script>');O(document).ready(function(){Q.scan()})};document.write('<link rel="stylesheet" type="text/css" href="'+ga+"css/jig.core.theme"+Ma+'"/>');var va=null,Na=[];$=document.getElementsByTagName("head")[0].getElementsByTagName("meta");
for(X=0;X<$.length;X++){var Z=$[X],Oa=O.trim(Z.getAttribute("name"));if(Oa.search(/^jig$/)!==-1)va=Z;O.inArray(Oa,qa)!==-1&&Na.push(Z)}if(va){var wa=va.getAttribute("content").split(/ +|, ?|;/);for(X=0;X<wa.length;X++){Y=wa[X];$=O.inArray(Y,qa)!==-1?true:false;Z=O.inArray(Y,Ub)!==-1?true:false;if(!$&&!Z){Z='jig error: No widget with the name "'+Y+'". Check documentation at http://iwebdev/core/jig for proper name, and set meta tag accordingly';typeof window.console!=="undefined"&&typeof console.warn!==
"undefined"?console.warn(Z):alert(Z)}else if($){$=ba[Y].dependsOn;for(Z=0;Z<$.length;Z++){var kb=$[Z],xa=ba[kb];if(!xa.onPage){document.write('<script type="text/javascript" src="'+ga+"js/jquery.ui."+kb+La+'"><\/script>');xa.onPage=true}}document.write('<link type="text/css" rel="stylesheet" href="'+ga+"css/jquery.ui."+Y+Ma+'"/>');xa=ba[Y];if(!xa.onPage){document.write('<script type="text/javascript" src="'+ga+"js/jquery.ui."+Y+La+'"><\/script>');ba[Y].onPage=true}}}O(function(){Q.scan(null,{widgets:wa})})}else Y()}})();

