(function(){var l=this,g,y=l.jquery,p=l.$,o=l.jquery=l.$=function(e,f){return new o.fn.init(e,f)},d=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(e,h){e=e||document;if(e.nodetype){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var g=d.exec(e);if(g&&(g[1]||!h)){if(g[1]){e=o.clean([g[1]],h)}else{var i=document.getelementbyid(g[3]);if(i&&i.id!=g[3]){return o().find(e)}var f=o(i||[]);f.context=document;f.selector=e;return f}}else{return o(h).find(e)}}else{if(o.isfunction(e)){return o(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setarray(o.makearray(e))},selector:"",jquery:"1.3.1",size:function(){return this.length},get:function(e){return e===g?o.makearray(this):this[e]},pushstack:function(f,h,e){var g=o(f);g.prevobject=this;g.context=this.context;if(h==="find"){g.selector=this.selector+(this.selector?" ":"")+e}else{if(h){g.selector=this.selector+"."+h+"("+e+")"}}return g},setarray:function(e){this.length=0;array.prototype.push.apply(this,e);return this},each:function(f,e){return o.each(this,f,e)},index:function(e){return o.inarray(e&&e.jquery?e[0]:e,this)},attr:function(f,h,g){var e=f;if(typeof f==="string"){if(h===g){return this[0]&&o[g||"attr"](this[0],f)}else{e={};e[f]=h}}return this.each(function(i){for(f in e){o.attr(g?this.style:this,f,o.prop(this,e[f],g,i,f))}})},css:function(e,f){if((e=="width"||e=="height")&&parsefloat(f)<0){f=g}return this.attr(e,f,"curcss")},text:function(f){if(typeof f!=="object"&&f!=null){return this.empty().append((this[0]&&this[0].ownerdocument||document).createtextnode(f))}var e="";o.each(f||this,function(){o.each(this.childnodes,function(){if(this.nodetype!=8){e+=this.nodetype!=1?this.nodevalue:o.fn.text([this])}})});return e},wrapall:function(e){if(this[0]){var f=o(e,this[0].ownerdocument).clone();if(this[0].parentnode){f.insertbefore(this[0])}f.map(function(){var g=this;while(g.firstchild){g=g.firstchild}return g}).append(this)}return this},wrapinner:function(e){return this.each(function(){o(this).contents().wrapall(e)})},wrap:function(e){return this.each(function(){o(this).wrapall(e)})},append:function(){return this.dommanip(arguments,true,function(e){if(this.nodetype==1){this.appendchild(e)}})},prepend:function(){return this.dommanip(arguments,true,function(e){if(this.nodetype==1){this.insertbefore(e,this.firstchild)}})},before:function(){return this.dommanip(arguments,false,function(e){this.parentnode.insertbefore(e,this)})},after:function(){return this.dommanip(arguments,false,function(e){this.parentnode.insertbefore(e,this.nextsibling)})},end:function(){return this.prevobject||o([])},push:[].push,find:function(e){if(this.length===1&&!/,/.test(e)){var g=this.pushstack([],"find",e);g.length=0;o.find(e,this[0],g);return g}else{var f=o.map(this,function(h){return o.find(e,h)});return this.pushstack(/[^+>] [^+>]/.test(e)?o.unique(f):f,"find",e)}},clone:function(f){var e=this.map(function(){if(!o.support.nocloneevent&&!o.isxmldoc(this)){var i=this.clonenode(true),h=document.createelement("div");h.appendchild(i);return o.clean([h.innerhtml])[0]}else{return this.clonenode(true)}});var g=e.find("*").andself().each(function(){if(this[h]!==g){this[h]=null}});if(f===true){this.find("*").andself().each(function(i){if(this.nodetype==3){return}var h=o.data(this,"events");for(var k in h){for(var j in h[k]){o.event.add(g[i],k,h[k][j],h[k][j].data)}}})}return e},filter:function(e){return this.pushstack(o.isfunction(e)&&o.grep(this,function(g,f){return e.call(g,f)})||o.multifilter(e,o.grep(this,function(f){return f.nodetype===1})),"filter",e)},closest:function(e){var f=o.expr.match.pos.test(e)?o(e):null;return this.map(function(){var g=this;while(g&&g.ownerdocument){if(f?f.index(g)>-1:o(g).is(e)){return g}g=g.parentnode}})},not:function(e){if(typeof e==="string"){if(f.test(e)){return this.pushstack(o.multifilter(e,this,true),"not",e)}else{e=o.multifilter(e,this)}}var f=e.length&&e[e.length-1]!==g&&!e.nodetype;return this.filter(function(){return f?o.inarray(this,e)<0:this!=e})},add:function(e){return this.pushstack(o.unique(o.merge(this.get(),typeof e==="string"?o(e):o.makearray(e))))},is:function(e){return !!e&&o.multifilter(e,this).length>0},hasclass:function(e){return !!e&&this.is("."+e)},val:function(k){if(k===g){var e=this[0];if(e){if(o.nodename(e,"option")){return(e.attributes.value||{}).specified?e.value:e.text}if(o.nodename(e,"select")){var i=e.selectedindex,l=[],m=e.options,h=e.type=="select-one";if(i<0){return null}for(var f=h?i:0,j=h?i+1:m.length;f=0||o.inarray(this.name,k)>=0)}else{if(o.nodename(this,"select")){var n=o.makearray(k);o("option",this).each(function(){this.selected=(o.inarray(this.value,n)>=0||o.inarray(this.text,n)>=0)});if(!n.length){this.selectedindex=-1}}else{this.value=k}}})},html:function(e){return e===g?(this[0]?this[0].innerhtml:null):this.empty().append(e)},replacewith:function(e){return this.after(e).remove()},eq:function(e){return this.slice(e,+e+1)},slice:function(){return this.pushstack(array.prototype.slice.apply(this,arguments),"slice",array.prototype.slice.call(arguments).join(","))},map:function(e){return this.pushstack(o.map(this,function(g,f){return e.call(g,f,g)}))},andself:function(){return this.add(this.prevobject)},dommanip:function(k,n,m){if(this[0]){var j=(this[0].ownerdocument||this[0]).createdocumentfragment(),g=o.clean(k,(this[0].ownerdocument||this[0]),j),i=j.firstchild,e=this.length>1?j.clonenode(true):j;if(i){for(var h=0,f=this.length;h0?e.clonenode(true):j)}}if(g){o.each(g,z)}}return this;function l(o,p){return n&&o.nodename(o,"table")&&o.nodename(p,"tr")?(o.getelementsbytagname("tbody")[0]||o.appendchild(o.ownerdocument.createelement("tbody"))):o}}};o.fn.init.prototype=o.fn;function z(e,f){if(f.src){o.ajax({url:f.src,async:false,datatype:"script"})}else{o.globaleval(f.text||f.textcontent||f.innerhtml||"")}if(f.parentnode){f.parentnode.removechild(f)}}function e(){return +new date}o.extend=o.fn.extend=function(){var j=arguments[0]||{},h=1,i=arguments.length,e=false,g;if(typeof j==="boolean"){e=j;j=arguments[1]||{};h=2}if(typeof j!=="object"&&!o.isfunction(j)){j={}}if(i==h){j=this;--h}for(;h-1}},swap:function(h,g,i){var e={};for(var f in g){e[f]=h.style[f];h.style[f]=g[f]}i.call(h);for(var f in g){h.style[f]=e[f]}},css:function(g,e,i){if(e=="width"||e=="height"){var k,f={position:"absolute",visibility:"hidden",display:"block"},j=e=="width"?["left","right"]:["top","bottom"];function h(){k=e=="width"?g.offsetwidth:g.offsetheight;var m=0,l=0;o.each(j,function(){m+=parsefloat(o.curcss(g,"padding"+this,true))||0;l+=parsefloat(o.curcss(g,"border"+this+"width",true))||0});k-=math.round(m+l)}if(o(g).is(":visible")){h()}else{o.swap(g,f,h)}return math.max(0,k)}return o.curcss(g,e,i)},curcss:function(i,f,g){var l,e=i.style;if(f=="opacity"&&!o.support.opacity){l=o.attr(e,"opacity");return l==""?"1":l}if(f.match(/float/i)){f=w}if(!g&&e&&e[f]){l=e[f]}else{if(q.getcomputedstyle){if(f.match(/float/i)){f="float"}f=f.replace(/([a-z])/g,"-$1").tolowercase();var m=q.getcomputedstyle(i,null);if(m){l=m.getpropertyvalue(f)}if(f=="opacity"&&l==""){l="1"}}else{if(i.currentstyle){var j=f.replace(/\-(\w)/g,function(n,o){return o.touppercase()});l=i.currentstyle[f]||i.currentstyle[j];if(!/^\d+(px)?$/i.test(l)&&/^\d/.test(l)){var h=e.left,k=i.runtimestyle.left;i.runtimestyle.left=i.currentstyle.left;e.left=l||0;l=e.pixelleft+"px";e.left=h;i.runtimestyle.left=k}}}}return l},clean:function(f,k,i){k=k||document;if(typeof k.createelement==="undefined"){k=k.ownerdocument||k[0]&&k[0].ownerdocument||document}if(!i&&f.length===1&&typeof f[0]==="string"){var h=/^<(\w+)\s*\/?>$/.exec(f[0]);if(h){return[k.createelement(h[1])]}}var g=[],e=[],l=k.createelement("div");o.each(f,function(p,r){if(typeof r==="number"){r+=""}if(!r){return}if(typeof r==="string"){r=r.replace(/(<(\w+)[^>]*?)\/>/g,function(t,u,s){return s.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?t:u+">"});var o=o.trim(r).tolowercase();var q=!o.indexof("",""]||!o.indexof("",""]||o.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!o.indexof("",""]||(!o.indexof("",""]||!o.indexof("",""]||!o.support.htmlserialize&&[1,"div
","
"]||[0,"",""];l.innerhtml=q[1]+r+q[2];while(q[0]--){l=l.lastchild}if(!o.support.tbody){var n=!o.indexof(""&&o.indexof("=0;--m){if(o.nodename(n[m],"tbody")&&!n[m].childnodes.length){n[m].parentnode.removechild(n[m])}}}if(!o.support.leadingwhitespace&&/^\s/.test(r)){l.insertbefore(k.createtextnode(r.match(/^\s*/)[0]),l.firstchild)}r=o.makearray(l.childnodes)}if(r.nodetype){g.push(r)}else{g=o.merge(g,r)}});if(i){for(var j=0;g[j];j++){if(o.nodename(g[j],"script")&&(!g[j].type||g[j].type.tolowercase()==="text/javascript")){e.push(g[j].parentnode?g[j].parentnode.removechild(g[j]):g[j])}else{if(g[j].nodetype===1){g.splice.apply(g,[j+1,0].concat(o.makearray(g[j].getelementsbytagname("script"))))}i.appendchild(g[j])}}return e}return g},attr:function(j,g,k){if(!j||j.nodetype==3||j.nodetype==8){return g}var h=!o.isxmldoc(j),l=k!==g;g=h&&o.props[g]||g;if(j.tagname){var f=/href|src|style/.test(g);if(g=="selected"&&j.parentnode){j.parentnode.selectedindex}if(g in j&&h&&!f){if(l){if(g=="type"&&o.nodename(j,"input")&&j.parentnode){throw"type property can't be changed"}j[g]=k}if(o.nodename(j,"form")&&j.getattributenode(g)){return j.getattributenode(g).nodevalue}if(g=="tabindex"){var i=j.getattributenode("tabindex");return i&&i.specified?i.value:j.nodename.match(/(button|input|object|select|textarea)/i)?0:j.nodename.match(/^(a|area)$/i)&&j.href?0:g}return j[g]}if(!o.support.style&&h&&g=="style"){return o.attr(j.style,"csstext",k)}if(l){j.setattribute(g,""+k)}var e=!o.support.hrefnormalized&&h&&f?j.getattribute(g,2):j.getattribute(g);return e===null?g:e}if(!o.support.opacity&&g=="opacity"){if(l){j.zoom=1;j.filter=(j.filter||"").replace(/alpha\([^)]*\)/,"")+(parseint(k)+""=="nan"?"":"alpha(opacity="+k*100+")")}return j.filter&&j.filter.indexof("opacity=")>=0?(parsefloat(j.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}g=g.replace(/-([a-z])/ig,function(m,n){return n.touppercase()});if(l){j[g]=k}return j[g]},trim:function(e){return(e||"").replace(/^\s+|\s+$/g,"")},makearray:function(g){var e=[];if(g!=null){var f=g.length;if(f==null||typeof g==="string"||o.isfunction(g)||g.setinterval){e[0]=g}else{while(f){e[--f]=g[f]}}}return e},inarray:function(g,h){for(var e=0,f=h.length;e*",this).remove();while(this.firstchild){this.removechild(this.firstchild)}}},function(e,f){o.fn[e]=function(){return this.each(f,arguments)}});function j(e,f){return e[0]&&parseint(o.curcss(e[0],f,true),10)||0}var h="jquery"+e(),v=0,a={};o.extend({cache:{},data:function(f,e,g){f=f==l?a:f;var h=f[h];if(!h){h=f[h]=++v}if(e&&!o.cache[h]){o.cache[h]={}}if(g!==g){o.cache[h][e]=g}return e?o.cache[h][e]:h},removedata:function(f,e){f=f==l?a:f;var h=f[h];if(e){if(o.cache[h]){delete o.cache[h][e];e="";for(e in o.cache[h]){break}if(!e){o.removedata(f)}}}else{try{delete f[h]}catch(g){if(f.removeattribute){f.removeattribute(h)}}delete o.cache[h]}},queue:function(f,e,h){if(f){e=(e||"fx")+"queue";var g=o.data(f,e);if(!g||o.isarray(h)){g=o.data(f,e,o.makearray(h))}else{if(h){g.push(h)}}}return g},dequeue:function(h,g){var e=o.queue(h,g),f=e.shift();if(!g||g==="fx"){f=e[0]}if(f!==g){f.call(h)}}});o.fn.extend({data:function(e,g){var h=e.split(".");h[1]=h[1]?"."+h[1]:"";if(g===g){var f=this.triggerhandler("getdata"+h[1]+"!",[h[0]]);if(f===g&&this.length){f=o.data(this[0],e)}return f===g&&h[1]?this.data(h[0]):f}else{return this.trigger("setdata"+h[1]+"!",[h[0],g]).each(function(){o.data(this,e,g)})}},removedata:function(e){return this.each(function(){o.removedata(this,e)})},queue:function(e,f){if(typeof e!=="string"){f=e;e="fx"}if(f===g){return o.queue(this[0],e)}return this.each(function(){var g=o.queue(this,e,f);if(e=="fx"&&g.length==1){g[0].call(this)}})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})}}); (function(){var q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,k=0,g=object.prototype.tostring;var f=function(x,t,aa,ab){aa=aa||[];t=t||document;if(t.nodetype!==1&&t.nodetype!==9){return[]}if(!x||typeof x!=="string"){return aa}var y=[],v,ae,ah,s,ac,u,w=true;q.lastindex=0;while((v=q.exec(x))!==null){y.push(v[1]);if(v[2]){u=regexp.rightcontext;break}}if(y.length>1&&l.exec(x)){if(y.length===2&&h.relative[y[0]]){ae=i(y[0]+y[1],t)}else{ae=h.relative[y[0]]?[t]:f(y.shift(),t);while(y.length){x=y.shift();if(h.relative[x]){x+=y.shift()}ae=i(x,ae)}}}else{var ad=ab?{expr:y.pop(),set:e(ab)}:f.find(y.pop(),y.length===1&&t.parentnode?t.parentnode:t,p(t));ae=f.filter(ad.expr,ad.set);if(y.length>0){ah=e(ae)}else{w=false}while(y.length){var ag=y.pop(),af=ag;if(!h.relative[ag]){ag=""}else{af=y.pop()}if(af==null){af=t}h.relative[ag](ah,af,p(t))}}if(!ah){ah=ae}if(!ah){throw"syntax error, unrecognized expression: "+(ag||x)}if(g.call(ah)==="[object array]"){if(!w){aa.push.apply(aa,ah)}else{if(t.nodetype===1){for(var z=0;ah[z]!=null;z++){if(ah[z]&&(ah[z]===true||ah[z].nodetype===1&&j(t,ah[z]))){aa.push(ae[z])}}}else{for(var z=0;ah[z]!=null;z++){if(ah[z]&&ah[z].nodetype===1){aa.push(ae[z])}}}}}else{e(ah,aa)}if(u){f(u,t,aa,ab)}return aa};f.matches=function(s,t){return f(s,null,null,t)};f.find=function(z,s,aa){var y,w;if(!z){return[]}for(var v=0,u=h.order.length;v":function(x,t,y){if(typeof t==="string"&&!/\w/.test(t)){t=y?t:t.touppercase();for(var u=0,s=x.length;u=0){if(!u){s.push(x)}}else{if(u){t[w]=false}}}}return false},id:function(s){return s[1].replace(/\\/g,"")},tag:function(t,s){for(var u=0;s[u]===false;u++){}return s[u]&&p(s[u])?t[1]:t[1].touppercase()},child:function(s){if(s[1]=="nth"){var t=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(s[2]=="even"&&"2n"||s[2]=="odd"&&"2n+1"||!/\d/.test(s[2])&&"0n+"+s[2]||s[2]);s[2]=(t[1]+(t[2]||1))-0;s[3]=t[3]-0}s[0]="done"+(k++);return s},attr:function(t){var s=t[1].replace(/\\/g,"");if(h.attrmap[s]){t[1]=h.attrmap[s]}if(t[2]==="~="){t[4]=" "+t[4]+" "}return t},pseudo:function(w,t,u,s,x){if(w[1]==="not"){if(w[3].match(q).length>1){w[3]=f(w[3],null,null,t)}else{var v=f.filter(w[3],t,u,true^x);if(!u){s.push.apply(s,v)}return false}}else{if(h.match.pos.test(w[0])){return true}}return w},pos:function(s){s.unshift(true);return s}},filters:{enabled:function(s){return s.disabled===false&&s.type!=="hidden"},disabled:function(s){return s.disabled===true},checked:function(s){return s.checked===true},selected:function(s){s.parentnode.selectedindex;return s.selected===true},parent:function(s){return !!s.firstchild},empty:function(s){return !s.firstchild},has:function(u,t,s){return !!f(s[3],u).length},header:function(s){return/h\d/i.test(s.nodename)},text:function(s){return"text"===s.type},radio:function(s){return"radio"===s.type},checkbox:function(s){return"checkbox"===s.type},file:function(s){return"file"===s.type},password:function(s){return"password"===s.type},submit:function(s){return"submit"===s.type},image:function(s){return"image"===s.type},reset:function(s){return"reset"===s.type},button:function(s){return"button"===s.type||s.nodename.touppercase()==="button"},input:function(s){return/input|select|textarea|button/i.test(s.nodename)}},setfilters:{first:function(t,s){return s===0},last:function(u,t,s,v){return t===v.length-1},even:function(t,s){return s%2===0},odd:function(t,s){return s%2===1},lt:function(u,t,s){return ts[3]-0},nth:function(u,t,s){return s[3]-0==t},eq:function(u,t,s){return s[3]-0==t}},filter:{child:function(s,v){var y=v[1],z=s.parentnode;var x=v[0];if(z&&(!z[x]||!s.nodeindex)){var w=1;for(var t=z.firstchild;t;t=t.nextsibling){if(t.nodetype==1){t.nodeindex=w++}}z[x]=w-1}if(y=="first"){return s.nodeindex==1}else{if(y=="last"){return s.nodeindex==z[x]}else{if(y=="only"){return z[x]==1}else{if(y=="nth"){var ab=false,u=v[2],aa=v[3];if(u==1&&aa==0){return true}if(u==0){if(s.nodeindex==aa){ab=true}}else{if((s.nodeindex-aa)%u==0&&(s.nodeindex-aa)/u>=0){ab=true}}return ab}}}}},pseudo:function(y,u,v,z){var t=u[1],w=h.filters[t];if(w){return w(y,v,u,z)}else{if(t==="contains"){return(y.textcontent||y.innertext||"").indexof(u[3])>=0}else{if(t==="not"){var x=u[3];for(var v=0,s=x.length;v=0:v==="~="?(" "+x+" ").indexof(t)>=0:!u[4]?s:v==="!="?x!=t:v==="^="?x.indexof(t)===0:v==="$="?x.substr(x.length-t.length)===t:v==="|="?x===t||x.substr(0,t.length+1)===t+"-":false},pos:function(w,t,u,x){var s=t[2],v=h.setfilters[s];if(v){return v(w,u,t,x)}}}};var l=h.match.pos;for(var n in h.match){h.match[n]=regexp(h.match[n].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var e=function(t,s){t=array.prototype.slice.call(t);if(s){s.push.apply(s,t);return s}return t};try{array.prototype.slice.call(document.documentelement.childnodes)}catch(m){e=function(w,v){var t=v||[];if(g.call(w)==="[object array]"){array.prototype.push.apply(t,w)}else{if(typeof w.length==="number"){for(var u=0,s=w.length;u";var s=document.documentelement;s.insertbefore(t,s.firstchild);if(!!document.getelementbyid(u)){h.find.id=function(w,x,y){if(typeof x.getelementbyid!=="undefined"&&!y){var v=x.getelementbyid(w[1]);return v?v.id===w[1]||typeof v.getattributenode!=="undefined"&&v.getattributenode("id").nodevalue===w[1]?[v]:g:[]}};h.filter.id=function(x,v){var w=typeof x.getattributenode!=="undefined"&&x.getattributenode("id");return x.nodetype===1&&w&&w.nodevalue===v}}s.removechild(t)})();(function(){var s=document.createelement("div");s.appendchild(document.createcomment(""));if(s.getelementsbytagname("*").length>0){h.find.tag=function(t,x){var w=x.getelementsbytagname(t[1]);if(t[1]==="*"){var v=[];for(var u=0;w[u];u++){if(w[u].nodetype===1){v.push(w[u])}}w=v}return w}}s.innerhtml="";if(s.firstchild&&s.firstchild.getattribute("href")!=="#"){h.attrhandle.href=function(t){return t.getattribute("href",2)}}})();if(document.queryselectorall){(function(){var s=f,t=document.createelement("div");t.innerhtml="

";if(t.queryselectorall&&t.queryselectorall(".test").length===0){return}f=function(x,w,u,v){w=w||document;if(!v&&w.nodetype===9&&!p(w)){try{return e(w.queryselectorall(x),u)}catch(y){}}return s(x,w,u,v)};f.find=s.find;f.filter=s.filter;f.selectors=s.selectors;f.matches=s.matches})()}if(document.getelementsbyclassname&&document.documentelement.getelementsbyclassname){h.order.splice(1,0,"class");h.find.class=function(s,t){return t.getelementsbyclassname(s[1])}}function o(t,z,y,ac,aa,ab){for(var w=0,u=ac.length;w0){w=s;break}}}s=s[t]}ab[v]=w}}}var j=document.comparedocumentposition?function(t,s){return t.comparedocumentposition(s)&16}:function(t,s){return t!==s&&(t.contains?t.contains(s):true)};var p=function(s){return s.nodetype===9&&s.documentelement.nodename!=="html"||!!s.ownerdocument&&p(s.ownerdocument)};var i=function(s,z){var v=[],w="",x,u=z.nodetype?[z]:z;while((x=h.match.pseudo.exec(s))){w+=x[0];s=s.replace(h.match.pseudo,"")}s=h.relative[s]?s+"*":s;for(var y=0,t=u.length;y=0){i.type=g=g.slice(0,-1);i.exclusive=true}if(!h){i.stoppropagation();if(this.global[g]){o.each(o.cache,function(){if(this.events&&this.events[g]){o.event.trigger(i,k,this.handle.elem)}})}}if(!h||h.nodetype==3||h.nodetype==8){return g}i.result=g;i.target=h;k=o.makearray(k);k.unshift(i)}i.currenttarget=h;var j=o.data(h,"handle");if(j){j.apply(h,k)}if((!h[g]||(o.nodename(h,"a")&&g=="click"))&&h["on"+g]&&h["on"+g].apply(h,k)===false){i.result=false}if(!e&&h[g]&&!i.isdefaultprevented()&&!(o.nodename(h,"a")&&g=="click")){this.triggered=true;try{h[g]()}catch(l){}}this.triggered=false;if(!i.ispropagationstopped()){var f=h.parentnode||h.ownerdocument;if(f){o.event.trigger(i,k,f,true)}}},handle:function(k){var j,e;k=arguments[0]=o.event.fix(k||l.event);var l=k.type.split(".");k.type=l.shift();j=!l.length&&!k.exclusive;var i=regexp("(^|\\.)"+l.slice().sort().join(".*\\.")+"(\\.|$)");e=(o.data(this,"events")||{})[k.type];for(var g in e){var h=e[g];if(j||i.test(h.type)){k.handler=h;k.data=h.data;var f=h.apply(this,arguments);if(f!==g){k.result=f;if(f===false){k.preventdefault();k.stoppropagation()}}if(k.isimmediatepropagationstopped()){break}}}},props:"altkey attrchange attrname bubbles button cancelable charcode clientx clienty ctrlkey currenttarget data detail eventphase fromelement handler keycode metakey newvalue originaltarget pagex pagey prevvalue relatednode relatedtarget screenx screeny shiftkey srcelement target toelement view wheeldelta which".split(" "),fix:function(h){if(h[h]){return h}var f=h;h=o.event(f);for(var g=this.props.length,j;g;){j=this.props[--g];h[j]=f[j]}if(!h.target){h.target=h.srcelement||document}if(h.target.nodetype==3){h.target=h.target.parentnode}if(!h.relatedtarget&&h.fromelement){h.relatedtarget=h.fromelement==h.target?h.toelement:h.fromelement}if(h.pagex==null&&h.clientx!=null){var i=document.documentelement,e=document.body;h.pagex=h.clientx+(i&&i.scrollleft||e&&e.scrollleft||0)-(i.clientleft||0);h.pagey=h.clienty+(i&&i.scrolltop||e&&e.scrolltop||0)-(i.clienttop||0)}if(!h.which&&((h.charcode||h.charcode===0)?h.charcode:h.keycode)){h.which=h.charcode||h.keycode}if(!h.metakey&&h.ctrlkey){h.metakey=h.ctrlkey}if(!h.which&&h.button){h.which=(h.button&1?1:(h.button&2?3:(h.button&4?2:0)))}return h},proxy:function(f,e){e=e||function(){return f.apply(this,arguments)};e.guid=f.guid=f.guid||e.guid||this.guid++;return e},special:{ready:{setup:b,teardown:function(){}}},specialall:{live:{setup:function(e,f){o.event.add(this,f[0],c)},teardown:function(g){if(g.length){var e=0,f=regexp("(^|\\.)"+g[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(f.test(this.type)){e++}});if(e<1){o.event.remove(this,g[0],c)}}}}}};o.event=function(e){if(!this.preventdefault){return new o.event(e)}if(e&&e.type){this.originalevent=e;this.type=e.type}else{this.type=e}this.timestamp=e();this[h]=true};function k(){return false}function u(){return true}o.event.prototype={preventdefault:function(){this.isdefaultprevented=u;var e=this.originalevent;if(!e){return}if(e.preventdefault){e.preventdefault()}e.returnvalue=false},stoppropagation:function(){this.ispropagationstopped=u;var e=this.originalevent;if(!e){return}if(e.stoppropagation){e.stoppropagation()}e.cancelbubble=true},stopimmediatepropagation:function(){this.isimmediatepropagationstopped=u;this.stoppropagation()},isdefaultprevented:k,ispropagationstopped:k,isimmediatepropagationstopped:k};var a=function(f){var e=f.relatedtarget;while(e&&e!=this){try{e=e.parentnode}catch(g){e=this}}if(e!=this){f.type=f.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(f,e){o.event.special[e]={setup:function(){o.event.add(this,f,a,e)},teardown:function(){o.event.remove(this,f,a)}}});o.fn.extend({bind:function(f,g,e){return f=="unload"?this.one(f,g,e):this.each(function(){o.event.add(this,f,e||g,e&&g)})},one:function(g,h,f){var e=o.event.proxy(f||h,function(i){o(this).unbind(i,e);return(f||h).apply(this,arguments)});return this.each(function(){o.event.add(this,g,e,f&&h)})},unbind:function(f,e){return this.each(function(){o.event.remove(this,f,e)})},trigger:function(e,f){return this.each(function(){o.event.trigger(e,f,this)})},triggerhandler:function(e,g){if(this[0]){var f=o.event(e);f.preventdefault();f.stoppropagation();o.event.trigger(f,g,this[0]);return f.result}},toggle:function(g){var e=arguments,f=1;while(f=0){var e=g.slice(i,g.length);g=g.slice(0,i)}var h="get";if(j){if(o.isfunction(j)){k=j;j=null}else{if(typeof j==="object"){j=o.param(j);h="post"}}}var f=this;o.ajax({url:g,type:h,datatype:"html",data:j,complete:function(m,l){if(l=="success"||l=="notmodified"){f.html(e?o("
").append(m.responsetext.replace(//g,"")).find(e):m.responsetext)}if(k){f.each(k,[m.responsetext,l,m])}}});return this},serialize:function(){return o.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?o.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodename)||/text|hidden|password/i.test(this.type))}).map(function(e,f){var g=o(this).val();return g==null?null:o.isarray(g)?o.map(g,function(i,h){return{name:f.name,value:i}}):{name:f.name,value:g}}).get()}});o.each("ajaxstart,ajaxstop,ajaxcomplete,ajaxerror,ajaxsuccess,ajaxsend".split(","),function(e,f){o.fn[f]=function(g){return this.bind(f,g)}});var r=e();o.extend({get:function(e,g,h,f){if(o.isfunction(g)){h=g;g=null}return o.ajax({type:"get",url:e,data:g,success:h,datatype:f})},getscript:function(e,f){return o.get(e,null,f,"script")},getjson:function(e,f,g){return o.get(e,f,g,"json")},post:function(e,g,h,f){if(o.isfunction(g)){h=g;g={}}return o.ajax({type:"post",url:e,data:g,success:h,datatype:f})},ajaxsetup:function(e){o.extend(o.ajaxsettings,e)},ajaxsettings:{url:location.href,global:true,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:true,async:true,xhr:function(){return l.activexobject?new activexobject("microsoft.xmlhttp"):new xmlhttprequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastmodified:{},ajax:function(m){m=o.extend(true,m,o.extend(true,{},o.ajaxsettings,m));var w,f=/=\?(&|$)/g,r,v,g=m.type.touppercase();if(m.data&&m.processdata&&typeof m.data!=="string"){m.data=o.param(m.data)}if(m.datatype=="jsonp"){if(g=="get"){if(!m.url.match(f)){m.url+=(m.url.match(/\?/)?"&":"?")+(m.jsonp||"callback")+"=?"}}else{if(!m.data||!m.data.match(f)){m.data=(m.data?m.data+"&":"")+(m.jsonp||"callback")+"=?"}}m.datatype="json"}if(m.datatype=="json"&&(m.data&&m.data.match(f)||m.url.match(f))){w="jsonp"+r++;if(m.data){m.data=(m.data+"").replace(f,"="+w+"$1")}m.url=m.url.replace(f,"="+w+"$1");m.datatype="script";l[w]=function(x){v=x;i();l();l[w]=g;try{delete l[w]}catch(y){}if(h){h.removechild(t)}}}if(m.datatype=="script"&&m.cache==null){m.cache=false}if(m.cache===false&&g=="get"){var e=e();var u=m.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+e+"$2");m.url=u+((u==m.url)?(m.url.match(/\?/)?"&":"?")+"_="+e:"")}if(m.data&&g=="get"){m.url+=(m.url.match(/\?/)?"&":"?")+m.data;m.data=null}if(m.global&&!o.active++){o.event.trigger("ajaxstart")}var q=/^(\w+:)?\/\/([^\/?#]+)/.exec(m.url);if(m.datatype=="script"&&g=="get"&&q&&(q[1]&&q[1]!=location.protocol||q[2]!=location.host)){var h=document.getelementsbytagname("head")[0];var t=document.createelement("script");t.src=m.url;if(m.scriptcharset){t.charset=m.scriptcharset}if(!w){var o=false;t.onload=t.onreadystatechange=function(){if(!o&&(!this.readystate||this.readystate=="loaded"||this.readystate=="complete")){o=true;i();l();h.removechild(t)}}}h.appendchild(t);return g}var k=false;var j=m.xhr();if(m.username){j.open(g,m.url,m.async,m.username,m.password)}else{j.open(g,m.url,m.async)}try{if(m.data){j.setrequestheader("content-type",m.contenttype)}if(m.ifmodified){j.setrequestheader("if-modified-since",o.lastmodified[m.url]||"thu, 01 jan 1970 00:00:00 gmt")}j.setrequestheader("x-requested-with","xmlhttprequest");j.setrequestheader("accept",m.datatype&&m.accepts[m.datatype]?m.accepts[m.datatype]+", */*":m.accepts._default)}catch(s){}if(m.beforesend&&m.beforesend(j,m)===false){if(m.global&&!--o.active){o.event.trigger("ajaxstop")}j.abort();return false}if(m.global){o.event.trigger("ajaxsend",[j,m])}var n=function(x){if(j.readystate==0){if(p){clearinterval(p);p=null;if(m.global&&!--o.active){o.event.trigger("ajaxstop")}}}else{if(!k&&j&&(j.readystate==4||x=="timeout")){k=true;if(p){clearinterval(p);p=null}r=x=="timeout"?"timeout":!o.httpsuccess(j)?"error":m.ifmodified&&o.httpnotmodified(j,m.url)?"notmodified":"success";if(r=="success"){try{v=o.httpdata(j,m.datatype,m)}catch(z){r="parsererror"}}if(r=="success"){var y;try{y=j.getresponseheader("last-modified")}catch(z){}if(m.ifmodified&&y){o.lastmodified[m.url]=y}if(!w){i()}}else{o.handleerror(m,j,r)}l();if(x){j.abort()}if(m.async){j=null}}}};if(m.async){var p=setinterval(n,13);if(m.timeout>0){settimeout(function(){if(j&&!k){n("timeout")}},m.timeout)}}try{j.send(m.data)}catch(s){o.handleerror(m,j,null,s)}if(!m.async){n()}function i(){if(m.success){m.success(v,r)}if(m.global){o.event.trigger("ajaxsuccess",[j,m])}}function l(){if(m.complete){m.complete(j,r)}if(m.global){o.event.trigger("ajaxcomplete",[j,m])}if(m.global&&!--o.active){o.event.trigger("ajaxstop")}}return j},handleerror:function(f,h,e,g){if(f.error){f.error(h,e,g)}if(f.global){o.event.trigger("ajaxerror",[h,f,g])}},active:0,httpsuccess:function(f){try{return !f.status&&location.protocol=="file:"||(f.status>=200&&f.status<300)||f.status==304||f.status==1223}catch(e){}return false},httpnotmodified:function(g,e){try{var h=g.getresponseheader("last-modified");return g.status==304||h==o.lastmodified[e]}catch(f){}return false},httpdata:function(j,h,g){var f=j.getresponseheader("content-type"),e=h=="xml"||!h&&f&&f.indexof("xml")>=0,i=e?j.responsexml:j.responsetext;if(e&&i.documentelement.tagname=="parsererror"){throw"parsererror"}if(g&&g.datafilter){i=g.datafilter(i,h)}if(typeof i==="string"){if(h=="script"){o.globaleval(i)}if(h=="json"){i=l["eval"]("("+i+")")}}return i},param:function(e){var g=[];function h(i,j){g[g.length]=encodeuricomponent(i)+"="+encodeuricomponent(j)}if(o.isarray(e)||e.jquery){o.each(e,function(){h(this.name,this.value)})}else{for(var f in e){if(o.isarray(e[f])){o.each(e[f],function(){h(f,this)})}else{h(f,o.isfunction(e[f])?e[f]():e[f])}}}return g.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]];function t(f,e){var g={};o.each(d.concat.apply([],d.slice(0,e)),function(){g[this]=f});return g}o.fn.extend({show:function(j,l){if(j){return this.animate(t("show",3),j,l)}else{for(var h=0,f=this.length;h").appendto("body");k=i.css("display");if(k==="none"){k="block"}i.remove();m[g]=k}this[h].style.display=o.data(this[h],"olddisplay",k)}}return this}},hide:function(h,i){if(h){return this.animate(t("hide",3),h,i)}else{for(var g=0,f=this.length;g=0;h--){if(g[h].elem==this){if(e){g[h](true)}g.splice(h,1)}}});if(!e){this.dequeue()}return this}});o.each({slidedown:t("show",1),slideup:t("hide",1),slidetoggle:t("toggle",1),fadein:{opacity:"show"},fadeout:{opacity:"hide"}},function(e,f){o.fn[e]=function(g,h){return this.animate(f,g,h)}});o.extend({speed:function(g,h,f){var e=typeof g==="object"?g:{complete:f||!f&&h||o.isfunction(g)&&g,duration:g,easing:f&&h||h&&!o.isfunction(h)&&h};e.duration=o.fx.off?0:typeof e.duration==="number"?e.duration:o.fx.speeds[e.duration]||o.fx.speeds._default;e.old=e.complete;e.complete=function(){if(e.queue!==false){o(this).dequeue()}if(o.isfunction(e.old)){e.old.call(this)}};return e},easing:{linear:function(g,h,e,f){return e+f*g},swing:function(g,h,e,f){return((-math.cos(g*math.pi)/2)+0.5)*f+e}},timers:[],fx:function(f,e,g){this.options=e;this.elem=f;this.prop=g;if(!e.orig){e.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(f){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e=parsefloat(o.css(this.elem,this.prop,f));return e&&e>-10000?e:parsefloat(o.curcss(this.elem,this.prop))||0},custom:function(i,h,g){this.starttime=e();this.start=i;this.end=h;this.unit=g||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function f(j){return e.step(j)}f.elem=this.elem;if(f()&&o.timers.push(f)==1){n=setinterval(function(){var k=o.timers;for(var j=0;j=this.options.duration+this.starttime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curanim[this.prop]=true;var e=true;for(var f in this.options.curanim){if(this.options.curanim[f]!==true){e=false}}if(e){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var i in this.options.curanim){o.attr(this.elem.style,i,this.options.orig[i])}}this.options.complete.call(this.elem)}return false}else{var j=g-this.starttime;this.state=j/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,j,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){o.attr(e.elem.style,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});if(document.documentelement.getboundingclientrect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerdocument.body){return o.offset.bodyoffset(this[0])}var g=this[0].getboundingclientrect(),j=this[0].ownerdocument,f=j.body,e=j.documentelement,l=e.clienttop||f.clienttop||0,k=e.clientleft||f.clientleft||0,i=g.top+(self.pageyoffset||o.boxmodel&&e.scrolltop||f.scrolltop)-l,h=g.left+(self.pagexoffset||o.boxmodel&&e.scrollleft||f.scrollleft)-k;return{top:i,left:h}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerdocument.body){return o.offset.bodyoffset(this[0])}o.offset.initialized||o.offset.initialize();var j=this[0],g=j.offsetparent,f=j,o=j.ownerdocument,m,h=o.documentelement,k=o.body,l=o.defaultview,e=l.getcomputedstyle(j,null),n=j.offsettop,i=j.offsetleft;while((j=j.parentnode)&&j!==k&&j!==h){m=l.getcomputedstyle(j,null);n-=j.scrolltop,i-=j.scrollleft;if(j===g){n+=j.offsettop,i+=j.offsetleft;if(o.offset.doesnotaddborder&&!(o.offset.doesaddborderfortableandcells&&/^t(able|d|h)$/i.test(j.tagname))){n+=parseint(m.bordertopwidth,10)||0,i+=parseint(m.borderleftwidth,10)||0}f=g,g=j.offsetparent}if(o.offset.subtractsborderforoverflownotvisible&&m.overflow!=="visible"){n+=parseint(m.bordertopwidth,10)||0,i+=parseint(m.borderleftwidth,10)||0}e=m}if(e.position==="relative"||e.position==="static"){n+=k.offsettop,i+=k.offsetleft}if(e.position==="fixed"){n+=math.max(h.scrolltop,k.scrolltop),i+=math.max(h.scrollleft,k.scrollleft)}return{top:n,left:i}}}o.offset={initialize:function(){if(this.initialized){return}var l=document.body,f=document.createelement("div"),h,g,n,i,m,e,j=l.style.margintop,k='
';m={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(e in m){f.style[e]=m[e]}f.innerhtml=k;l.insertbefore(f,l.firstchild);h=f.firstchild,g=h.firstchild,i=h.nextsibling.firstchild.firstchild;this.doesnotaddborder=(g.offsettop!==5);this.doesaddborderfortableandcells=(i.offsettop===5);h.style.overflow="hidden",h.style.position="relative";this.subtractsborderforoverflownotvisible=(g.offsettop===-5);l.style.margintop="1px";this.doesnotincludemargininbodyoffset=(l.offsettop===0);l.style.margintop=j;l.removechild(f);this.initialized=true},bodyoffset:function(e){o.offset.initialized||o.offset.initialize();var g=e.offsettop,f=e.offsetleft;if(o.offset.doesnotincludemargininbodyoffset){g+=parseint(o.curcss(e,"margintop",true),10)||0,f+=parseint(o.curcss(e,"marginleft",true),10)||0}return{top:g,left:f}}};o.fn.extend({position:function(){var i=0,h=0,f;if(this[0]){var g=this.offsetparent(),j=this.offset(),e=/^body|html$/i.test(g[0].tagname)?{top:0,left:0}:g.offset();j.top-=j(this,"margintop");j.left-=j(this,"marginleft");e.top+=j(g,"bordertopwidth");e.left+=j(g,"borderleftwidth");f={top:j.top-e.top,left:j.left-e.left}}return f},offsetparent:function(){var e=this[0].offsetparent||document.body;while(e&&(!/^body|html$/i.test(e.tagname)&&o.css(e,"position")=="static")){e=e.offsetparent}return o(e)}});o.each(["left","top"],function(f,e){var g="scroll"+e;o.fn[g]=function(h){if(!this[0]){return null}return h!==g?this.each(function(){this==l||this==document?l.scrollto(!f?h:o(l).scrollleft(),f?h:o(l).scrolltop()):this[g]=h}):this[0]==l||this[0]==document?self[f?"pageyoffset":"pagexoffset"]||o.boxmodel&&document.documentelement[g]||document.body[g]:this[0][g]}});o.each(["height","width"],function(h,f){var e=h?"left":"top",g=h?"right":"bottom";o.fn["inner"+f]=function(){return this[f.tolowercase()]()+j(this,"padding"+e)+j(this,"padding"+g)};o.fn["outer"+f]=function(j){return this["inner"+f]()+j(this,"border"+e+"width")+j(this,"border"+g+"width")+(j?j(this,"margin"+e)+j(this,"margin"+g):0)};var i=f.tolowercase();o.fn[i]=function(j){return this[0]==l?document.compatmode=="css1compat"&&document.documentelement["client"+f]||document.body["client"+f]:this[0]==document?math.max(document.documentelement["client"+f],document.body["scroll"+f],document.documentelement["scroll"+f],document.body["offset"+f],document.documentelement["offset"+f]):j===g?(this.length?o.css(this[0],i):null):this.css(i,typeof j==="string"?j:j+"px")}})})();