(function(ck,bP){var bj=function(b,a){return new bj.fn.init(b,a)},a7=ck.jQuery,bt=ck.$,b8=ck.document,bn,bv=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,ca=/^.[^:#\[\.,]*$/,bK=/\S/,by=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,bf=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bi=navigator.userAgent,a0,bC=false,b6=[],cq,bR=Object.prototype.toString,bU=Object.prototype.hasOwnProperty,bd=Array.prototype.push,bL=Array.prototype.slice,a2=Array.prototype.indexOf;bj.fn=bj.prototype={init:function(f,c){var d,b,e,a;if(!f){return this}if(f.nodeType){this.context=this[0]=f;
this.length=1;return this}if(typeof f==="string"){d=bv.exec(f);if(d&&(d[1]||!c)){if(d[1]){a=(c?c.ownerDocument||c:b8);e=bf.exec(f);if(e){if(bj.isPlainObject(c)){f=[b8.createElement(e[1])];bj.fn.attr.call(f,c,true)}else{f=[a.createElement(e[1])]}}else{e=bD([d[1]],[a]);f=(e.cacheable?e.fragment.cloneNode(true):e.fragment).childNodes}}else{b=b8.getElementById(d[2]);if(b){if(b.id!==d[2]){return bn.find(f)}this.length=1;this[0]=b}this.context=b8;this.selector=f;return this}}else{if(!c&&/^\w+$/.test(f)){this.selector=f;
this.context=b8;f=b8.getElementsByTagName(f)}else{if(!c||c.jquery){return(c||bn).find(f)}else{return bj(c).find(f)}}}}else{if(bj.isFunction(f)){return bn.ready(f)}}if(f.selector!==bP){this.selector=f.selector;this.context=f.context}return bj.isArray(f)?this.setArray(f):bj.makeArray(f,this)},selector:"",jquery:"1.4",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(a){return a==null?this.toArray():(a<0?this.slice(a)[0]:this[a])},pushStack:function(c,a,d){var b=bj(c||null);
b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;bd.apply(this,a);return this},each:function(a,b){return bj.each(this,a,b)},ready:function(a){bj.bindReady();if(bj.isReady){a.call(b8,bj)}else{if(b6){b6.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(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(a){return this.pushStack(bj.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||bj(null)},push:bd,sort:[].sort,splice:[].splice};bj.fn.init.prototype=bj.fn;bj.extend=bj.fn.extend=function(){var d=arguments[0]||{},e=1,f=arguments.length,b=false,a,g,i,h;if(typeof d==="boolean"){b=d;d=arguments[1]||{};e=2}if(typeof d!=="object"&&!bj.isFunction(d)){d={}
}if(f===e){d=this;--e}for(;e<f;e++){if((a=arguments[e])!=null){for(g in a){i=d[g];h=a[g];if(d===h){continue}if(b&&h&&(bj.isPlainObject(h)||bj.isArray(h))){var c=i&&(bj.isPlainObject(i)||bj.isArray(i))?i:bj.isArray(h)?[]:{};d[g]=bj.extend(b,c,h)}else{if(h!==bP){d[g]=h}}}}}return d};bj.extend({noConflict:function(a){ck.$=bt;if(a){ck.jQuery=a7}return bj},isReady:false,ready:function(){if(!bj.isReady){if(!b8.body){return setTimeout(bj.ready,13)}bj.isReady=true;if(b6){var a,b=0;while((a=b6[b++])){a.call(b8,bj)
}b6=null}if(bj.fn.triggerHandler){bj(b8).triggerHandler("ready")}}},bindReady:function(){if(bC){return}bC=true;if(b8.readyState==="complete"){return bj.ready()}if(b8.addEventListener){b8.addEventListener("DOMContentLoaded",cq,false);ck.addEventListener("load",bj.ready,false)}else{if(b8.attachEvent){b8.attachEvent("onreadystatechange",cq);ck.attachEvent("onload",bj.ready);var b=false;try{b=ck.frameElement==null}catch(a){}if(b8.documentElement.doScroll&&b){aY()}}}},isFunction:function(a){return bR.call(a)==="[object Function]"
},isArray:function(a){return bR.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||bR.call(a)!=="[object Object]"||a.nodeType||a.setInterval){return false}if(a.constructor&&!bU.call(a,"constructor")&&!bU.call(a.constructor.prototype,"isPrototypeOf")){return false}var b;for(b in a){}return b===bP||bU.call(a,b)},isEmptyObject:function(a){for(var b in a){return false}return true},noop:function(){},globalEval:function(a){if(a&&bK.test(a)){var b=b8.getElementsByTagName("head")[0]||b8.documentElement,c=b8.createElement("script");
c.type="text/javascript";if(bj.support.scriptEval){c.appendChild(b8.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length,h=c===bP||bj.isFunction(e);if(f){if(h){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(h){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];
d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},trim:function(a){return(a||"").replace(by,"")},makeArray:function(a,b){var c=b||[];if(a!=null){if(a.length==null||typeof a==="string"||bj.isFunction(a)||(typeof a!=="function"&&a.setInterval)){bd.call(c,a)}else{bj.merge(c,a)}}return c},inArray:function(b,a){if(a.indexOf){return a.indexOf(b)}for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(a,c){var b=a.length,d=0;if(typeof c.length==="number"){for(var e=c.length;d<e;
d++){a[b++]=c[d]}}else{while(c[d]!==bP){a[b++]=c[d++]}}a.length=b;return a},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!==!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a,g){var e=[],b;for(var d=0,c=f.length;d<c;d++){b=a(f[d],d,g);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)},guid:1,proxy:function(a,b,c){if(arguments.length===2){if(typeof b==="string"){c=a;a=c[b];b=bP}else{if(b&&!bj.isFunction(b)){c=b;b=bP}}}if(!b&&a){b=function(){return a.apply(c||this,arguments)
}}if(a){b.guid=a.guid=a.guid||b.guid||bj.guid++}return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a)){b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/}}else{if(/opera/.test(a)){b={browser:"opera",version:/version/.test(a)?/version[\/ ]([\w.]+)/:/opera[\/ ]([\w.]+)/}}else{if(/msie/.test(a)){b={browser:"msie",version:/msie ([\w.]+)/}}else{if(/mozilla/.test(a)&&!/compatible/.test(a)){b={browser:"mozilla",version:/rv:([\w.]+)/}}}}}b.version=(b.version&&b.version.exec(a)||[0,"0"])[1];
return b},browser:{}});a0=bj.uaMatch(bi);if(a0.browser){bj.browser[a0.browser]=true;bj.browser.version=a0.version}if(bj.browser.webkit){bj.browser.safari=true}if(a2){bj.inArray=function(b,a){return a2.call(a,b)}}bn=bj(b8);if(b8.addEventListener){cq=function(){b8.removeEventListener("DOMContentLoaded",cq,false);bj.ready()}}else{if(b8.attachEvent){cq=function(){if(b8.readyState==="complete"){b8.detachEvent("onreadystatechange",cq);bj.ready()}}}}function aY(){if(bj.isReady){return}try{b8.documentElement.doScroll("left")
}catch(a){setTimeout(aY,1);return}bj.ready()}if(a2){bj.inArray=function(b,a){return a2.call(a,b)}}function cb(b,a){if(a.src){bj.ajax({url:a.src,async:false,dataType:"script"})}else{bj.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function bW(i,a,c,g,d,b){var h=i.length;if(typeof a==="object"){for(var f in a){bW(i,f,a[f],g,d,c)}return i}if(c!==bP){g=!b&&g&&bj.isFunction(c);for(var e=0;e<h;e++){d(i[e],a,g?c.call(i[e],e,d(i[e],a)):c,b)}return i}return h?d(i[0],a):null
}function ch(){return(new Date).getTime()}(function(){bj.support={};var d=b8.documentElement,e=b8.createElement("script"),i=b8.createElement("div"),h="script"+ch();i.style.display="none";i.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var b=i.getElementsByTagName("*"),c=i.getElementsByTagName("a")[0];if(!b||!b.length||!c){return}bj.support={leadingWhitespace:i.firstChild.nodeType===3,tbody:!i.getElementsByTagName("tbody").length,htmlSerialize:!!i.getElementsByTagName("link").length,style:/red/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:/^0.55$/.test(c.style.opacity),cssFloat:!!c.style.cssFloat,checkOn:i.getElementsByTagName("input")[0].value==="on",optSelected:b8.createElement("select").appendChild(b8.createElement("option")).selected,scriptEval:false,noCloneEvent:true,boxModel:null};
e.type="text/javascript";try{e.appendChild(b8.createTextNode("window."+h+"=1;"))}catch(g){}d.insertBefore(e,d.firstChild);if(ck[h]){bj.support.scriptEval=true;delete ck[h]}d.removeChild(e);if(i.attachEvent&&i.fireEvent){i.attachEvent("onclick",function a(){bj.support.noCloneEvent=false;i.detachEvent("onclick",a)});i.cloneNode(true).fireEvent("onclick")}bj(function(){var j=b8.createElement("div");j.style.width=j.style.paddingLeft="1px";b8.body.appendChild(j);bj.boxModel=bj.support.boxModel=j.offsetWidth===2;
b8.body.removeChild(j).style.display="none";j=null});var f=function(m){var j=b8.createElement("div");m="on"+m;var k=(m in j);if(!k){j.setAttribute(m,"return;");k=typeof j[m]==="function"}j=null;return k};bj.support.submitBubbles=f("submit");bj.support.changeBubbles=f("change");d=e=i=b=c=null})();bj.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};
var co="jQuery"+ch(),cp=0,cd={};var bz={};bj.extend({cache:{},expando:co,noData:{embed:true,object:true,applet:true},data:function(d,e,b){if(d.nodeName&&bj.noData[d.nodeName.toLowerCase()]){return}d=d==ck?cd:d;var a=d[co],f=bj.cache,c;if(!e&&!a){return null}if(!a){a=++cp}if(typeof e==="object"){d[co]=a;c=f[a]=bj.extend(true,{},e)}else{if(f[a]){c=f[a]}else{if(typeof b==="undefined"){c=bz}else{c=f[a]={}}}}if(b!==bP){d[co]=a;c[e]=b}return typeof e==="string"?c[e]:c},removeData:function(d,e){if(d.nodeName&&bj.noData[d.nodeName.toLowerCase()]){return
}d=d==ck?cd:d;var a=d[co],f=bj.cache,c=f[a];if(e){if(c){delete c[e];if(bj.isEmptyObject(c)){bj.removeData(d)}}}else{try{delete d[co]}catch(b){if(d.removeAttribute){d.removeAttribute(co)}}delete f[a]}}});bj.fn.extend({data:function(d,b){if(typeof d==="undefined"&&this.length){return bj.data(this[0])}else{if(typeof d==="object"){return this.each(function(){bj.data(this,d)})}}var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===bP){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===bP&&this.length){c=bj.data(this[0],d)
}return c===bP&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){bj.data(this,d,b)})}},removeData:function(a){return this.each(function(){bj.removeData(this,a)})}});bj.extend({queue:function(c,d,a){if(!c){return}d=(d||"fx")+"queue";var b=bj.data(c,d);if(!a){return b||[]}if(!b||bj.isArray(a)){b=bj.data(c,d,bj.makeArray(a))}else{b.push(a)}return b},dequeue:function(a,b){b=b||"fx";var d=bj.queue(a,b),c=d.shift();if(c==="inprogress"){c=d.shift()}if(c){if(b==="fx"){d.unshift("inprogress")
}c.call(a,function(){bj.dequeue(a,b)})}}});bj.fn.extend({queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===bP){return bj.queue(this[0],b)}return this.each(function(d,c){var e=bj.queue(this,b,a);if(b==="fx"&&e[0]!=="inprogress"){bj.dequeue(this,b)}})},dequeue:function(a){return this.each(function(){bj.dequeue(this,a)})},delay:function(a,b){a=bj.fx?bj.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){bj.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])
}});var bV=/[\n\t]/g,bs=/\s+/,bM=/\r/g,cg=/href|src|style/,bg=/(button|input)/i,aW=/(button|input|object|select|textarea)/i,ba=/^(a|area)$/i,bG=/radio|checkbox/;bj.fn.extend({attr:function(b,a){return bW(this,b,a,true,bj.attr)},removeAttr:function(b,a){return this.each(function(){bj.attr(this,b,"");if(this.nodeType===1){this.removeAttribute(b)}})},addClass:function(c){if(bj.isFunction(c)){return this.each(function(i){var j=bj(this);j.addClass(c.call(this,i,j.attr("class")))})}if(c&&typeof c==="string"){var b=(c||"").split(bs);
for(var f=0,g=this.length;f<g;f++){var d=this[f];if(d.nodeType===1){if(!d.className){d.className=c}else{var e=" "+d.className+" ";for(var a=0,h=b.length;a<h;a++){if(e.indexOf(" "+b[a]+" ")<0){d.className+=" "+b[a]}}}}}}return this},removeClass:function(c){if(bj.isFunction(c)){return this.each(function(i){var j=bj(this);j.removeClass(c.call(this,i,j.attr("class")))})}if((c&&typeof c==="string")||c===bP){var b=(c||"").split(bs);for(var f=0,g=this.length;f<g;f++){var d=this[f];if(d.nodeType===1&&d.className){if(c){var e=(" "+d.className+" ").replace(bV," ");
for(var a=0,h=b.length;a<h;a++){e=e.replace(" "+b[a]+" "," ")}d.className=e.substring(1,e.length-1)}else{d.className=""}}}}return this},toggleClass:function(a,c){var b=typeof a,d=typeof c==="boolean";if(bj.isFunction(a)){return this.each(function(e){var f=bj(this);f.toggleClass(a.call(this,e,f.attr("class"),c),c)})}return this.each(function(){if(b==="string"){var f,g=0,h=bj(this),e=c,i=a.split(bs);while((f=i[g++])){e=d?e:!h.hasClass(f);h[e?"addClass":"removeClass"](f)}}else{if(b==="undefined"||b==="boolean"){if(this.className){bj.data(this,"__className__",this.className)
}this.className=this.className||a===false?"":bj.data(this,"__className__")||""}}})},hasClass:function(d){var a=" "+d+" ";for(var b=0,c=this.length;b<c;b++){if((" "+this[b].className+" ").replace(bV," ").indexOf(a)>-1){return true}}return false},val:function(b){if(b===bP){var h=this[0];if(h){if(bj.nodeName(h,"option")){return(h.attributes.value||{}).specified?h.value:h.text}if(bj.nodeName(h,"select")){var d=h.selectedIndex,a=[],j=h.options,e=h.type==="select-one";if(d<0){return null}for(var g=e?d:0,c=e?d+1:j.length;
g<c;g++){var f=j[g];if(f.selected){b=bj(f).val();if(e){return b}a.push(b)}}return a}if(bG.test(h.type)&&!bj.support.checkOn){return h.getAttribute("value")===null?"on":h.value}return(h.value||"").replace(bM,"")}return bP}var i=bj.isFunction(b);return this.each(function(m){var n=bj(this),k=b;if(this.nodeType!==1){return}if(i){k=b.call(this,m,n.val())}if(typeof k==="number"){k+=""}if(bj.isArray(k)&&bG.test(this.type)){this.checked=bj.inArray(n.val(),k)>=0}else{if(bj.nodeName(this,"select")){var o=bj.makeArray(k);
bj("option",this).each(function(){this.selected=bj.inArray(bj(this).val(),o)>=0});if(!o.length){this.selectedIndex=-1}}else{this.value=k}}})}});bj.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(h,i,c,j){if(!h||h.nodeType===3||h.nodeType===8){return bP}if(j&&i in bj.attrFn){return bj(h)[i](c)}var g=h.nodeType!==1||!bj.isXMLDoc(h),d=c!==bP;i=g&&bj.props[i]||i;if(h.nodeType===1){var e=cg.test(i);if(i==="selected"&&!bj.support.optSelected){var b=h.parentNode;
if(b){b.selectedIndex;if(b.parentNode){b.parentNode.selectedIndex}}}if(i in h&&g&&!e){if(d){if(i==="type"&&bg.test(h.nodeName)&&h.parentNode){throw"type property can't be changed"}h[i]=c}if(bj.nodeName(h,"form")&&h.getAttributeNode(i)){return h.getAttributeNode(i).nodeValue}if(i==="tabIndex"){var a=h.getAttributeNode("tabIndex");return a&&a.specified?a.value:aW.test(h.nodeName)||ba.test(h.nodeName)&&h.href?0:bP}return h[i]}if(!bj.support.style&&g&&i==="style"){if(d){h.style.cssText=""+c}return h.style.cssText
}if(d){h.setAttribute(i,""+c)}var f=!bj.support.hrefNormalized&&g&&e?h.getAttribute(i,2):h.getAttribute(i);return f===null?bP:f}return bj.style(h,i,c)}});var aV=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};bj.event={add:function(g,b,k,e){if(g.nodeType===3||g.nodeType===8){return}if(g.setInterval&&(g!==ck&&!g.frameElement)){g=ck}if(!k.guid){k.guid=bj.guid++}if(e!==bP){var n=k;k=bj.proxy(n);k.data=e}var j=bj.data(g,"events")||bj.data(g,"events",{}),c=bj.data(g,"handle"),d;
if(!c){d=function(){return typeof bj!=="undefined"&&!bj.event.triggered?bj.event.handle.apply(d.elem,arguments):bP};c=bj.data(g,"handle",d)}if(!c){return}c.elem=g;b=b.split(/\s+/);var o,f=0;while((o=b[f++])){var i=o.split(".");o=i.shift();k.type=i.slice(0).sort().join(".");var h=j[o],a=this.special[o]||{};if(!h){h=j[o]={};if(!a.setup||a.setup.call(g,e,i,k)===false){if(g.addEventListener){g.addEventListener(o,c,false)}else{if(g.attachEvent){g.attachEvent("on"+o,c)}}}}if(a.add){var m=a.add.call(g,k,e,i,h);
if(m&&bj.isFunction(m)){m.guid=m.guid||k.guid;k=m}}h[k.guid]=k;this.global[o]=true}g=null},global:{},remove:function(g,c,k){if(g.nodeType===3||g.nodeType===8){return}var j=bj.data(g,"events"),b,o,n;if(j){if(c===bP||(typeof c==="string"&&c.charAt(0)===".")){for(o in j){this.remove(g,o+(c||""))}}else{if(c.type){k=c.handler;c=c.type}c=c.split(/\s+/);var e=0;while((o=c[e++])){var i=o.split(".");o=i.shift();var m=!i.length,h=bj.map(i.slice(0).sort(),aV),f=new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)"),a=this.special[o]||{};
if(j[o]){if(k){n=j[o][k.guid];delete j[o][k.guid]}else{for(var d in j[o]){if(m||f.test(j[o][d].type)){delete j[o][d]}}}if(a.remove){a.remove.call(g,i,n)}for(b in j[o]){break}if(!b){if(!a.teardown||a.teardown.call(g,i)===false){if(g.removeEventListener){g.removeEventListener(o,bj.data(g,"handle"),false)}else{if(g.detachEvent){g.detachEvent("on"+o,bj.data(g,"handle"))}}}b=null;delete j[o]}}}}for(b in j){break}if(!b){var d=bj.data(g,"handle");if(d){d.elem=null}bj.removeData(g,"events");bj.removeData(g,"handle")
}}},trigger:function(i,e,g){var a=i.type||i,f=arguments[3];if(!f){i=typeof i==="object"?i[co]?i:bj.extend(bj.Event(a),i):bj.Event(a);if(a.indexOf("!")>=0){i.type=a=a.slice(0,-1);i.exclusive=true}if(!g){i.stopPropagation();if(this.global[a]){bj.each(bj.cache,function(){if(this.events&&this.events[a]){bj.event.trigger(i,e,this.handle.elem)}})}}if(!g||g.nodeType===3||g.nodeType===8){return bP}i.result=bP;i.target=g;e=bj.makeArray(e);e.unshift(i)}i.currentTarget=g;var d=bj.data(g,"handle");if(d){d.apply(g,e)
}var h,b;try{if(!(g&&g.nodeName&&bj.noData[g.nodeName.toLowerCase()])){h=g[a];b=g["on"+a]}}catch(c){}var j=bj.nodeName(g,"a")&&a==="click";if(!f&&h&&!i.isDefaultPrevented()&&!j){this.triggered=true;try{g[a]()}catch(c){}}else{if(b&&g["on"+a].apply(g,e)===false){i.result=false}}this.triggered=false;if(!i.isPropagationStopped()){var k=g.parentNode||g.ownerDocument;if(k){bj.event.trigger(i,e,k,true)}}},handle:function(b){var c,h;b=arguments[0]=bj.event.fix(b||ck.event);b.currentTarget=this;var a=b.type.split(".");
b.type=a.shift();c=!a.length&&!b.exclusive;var d=new RegExp("(^|\\.)"+a.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");h=(bj.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==bP){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}return b.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[co]){return c
}var e=c;c=bj.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||b8}if(c.target.nodeType===3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=b8.documentElement,f=b8.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b&&b.clientLeft||f&&f.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b&&b.clientTop||f&&f.clientTop||0)
}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button!==bP){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},guid:100000000,proxy:bj.proxy,special:{ready:{setup:bj.bindReady,teardown:bj.noop},live:{add:function(d,a,b,c){bj.extend(d,a||{});d.guid+=a.selector+a.live;bj.event.add(this,a.live,bp,a)},remove:function(a){if(a.length){var c=0,b=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");
bj.each((bj.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){bj.event.remove(this,a[0],bp)}}},special:{}},beforeunload:{setup:function(a,b,c){if(this.setInterval){this.onbeforeunload=c}return false},teardown:function(a,b){if(this.onbeforeunload===b){this.onbeforeunload=null}}}}};bj.Event=function(a){if(!this.preventDefault){return new bj.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ch();this[co]=true};function cf(){return false
}function be(){return true}bj.Event.prototype={preventDefault:function(){this.isDefaultPrevented=be;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=be;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=be;this.stopPropagation()},isDefaultPrevented:cf,isPropagationStopped:cf,isImmediatePropagationStopped:cf};
var bu=function(b){var c=b.relatedTarget;while(c&&c!==this){try{c=c.parentNode}catch(a){break}}if(c!==this){b.type=b.data;bj.event.handle.apply(this,arguments)}},bI=function(a){a.type=a.data;bj.event.handle.apply(this,arguments)};bj.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){bj.event.special[a]={setup:function(c){bj.event.add(this,b,c&&c.selector?bI:bu,a)},teardown:function(c){bj.event.remove(this,b,c&&c.selector?bI:bu)}}});if(!bj.support.submitBubbles){bj.event.special.submit={setup:function(a,b,c){if(this.nodeName.toLowerCase()!=="form"){bj.event.add(this,"click.specialSubmit."+c.guid,function(d){var e=d.target,f=e.type;
if((f==="submit"||f==="image")&&bj(e).closest("form").length){return bE("submit",this,arguments)}});bj.event.add(this,"keypress.specialSubmit."+c.guid,function(d){var e=d.target,f=e.type;if((f==="text"||f==="password")&&bj(e).closest("form").length&&d.keyCode===13){return bE("submit",this,arguments)}})}else{return false}},remove:function(a,b){bj.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));bj.event.remove(this,"keypress.specialSubmit"+(b?"."+b.guid:""))}}}if(!bj.support.changeBubbles){var bT=/textarea|input|select/i;
function bb(b){var c=b.type,a=b.value;if(c==="radio"||c==="checkbox"){a=b.checked}else{if(c==="select-multiple"){a=b.selectedIndex>-1?bj.map(b.options,function(d){return d.selected}).join("-"):""}else{if(b.nodeName.toLowerCase()==="select"){a=b.selectedIndex}}}return a}function bw(b){var d=b.target,c,a;if(!bT.test(d.nodeName)||d.readOnly){return}c=bj.data(d,"_change_data");a=bb(d);if(a===c){return}if(b.type!=="focusout"||d.type!=="radio"){bj.data(d,"_change_data",a)}if(d.type!=="select"&&(c!=null||a)){b.type="change";
return bj.event.trigger(b,arguments[1],this)}}bj.event.special.change={filters:{focusout:bw,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select"){return bw.call(this,a)}},keydown:function(a){var b=a.target,c=b.type;if((a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea")||(a.keyCode===32&&(c==="checkbox"||c==="radio"))||c==="select-multiple"){return bw.call(this,a)}},beforeactivate:function(a){var b=a.target;if(b.nodeName.toLowerCase()==="input"&&b.type==="radio"){bj.data(b,"_change_data",bb(b))
}}},setup:function(a,b,c){for(var d in ce){bj.event.add(this,d+".specialChange."+c.guid,ce[d])}return bT.test(this.nodeName)},remove:function(a,b){for(var c in ce){bj.event.remove(this,c+".specialChange"+(b?"."+b.guid:""),ce[c])}return bT.test(this.nodeName)}};var ce=bj.event.special.change.filters}function bE(b,a,c){c[0].type=b;return bj.event.handle.apply(a,c)}if(b8.addEventListener){bj.each({focus:"focusin",blur:"focusout"},function(a,c){bj.event.special[c]={setup:function(){this.addEventListener(a,b,true)
},teardown:function(){this.removeEventListener(a,b,true)}};function b(d){d=bj.event.fix(d);d.type=c;return bj.event.handle.call(this,d)}})}bj.each(["bind","one"],function(a,b){bj.fn[b]=function(d,c,e){if(typeof d==="object"){for(var g in d){this[b](g,c,d[g],e)}return this}if(bj.isFunction(c)){thisObject=e;e=c;c=bP}var f=b==="one"?bj.proxy(e,function(h){bj(this).unbind(h,f);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,c,e,thisObject):this.each(function(){bj.event.add(this,d,f,c)
})}});bj.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault){for(var c in a){this.unbind(c,a[c])}return this}return this.each(function(){bj.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){bj.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=bj.Event(c);b.preventDefault();b.stopPropagation();bj.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){bj.proxy(a,c[b++])}return this.click(bj.proxy(a,function(e){var d=(bj.data(this,"lastToggle"+a.guid)||0)%b;
bj.data(this,"lastToggle"+a.guid,d+1);e.preventDefault();return c[d].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a||b)},live:function(b,a,c){if(bj.isFunction(a)){c=a;a=bP}bj(this.context).bind(a8(b,this.selector),{data:a,selector:this.selector,live:b},c);return this},die:function(a,b){bj(this.context).unbind(a8(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function bp(i){var m=true,h=[],j=[],a=arguments,k,b,n,f,e,c,d,g=bj.extend({},bj.data(this,"events").live);
for(e in g){n=g[e];if(n.live===i.type||n.altLive&&bj.inArray(i.type,n.altLive)>-1){d=n.data;if(!(d.beforeFilter&&d.beforeFilter[i.type]&&!d.beforeFilter[i.type](i))){j.push(n.selector)}}else{delete g[e]}}b=bj(i.target).closest(j,i.currentTarget);for(c=0,l=b.length;c<l;c++){for(e in g){n=g[e];f=b[c].elem;k=null;if(b[c].selector===n.selector){if(n.live==="mouseenter"||n.live==="mouseleave"){k=bj(i.relatedTarget).closest(n.selector)[0]}if(!k||k!==f){h.push({elem:f,fn:n})}}}}for(c=0,l=h.length;c<l;c++){b=h[c];
i.currentTarget=b.elem;i.data=b.fn.data;if(b.fn.apply(b.elem,a)===false){m=false;break}}return m}function a8(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"&")].join(".")}bj.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){bj.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)};if(bj.attrFn){bj.attrFn[b]=true}});
if(ck.attachEvent&&!ck.addEventListener){ck.attachEvent("onunload",function(){for(var a in bj.cache){if(bj.cache[a].handle){try{bj.event.remove(bj.cache[a].handle.elem)}catch(b){}}}})}(function(){var m=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,i=Object.prototype.toString,r=false,s=true;[0,0].sort(function(){s=false;return 0});var c=function(A,F,x,w){x=x||[];var u=F=F||b8;if(F.nodeType!==1&&F.nodeType!==9){return[]
}if(!A||typeof A!=="string"){return x}var z=[],D,J,G,E,B=true,C=b(F),v=A;while((m.exec(""),D=m.exec(v))!==null){v=D[3];z.push(D[1]);if(D[2]){E=D[3];break}}if(z.length>1&&q.exec(A)){if(z.length===2&&p.relative[z[0]]){J=h(z[0]+z[1],F)}else{J=p.relative[z[0]]?[F]:c(z.shift(),F);while(z.length){A=z.shift();if(p.relative[A]){A+=z.shift()}J=h(A,J)}}}else{if(!w&&z.length>1&&F.nodeType===9&&!C&&p.match.ID.test(z[0])&&!p.match.ID.test(z[z.length-1])){var t=c.find(z.shift(),F,C);F=t.expr?c.filter(t.expr,t.set)[0]:t.set[0]
}if(F){var t=w?{expr:z.pop(),set:n(w)}:c.find(z.pop(),z.length===1&&(z[0]==="~"||z[0]==="+")&&F.parentNode?F.parentNode:F,C);J=t.expr?c.filter(t.expr,t.set):t.set;if(z.length>0){G=n(J)}else{B=false}while(z.length){var H=z.pop(),I=H;if(!p.relative[H]){H=""}else{I=z.pop()}if(I==null){I=F}p.relative[H](G,I,C)}}else{G=z=[]}}if(!G){G=J}if(!G){throw"Syntax error, unrecognized expression: "+(H||A)}if(i.call(G)==="[object Array]"){if(!B){x.push.apply(x,G)}else{if(F&&F.nodeType===1){for(var y=0;G[y]!=null;
y++){if(G[y]&&(G[y]===true||G[y].nodeType===1&&o(F,G[y]))){x.push(J[y])}}}else{for(var y=0;G[y]!=null;y++){if(G[y]&&G[y].nodeType===1){x.push(J[y])}}}}}else{n(G,x)}if(E){c(E,u,x,w);c.uniqueSort(x)}return x};c.uniqueSort=function(t){if(j){r=s;t.sort(j);if(r){for(var u=1;u<t.length;u++){if(t[u]===t[u-1]){t.splice(u--,1)}}}}return t};c.matches=function(u,t){return c(u,null,null,t)};c.find=function(u,B,t){var v,x;if(!u){return[]}for(var y=0,z=p.order.length;y<z;y++){var w=p.order[y],x;if((x=p.leftMatch[w].exec(u))){var A=x[1];
x.splice(1,1);if(A.substr(A.length-1)!=="\\"){x[1]=(x[1]||"").replace(/\\/g,"");v=p.find[w](x,B,t);if(v!=null){u=u.replace(p.match[w],"");break}}}}if(!v){v=B.getElementsByTagName("*")}return{set:v,expr:u}};c.filter=function(u,v,I,B){var D=u,G=[],x=v,z,F,y=v&&v[0]&&b(v[0]);while(u&&v.length){for(var w in p.filter){if((z=p.leftMatch[w].exec(u))!=null&&z[2]){var E=p.filter[w],H,J,C=z[1];F=false;z.splice(1,1);if(C.substr(C.length-1)==="\\"){continue}if(x===G){G=[]}if(p.preFilter[w]){z=p.preFilter[w](z,x,I,G,B,y);
if(!z){F=H=true}else{if(z===true){continue}}}if(z){for(var A=0;(J=x[A])!=null;A++){if(J){H=E(J,z,A,x);var t=B^!!H;if(I&&H!=null){if(t){F=true}else{x[A]=false}}else{if(t){G.push(J);F=true}}}}}if(H!==bP){if(!I){x=G}u=u.replace(p.match[w],"");if(!F){return[]}break}}}if(u===D){if(F==null){throw"Syntax error, unrecognized expression: "+u}else{break}}D=u}return x};var p=c.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(t){return t.getAttribute("href")
}},relative:{"+":function(u,z){var x=typeof z==="string",v=x&&!/\W/.test(z),t=x&&!v;if(v){z=z.toLowerCase()}for(var y=0,A=u.length,w;y<A;y++){if((w=u[y])){while((w=w.previousSibling)&&w.nodeType!==1){}u[y]=t||w&&w.nodeName.toLowerCase()===z?w||false:w===z}}if(t){c.filter(z,u,true)}},">":function(t,y){var v=typeof y==="string";if(v&&!/\W/.test(y)){y=y.toLowerCase();for(var x=0,z=t.length;x<z;x++){var u=t[x];if(u){var w=u.parentNode;t[x]=w.nodeName.toLowerCase()===y?w:false}}}else{for(var x=0,z=t.length;
x<z;x++){var u=t[x];if(u){t[x]=v?u.parentNode:u.parentNode===y}}if(v){c.filter(y,t,true)}}},"":function(v,x,t){var w=k++,y=g;if(typeof x==="string"&&!/\W/.test(x)){var u=x=x.toLowerCase();y=e}y("parentNode",x,w,v,u,t)},"~":function(v,x,t){var w=k++,y=g;if(typeof x==="string"&&!/\W/.test(x)){var u=x=x.toLowerCase();y=e}y("previousSibling",x,w,v,u,t)}},find:{ID:function(v,u,t){if(typeof u.getElementById!=="undefined"&&!t){var w=u.getElementById(v[1]);return w?[w]:[]}},NAME:function(w,t){if(typeof t.getElementsByName!=="undefined"){var x=[],u=t.getElementsByName(w[1]);
for(var v=0,y=u.length;v<y;v++){if(u[v].getAttribute("name")===w[1]){x.push(u[v])}}return x.length===0?null:x}},TAG:function(u,t){return t.getElementsByTagName(u[1])}},preFilter:{CLASS:function(x,z,y,A,u,t){x=" "+x[1].replace(/\\/g,"")+" ";if(t){return x}for(var w=0,v;(v=z[w])!=null;w++){if(v){if(u^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(x)>=0)){if(!y){A.push(v)}}else{if(y){z[w]=false}}}}return false},ID:function(t){return t[1].replace(/\\/g,"")},TAG:function(t,u){return t[1].toLowerCase()
},CHILD:function(u){if(u[1]==="nth"){var t=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(u[2]==="even"&&"2n"||u[2]==="odd"&&"2n+1"||!/\D/.test(u[2])&&"0n+"+u[2]||u[2]);u[2]=(t[1]+(t[2]||1))-0;u[3]=t[3]-0}u[0]=k++;return u},ATTR:function(v,y,x,z,u,t){var w=v[1].replace(/\\/g,"");if(!t&&p.attrMap[w]){v[1]=p.attrMap[w]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(u,x,w,y,t){if(u[1]==="not"){if((m.exec(u[3])||"").length>1||/^\w/.test(u[3])){u[3]=c(u[3],null,null,x)}else{var v=c.filter(u[3],x,w,true^t);
if(!w){y.push.apply(y,v)}return false}}else{if(p.match.POS.test(u[0])||p.match.CHILD.test(u[0])){return true}}return u},POS:function(t){t.unshift(true);return t}},filters:{enabled:function(t){return t.disabled===false&&t.type!=="hidden"},disabled:function(t){return t.disabled===true},checked:function(t){return t.checked===true},selected:function(t){t.parentNode.selectedIndex;return t.selected===true},parent:function(t){return !!t.firstChild},empty:function(t){return !t.firstChild},has:function(t,u,v){return !!c(v[3],t).length
},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){return"text"===t.type},radio:function(t){return"radio"===t.type},checkbox:function(t){return"checkbox"===t.type},file:function(t){return"file"===t.type},password:function(t){return"password"===t.type},submit:function(t){return"submit"===t.type},image:function(t){return"image"===t.type},reset:function(t){return"reset"===t.type},button:function(t){return"button"===t.type||t.nodeName.toLowerCase()==="button"},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)
}},setFilters:{first:function(t,u){return u===0},last:function(u,v,w,t){return v===t.length-1},even:function(t,u){return u%2===0},odd:function(t,u){return u%2===1},lt:function(t,u,v){return u<v[3]-0},gt:function(t,u,v){return u>v[3]-0},nth:function(t,u,v){return v[3]-0===u},eq:function(t,u,v){return v[3]-0===u}},filter:{PSEUDO:function(u,y,x,t){var z=y[1],w=p.filters[z];if(w){return w(u,x,y,t)}else{if(z==="contains"){return(u.textContent||u.innerText||d([u])||"").indexOf(y[3])>=0}else{if(z==="not"){var v=y[3];
for(var x=0,A=v.length;x<A;x++){if(v[x]===u){return false}}return true}else{throw"Syntax error, unrecognized expression: "+z}}}},CHILD:function(C,z){var w=z[1],B=C;switch(w){case"only":case"first":while((B=B.previousSibling)){if(B.nodeType===1){return false}}if(w==="first"){return true}B=C;case"last":while((B=B.nextSibling)){if(B.nodeType===1){return false}}return true;case"nth":var A=z[2],t=z[3];if(A===1&&t===0){return true}var x=z[0],u=C.parentNode;if(u&&(u.sizcache!==x||!C.nodeIndex)){var y=0;
for(B=u.firstChild;B;B=B.nextSibling){if(B.nodeType===1){B.nodeIndex=++y}}u.sizcache=x}var v=C.nodeIndex-t;if(A===0){return v===0}else{return(v%A===0&&v/A>=0)}}},ID:function(t,u){return t.nodeType===1&&t.getAttribute("id")===u},TAG:function(t,u){return(u==="*"&&t.nodeType===1)||t.nodeName.toLowerCase()===u},CLASS:function(t,u){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(u)>-1},ATTR:function(u,w){var x=w[1],z=p.attrHandle[x]?p.attrHandle[x](u):u[x]!=null?u[x]:u.getAttribute(x),t=z+"",v=w[2],y=w[4];
return z==null?v==="!=":v==="="?t===y:v==="*="?t.indexOf(y)>=0:v==="~="?(" "+t+" ").indexOf(y)>=0:!y?t&&z!==false:v==="!="?t!==y:v==="^="?t.indexOf(y)===0:v==="$="?t.substr(t.length-y.length)===y:v==="|="?t===y||t.substr(0,y.length+1)===y+"-":false},POS:function(u,x,w,t){var y=x[2],v=p.setFilters[y];if(v){return v(u,w,x,t)}}}};var q=p.match.POS;for(var a in p.match){p.match[a]=new RegExp(p.match[a].source+/(?![^\[]*\])(?![^\(]*\))/.source);p.leftMatch[a]=new RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[a].source.replace(/\\(\d+)/g,function(t,u){return"\\"+(u-0+1)
}))}var n=function(t,u){t=Array.prototype.slice.call(t,0);if(u){u.push.apply(u,t);return u}return t};try{Array.prototype.slice.call(b8.documentElement.childNodes,0)}catch(f){n=function(t,u){var w=u||[];if(i.call(t)==="[object Array]"){Array.prototype.push.apply(w,t)}else{if(typeof t.length==="number"){for(var v=0,x=t.length;v<x;v++){w.push(t[v])}}else{for(var v=0;t[v];v++){w.push(t[v])}}}return w}}var j;if(b8.documentElement.compareDocumentPosition){j=function(u,v){if(!u.compareDocumentPosition||!v.compareDocumentPosition){if(u==v){r=true
}return u.compareDocumentPosition?-1:1}var t=u.compareDocumentPosition(v)&4?-1:u===v?0:1;if(t===0){r=true}return t}}else{if("sourceIndex" in b8.documentElement){j=function(u,v){if(!u.sourceIndex||!v.sourceIndex){if(u==v){r=true}return u.sourceIndex?-1:1}var t=u.sourceIndex-v.sourceIndex;if(t===0){r=true}return t}}else{if(b8.createRange){j=function(u,w){if(!u.ownerDocument||!w.ownerDocument){if(u==w){r=true}return u.ownerDocument?-1:1}var v=u.ownerDocument.createRange(),x=w.ownerDocument.createRange();
v.setStart(u,0);v.setEnd(u,0);x.setStart(w,0);x.setEnd(w,0);var t=v.compareBoundaryPoints(Range.START_TO_END,x);if(t===0){r=true}return t}}}}function d(w){var v="",t;for(var u=0;w[u];u++){t=w[u];if(t.nodeType===3||t.nodeType===4){v+=t.nodeValue}else{if(t.nodeType!==8){v+=d(t.childNodes)}}}return v}(function(){var u=b8.createElement("div"),t="script"+(new Date).getTime();u.innerHTML="<a name='"+t+"'/>";var v=b8.documentElement;v.insertBefore(u,v.firstChild);if(b8.getElementById(t)){p.find.ID=function(y,x,w){if(typeof x.getElementById!=="undefined"&&!w){var z=x.getElementById(y[1]);
return z?z.id===y[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===y[1]?[z]:bP:[]}};p.filter.ID=function(w,y){var x=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&x&&x.nodeValue===y}}v.removeChild(u);v=u=null})();(function(){var t=b8.createElement("div");t.appendChild(b8.createComment(""));if(t.getElementsByTagName("*").length>0){p.find.TAG=function(y,u){var v=u.getElementsByTagName(y[1]);if(y[1]==="*"){var w=[];for(var x=0;
v[x];x++){if(v[x].nodeType===1){w.push(v[x])}}v=w}return v}}t.innerHTML="<a href='#'></a>";if(t.firstChild&&typeof t.firstChild.getAttribute!=="undefined"&&t.firstChild.getAttribute("href")!=="#"){p.attrHandle.href=function(u){return u.getAttribute("href",2)}}t=null})();if(b8.querySelectorAll){(function(){var v=c,t=b8.createElement("div");t.innerHTML="<p class='TEST'></p>";if(t.querySelectorAll&&t.querySelectorAll(".TEST").length===0){return}c=function(x,y,A,z){y=y||b8;if(!z&&y.nodeType===9&&!b(y)){try{return n(y.querySelectorAll(x),A)
}catch(w){}}return v(x,y,A,z)};for(var u in v){c[u]=v[u]}t=null})()}(function(){var t=b8.createElement("div");t.innerHTML="<div class='test e'></div><div class='test'></div>";if(!t.getElementsByClassName||t.getElementsByClassName("e").length===0){return}t.lastChild.className="e";if(t.getElementsByClassName("e").length===1){return}p.order.splice(1,0,"CLASS");p.find.CLASS=function(w,v,u){if(typeof v.getElementsByClassName!=="undefined"&&!u){return v.getElementsByClassName(w[1])}};t=null})();function e(B,w,x,t,v,u){for(var z=0,A=t.length;
z<A;z++){var C=t[z];if(C){C=C[B];var y=false;while(C){if(C.sizcache===x){y=t[C.sizset];break}if(C.nodeType===1&&!u){C.sizcache=x;C.sizset=z}if(C.nodeName.toLowerCase()===w){y=C;break}C=C[B]}t[z]=y}}}function g(B,w,x,t,v,u){for(var z=0,A=t.length;z<A;z++){var C=t[z];if(C){C=C[B];var y=false;while(C){if(C.sizcache===x){y=t[C.sizset];break}if(C.nodeType===1){if(!u){C.sizcache=x;C.sizset=z}if(typeof w!=="string"){if(C===w){y=true;break}}else{if(c.filter(w,[C]).length>0){y=C;break}}}C=C[B]}t[z]=y}}}var o=b8.compareDocumentPosition?function(t,u){return t.compareDocumentPosition(u)&16
}:function(t,u){return t!==u&&(t.contains?t.contains(u):true)};var b=function(u){var t=(u?u.ownerDocument||u:0).documentElement;return t?t.nodeName!=="HTML":false};var h=function(A,t){var x=[],w="",v,y=t.nodeType?[t]:t;while((v=p.match.PSEUDO.exec(A))){w+=v[0];A=A.replace(p.match.PSEUDO,"")}A=p.relative[A]?A+"*":A;for(var u=0,z=y.length;u<z;u++){c(A,y[u],x)}return c.filter(w,x)};bj.find=c;bj.expr=c.selectors;bj.expr[":"]=bj.expr.filters;bj.unique=c.uniqueSort;bj.getText=d;bj.isXMLDoc=b;bj.contains=o;
return;ck.Sizzle=c})();var bx=/Until$/,bm=/^(?:parents|prevUntil|prevAll)/,cl=/,/,bL=Array.prototype.slice;var b1=function(a,b,d){if(bj.isFunction(b)){return bj.grep(a,function(e,f){return !!b.call(e,f,e)===d})}else{if(b.nodeType){return bj.grep(a,function(e,f){return(e===b)===d})}else{if(typeof b==="string"){var c=bj.grep(a,function(e){return e.nodeType===1});if(ca.test(b)){return bj.filter(b,c,!d)}else{b=bj.filter(b,a)}}}}return bj.grep(a,function(e,f){return(bj.inArray(e,b)>=0)===d})};bj.fn.extend({find:function(g){var e=this.pushStack("","find",g),b=0;
for(var d=0,f=this.length;d<f;d++){b=e.length;bj.find(g,this[d],e);if(d>0){for(var a=b;a<e.length;a++){for(var c=0;c<b;c++){if(e[c]===e[a]){e.splice(a--,1);break}}}}}return e},has:function(a){var b=bj(a);return this.filter(function(){for(var c=0,d=b.length;c<d;c++){if(bj.contains(this,b[c])){return true}}})},not:function(a){return this.pushStack(b1(this,a,false),"not",a)},filter:function(a){return this.pushStack(b1(this,a,true),"filter",a)},is:function(a){return !!a&&bj.filter(a,this).length>0},closest:function(j,i){if(bj.isArray(j)){var c=[],a=this[0],d,e={},g;
if(a&&j.length){for(var f=0,h=j.length;f<h;f++){g=j[f];if(!e[g]){e[g]=bj.expr.match.POS.test(g)?bj(g,i||this.context):g}}while(a&&a.ownerDocument&&a!==i){for(g in e){d=e[g];if(d.jquery?d.index(a)>-1:bj(a).is(d)){c.push({selector:g,elem:a});delete e[g]}}a=a.parentNode}}return c}var b=bj.expr.match.POS.test(j)?bj(j,i||this.context):null;return this.map(function(m,k){while(k&&k.ownerDocument&&k!==i){if(b?b.index(k)>-1:bj(k).is(j)){return k}k=k.parentNode}return null})},index:function(a){if(!a||typeof a==="string"){return bj.inArray(this[0],a?bj(a):this.parent().children())
}return bj.inArray(a.jquery?a[0]:a,this)},add:function(d,c){var a=typeof d==="string"?bj(d,c||this.context):bj.makeArray(d),b=bj.merge(this.get(),a);return this.pushStack(aX(a[0])||aX(b[0])?b:bj.unique(b))},andSelf:function(){return this.add(this.prevObject)}});function aX(a){return !a||!a.parentNode||a.parentNode.nodeType===11}bj.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return bj.dir(a,"parentNode")},parentsUntil:function(b,c,a){return bj.dir(b,"parentNode",a)
},next:function(a){return bj.nth(a,2,"nextSibling")},prev:function(a){return bj.nth(a,2,"previousSibling")},nextAll:function(a){return bj.dir(a,"nextSibling")},prevAll:function(a){return bj.dir(a,"previousSibling")},nextUntil:function(b,c,a){return bj.dir(b,"nextSibling",a)},prevUntil:function(b,c,a){return bj.dir(b,"previousSibling",a)},siblings:function(a){return bj.sibling(a.parentNode.firstChild,a)},children:function(a){return bj.sibling(a.firstChild)},contents:function(a){return bj.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:bj.makeArray(a.childNodes)
}},function(b,a){bj.fn[b]=function(c,e){var d=bj.map(this,a,c);if(!bx.test(b)){e=c}if(e&&typeof e==="string"){d=bj.filter(e,d)}d=this.length>1?bj.unique(d):d;if((this.length>1||cl.test(e))&&bm.test(b)){d=d.reverse()}return this.pushStack(d,b,bL.call(arguments).join(","))}});bj.extend({filter:function(a,c,b){if(b){a=":not("+a+")"}return bj.find.matches(a,c)},dir:function(c,d,a){var e=[],b=c[d];while(b&&b.nodeType!==9&&(a===bP||!bj(b).is(a))){if(b.nodeType===1){e.push(b)}b=b[d]}return e},nth:function(a,e,c,b){e=e||1;
var d=0;for(;a;a=a[c]){if(a.nodeType===1&&++d===e){break}}return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling){if(a.nodeType===1&&a!==b){c.push(a)}}return c}});var br=/ jQuery\d+="(?:\d+|null)"/g,bl=/^\s+/,bH=/(<([\w:]+)[^>]*?)\/>/g,bY=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,bh=/<([\w:]+)/,a1=/<tbody/i,bA=/<|&\w+;/,a5=function(b,a,c){return bY.test(c)?b:a+"></"+c+">"},b7={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,"",""]};
b7.optgroup=b7.option;b7.tbody=b7.tfoot=b7.colgroup=b7.caption=b7.thead;b7.th=b7.td;if(!bj.support.htmlSerialize){b7._default=[1,"div<div>","</div>"]}bj.fn.extend({text:function(a){if(bj.isFunction(a)){return this.each(function(b){var c=bj(this);return c.text(a.call(this,b,c.text()))})}if(typeof a!=="object"&&a!==bP){return this.empty().append((this[0]&&this[0].ownerDocument||b8).createTextNode(a))}return bj.getText(this)},wrapAll:function(b){if(bj.isFunction(b)){return this.each(function(c){bj(this).wrapAll(b.call(this,c))
})}if(this[0]){var a=bj(b,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild&&c.firstChild.nodeType===1){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){var c=bj(this),b=c.contents();if(b.length){b.wrapAll(a)}else{c.append(a)}})},wrap:function(a){return this.each(function(){bj(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){if(!bj.nodeName(this,"body")){bj(this).replaceWith(this.childNodes)
}}).end()},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType===1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(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=bj(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,bj(arguments[0]).toArray());return a}}},clone:function(a){var b=this.map(function(){if(!bj.support.noCloneEvent&&!bj.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){var c=e.createElement("div");c.appendChild(this.cloneNode(true));d=c.innerHTML}return bj.clean([d.replace(br,"").replace(bl,"")],e)[0]
}else{return this.cloneNode(true)}});if(a===true){a4(this,b);a4(this.find("*"),b.find("*"))}return b},html:function(b){if(b===bP){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(br,""):null}else{if(typeof b==="string"&&!/<script/i.test(b)&&(bj.support.leadingWhitespace||!bl.test(b))&&!b7[(bh.exec(b)||["",""])[1].toLowerCase()]){try{for(var c=0,d=this.length;c<d;c++){if(this[c].nodeType===1){b2(this[c].getElementsByTagName("*"));this[c].innerHTML=b}}}catch(a){this.empty().append(b)}}else{if(bj.isFunction(b)){this.each(function(e){var f=bj(this),g=f.html();
f.empty().append(function(){return b.call(this,e,g)})})}else{this.empty().append(b)}}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(!bj.isFunction(a)){a=bj(a).detach()}return this.each(function(){var b=this.nextSibling,c=this.parentNode;bj(this).remove();if(b){bj(b).before(a)}else{bj(c).append(a)}})}else{return this.pushStack(bj(bj.isFunction(a)?a():a),"replaceWith",a)}},detach:function(a){return this.remove(a,true)},domManip:function(d,j,a){var g,e,b=d[0],h=[];if(bj.isFunction(b)){return this.each(function(k){var m=bj(this);
d[0]=b.call(this,k,j?m.html():bP);return m.domManip(d,j,a)})}if(this[0]){if(d[0]&&d[0].parentNode&&d[0].parentNode.nodeType===11){g={fragment:d[0].parentNode}}else{g=bD(d,this,h)}e=g.fragment.firstChild;if(e){j=j&&bj.nodeName(e,"tr");for(var f=0,i=this.length;f<i;f++){a.call(j?c(this[f],e):this[f],g.cacheable||this.length>1||f>0?g.fragment.cloneNode(true):g.fragment)}}if(h){bj.each(h,cb)}}return this;function c(m,k){return bj.nodeName(m,"table")?(m.getElementsByTagName("tbody")[0]||m.appendChild(m.ownerDocument.createElement("tbody"))):m
}}});function a4(a,c){var b=0;c.each(function(){if(this.nodeName!==(a[b]&&a[b].nodeName)){return}var d=bj.data(a[b++]),e=bj.data(this,d),h=d&&d.events;if(h){delete e.handle;e.events={};for(var f in h){for(var g in h[f]){bj.event.add(this,f,h[f][g],h[f][g].data)}}}})}function bD(c,e,g){var d,h,b,f,a;if(c.length===1&&typeof c[0]==="string"&&c[0].length<512&&c[0].indexOf("<option")<0){h=true;f=bj.fragments[c[0]];if(f){if(f!==1){d=f}b=true}}if(!d){a=(e&&e[0]?e[0].ownerDocument||e[0]:b8);d=a.createDocumentFragment();
bj.clean(c,a,d,g)}if(h){bj.fragments[c[0]]=f?d:1}return{fragment:d,cacheable:h}}bj.fragments={};bj.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){bj.fn[b]=function(h){var e=[],c=bj(h);for(var d=0,g=c.length;d<g;d++){var f=(d>0?this.clone(true):this).get();bj.fn[a].apply(bj(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,c.selector)}});bj.each({remove:function(b,a){if(!b||bj.filter(b,[this]).length){if(!a&&this.nodeType===1){b2(this.getElementsByTagName("*"));
b2([this])}if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){if(this.nodeType===1){b2(this.getElementsByTagName("*"))}while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){bj.fn[b]=function(){return this.each(a,arguments)}});bj.extend({clean:function(e,a,c,f){a=a||b8;if(typeof a.createElement==="undefined"){a=a.ownerDocument||a[0]&&a[0].ownerDocument||b8}var d=[];bj.each(e,function(m,p){if(typeof p==="number"){p+=""}if(!p){return}if(typeof p==="string"&&!bA.test(p)){p=a.createTextNode(p)
}else{if(typeof p==="string"){p=p.replace(bH,a5);var j=(bh.exec(p)||["",""])[1].toLowerCase(),g=b7[j]||b7._default,n=g[0],i=a.createElement("div");i.innerHTML=g[1]+p+g[2];while(n--){i=i.lastChild}if(!bj.support.tbody){var h=a1.test(p),k=j==="table"&&!h?i.firstChild&&i.firstChild.childNodes:g[1]==="<table>"&&!h?i.childNodes:[];for(var o=k.length-1;o>=0;--o){if(bj.nodeName(k[o],"tbody")&&!k[o].childNodes.length){k[o].parentNode.removeChild(k[o])}}}if(!bj.support.leadingWhitespace&&bl.test(p)){i.insertBefore(a.createTextNode(bl.exec(p)[0]),i.firstChild)
}p=bj.makeArray(i.childNodes)}}if(p.nodeType){d.push(p)}else{d=bj.merge(d,p)}});if(c){for(var b=0;d[b];b++){if(f&&bj.nodeName(d[b],"script")&&(!d[b].type||d[b].type.toLowerCase()==="text/javascript")){f.push(d[b].parentNode?d[b].parentNode.removeChild(d[b]):d[b])}else{if(d[b].nodeType===1){d.splice.apply(d,[b+1,0].concat(bj.makeArray(d[b].getElementsByTagName("script"))))}c.appendChild(d[b])}}}return d}});function b2(d){for(var c=0,b,a;(b=d[c])!=null;c++){if(!bj.noData[b.nodeName.toLowerCase()]&&(a=b[co])){delete bj.cache[a]
}}}var bS=/z-?index|font-?weight|opacity|zoom|line-?height/i,bq=/alpha\([^)]*\)/,bk=/opacity=([^)]*)/,b3=/float/i,bF=/-([a-z])/ig,aZ=/([A-Z])/g,ci=/^-?\d+(?:px)?$/i,cc=/^-?\d/,cm={position:"absolute",visibility:"hidden",display:"block"},bo=["Left","Right"],cs=["Top","Bottom"],bZ=b8.defaultView&&b8.defaultView.getComputedStyle,cj=bj.support.cssFloat?"cssFloat":"styleFloat",a9=function(b,a){return a.toUpperCase()};bj.fn.css=function(b,a){return bW(this,b,a,true,function(d,e,c){if(c===bP){return bj.curCSS(d,e)
}if(typeof c==="number"&&!bS.test(e)){c+="px"}bj.style(d,e,c)})};bj.extend({style:function(c,f,b){if(!c||c.nodeType===3||c.nodeType===8){return bP}if((f==="width"||f==="height")&&parseFloat(b)<0){b=bP}var d=c.style||c,a=b!==bP;if(!bj.support.opacity&&f==="opacity"){if(a){d.zoom=1;var g=parseInt(b,10)+""==="NaN"?"":"alpha(opacity="+b*100+")";var e=d.filter||bj.curCSS(c,"filter")||"";d.filter=bq.test(e)?e.replace(bq,g):g}return d.filter&&d.filter.indexOf("opacity=")>=0?(parseFloat(bk.exec(d.filter)[1])/100)+"":""
}if(b3.test(f)){f=cj}f=f.replace(bF,a9);if(a){d[f]=b}return d[f]},css:function(e,g,c,h){if(g==="width"||g==="height"){var a,f=cm,b=g==="width"?bo:cs;function d(){a=g==="width"?e.offsetWidth:e.offsetHeight;if(h==="border"){return}bj.each(b,function(){if(!h){a-=parseFloat(bj.curCSS(e,"padding"+this,true))||0}if(h==="margin"){a+=parseFloat(bj.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(bj.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{bj.swap(e,f,d)}return Math.max(0,Math.round(a))
}return bj.curCSS(e,g,c)},curCSS:function(c,h,g){var k,i=c.style,f;if(!bj.support.opacity&&h==="opacity"&&c.currentStyle){k=bk.test(c.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return k===""?"1":k}if(b3.test(h)){h=cj}if(!g&&i&&i[h]){k=i[h]}else{if(bZ){if(b3.test(h)){h="float"}h=h.replace(aZ,"-$1").toLowerCase();var a=c.ownerDocument.defaultView;if(!a){return null}var j=a.getComputedStyle(c,null);if(j){k=j.getPropertyValue(h)}if(h==="opacity"&&k===""){k="1"}}else{if(c.currentStyle){var d=h.replace(bF,a9);
k=c.currentStyle[h]||c.currentStyle[d];if(!ci.test(k)&&cc.test(k)){var e=i.left,b=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;i.left=d==="fontSize"?"1em":(k||0);k=i.pixelLeft+"px";i.left=e;c.runtimeStyle.left=b}}}}return k},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}}});if(bj.expr&&bj.expr.filters){bj.expr.filters.hidden=function(a){var c=a.offsetWidth,d=a.offsetHeight,b=a.nodeName.toLowerCase()==="tr";return c===0&&d===0&&!b?true:c>0&&d>0&&!b?false:bj.curCSS(a,"display")==="none"
};bj.expr.filters.visible=function(a){return !bj.expr.filters.hidden(a)}}var b4=ch(),cn=/<script(.|\s)*?\/script>/gi,a6=/select|textarea/i,bB=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,a3=/=\?(&|$)/,bO=/\?/,b9=/(\?|&)_=.*?(&|$)/,bQ=/^(\w+:)?\/\/([^\/?#]+)/,bc=/%20/g;bj.fn.extend({_load:bj.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}else{if(!this.length){return this}}var c=e.indexOf(" ");if(c>=0){var f=e.slice(c,e.length);
e=e.slice(0,c)}var d="GET";if(b){if(bj.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=bj.param(b,bj.ajaxSettings.traditional);d="POST"}}}bj.ajax({url:e,type:d,dataType:"html",data:b,context:this,complete:function(g,h){if(h==="success"||h==="notmodified"){this.html(f?bj("<div />").append(g.responseText.replace(cn,"")).find(f):g.responseText)}if(a){this.each(a,[g.responseText,h,g])}}});return this},serialize:function(){return bj.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?bj.makeArray(this.elements):this
}).filter(function(){return this.name&&!this.disabled&&(this.checked||a6.test(this.nodeName)||bB.test(this.type))}).map(function(c,b){var a=bj(this).val();return a==null?null:bj.isArray(a)?bj.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});bj.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,a){bj.fn[a]=function(c){return this.bind(a,c)}});bj.extend({get:function(d,b,a,c){if(bj.isFunction(b)){c=c||a;a=b;b=null}return bj.ajax({type:"GET",url:d,data:b,success:a,dataType:c})
},getScript:function(b,a){return bj.get(b,null,a,"script")},getJSON:function(c,b,a){return bj.get(c,b,a,"json")},post:function(d,b,a,c){if(bj.isFunction(b)){c=c||a;a=b;b={}}return bj.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){bj.extend(bj.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:ck.XMLHttpRequest&&(ck.location.protocol!=="file:"||!ck.ActiveXObject)?function(){return new ck.XMLHttpRequest()
}:function(){try{return new ck.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(m){var r=bj.extend(true,{},bj.ajaxSettings,m);var g,n,h,e=r.context||r,c=r.type.toUpperCase();if(r.data&&r.processData&&typeof r.data!=="string"){r.data=bj.param(r.data,r.traditional)}if(r.dataType==="jsonp"){if(c==="GET"){if(!a3.test(r.url)){r.url+=(bO.test(r.url)?"&":"?")+(r.jsonp||"callback")+"=?"
}}else{if(!r.data||!a3.test(r.data)){r.data=(r.data?r.data+"&":"")+(r.jsonp||"callback")+"=?"}}r.dataType="json"}if(r.dataType==="json"&&(r.data&&a3.test(r.data)||a3.test(r.url))){g=r.jsonpCallback||("jsonp"+b4++);if(r.data){r.data=(r.data+"").replace(a3,"="+g+"$1")}r.url=r.url.replace(a3,"="+g+"$1");r.dataType="script";ck[g]=ck[g]||function(y){h=y;w();t();ck[g]=bP;try{delete ck[g]}catch(x){}if(b){b.removeChild(j)}}}if(r.dataType==="script"&&r.cache===null){r.cache=false}if(r.cache===false&&c==="GET"){var f=ch();
var i=r.url.replace(b9,"$1_="+f+"$2");r.url=i+((i===r.url)?(bO.test(r.url)?"&":"?")+"_="+f:"")}if(r.data&&c==="GET"){r.url+=(bO.test(r.url)?"&":"?")+r.data}if(r.global&&!bj.active++){bj.event.trigger("ajaxStart")}var o=bQ.exec(r.url),a=o&&(o[1]&&o[1]!==location.protocol||o[2]!==location.host);if(r.dataType==="script"&&c==="GET"&&a){var b=b8.getElementsByTagName("head")[0]||b8.documentElement;var j=b8.createElement("script");j.src=r.url;if(r.scriptCharset){j.charset=r.scriptCharset}if(!g){var p=false;
j.onload=j.onreadystatechange=function(){if(!p&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){p=true;w();t();j.onload=j.onreadystatechange=null;if(b&&j.parentNode){b.removeChild(j)}}}}b.insertBefore(j,b.firstChild);return bP}var u=false;var v=r.xhr();if(!v){return}if(r.username){v.open(c,r.url,r.async,r.username,r.password)}else{v.open(c,r.url,r.async)}try{if(r.data||m&&m.contentType){v.setRequestHeader("Content-Type",r.contentType)}if(r.ifModified){if(bj.lastModified[r.url]){v.setRequestHeader("If-Modified-Since",bj.lastModified[r.url])
}if(bj.etag[r.url]){v.setRequestHeader("If-None-Match",bj.etag[r.url])}}if(!a){v.setRequestHeader("X-Requested-With","XMLHttpRequest")}v.setRequestHeader("Accept",r.dataType&&r.accepts[r.dataType]?r.accepts[r.dataType]+", */*":r.accepts._default)}catch(k){}if(r.beforeSend&&r.beforeSend.call(e,v,r)===false){if(r.global&&!--bj.active){bj.event.trigger("ajaxStop")}v.abort();return false}if(r.global){q("ajaxSend",[v,r])}var s=v.onreadystatechange=function(y){if(!v||v.readyState===0){if(!u){t()}u=true;
if(v){v.onreadystatechange=bj.noop}}else{if(!u&&v&&(v.readyState===4||y==="timeout")){u=true;v.onreadystatechange=bj.noop;n=y==="timeout"?"timeout":!bj.httpSuccess(v)?"error":r.ifModified&&bj.httpNotModified(v,r.url)?"notmodified":"success";if(n==="success"){try{h=bj.httpData(v,r.dataType,r)}catch(x){n="parsererror"}}if(n==="success"||n==="notmodified"){if(!g){w()}}else{bj.handleError(r,v,n)}t();if(y==="timeout"){v.abort()}if(r.async){v=null}}}};try{var d=v.abort;v.abort=function(){if(v){d.call(v);
if(v){v.readyState=0}}s()}}catch(k){}if(r.async&&r.timeout>0){setTimeout(function(){if(v&&!u){s("timeout")}},r.timeout)}try{v.send(c==="POST"||c==="PUT"||c==="DELETE"?r.data:null)}catch(k){bj.handleError(r,v,null,k);t()}if(!r.async){s()}function w(){if(r.success){r.success.call(e,h,n,v)}if(r.global){q("ajaxSuccess",[v,r])}}function t(){if(r.complete){r.complete.call(e,v,n)}if(r.global){q("ajaxComplete",[v,r])}if(r.global&&!--bj.active){bj.event.trigger("ajaxStop")}}function q(x,y){(r.context?bj(r.context):bj.event).trigger(x,y)
}return v},handleError:function(c,a,d,b){if(c.error){c.error.call(c.context||ck,a,d,b)}if(c.global){(c.context?bj(c.context):bj.event).trigger("ajaxError",[a,c,b])}},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,d){var b=a.getResponseHeader("Last-Modified"),c=a.getResponseHeader("Etag");if(b){bj.lastModified[d]=b}if(c){bj.etag[d]=c}return a.status===304||a.status===0
},httpData:function(a,c,d){var e=a.getResponseHeader("content-type")||"",f=c==="xml"||!c&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.nodeName==="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c==="json"||!c&&e.indexOf("json")>=0){if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){if(ck.JSON&&ck.JSON.parse){b=ck.JSON.parse(b)
}else{b=(new Function("return "+b))()}}else{throw"Invalid JSON: "+b}}else{if(c==="script"||!c&&e.indexOf("javascript")>=0){bj.globalEval(b)}}}return b},param:function(e,b){var d=[];if(b===bP){b=bj.ajaxSettings.traditional}function a(g,f){f=bj.isFunction(f)?f():f;d[d.length]=encodeURIComponent(g)+"="+encodeURIComponent(f)}if(bj.isArray(e)||e.jquery){bj.each(e,function(){a(this.name,this.value)})}else{bj.each(e,function c(g,f){if(bj.isArray(f)){bj.each(f,function(i,h){if(b){a(g,h)}else{c(g+"["+(typeof h==="object"||bj.isArray(h)?i:"")+"]",h)
}})}else{if(!b&&f!=null&&typeof f==="object"){bj.each(f,function(i,h){c(g+"["+i+"]",h)})}else{a(g,f)}}})}return d.join("&").replace(bc,"+")}});var bJ={},b5=/toggle|show|hide/,bN=/^([+-]=)?([\d+-.]+)(.*)$/,cr,b0=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];bj.fn.extend({show:function(h,j){if(h!=null){return this.animate(ct("show",3),h,j)}else{for(var c=0,f=this.length;c<f;c++){var i=bj.data(this[c],"olddisplay");
this[c].style.display=i||"";if(bj.css(this[c],"display")==="none"){var a=this[c].nodeName,b;if(bJ[a]){b=bJ[a]}else{var g=bj("<"+a+" />").appendTo("body");b=g.css("display");if(b==="none"){b="block"}g.remove();bJ[a]=b}bj.data(this[c],"olddisplay",b)}}for(var d=0,e=this.length;d<e;d++){this[d].style.display=bj.data(this[d],"olddisplay")||""}return this}},hide:function(b,a){if(b!=null){return this.animate(ct("hide",3),b,a)}else{for(var c=0,f=this.length;c<f;c++){var g=bj.data(this[c],"olddisplay");if(!g&&g!=="none"){bj.data(this[c],"olddisplay",bj.css(this[c],"display"))
}}for(var d=0,e=this.length;d<e;d++){this[d].style.display="none"}return this}},_toggle:bj.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";if(bj.isFunction(a)&&bj.isFunction(b)){this._toggle.apply(this,arguments)}else{if(a==null||c){this.each(function(){var d=c?a:bj(this).is(":hidden");bj(this)[d?"show":"hide"]()})}else{this.animate(ct("toggle",3),a,b)}}return this},fadeTo:function(c,a,b){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=bj.speed(d,b,c);
if(bj.isEmptyObject(a)){return this.each(e.complete)}return this[e.queue===false?"each":"queue"](function(){var f=bj.extend({},e),i,j=this.nodeType===1&&bj(this).is(":hidden"),h=this;for(i in a){var g=i.replace(bF,a9);if(i!==g){a[g]=a[i];delete a[i];i=g}if(a[i]==="hide"&&j||a[i]==="show"&&!j){return f.complete.call(this)}if((i==="height"||i==="width")&&this.style){f.display=bj.css(this,"display");f.overflow=this.style.overflow}if(bj.isArray(a[i])){(f.specialEasing=f.specialEasing||{})[i]=a[i][1];
a[i]=a[i][0]}}if(f.overflow!=null){this.style.overflow="hidden"}f.curAnim=bj.extend({},a);bj.each(a,function(o,r){var k=new bj.fx(h,f,o);if(b5.test(r)){k[r==="toggle"?j?"show":"hide":r](a)}else{var m=bN.exec(r),q=k.cur(true)||0;if(m){var p=parseFloat(m[2]),n=m[3]||"px";if(n!=="px"){h.style[o]=(p||1)+n;q=((p||1)/k.cur(true))*q;h.style[o]=q+n}if(m[1]){p=((m[1]==="-="?-1:1)*p)+q}k.custom(q,p,n)}else{k.custom(q,r,"")}}});return true})},stop:function(b,c){var a=bj.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;
d>=0;d--){if(a[d].elem===this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});bj.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){bj.fn[b]=function(d,c){return this.animate(a,d,c)}});bj.extend({speed:function(b,a,c){var d=b&&typeof b==="object"?b:{complete:c||!c&&a||bj.isFunction(b)&&b,duration:b,easing:c&&a||a&&!bj.isFunction(a)&&a};d.duration=bj.fx.off?0:typeof d.duration==="number"?d.duration:bj.fx.speeds[d.duration]||bj.fx.speeds._default;
d.old=d.complete;d.complete=function(){if(d.queue!==false){bj(this).dequeue()}if(bj.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});bj.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(bj.fx.step[this.prop]||bj.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]}var b=parseFloat(bj.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(bj.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ch();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&bj.timers.push(d)&&!cr){cr=setInterval(bj.fx.tick,13)
}},show:function(){this.options.orig[this.prop]=bj.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());bj(this.elem).show()},hide:function(){this.options.orig[this.prop]=bj.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(f){var a=ch(),e=true;if(f||a>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim){if(this.options.curAnim[d]!==true){e=false
}}if(e){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;var g=bj.data(this.elem,"olddisplay");this.elem.style.display=g?g:this.options.display;if(bj.css(this.elem,"display")==="none"){this.elem.style.display="block"}}if(this.options.hide){bj(this.elem).hide()}if(this.options.hide||this.options.show){for(var i in this.options.curAnim){bj.style(this.elem,i,this.options.orig[i])}}this.options.complete.call(this.elem)}return false}else{var h=a-this.startTime;this.state=h/this.options.duration;
var c=this.options.specialEasing&&this.options.specialEasing[this.prop];var b=this.options.easing||(bj.easing.swing?"swing":"linear");this.pos=bj.easing[c||b](this.state,h,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};bj.extend(bj.fx,{tick:function(){var a=bj.timers;for(var b=0;b<a.length;b++){if(!a[b]()){a.splice(b--,1)}}if(!a.length){bj.fx.stop()}},stop:function(){clearInterval(cr);cr=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){bj.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(bj.expr&&bj.expr.filters){bj.expr.filters.animated=function(a){return bj.grep(bj.timers,function(b){return a===b.elem}).length}}function ct(b,c){var a={};bj.each(b0.concat.apply([],b0.slice(0,c)),function(){a[this]=b});return a}if("getBoundingClientRect" in b8.documentElement){bj.fn.offset=function(j){var g=this[0];
if(!g||!g.ownerDocument){return null}if(j){return this.each(function(k){bj.offset.setOffset(this,j,k)})}if(g===g.ownerDocument.body){return bj.offset.bodyOffset(g)}var e=g.getBoundingClientRect(),a=g.ownerDocument,d=a.body,i=a.documentElement,f=i.clientTop||d.clientTop||0,c=i.clientLeft||d.clientLeft||0,b=e.top+(self.pageYOffset||bj.support.boxModel&&i.scrollTop||d.scrollTop)-f,h=e.left+(self.pageXOffset||bj.support.boxModel&&i.scrollLeft||d.scrollLeft)-c;return{top:b,left:h}}}else{bj.fn.offset=function(j){var d=this[0];
if(!d||!d.ownerDocument){return null}if(j){return this.each(function(n){bj.offset.setOffset(this,j,n)})}if(d===d.ownerDocument.body){return bj.offset.bodyOffset(d)}bj.offset.initialize();var g=d.offsetParent,h=d,k=d.ownerDocument,a,f=k.documentElement,c=k.body,b=k.defaultView,i=b?b.getComputedStyle(d,null):d.currentStyle,m=d.offsetTop,e=d.offsetLeft;while((d=d.parentNode)&&d!==c&&d!==f){if(bj.offset.supportsFixedPosition&&i.position==="fixed"){break}a=b?b.getComputedStyle(d,null):d.currentStyle;m-=d.scrollTop;
e-=d.scrollLeft;if(d===g){m+=d.offsetTop;e+=d.offsetLeft;if(bj.offset.doesNotAddBorder&&!(bj.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(d.nodeName))){m+=parseFloat(a.borderTopWidth)||0;e+=parseFloat(a.borderLeftWidth)||0}h=g,g=d.offsetParent}if(bj.offset.subtractsBorderForOverflowNotVisible&&a.overflow!=="visible"){m+=parseFloat(a.borderTopWidth)||0;e+=parseFloat(a.borderLeftWidth)||0}i=a}if(i.position==="relative"||i.position==="static"){m+=c.offsetTop;e+=c.offsetLeft}if(bj.offset.supportsFixedPosition&&i.position==="fixed"){m+=Math.max(f.scrollTop,c.scrollTop);
e+=Math.max(f.scrollLeft,c.scrollLeft)}return{top:m,left:e}}}bj.offset={initialize:function(){var h=b8.body,g=b8.createElement("div"),d,b,c,a,f=parseFloat(bj.curCSS(h,"marginTop",true))||0,e="<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>";bj.extend(g.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
g.innerHTML=e;h.insertBefore(g,h.firstChild);d=g.firstChild;b=d.firstChild;a=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(b.offsetTop!==5);this.doesAddBorderForTableAndCells=(a.offsetTop===5);b.style.position="fixed",b.style.top="20px";this.supportsFixedPosition=(b.offsetTop===20||b.offsetTop===15);b.style.position=b.style.top="";d.style.overflow="hidden",d.style.position="relative";this.subtractsBorderForOverflowNotVisible=(b.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(h.offsetTop!==f);
h.removeChild(g);h=g=d=b=c=a=null;bj.offset.initialize=bj.noop},bodyOffset:function(c){var a=c.offsetTop,b=c.offsetLeft;bj.offset.initialize();if(bj.offset.doesNotIncludeMarginInBodyOffset){a+=parseFloat(bj.curCSS(c,"marginTop",true))||0;b+=parseFloat(bj.curCSS(c,"marginLeft",true))||0}return{top:a,left:b}},setOffset:function(c,g,f){if(/static/.test(bj.curCSS(c,"position"))){c.style.position="relative"}var d=bj(c),a=d.offset(),h=parseInt(bj.curCSS(c,"top",true),10)||0,b=parseInt(bj.curCSS(c,"left",true),10)||0;
if(bj.isFunction(g)){g=g.call(c,f,a)}var e={top:(g.top-a.top)+h,left:(g.left-a.left)+b};if("using" in g){g.using.call(c,e)}else{d.css(e)}}};bj.fn.extend({position:function(){if(!this[0]){return null}var b=this[0],c=this.offsetParent(),a=this.offset(),d=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();a.top-=parseFloat(bj.curCSS(b,"marginTop",true))||0;a.left-=parseFloat(bj.curCSS(b,"marginLeft",true))||0;d.top+=parseFloat(bj.curCSS(c[0],"borderTopWidth",true))||0;d.left+=parseFloat(bj.curCSS(c[0],"borderLeftWidth",true))||0;
return{top:a.top-d.top,left:a.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||b8.body;while(a&&(!/^body|html$/i.test(a.nodeName)&&bj.css(a,"position")==="static")){a=a.offsetParent}return a})}});bj.each(["Left","Top"],function(b,c){var a="scroll"+c;bj.fn[a]=function(d){var f=this[0],e;if(!f){return null}if(d!==bP){return this.each(function(){e=bX(this);if(e){e.scrollTo(!b?d:bj(e).scrollLeft(),b?d:bj(e).scrollTop())}else{this[a]=d}})}else{e=bX(f);return e?("pageXOffset" in e)?e[b?"pageYOffset":"pageXOffset"]:bj.support.boxModel&&e.document.documentElement[a]||e.document.body[a]:f[a]
}}});function bX(a){return("scrollTo" in a&&a.document)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}bj.each(["Height","Width"],function(b,c){var a=c.toLowerCase();bj.fn["inner"+c]=function(){return this[0]?bj.css(this[0],a,false,"padding"):null};bj.fn["outer"+c]=function(d){return this[0]?bj.css(this[0],a,false,d?"margin":"border"):null};bj.fn[a]=function(e){var d=this[0];if(!d){return e==null?null:this}return("scrollTo" in d&&d.document)?d.document.compatMode==="CSS1Compat"&&d.document.documentElement["client"+c]||d.document.body["client"+c]:(d.nodeType===9)?Math.max(d.documentElement["client"+c],d.body["scroll"+c],d.documentElement["scroll"+c],d.body["offset"+c],d.documentElement["offset"+c]):e===bP?bj.css(d,a):this.css(a,typeof e==="string"?e:e+"px")
}});ck.jQuery=ck.$=bj})(window);$(document).ready(function(){if($("#contact-form").length>0){$("#contact-form input[type=submit]").click(function(){return a()});function a(){function b(g){var f=/[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/;return f.test(g)}$("#contact-form span.fullname").remove();$("#contact-form span.email").remove();$("#contact-form span.message").remove();var c=$("#contact-form input[name=fullname]");
if(!c.val()){c.css("border","1px solid #C00");c.parent().append('<span class="fullname error">Introduza o seu nome completo.</span>');c.focus();detName=true}else{c.css("border","1px solid #CCC");detName=false}var d=$("#contact-form input[name=email]");if(!d.val()){d.css("border","1px solid #C00");d.parent().append('<span class="email error">Introduza o seu correio electrónico.</span>');if(!detName){d.focus()}detEmail=true}else{if(!b($("#contact-form input[name=email]").val())){d.css("border","1px solid #C00");
d.parent().append('<span class="email error">Formato de correio electrónico invalido.</span>');if(!detName){d.focus()}detEmail=true}else{d.css("border","1px solid #CCC");detEmail=false}}var e=$("#contact-form textarea");if(!e.val()){e.css("border","1px solid #C00");e.parent().append('<span class="message error">Introduza o sua mensagem.</span>');if(!detName&&!detEmail){e.focus()}detMessage=true}else{e.css("border","1px solid #CCC");detMessage=false}if(!detName&&!detEmail&&!detMessage){return true
}return false}}});
