(function(l,h){function p(){if(!c.isReady){try{w.documentElement.doScroll("left")}catch(a){setTimeout(p,1);return}c.ready()}}function m(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function u(a,b,d,f,e,k){var j=a.length;if(typeof b==="object"){for(var s in b)u(a,s,b[s],f,e,d);return a}if(d!==h){f=!k&&f&&c.isFunction(d);for(s=0;s<j;s++)e(a[s],b,f?d.call(a[s],s,e(a[s],b)):d,k);return a}return j?
e(a[0],b):h}function z(){return(new Date).getTime()}function y(){return false}function F(){return true}function L(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function R(a){var b,d=[],f=[],e=arguments,k,j,s,n,r,x;j=c.data(this,"events");if(!(a.liveFired===this||!j||!j.live||a.button&&a.type==="click")){a.liveFired=this;var C=j.live.slice(0);for(n=0;n<C.length;n++){j=C[n];j.origType.replace(da,"")===a.type?f.push(j.selector):C.splice(n--,1)}k=c(a.target).closest(f,a.currentTarget);r=0;for(x=
k.length;r<x;r++)for(n=0;n<C.length;n++){j=C[n];if(k[r].selector===j.selector){s=k[r].elem;f=null;if(j.preType==="mouseenter"||j.preType==="mouseleave")f=c(a.relatedTarget).closest(j.selector)[0];if(!f||f!==s)d.push({elem:s,handleObj:j})}}r=0;for(x=d.length;r<x;r++){k=d[r];a.currentTarget=k.elem;a.data=k.handleObj.data;a.handleObj=k.handleObj;if(k.handleObj.origHandler.apply(k.elem,e)===false){b=false;break}}return b}}function X(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function ha(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function Y(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 k in f)for(var j in f[k])c.event.add(this,k,f[k][j],f[k][j].data)}}})}function Z(a,b,d){var f,e,k;b=b&&b[0]?b[0].ownerDocument||b[0]:w;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===w&&!Sa.test(a[0])&&(c.support.checkClone||!Ta.test(a[0]))){e=
true;if(k=c.fragments[a[0]])if(k!==1)f=k}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=k?f:1;return{fragment:f,cacheable:e}}function N(a,b){var d={};c.each(Ua.concat.apply([],Ua.slice(0,b)),function(){d[this]=a});return d}function aa(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)},S=l.jQuery,qa=l.$,w=l.document,ba,I=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,P=/^.[^:#\[\.,]*$/,na=/\S/,
Ba=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,va=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ca=navigator.userAgent,ea=false,ga=[],O,ia=Object.prototype.toString,oa=Object.prototype.hasOwnProperty,ja=Array.prototype.push,fa=Array.prototype.slice,wa=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=w;this[0]=w.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=I.exec(a))&&
(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:w;if(a=va.exec(a))if(c.isPlainObject(b)){a=[w.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=Z([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=w.getElementById(d[2])){if(b.id!==d[2])return ba.find(a);this.length=1;this[0]=b}this.context=w;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=w;a=w.getElementsByTagName(a);return c.merge(this,
a)}else return!b||b.jquery?(b||ba).find(a):c(b).find(a);else if(c.isFunction(a))return ba.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 fa.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)?ja.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(w,c);else ga&&ga.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(fa.apply(this,arguments),"slice",fa.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:ja,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,k,j,s;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(k in e){j=a[k];s=e[k];if(a!==s)if(f&&s&&(c.isPlainObject(s)||c.isArray(s))){j=j&&(c.isPlainObject(j)||
c.isArray(j))?j:c.isArray(s)?[]:{};a[k]=c.extend(f,j,s)}else if(s!==h)a[k]=s}return a};c.extend({noConflict:function(a){l.$=qa;if(a)l.jQuery=S;return c},isReady:false,ready:function(){if(!c.isReady){if(!w.body)return setTimeout(c.ready,13);c.isReady=true;if(ga){for(var a,b=0;a=ga[b++];)a.call(w,c);ga=null}c.fn.triggerHandler&&c(w).triggerHandler("ready")}},bindReady:function(){if(!ea){ea=true;if(w.readyState==="complete")return c.ready();if(w.addEventListener){w.addEventListener("DOMContentLoaded",
O,false);l.addEventListener("load",c.ready,false)}else if(w.attachEvent){w.attachEvent("onreadystatechange",O);l.attachEvent("onload",c.ready);var a=false;try{a=l.frameElement==null}catch(b){}w.documentElement.doScroll&&a&&p()}}},isFunction:function(a){return ia.call(a)==="[object Function]"},isArray:function(a){return ia.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ia.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!oa.call(a,"constructor")&&
!oa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===h||oa.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 l.JSON&&l.JSON.parse?l.JSON.parse(a):
(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&na.test(a)){var b=w.getElementsByTagName("head")[0]||w.documentElement,d=w.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(w.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,k=a.length,j=k===h||c.isFunction(a);
if(d)if(j)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<k;){if(b.apply(a[e++],d)===false)break}else if(j)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<k&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Ba,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ja.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,k=a.length;e<k;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,k=0,j=a.length;k<j;k++){e=b(a[k],k,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:{}});ca=c.uaMatch(ca);if(ca.browser){c.browser[ca.browser]=true;
c.browser.version=ca.version}if(c.browser.webkit)c.browser.safari=true;if(wa)c.inArray=function(a,b){return wa.call(b,a)};ba=c(w);if(w.addEventListener)O=function(){w.removeEventListener("DOMContentLoaded",O,false);c.ready()};else if(w.attachEvent)O=function(){if(w.readyState==="complete"){w.detachEvent("onreadystatechange",O);c.ready()}};(function(){c.support={};var a=w.documentElement,b=w.createElement("script"),d=w.createElement("div"),f="script"+z();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("*"),k=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!k)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:w.createElement("select").appendChild(w.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(w.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(w.createTextNode("window."+f+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(l[f]){c.support.scriptEval=true;delete l[f]}try{delete b.test}catch(s){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function n(){c.support.noCloneEvent=
false;d.detachEvent("onclick",n)});d.cloneNode(true).fireEvent("onclick")}d=w.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=w.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var n=w.createElement("div");n.style.width=n.style.paddingLeft="1px";w.body.appendChild(n);c.boxModel=c.support.boxModel=n.offsetWidth===2;w.body.removeChild(n).style.display="none"});a=function(n){var r=
w.createElement("div");n="on"+n;var x=n in r;if(!x){r.setAttribute(n,"return;");x=typeof r[n]==="function"}return x};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=k=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var Q="jQuery"+z(),Ca=0,xa={};c.extend({cache:{},expando:Q,noData:{embed:true,object:true,
applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==l?xa:a;var f=a[Q],e=c.cache;if(!f&&typeof b==="string"&&d===h)return null;f||(f=++Ca);if(typeof b==="object"){a[Q]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[Q]=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==l?xa:a;var d=a[Q],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 pa=/[\n\t]/g,ra=/\s+/,Da=/\r/g,Ea=/href|src|style/,ya=/(button|input)/i,sa=/(button|input|object|select|textarea)/i,
za=/^(a|area)$/i,Fa=/radio|checkbox/;c.fn.extend({attr:function(a,b){return u(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(r){var x=c(this);x.addClass(a.call(this,r,x.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ra),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var k=" "+e.className+" ",
j=e.className,s=0,n=b.length;s<n;s++)if(k.indexOf(" "+b[s]+" ")<0)j+=" "+b[s];e.className=c.trim(j)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.removeClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string"||a===h)for(var b=(a||"").split(ra),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var k=(" "+e.className+" ").replace(pa," "),j=0,s=b.length;j<s;j++)k=k.replace(" "+b[j]+" ",
" ");e.className=c.trim(k)}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 k=c(this);k.toggleClass(a.call(this,e,k.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,k=0,j=c(this),s=b,n=a.split(ra);e=n[k++];){s=f?s:!j.hasClass(e);j[s?"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(pa," ").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 k=b?d:0;for(d=b?d+1:e.length;k<d;k++){var j=
e[k];if(j.selected){a=c(j).val();if(b)return a;f.push(a)}}return f}if(Fa.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Da,"")}return h}var s=c.isFunction(a);return this.each(function(n){var r=c(this),x=a;if(this.nodeType===1){if(s)x=a.call(this,n,r.val());if(typeof x==="number")x+="";if(c.isArray(x)&&Fa.test(this.type))this.checked=c.inArray(r.val(),x)>=0;else if(c.nodeName(this,"select")){var C=c.makeArray(x);c("option",this).each(function(){this.selected=
c.inArray(c(this).val(),C)>=0});if(!C.length)this.selectedIndex=-1}else this.value=x}})}});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 k=Ea.test(b);if(b in a&&f&&!k){if(e){b==="type"&&ya.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:sa.test(a.nodeName)||za.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&&k?a.getAttribute(b,2):a.getAttribute(b);return a===null?h:a}return c.style(a,b,d)}});var da=/\.(.*)$/,ka=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!==l&&!a.frameElement)a=l;var e,k;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(k=c.data(a)){var j=k.events=k.events||{},s=k.handle;if(!s)k.handle=s=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(s.elem,arguments):h};s.elem=a;b=b.split(" ");for(var n,r=0,x;n=b[r++];){k=e?c.extend({},e):{handler:d,data:f};if(n.indexOf(".")>-1){x=n.split(".");
n=x.shift();k.namespace=x.slice(0).sort().join(".")}else{x=[];k.namespace=""}k.type=n;k.guid=d.guid;var C=j[n],H=c.event.special[n]||{};if(!C){C=j[n]=[];if(!H.setup||H.setup.call(a,f,x,s)===false)if(a.addEventListener)a.addEventListener(n,s,false);else a.attachEvent&&a.attachEvent("on"+n,s)}if(H.add){H.add.call(a,k);if(!k.handler.guid)k.handler.guid=d.guid}C.push(k);c.event.global[n]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,k=0,j,s,n,r,x,C,H=c.data(a),
K=H&&H.events;if(H&&K){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in K)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[k++];){r=e;j=e.indexOf(".")<0;s=[];if(!j){s=e.split(".");e=s.shift();n=new RegExp("(^|\\.)"+c.map(s.slice(0).sort(),ka).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(x=K[e])if(d){r=c.event.special[e]||{};for(J=f||0;J<x.length;J++){C=x[J];if(d.guid===C.guid){if(j||n.test(C.namespace)){f==null&&x.splice(J--,1);r.remove&&r.remove.call(a,C)}if(f!=
null)break}}if(x.length===0||f!=null&&x.length===1){if(!r.teardown||r.teardown.call(a,s)===false)A(a,e,H.handle);delete K[e]}}else for(var J=0;J<x.length;J++){C=x[J];if(j||n.test(C.namespace)){c.event.remove(a,r,C.handler,J);x.splice(J--,1)}}}if(c.isEmptyObject(K)){if(b=H.handle)b.elem=null;delete H.events;delete H.handle;c.isEmptyObject(H)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[Q]?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(k){}if(!a.isPropagationStopped()&&
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var j,s=c.nodeName(f,"a")&&e==="click",n=c.event.special[e]||{};if((!n._default||n._default.call(d,a)===false)&&!s&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(j=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(r){}if(j)f["on"+e]=j;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||l.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 k=d.length;e<k;e++){var j=d[e];if(b||f.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,arguments);if(j!==h){a.result=j;if(j===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[Q])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||w;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=w.documentElement;d=w.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:R}))},remove:function(a){var b=true,d=a.origType.replace(da,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(da,""))return b=false});b&&c.event.remove(this,a.origType,R)}},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 A=w.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=z();this[Q]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=F;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F;this.stopPropagation()},isDefaultPrevented:y,isPropagationStopped:y,
isImmediatePropagationStopped:y};var M=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){}},W=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?W:M,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?W:M)}}});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 L("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 L("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Ja=
/textarea|input|select/i,Ka,Va=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},La=function(a,b){var d=a.target,f,e;if(!(!Ja.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Va(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:La,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return La.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 La.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Va(a))}},setup:function(){if(this.type===
"file")return false;for(var a in Ka)c.event.add(this,a+".specialChange",Ka[a]);return Ja.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Ja.test(this.nodeName)}};Ka=c.event.special.change.filters}w.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 k in d)this[b](k,f,d[k],e);return this}if(c.isFunction(f)){e=f;f=h}var j=b==="one"?c.proxy(e,function(n){c(this).unbind(n,j);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{k=0;for(var s=this.length;k<s;k++)c.event.add(this[k],d,j,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 Wa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,k){var j,s=0,n,r,x=k||this.selector,C=k?this:c(this.context);if(c.isFunction(f)){e=f;f=h}for(d=
(d||"").split(" ");(j=d[s++])!=null;){k=da.exec(j);n="";if(k){n=k[0];j=j.replace(da,"")}if(j==="hover")d.push("mouseenter"+n,"mouseleave"+n);else{r=j;if(j==="focus"||j==="blur"){d.push(Wa[j]+n);j+=n}else j=(Wa[j]||j)+n;b==="live"?C.each(function(){c.event.add(this,X(j,x),{data:f,selector:x,handler:e,origType:j,origHandler:e,preType:r})}):C.unbind(X(j,x),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});l.attachEvent&&!l.addEventListener&&l.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 i="",o,q=0;g[q];q++){o=g[q];if(o.nodeType===3||o.nodeType===4)i+=o.nodeValue;else if(o.nodeType!==8)i+=a(o.childNodes)}return i}function b(g,i,o,q,v,t){v=0;for(var D=q.length;v<D;v++){var B=q[v];
if(B){B=B[g];for(var G=false;B;){if(B.sizcache===o){G=q[B.sizset];break}if(B.nodeType===1&&!t){B.sizcache=o;B.sizset=v}if(B.nodeName.toLowerCase()===i){G=B;break}B=B[g]}q[v]=G}}}function d(g,i,o,q,v,t){v=0;for(var D=q.length;v<D;v++){var B=q[v];if(B){B=B[g];for(var G=false;B;){if(B.sizcache===o){G=q[B.sizset];break}if(B.nodeType===1){if(!t){B.sizcache=o;B.sizset=v}if(typeof i!=="string"){if(B===i){G=true;break}}else if(n.filter(i,[B]).length>0){G=B;break}}B=B[g]}q[v]=G}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,k=Object.prototype.toString,j=false,s=true;[0,0].sort(function(){s=false;return 0});var n=function(g,i,o,q){o=o||[];var v=i=i||w;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return o;for(var t=[],D,B,G,Aa,la=true,ta=E(i),ma=g;(f.exec(""),D=f.exec(ma))!==null;){ma=D[3];t.push(D[1]);if(D[2]){Aa=D[3];break}}if(t.length>1&&x.exec(g))if(t.length===2&&r.relative[t[0]])B=Ma(t[0]+t[1],i);else for(B=r.relative[t[0]]?[i]:n(t.shift(),i);t.length;){g=t.shift();if(r.relative[g])g+=
t.shift();B=Ma(g,B)}else{if(!q&&t.length>1&&i.nodeType===9&&!ta&&r.match.ID.test(t[0])&&!r.match.ID.test(t[t.length-1])){D=n.find(t.shift(),i,ta);i=D.expr?n.filter(D.expr,D.set)[0]:D.set[0]}if(i){D=q?{expr:t.pop(),set:H(q)}:n.find(t.pop(),t.length===1&&(t[0]==="~"||t[0]==="+")&&i.parentNode?i.parentNode:i,ta);B=D.expr?n.filter(D.expr,D.set):D.set;if(t.length>0)G=H(B);else la=false;for(;t.length;){var T=t.pop();D=T;if(r.relative[T])D=t.pop();else T="";if(D==null)D=i;r.relative[T](G,D,ta)}}else G=[]}G||
(G=B);G||n.error(T||g);if(k.call(G)==="[object Array]")if(la)if(i&&i.nodeType===1)for(g=0;G[g]!=null;g++){if(G[g]&&(G[g]===true||G[g].nodeType===1&&U(i,G[g])))o.push(B[g])}else for(g=0;G[g]!=null;g++)G[g]&&G[g].nodeType===1&&o.push(B[g]);else o.push.apply(o,G);else H(G,o);if(Aa){n(Aa,v,o,q);n.uniqueSort(o)}return o};n.uniqueSort=function(g){if(J){j=s;g.sort(J);if(j)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};n.matches=function(g,i){return n(g,null,null,i)};n.find=function(g,
i,o){var q,v;if(!g)return[];for(var t=0,D=r.order.length;t<D;t++){var B=r.order[t];if(v=r.leftMatch[B].exec(g)){var G=v[1];v.splice(1,1);if(G.substr(G.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");q=r.find[B](v,i,o);if(q!=null){g=g.replace(r.match[B],"");break}}}}q||(q=i.getElementsByTagName("*"));return{set:q,expr:g}};n.filter=function(g,i,o,q){for(var v=g,t=[],D=i,B,G,Aa=i&&i[0]&&E(i[0]);g&&i.length;){for(var la in r.filter)if((B=r.leftMatch[la].exec(g))!=null&&B[2]){var ta=r.filter[la],ma,
T;T=B[1];G=false;B.splice(1,1);if(T.substr(T.length-1)!=="\\"){if(D===t)t=[];if(r.preFilter[la])if(B=r.preFilter[la](B,D,o,t,q,Aa)){if(B===true)continue}else G=ma=true;if(B)for(var Ga=0;(T=D[Ga])!=null;Ga++)if(T){ma=ta(T,B,Ga,D);var Xa=q^!!ma;if(o&&ma!=null)if(Xa)G=true;else D[Ga]=false;else if(Xa){t.push(T);G=true}}if(ma!==h){o||(D=t);g=g.replace(r.match[la],"");if(!G)return[];break}}}if(g===v)if(G==null)n.error(g);else break;v=g}return D};n.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var r=n.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,i){var o=typeof i==="string",q=o&&!/\W/.test(i);o=o&&!q;if(q)i=i.toLowerCase();q=0;for(var v=g.length,t;q<v;q++)if(t=g[q]){for(;(t=t.previousSibling)&&t.nodeType!==1;);g[q]=o||t&&t.nodeName.toLowerCase()===i?t||false:t===i}o&&n.filter(i,g,true)},">":function(g,i){var o=typeof i==="string";if(o&&!/\W/.test(i)){i=i.toLowerCase();for(var q=0,v=g.length;q<v;q++){var t=
g[q];if(t){o=t.parentNode;g[q]=o.nodeName.toLowerCase()===i?o:false}}}else{q=0;for(v=g.length;q<v;q++)if(t=g[q])g[q]=o?t.parentNode:t.parentNode===i;o&&n.filter(i,g,true)}},"":function(g,i,o){var q=e++,v=d;if(typeof i==="string"&&!/\W/.test(i)){var t=i=i.toLowerCase();v=b}v("parentNode",i,q,g,t,o)},"~":function(g,i,o){var q=e++,v=d;if(typeof i==="string"&&!/\W/.test(i)){var t=i=i.toLowerCase();v=b}v("previousSibling",i,q,g,t,o)}},find:{ID:function(g,i,o){if(typeof i.getElementById!=="undefined"&&
!o)return(g=i.getElementById(g[1]))?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){var o=[];i=i.getElementsByName(g[1]);for(var q=0,v=i.length;q<v;q++)i[q].getAttribute("name")===g[1]&&o.push(i[q]);return o.length===0?null:o}},TAG:function(g,i){return i.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,i,o,q,v,t){g=" "+g[1].replace(/\\/g,"")+" ";if(t)return g;t=0;for(var D;(D=i[t])!=null;t++)if(D)if(v^(D.className&&(" "+D.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))o||q.push(D);else if(o)i[t]=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 i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,o,q,v,t){i=g[1].replace(/\\/g,"");if(!t&&r.attrMap[i])g[1]=r.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,o,q,
v){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=n(g[3],null,null,i);else{g=n.filter(g[3],i,o,true^v);o||q.push.apply(q,g);return false}else if(r.match.POS.test(g[0])||r.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,i,o){return!!n(o[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,i){return i===0},last:function(g,i,o,q){return i===q.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,o){return i<o[3]-0},gt:function(g,i,o){return i>o[3]-0},nth:function(g,i,o){return o[3]-0===i},eq:function(g,i,o){return o[3]-0===i}},filter:{PSEUDO:function(g,i,o,q){var v=i[1],t=r.filters[v];if(t)return t(g,
o,i,q);else if(v==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(i[3])>=0;else if(v==="not"){i=i[3];o=0;for(q=i.length;o<q;o++)if(i[o]===g)return false;return true}else n.error("Syntax error, unrecognized expression: "+v)},CHILD:function(g,i){var o=i[1],q=g;switch(o){case "only":case "first":for(;q=q.previousSibling;)if(q.nodeType===1)return false;if(o==="first")return true;q=g;case "last":for(;q=q.nextSibling;)if(q.nodeType===1)return false;return true;case "nth":o=i[2];var v=
i[3];if(o===1&&v===0)return true;i=i[0];var t=g.parentNode;if(t&&(t.sizcache!==i||!g.nodeIndex)){var D=0;for(q=t.firstChild;q;q=q.nextSibling)if(q.nodeType===1)q.nodeIndex=++D;t.sizcache=i}g=g.nodeIndex-v;return o===0?g===0:g%o===0&&g/o>=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var o=
i[1];g=r.attrHandle[o]?r.attrHandle[o](g):g[o]!=null?g[o]:g.getAttribute(o);o=g+"";var q=i[2];i=i[4];return g==null?q==="!=":q==="="?o===i:q==="*="?o.indexOf(i)>=0:q==="~="?(" "+o+" ").indexOf(i)>=0:!i?o&&g!==false:q==="!="?o!==i:q==="^="?o.indexOf(i)===0:q==="$="?o.substr(o.length-i.length)===i:q==="|="?o===i||o.substr(0,i.length+1)===i+"-":false},POS:function(g,i,o,q){var v=r.setFilters[i[2]];if(v)return v(g,o,i,q)}}},x=r.match.POS;for(var C in r.match){r.match[C]=new RegExp(r.match[C].source+/(?![^\[]*\])(?![^\(]*\))/.source);
r.leftMatch[C]=new RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[C].source.replace(/\\(\d+)/g,function(g,i){return"\\"+(i-0+1)}))}var H=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(w.documentElement.childNodes,0)}catch(K){H=function(g,i){i=i||[];if(k.call(g)==="[object Array]")Array.prototype.push.apply(i,g);else if(typeof g.length==="number")for(var o=0,q=g.length;o<q;o++)i.push(g[o]);else for(o=0;g[o];o++)i.push(g[o]);return i}}var J;
if(w.documentElement.compareDocumentPosition)J=function(g,i){if(!g.compareDocumentPosition||!i.compareDocumentPosition){if(g==i)j=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(i)&4?-1:g===i?0:1;if(g===0)j=true;return g};else if("sourceIndex"in w.documentElement)J=function(g,i){if(!g.sourceIndex||!i.sourceIndex){if(g==i)j=true;return g.sourceIndex?-1:1}g=g.sourceIndex-i.sourceIndex;if(g===0)j=true;return g};else if(w.createRange)J=function(g,i){if(!g.ownerDocument||!i.ownerDocument){if(g==
i)j=true;return g.ownerDocument?-1:1}var o=g.ownerDocument.createRange(),q=i.ownerDocument.createRange();o.setStart(g,0);o.setEnd(g,0);q.setStart(i,0);q.setEnd(i,0);g=o.compareBoundaryPoints(Range.START_TO_END,q);if(g===0)j=true;return g};(function(){var g=w.createElement("div"),i="script"+(new Date).getTime();g.innerHTML="<a name='"+i+"'/>";var o=w.documentElement;o.insertBefore(g,o.firstChild);if(w.getElementById(i)){r.find.ID=function(q,v,t){if(typeof v.getElementById!=="undefined"&&!t)return(v=
v.getElementById(q[1]))?v.id===q[1]||typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id").nodeValue===q[1]?[v]:h:[]};r.filter.ID=function(q,v){var t=typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id");return q.nodeType===1&&t&&t.nodeValue===v}}o.removeChild(g);o=g=null})();(function(){var g=w.createElement("div");g.appendChild(w.createComment(""));if(g.getElementsByTagName("*").length>0)r.find.TAG=function(i,o){o=o.getElementsByTagName(i[1]);if(i[1]==="*"){i=[];for(var q=
0;o[q];q++)o[q].nodeType===1&&i.push(o[q]);o=i}return o};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")r.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();w.querySelectorAll&&function(){var g=n,i=w.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){n=function(q,v,t,D){v=v||w;if(!D&&v.nodeType===9&&!E(v))try{return H(v.querySelectorAll(q),
t)}catch(B){}return g(q,v,t,D)};for(var o in g)n[o]=g[o];i=null}}();(function(){var g=w.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){r.order.splice(1,0,"CLASS");r.find.CLASS=function(i,o,q){if(typeof o.getElementsByClassName!=="undefined"&&!q)return o.getElementsByClassName(i[1])};g=null}}})();var U=w.compareDocumentPosition?
function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(g,i){return g!==i&&(g.contains?g.contains(i):true)},E=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},Ma=function(g,i){var o=[],q="",v;for(i=i.nodeType?[i]:i;v=r.match.PSEUDO.exec(g);){q+=v[0];g=g.replace(r.match.PSEUDO,"")}g=r.relative[g]?g+"*":g;v=0;for(var t=i.length;v<t;v++)n(g,i[v],o);return n.filter(q,o)};c.find=n;c.expr=n.selectors;c.expr[":"]=c.expr.filters;c.unique=n.uniqueSort;c.text=
a;c.isXMLDoc=E;c.contains=U})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/;fa=Array.prototype.slice;var Ya=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,k){return!!b.call(e,k,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(P.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 k=d;k<b.length;k++)for(var j=0;j<d;j++)if(b[j]===b[k]){b.splice(k--,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(Ya(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ya(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,k={},j;if(f&&a.length){e=0;for(var s=a.length;e<s;e++){j=a[e];k[j]||(k[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;f&&f.ownerDocument&&f!==b;){for(j in k){e=k[j];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:j,elem:f});delete k[j]}}f=f.parentNode}}return d}var n=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(r,x){for(;x&&x.ownerDocument&&x!==b;){if(n?n.index(x)>-1:c(x).is(a))return x;
x=x.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(ha(a[0])||ha(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);fb.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||hb.test(f))&&gb.test(a))e=e.reverse();return this.pushStack(e,a,fa.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 Za=/ jQuery\d+="(?:\d+|null)"/g,Ha=/^\s+/,$a=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ab=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,Sa=/<script|<object|<embed|<option|<style/i,
Ta=/checked\s*(?:[^=]|=\s*.checked.)/i,bb=function(a,b,d){return ib.test(d)?a:b+"></"+d+">"},V={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,"",""]};V.optgroup=V.option;V.tbody=V.tfoot=V.colgroup=V.caption=V.thead;V.th=V.td;if(!c.support.htmlSerialize)V._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||w).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(Za,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(Ha,"")],f)[0]}else return this.cloneNode(true)});if(a===true){Y(this,b);Y(this.find("*"),b.find("*"))}return b},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Za,
""):null;else if(typeof a==="string"&&!Sa.test(a)&&(c.support.leadingWhitespace||!Ha.test(a))&&!V[(ab.exec(a)||["",""])[1].toLowerCase()]){a=a.replace($a,bb);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 k=c(this),j=k.html();k.empty().append(function(){return a.call(this,e,j)})}):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(C){return c.nodeName(C,"table")?C.getElementsByTagName("tbody")[0]||
C.appendChild(C.ownerDocument.createElement("tbody")):C}var e,k,j=a[0],s=[],n;if(!c.support.checkClone&&arguments.length===3&&typeof j==="string"&&Ta.test(j))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(j))return this.each(function(C){var H=c(this);a[0]=j.call(this,C,b?H.html():h);H.domManip(a,b,d)});if(this[0]){e=j&&j.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:Z(a,this,s);n=e.fragment;if(k=n.childNodes.length===
1?(n=n.firstChild):n.firstChild){b=b&&c.nodeName(k,"tr");for(var r=0,x=this.length;r<x;r++)d.call(b?f(this[r],k):this[r],r>0||e.cacheable||this.length>1?n.cloneNode(true):n)}s.length&&c.each(s,m)}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 k=d.length;e<k;e++){var j=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),j);f=f.concat(j)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||w;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||w;for(var e=[],k=0,j;(j=a[k])!=null;k++){if(typeof j==="number")j+="";if(j){if(typeof j==="string"&&!kb.test(j))j=b.createTextNode(j);else if(typeof j==="string"){j=j.replace($a,bb);var s=(ab.exec(j)||["",
""])[1].toLowerCase(),n=V[s]||V._default,r=n[0],x=b.createElement("div");for(x.innerHTML=n[1]+j+n[2];r--;)x=x.lastChild;if(!c.support.tbody){r=jb.test(j);s=s==="table"&&!r?x.firstChild&&x.firstChild.childNodes:n[1]==="<table>"&&!r?x.childNodes:[];for(n=s.length-1;n>=0;--n)c.nodeName(s[n],"tbody")&&!s[n].childNodes.length&&s[n].parentNode.removeChild(s[n])}!c.support.leadingWhitespace&&Ha.test(j)&&x.insertBefore(b.createTextNode(Ha.exec(j)[0]),x.firstChild);j=x.childNodes}if(j.nodeType)e.push(j);else e=
c.merge(e,j)}}if(d)for(k=0;e[k];k++)if(f&&c.nodeName(e[k],"script")&&(!e[k].type||e[k].type.toLowerCase()==="text/javascript"))f.push(e[k].parentNode?e[k].parentNode.removeChild(e[k]):e[k]);else{e[k].nodeType===1&&e.splice.apply(e,[k+1,0].concat(c.makeArray(e[k].getElementsByTagName("script"))));d.appendChild(e[k])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,k=c.support.deleteExpando,j=0,s;(s=a[j])!=null;j++)if(d=s[c.expando]){b=f[d];if(b.events)for(var n in b.events)e[n]?
c.event.remove(s,n):A(s,n,b.handle);if(k)delete s[c.expando];else s.removeAttribute&&s.removeAttribute(c.expando);delete f[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,cb=/alpha\([^)]*\)/,db=/opacity=([^)]*)/,Na=/float/i,Oa=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=w.defaultView&&w.defaultView.getComputedStyle,eb=c.support.cssFloat?"cssFloat":"styleFloat",Pa=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return u(this,a,b,true,function(d,f,e){if(e===h)return c.curCSS(d,f);if(typeof e==="number"&&!lb.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=
cb.test(a)?a.replace(cb,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(db.exec(f.filter)[1])/100+"":""}if(Na.test(b))b=eb;b=b.replace(Oa,Pa);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,k=b==="width"?qb:rb;function j(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(k,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?j():c.swap(a,pb,j);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=db.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Na.test(b))b=eb;if(!d&&e&&e[b])f=e[b];else if(sb){if(Na.test(b))b="float";b=b.replace(mb,"-$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(Oa,Pa);f=a.currentStyle[b]||a.currentStyle[d];if(!nb.test(f)&&ob.test(f)){b=e.left;var k=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=k}}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 tb=z(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,ua=/=\?(&|$)/,Qa=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=c.fn.load;c.fn.extend({load:function(a,b,
d){if(typeof a!=="string")return Ab.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 k=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(j,s){if(s==="success"||s==="notmodified")k.html(e?c("<div />").append(j.responseText.replace(ub,"")).find(e):j.responseText);d&&k.each(d,[j.responseText,
s,j])}});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||vb.test(this.nodeName)||wb.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:l.XMLHttpRequest&&(l.location.protocol!=="file:"||!l.ActiveXObject)?function(){return new l.XMLHttpRequest}:function(){try{return new l.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(n,s,j,E);e.global&&f("ajaxSuccess",[E,e])}function d(){e.complete&&e.complete.call(n,E,j);e.global&&f("ajaxComplete",[E,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(v,t){(e.context?c(e.context):c.event).trigger(v,t)}var e=c.extend(true,{},c.ajaxSettings,a),k,j,s,n=a&&a.context||e,r=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(r==="GET")ua.test(e.url)||(e.url+=(Qa.test(e.url)?
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!ua.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&ua.test(e.data)||ua.test(e.url))){k=e.jsonpCallback||"jsonp"+tb++;if(e.data)e.data=(e.data+"").replace(ua,"="+k+"$1");e.url=e.url.replace(ua,"="+k+"$1");e.dataType="script";l[k]=l[k]||function(v){s=v;b();d();l[k]=h;try{delete l[k]}catch(t){}H&&H.removeChild(K)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
false&&r==="GET"){var x=z(),C=e.url.replace(xb,"$1_="+x+"$2");e.url=C+(C===e.url?(Qa.test(e.url)?"&":"?")+"_="+x:"")}if(e.data&&r==="GET")e.url+=(Qa.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");x=(x=yb.exec(e.url))&&(x[1]&&x[1]!==location.protocol||x[2]!==location.host);if(e.dataType==="script"&&r==="GET"&&x){var H=w.getElementsByTagName("head")[0]||w.documentElement,K=w.createElement("script");K.src=e.url;if(e.scriptCharset)K.charset=e.scriptCharset;if(!k){var J=
false;K.onload=K.onreadystatechange=function(){if(!J&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){J=true;b();d();K.onload=K.onreadystatechange=null;H&&K.parentNode&&H.removeChild(K)}}}H.insertBefore(K,H.firstChild);return h}var U=false,E=e.xhr();if(E){e.username?E.open(r,e.url,e.async,e.username,e.password):E.open(r,e.url,e.async);try{if(e.data||a&&a.contentType)E.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&E.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]);c.etag[e.url]&&E.setRequestHeader("If-None-Match",c.etag[e.url])}x||E.setRequestHeader("X-Requested-With","XMLHttpRequest");E.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(Ma){}if(e.beforeSend&&e.beforeSend.call(n,E,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");E.abort();return false}e.global&&f("ajaxSend",[E,e]);var g=E.onreadystatechange=function(v){if(!E||E.readyState===0||v==="abort"){U||
d();U=true;if(E)E.onreadystatechange=c.noop}else if(!U&&E&&(E.readyState===4||v==="timeout")){U=true;E.onreadystatechange=c.noop;j=v==="timeout"?"timeout":!c.httpSuccess(E)?"error":e.ifModified&&c.httpNotModified(E,e.url)?"notmodified":"success";var t;if(j==="success")try{s=c.httpData(E,e.dataType,e)}catch(D){j="parsererror";t=D}if(j==="success"||j==="notmodified")k||b();else c.handleError(e,E,j,t);d();v==="timeout"&&E.abort();if(e.async)E=null}};try{var i=E.abort;E.abort=function(){E&&i.call(E);
g("abort")}}catch(o){}e.async&&e.timeout>0&&setTimeout(function(){E&&!U&&g("timeout")},e.timeout);try{E.send(r==="POST"||r==="PUT"||r==="DELETE"?e.data:null)}catch(q){c.handleError(e,E,null,q);d()}e.async||g();return E}},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(j,s){if(c.isArray(s))c.each(s,function(n,r){b||/\[\]$/.test(j)?f(j,r):d(j+"["+(typeof r==="object"||c.isArray(r)?n:"")+"]",r)});else!b&&s!=null&&typeof s==="object"?c.each(s,function(n,r){d(j+"["+n+"]",r)}):f(j,s)}function f(j,s){s=c.isFunction(s)?s():s;e[e.length]=encodeURIComponent(j)+"="+encodeURIComponent(s)}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 k in a)d(k,a[k]);return e.join("&").replace(zb,"+")}});var Ra={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,Ia,Ua=[["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(N("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(Ra[d])f=Ra[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();Ra[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(N("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(N("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 k=c.extend({},e),j,s=this.nodeType===1&&c(this).is(":hidden"),n=this;for(j in a){var r=j.replace(Oa,Pa);if(j!==r){a[r]=a[j];delete a[j];j=r}if(a[j]==="hide"&&s||a[j]==="show"&&!s)return k.complete.call(this);if((j==="height"||j==="width")&&this.style){k.display=c.css(this,"display");k.overflow=this.style.overflow}if(c.isArray(a[j])){(k.specialEasing=
k.specialEasing||{})[j]=a[j][1];a[j]=a[j][0]}}if(k.overflow!=null)this.style.overflow="hidden";k.curAnim=c.extend({},a);c.each(a,function(x,C){var H=new c.fx(n,k,x);if(Bb.test(C))H[C==="toggle"?s?"show":"hide":C](a);else{var K=Cb.exec(C),J=H.cur(true)||0;if(K){C=parseFloat(K[2]);var U=K[3]||"px";if(U!=="px"){n.style[x]=(C||1)+U;J=(C||1)/H.cur(true)*J;n.style[x]=J+U}if(K[1])C=(K[1]==="-="?-1:1)*C+J;H.custom(J,C,U)}else H.custom(J,C,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:N("show",1),slideUp:N("hide",1),slideToggle:N("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},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(k){return e.step(k)}this.startTime=z();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)&&!Ia)Ia=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=z(),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(Ia);Ia=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
w.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(x){c.offset.setOffset(this,a,x)});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,k,j=e.documentElement,s=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,r=b.offsetLeft;(b=b.parentNode)&&b!==s&&b!==j;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;k=e?e.getComputedStyle(b,
null):b.currentStyle;n-=b.scrollTop;r-=b.scrollLeft;if(b===d){n+=b.offsetTop;r+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){n+=parseFloat(k.borderTopWidth)||0;r+=parseFloat(k.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&k.overflow!=="visible"){n+=parseFloat(k.borderTopWidth)||0;r+=parseFloat(k.borderLeftWidth)||0}f=k}if(f.position==="relative"||f.position==="static"){n+=s.offsetTop;
r+=s.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){n+=Math.max(j.scrollTop,s.scrollTop);r+=Math.max(j.scrollLeft,s.scrollLeft)}return{top:n,left:r}};c.offset={initialize:function(){var a=w.body,b=w.createElement("div"),d,f,e,k=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!==k;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(),k=parseInt(c.curCSS(a,"top",true),10)||0,j=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+k,left:b.left-e.left+j};"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||w.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],k;if(!e)return null;return f!==h?this.each(function(){if(k=aa(this))k.scrollTo(!a?f:c(k).scrollLeft(),a?f:c(k).scrollTop());else this[d]=f}):(k=aa(e))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&k.document.documentElement[d]||k.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(k){var j=c(this);j[d](f.call(this,k,j[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")}});l.jQuery=l.$=c})(window);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(l,h,p,m,u){return jQuery.easing[jQuery.easing.def](l,h,p,m,u)},easeInQuad:function(l,h,p,m,u){return m*(h/=u)*h+p},easeOutQuad:function(l,h,p,m,u){return-m*(h/=u)*(h-2)+p},easeInOutQuad:function(l,h,p,m,u){if((h/=u/2)<1)return m/2*h*h+p;return-m/2*(--h*(h-2)-1)+p},easeInCubic:function(l,h,p,m,u){return m*(h/=u)*h*h+p},easeOutCubic:function(l,h,p,m,u){return m*((h=h/u-1)*h*h+1)+p},easeInOutCubic:function(l,h,p,m,u){if((h/=u/2)<1)return m/
2*h*h*h+p;return m/2*((h-=2)*h*h+2)+p},easeInQuart:function(l,h,p,m,u){return m*(h/=u)*h*h*h+p},easeOutQuart:function(l,h,p,m,u){return-m*((h=h/u-1)*h*h*h-1)+p},easeInOutQuart:function(l,h,p,m,u){if((h/=u/2)<1)return m/2*h*h*h*h+p;return-m/2*((h-=2)*h*h*h-2)+p},easeInQuint:function(l,h,p,m,u){return m*(h/=u)*h*h*h*h+p},easeOutQuint:function(l,h,p,m,u){return m*((h=h/u-1)*h*h*h*h+1)+p},easeInOutQuint:function(l,h,p,m,u){if((h/=u/2)<1)return m/2*h*h*h*h*h+p;return m/2*((h-=2)*h*h*h*h+2)+p},easeInSine:function(l,
h,p,m,u){return-m*Math.cos(h/u*(Math.PI/2))+m+p},easeOutSine:function(l,h,p,m,u){return m*Math.sin(h/u*(Math.PI/2))+p},easeInOutSine:function(l,h,p,m,u){return-m/2*(Math.cos(Math.PI*h/u)-1)+p},easeInExpo:function(l,h,p,m,u){return h==0?p:m*Math.pow(2,10*(h/u-1))+p},easeOutExpo:function(l,h,p,m,u){return h==u?p+m:m*(-Math.pow(2,-10*h/u)+1)+p},easeInOutExpo:function(l,h,p,m,u){if(h==0)return p;if(h==u)return p+m;if((h/=u/2)<1)return m/2*Math.pow(2,10*(h-1))+p;return m/2*(-Math.pow(2,-10*--h)+2)+p},
easeInCirc:function(l,h,p,m,u){return-m*(Math.sqrt(1-(h/=u)*h)-1)+p},easeOutCirc:function(l,h,p,m,u){return m*Math.sqrt(1-(h=h/u-1)*h)+p},easeInOutCirc:function(l,h,p,m,u){if((h/=u/2)<1)return-m/2*(Math.sqrt(1-h*h)-1)+p;return m/2*(Math.sqrt(1-(h-=2)*h)+1)+p},easeInElastic:function(l,h,p,m,u){l=1.70158;var z=0,y=m;if(h==0)return p;if((h/=u)==1)return p+m;z||(z=u*0.3);if(y<Math.abs(m)){y=m;l=z/4}else l=z/(2*Math.PI)*Math.asin(m/y);return-(y*Math.pow(2,10*(h-=1))*Math.sin((h*u-l)*2*Math.PI/z))+p},easeOutElastic:function(l,
h,p,m,u){l=1.70158;var z=0,y=m;if(h==0)return p;if((h/=u)==1)return p+m;z||(z=u*0.3);if(y<Math.abs(m)){y=m;l=z/4}else l=z/(2*Math.PI)*Math.asin(m/y);return y*Math.pow(2,-10*h)*Math.sin((h*u-l)*2*Math.PI/z)+m+p},easeInOutElastic:function(l,h,p,m,u){l=1.70158;var z=0,y=m;if(h==0)return p;if((h/=u/2)==2)return p+m;z||(z=u*0.3*1.5);if(y<Math.abs(m)){y=m;l=z/4}else l=z/(2*Math.PI)*Math.asin(m/y);if(h<1)return-0.5*y*Math.pow(2,10*(h-=1))*Math.sin((h*u-l)*2*Math.PI/z)+p;return y*Math.pow(2,-10*(h-=1))*Math.sin((h*
u-l)*2*Math.PI/z)*0.5+m+p},easeInBack:function(l,h,p,m,u,z){if(z==undefined)z=1.70158;return m*(h/=u)*h*((z+1)*h-z)+p},easeOutBack:function(l,h,p,m,u,z){if(z==undefined)z=1.70158;return m*((h=h/u-1)*h*((z+1)*h+z)+1)+p},easeInOutBack:function(l,h,p,m,u,z){if(z==undefined)z=1.70158;if((h/=u/2)<1)return m/2*h*h*(((z*=1.525)+1)*h-z)+p;return m/2*((h-=2)*h*(((z*=1.525)+1)*h+z)+2)+p},easeInBounce:function(l,h,p,m,u){return m-jQuery.easing.easeOutBounce(l,u-h,0,m,u)+p},easeOutBounce:function(l,h,p,m,u){return(h/=
u)<1/2.75?m*7.5625*h*h+p:h<2/2.75?m*(7.5625*(h-=1.5/2.75)*h+0.75)+p:h<2.5/2.75?m*(7.5625*(h-=2.25/2.75)*h+0.9375)+p:m*(7.5625*(h-=2.625/2.75)*h+0.984375)+p},easeInOutBounce:function(l,h,p,m,u){if(h<u/2)return jQuery.easing.easeInBounce(l,h*2,0,m,u)*0.5+p;return jQuery.easing.easeOutBounce(l,h*2-u,0,m,u)*0.5+m*0.5+p}});(function(l){l.event.special.mousewheel={setup:function(){var h=l.event.special.mousewheel.handler;l.browser.mozilla&&l(this).bind("mousemove.mousewheel",function(p){l.data(this,"mwcursorposdata",{pageX:p.pageX,pageY:p.pageY,clientX:p.clientX,clientY:p.clientY})});if(this.addEventListener)this.addEventListener(l.browser.mozilla?"DOMMouseScroll":"mousewheel",h,false);else this.onmousewheel=h},teardown:function(){var h=l.event.special.mousewheel.handler;l(this).unbind("mousemove.mousewheel");if(this.removeEventListener)this.removeEventListener(l.browser.mozilla?
"DOMMouseScroll":"mousewheel",h,false);else this.onmousewheel=function(){};l.removeData(this,"mwcursorposdata")},handler:function(h){var p=Array.prototype.slice.call(arguments,1);h=l.event.fix(h||window.event);l.extend(h,l.data(this,"mwcursorposdata")||{});var m=0;if(h.wheelDelta)m=h.wheelDelta/120;if(h.detail)m=-h.detail/3;h.data=h.data||{};h.type="mousewheel";p.unshift(m);p.unshift(h);return l.event.handle.apply(this,p)}};l.fn.extend({mousewheel:function(h){return h?this.bind("mousewheel",h):this.trigger("mousewheel")},
unmousewheel:function(h){return this.unbind("mousewheel",h)}})})(jQuery);jQuery(function(l){l.em=l.extend({version:"1.0",delay:200,element:l("<div />").css({left:"-100em",position:"absolute",width:"100em"}).prependTo("body")[0],action:function(){var h=l.em.element.offsetWidth/100;if(h!=l.em.current){l.em.previous=l.em.current;l.em.current=h;l.event.trigger("emchange",[l.em.current,l.em.previous])}}},l.em);l.fn.emchange=function(h){return h?this.bind("emchange",h):this.trigger("emchange")};l.em.current=l.em.element.offsetWidth/100;l.em.iid=setInterval(l.em.action,l.em.delay)});(function(l){l.jScrollPane={active:[]};l.fn.jScrollPane=function(h){h=l.extend({},l.fn.jScrollPane.defaults,h);var p=function(){return false};return this.each(function(){var m=l(this);m.css("overflow","hidden");var u=this;if(l(this).parent().is(".jScrollPaneContainer")){var z=h.maintainPosition?m.position().top:0,y=l(this).parent(),F=y.innerWidth(),L=y.outerHeight(),R=L;l(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",y).remove();m.css({top:0})}else{z=0;this.originalPadding=m.css("paddingTop")+
" "+m.css("paddingRight")+" "+m.css("paddingBottom")+" "+m.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(m.css("paddingLeft"))||0)+(parseInt(m.css("paddingRight"))||0);F=m.innerWidth();R=L=m.innerHeight();m.wrap(l("<div></div>").attr({className:"jScrollPaneContainer"}).css({height:L+"px",width:F+"px"}));l(document).bind("emchange",function(){m.jScrollPane(h)})}if(h.reinitialiseOnImageLoad){var X=l.data(u,"jScrollPaneImagesToLoad")||l("img",m),ha=[];X.length&&X.each(function(A,M){l(this).bind("load",
function(){if(l.inArray(A,ha)==-1){ha.push(M);X=l.grep(X,function(W){return W!=M});l.data(u,"jScrollPaneImagesToLoad",X);h.reinitialiseOnImageLoad=false;m.jScrollPane(h)}}).each(function(){if(this.complete||this.complete===undefined)this.src=this.src})})}y={height:"auto",width:F-h.scrollbarWidth-h.scrollbarMargin-this.originalSidePaddingTotal+"px"};if(h.scrollbarOnLeft)y.paddingLeft=h.scrollbarMargin+h.scrollbarWidth+"px";else y.paddingRight=h.scrollbarMargin+"px";m.css(y);var Y=m.outerHeight(),Z=
L/Y;if(Z<0.99){var N=m.parent();N.append(l("<div></div>").attr({className:"jScrollPaneTrack"}).css({width:h.scrollbarWidth+"px"}).append(l("<div></div>").attr({className:"jScrollPaneDrag"}).css({width:h.scrollbarWidth+"px"}).append(l("<div></div>").attr({className:"jScrollPaneDragTop"}).css({width:h.scrollbarWidth+"px"}),l("<div></div>").attr({className:"jScrollPaneDragBottom"}).css({width:h.scrollbarWidth+"px"}))));F=l(">.jScrollPaneTrack",N);var aa=l(">.jScrollPaneTrack .jScrollPaneDrag",N);if(h.showArrows){var c,
S,qa,w,ba=function(){if(w>4||w%4==0)Q(O+S*ga);w++},I=function(){l("html").unbind("mouseup",I);c.removeClass("jScrollActiveArrowButton");clearInterval(qa)},P=function(){l("html").bind("mouseup",I);c.addClass("jScrollActiveArrowButton");w=0;ba();qa=setInterval(ba,100)};N.append(l("<a></a>").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:h.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){c=l(this);S=-1;P();this.blur();return false}).bind("click",p),l("<a></a>").attr({href:"javascript:;",
className:"jScrollArrowDown"}).css({width:h.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){c=l(this);S=1;P();this.blur();return false}).bind("click",p));var na=l(">.jScrollArrowUp",N),Ba=l(">.jScrollArrowDown",N);if(h.arrowSize){R=L-h.arrowSize-h.arrowSize;F.css({height:R+"px",top:h.arrowSize+"px"})}else{y=na.height();h.arrowSize=y;R=L-y-Ba.height();F.css({height:R+"px",top:y+"px"})}}var va=l(this).css({position:"absolute",overflow:"visible"}),ca,ea,ga,O=0,ia=Z*L/2,oa=function(A,
M){var W=M=="X"?"Left":"Top";return A["page"+M]||A["client"+M]+(document.documentElement["scroll"+W]||document.body["scroll"+W])||0},ja=function(){return false},fa=function(){da();ca=aa.offset(false);ca.top-=O;ea=R-aa[0].offsetHeight;ga=2*h.wheelSpeed*ea/Y},wa=function(){l("html").unbind("mouseup",wa).unbind("mousemove",Ca);ia=Z*L/2;l.browser.msie&&l("html").unbind("dragstart",ja).unbind("selectstart",ja)},Q=function(A){O=A=A<0?0:A>ea?ea:A;aa.css({top:A+"px"});va.css({top:(L-Y)*(A/ea)+"px"});m.trigger("scroll");
if(h.showArrows){na[A==0?"addClass":"removeClass"]("disabled");Ba[A==ea?"addClass":"removeClass"]("disabled")}},Ca=function(A){Q(oa(A,"Y")-ca.top-ia)};y=Math.max(Math.min(Z*(L-h.arrowSize*2),h.dragMaxHeight),h.dragMinHeight);aa.css({height:y+"px"}).bind("mousedown",function(A){fa();ia=oa(A,"Y")-O-ca.top;l("html").bind("mouseup",wa).bind("mousemove",Ca);l.browser.msie&&l("html").bind("dragstart",ja).bind("selectstart",ja);return false});var xa,pa,ra,Da=function(){if(pa>8||pa%4==0)Q(O-(O-ra)/2);pa++},
Ea=function(){clearInterval(xa);l("html").unbind("mouseup",Ea).unbind("mousemove",ya)},ya=function(A){ra=oa(A,"Y")-ca.top-ia};F.bind("mousedown",function(A){fa();ya(A);pa=0;l("html").bind("mouseup",Ea).bind("mousemove",ya);xa=setInterval(Da,100);Da()});N.bind("mousewheel",function(A,M){fa();da();A=O;Q(O-M*ga);return A==O});var sa,za;function Fa(){var A=(sa-O)/h.animateStep;if(A>1||A<-1)Q(O+A);else{Q(sa);da()}}var da=function(){if(za){clearInterval(za);delete sa}},ka=function(A,M){if(typeof A=="string"){$e=
l(A,m);if(!$e.length)return;A=$e.offset().top-m.offset().top}N.scrollTop(0);da();A=-A/(L-Y)*ea;if(M||!h.animateTo)Q(A);else{sa=A;za=setInterval(Fa,h.animateInterval)}};m[0].scrollTo=ka;m[0].scrollBy=function(A){var M=-parseInt(va.css("top"))||0;ka(M+A)};fa();ka(-z,true);l("*",this).bind("focus",function(){for(var A=l(this),M=0;A[0]!=m[0];){M+=A.position().top;A=A.offsetParent()}A=-parseInt(va.css("top"))||0;var W=A+L;if(!(M>A&&M<W)){W=M-h.scrollbarMargin;if(M>A)W+=l(this).height()+15+h.scrollbarMargin-
L;ka(W)}});location.hash&&ka(location.hash);l(document).bind("click",function(A){$target=l(A.target);if($target.is("a")){A=$target.attr("href");A.substr(0,1)=="#"&&ka(A)}});l.jScrollPane.active.push(m[0])}else{m.css({height:L+"px",width:F-this.originalSidePaddingTotal+"px",padding:this.originalPadding});m.parent().unbind("mousewheel")}})};l.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,
animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};l(window).bind("unload",function(){for(var h=l.jScrollPane.active,p=0;p<h.length;p++)h[p].scrollTo=h[p].scrollBy=null})})(jQuery);(function(){jQuery.fn.jZoom=function(l){function h(){var I=$(ba).attr("href"),P=document.createElement("img");$(P).attr("src",I);$(P).attr("id",F);$(P).css("opacity",l.opacity);$(P).css("position","absolute");$(P).css("display","none");$(P).css("zIndex","199");$(P).appendTo("body");var na=new Image;$(na).attr("src",I);if(na.complete){p();m()}else{p();P.onload=function(){p();m()}}}function p(){L=$(window).width();R=$(window).height();X=$(window).scrollTop();ha=$(window).scrollLeft();var I=ba.firstChild,
P=$(I).offset();N=parseInt(P.top);aa=parseInt(P.left);Y=parseInt($(I).width());Z=parseInt($(I).height());c=parseInt($("#"+F).width());S=parseInt($("#"+F).height());if(c+l.margin*2>L){I=parseInt(L-l.margin*2);S=parseInt(S/c*I);c=parseInt(I)}if(S+l.margin*2>R){I=parseInt(R-l.margin*2);c=parseInt(c/S*I);S=parseInt(I)}qa=parseInt(X+(R-S)/2);w=parseInt(ha+(L-c)/2)}function m(){$("#"+F).css("top",N+"px");$("#"+F).css("left",aa+"px");$("#"+F).css("width",Y+"px");$("#"+F).css("height",Z+"px");$("#"+F).css("dipslay",
"block");$("#"+F).animate({width:c+"px",height:S+"px",top:"40px",left:w+"px",opacity:"1"},l.duration,function(){u()});z()}function u(){$("#"+F).css("cursor","pointer").click(function(){y()})}function z(){var I=document.createElement("div");I.id="jzoom_overlay";$(I).css("display","none");$(I).css("position","absolute");$(I).css("width","100%");$(I).css("height","100%");$(I).css("background","#000");$(I).css("zIndex","198");$(I).css("opacity","0.8");document.body.appendChild(I);$(I).fadeIn(400,function(){$(this).click(function(){y()})})}
function y(I){$("#jzoom_overlay").remove();$("#"+F).animate({width:Y+"px",height:Z+"px",top:N+"px",left:aa+"px",opacity:l.opacity},l.duration,function(){document.body.removeChild(document.getElementById(F));I&&h()})}l=jQuery.extend({margin:80,duration:260,images_dir:"images/jzoom/",opacity:0},l);var F="jZoom_image",L,R,X,ha,Y,Z,N,aa,c,S,qa,w,ba;this.click(function(){ba=this;document.getElementById(F)?y(true):h();return false})}})(jQuery);function customScrollBar(){$("#content .scrollbar").jScrollPane({scrollbarMargin:10,maintainPosition:false,showArrows:true,arrowSize:9,scrollbarWidth:8})}function backgroundFading(l,h,p){l=ROOT+"images/backgrounds/"+l+"/";var m=h.length;if(m!=0){$("#menu").after('<div id="background"></div>');backgroundFadingLoad(h,l,m,0,p)}}
function backgroundFadingLoad(l,h,p,m,u){var z=new Image;$(z).load(function(){$(this).hide();$("#background").append(this);$(this).fadeIn(500,function(){$("#background img").not(this).remove();eval(u)});p>1&&setTimeout(function(){m+=1;if(p==m)m=0;backgroundFadingLoad(l,h,p,m)},3E3)}).error(function(){}).attr("src",h+l[m])}
$(document).ready(function(){var l=navigator.userAgent.toLowerCase();jQuery.browser={version:(l.match(/.+(?:rv|it|ra|ie|me)[\/: ]([\d.]+)/)||[])[1],chrome:/chrome/.test(l),safari:/webkit/.test(l)&&!/chrome/.test(l),opera:/opera/.test(l),msie:/msie/.test(l)&&!/opera/.test(l),mozilla:/mozilla/.test(l)&&!/(compatible|webkit)/.test(l)};var h=[];$.preLoadImages=function(){for(var y=arguments.length;y--;){var F=document.createElement("img");F.src=arguments[y];h.push(F)}};$("#menu").before('<div id="menuBg"></div>');
var p=$("#menu dt a.actif");if($(p).size()==1){$("#menuBg").css("top",$(p).parent().attr("class")+"px").show();$(p).parent().next().hasClass("sousMenu")&&$("#menuBg").html($(p).parent().next().html())}else p=false;$("#menu dt").bind("mouseover",function(){var y=$(this);parseInt($(this).find("a").css("height"));$("#menuBg").animate({top:$(y).attr("class")+"px"},{duration:400,queue:false,easing:"easeOutQuint"});$("#menuBg").children().fadeOut("fast");$(y).next().hasClass("sousMenu")&&$("#menuBg").html($(y).next().html()).fadeIn("fast")});
$("#wrap").bind("mouseover mousemove",function(y){if(y.pageY<100||y.pageY>248){$("#menuBg").animate({top:$(p).parent().attr("class")+"px"},{duration:400,queue:false,easing:"easeOutQuint"});$(p).parent().next().hasClass("sousMenu")?$("#menuBg").html($(p).parent().next().html()):$("#menuBg").children().fadeOut("fast")}});$("span.email").each(function(){var y=$(this).html();$(this).html("");$(this).append('<a href="mailto:'+y+'@mctwatches.com">'+y+"@mctwatches.com</a>")});customScrollBar();$("#content").after('<span id="hide-text">&gt; HIDE TEXT</span><span id="show-text">SHOW TEXT &lt;</span>');
$("#hide-text").bind("click",function(){$(this).hide();$("#content").animate({width:0,opacity:0},1E3,"easeOutCubic",function(){$("#show-text").fadeIn("fast")})});$("#show-text").bind("click",function(){$(this).hide();$("#content").animate({width:"224px",opacity:100},1E3,"easeOutCubic",function(){$("#hide-text").fadeIn("fast")})});$("a.jzoom").jZoom();var m="default";$("#collection a").css("opacity","0.5");$("#collection a").bind("mouseover",function(){$(this).animate({opacity:1},{duration:200,queue:false})});
$("#collection a").bind("mouseout",function(){$(this).hasClass("actif")||$(this).animate({opacity:0.5},{duration:200,queue:false})});$("#collection a.watch").click(function(){$("#collection a").removeClass("actif");$(this).addClass("actif");$("#collection a").mouseout();var y=$(this),F=$(this).attr("href").split("#")[1];if(F!=m){$(".jzoom").hide();$("#content .scrollbar div."+m).fadeOut("normal",function(){$("#content .scrollbar div."+F).fadeIn("fast");$(y).next(".jzoom").fadeIn("fast");customScrollBar()});
m=F}});var u="default";$("#press-article a").css("opacity","0.5");$("#press-article a").bind("mouseover",function(){$(this).animate({opacity:1},{duration:200,queue:false})});$("#press-article a").bind("mouseout",function(){$(this).hasClass("actif")||$(this).animate({opacity:0.5},{duration:200,queue:false})});$("#press-article a").click(function(){$("#press-article a").removeClass("actif");$(this).addClass("actif");$("#press-article a").mouseout();var y=$(this),F=$(this).attr("href").split("#")[1];
if(F!=u){$("#content .scrollbar div."+u).fadeOut("normal",function(){$("#content .scrollbar div."+F).fadeIn("fast");$(y).next(".jzoom").fadeIn("fast");customScrollBar()});u=F}});var z="default";$("#world_map area").bind("mouseover",function(){$("#world_zones img."+$(this).attr("href").split("#")[1]).show()});$("#world_map area").bind("mouseout",function(){$(this).attr("href").split("#")[1]!=z&&$("#world_zones img."+$(this).attr("href").split("#")[1]).hide()});$("#world_map area").bind("click",function(){var y=
$(this).attr("href").split("#")[1];if(y!=z){$("#world_zones ."+z).hide();$("#content .scrollbar div."+z).fadeOut("normal",function(){$("#content .scrollbar div."+y).fadeIn("fast")});z=y}});$("#contact_form").bind("submit",function(){var y=true;$("#contact_form input, #contact_form textarea").removeClass("error");if($("#firstname").val().length<1){y=false;$("#firstname").addClass("error")}if($("#lastname").val().length<1){y=false;$("#lastname").addClass("error")}if($("#country").val().length<1){y=
false;$("#country").addClass("error")}if(!/^.+@.+\..+$/i.test($("#email").val())){y=false;$("#email").addClass("error")}if(y){$("#contact_form :enabled").attr("disabled","disabled");$('input[type="image"]').css("visibility","hidden");y=$("#presskit:checked").length?"on":"off";$.get(ROOT+"ajax/contact_form.php",{object:$("#form_name").val(),firstname:$("#firstname").val(),lastname:$("#lastname").val(),email:$("#email").val(),phone:$("#phone").val(),address:$("#address").val(),town:$("#town").val(),
country:$("#country").val(),presskit:y,message:$("#message").val()},function(F){if($.browser.msie&&$.browser.version==6||F=="ok"){if(!$("#presskit").length)window.location=ROOT+"thank-you";$("#contact_form").fadeOut("fast",function(){$('<p class="confirm">Thank you for your interest, we will get back to you as soon as possible.</p>').hide().appendTo("body").fadeIn()})}else alert("An error has occurred, your message cannot be send. We apologize for the inconvenience.")})}return false});$.browser.safari&&
$("#the-movie").css("marginTop","200px");$.browser.mozilla&&$("#the-movie").css("marginTop","200px");$.browser.opera&&$("body").addClass("opera")});