/*! * jquery javascript library v1.4 * http://jquery.com/ * * copyright 2010, john resig * dual licensed under the mit or gpl version 2 licenses. * http://docs.jquery.com/license * * includes sizzle.js * http://sizzlejs.com/ * copyright 2010, the dojo foundation * released under the mit, bsd, and gpl licenses. * * date: wed jan 13 15:23:05 2010 -0500 */ (function(a,w){function oa(){if(!c.isready){try{s.documentelement.doscroll("left")}catch(a){settimeout(oa,1);return}c.ready()}}function la(a,b){b.src?c.ajax({url:b.src,async:false,datatype:"script"}):c.globaleval(b.text||b.textcontent||b.innerhtml||"");b.parentnode&&b.parentnode.removechild(b)}function $(a,b,d,f,e,i){var j=a.length;if(typeof b==="object"){for(var o in b)$(a,o,b[o],f,e,d);return a}if(d!==w){f=!i&&f&&c.isfunction(d);for(o=0;o-1){i=j.data;i.beforefilter&&i.beforefilter[a.type]&&!i.beforefilter[a.type](a)||f.push(j.selector)}else delete t[p]}i=c(a.target).closest(f,a.currenttarget); n=0;for(l=i.length;n)[^>]*$|^#([\w-]+)$/,pa=/^.[^:#\[\.,]*$/,qa=/\s/, ra=/^(\s|\u00a0)+|(\s|\u00a0)+$/g,sa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=navigator.useragent,xa=false,q=[],m,ca=object.prototype.tostring,da=object.prototype.hasownproperty,ea=array.prototype.push,r=array.prototype.slice,v=array.prototype.indexof;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodetype){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=oa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerdocument||b:s;if(a=sa.exec(a))if(c.isplainobject(b)){a=[s.createelement(a[1])]; c.fn.attr.call(a,b,true)}else a=[f.createelement(a[1])];else{a=ua([d[1]],[f]);a=(a.cacheable?a.fragment.clonenode(true):a.fragment).childnodes}}else{if(b=s.getelementbyid(d[2])){if(b.id!==d[2])return u.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getelementsbytagname(a)}else return!b||b.jquery?(b||u).find(a):c(b).find(a);else if(c.isfunction(a))return u.ready(a);if(a.selector!==w){this.selector=a.selector; this.context=a.context}return c.isarray(a)?this.setarray(a):c.makearray(a,this)},selector:"",jquery:"1.4",length:0,size:function(){return this.length},toarray:function(){return r.call(this,0)},get:function(a){return a==null?this.toarray():a<0?this.slice(a)[0]:this[a]},pushstack:function(a,b,d){a=c(a||null);a.prevobject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setarray:function(a){this.length= 0;ea.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindready();if(c.isready)a.call(s,c);else q&&q.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(r.apply(this,arguments),"slice",r.call(arguments).join(","))},map:function(a){return this.pushstack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevobject|| c(null)},push:ea,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,i,j,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isfunction(a))a={};if(d===b){a=this;--b}for(;b
a";var e=d.getelementsbytagname("*"),i=d.getelementsbytagname("a")[0];if(!(!e||!e.length||!i)){c.support={leadingwhitespace:d.firstchild.nodetype===3,tbody:!d.getelementsbytagname("tbody").length, htmlserialize:!!d.getelementsbytagname("link").length,style:/red/.test(i.getattribute("style")),hrefnormalized:i.getattribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssfloat:!!i.style.cssfloat,checkon:d.getelementsbytagname("input")[0].value==="on",optselected:s.createelement("select").appendchild(s.createelement("option")).selected,scripteval:false,nocloneevent:true,boxmodel:null};b.type="text/javascript";try{b.appendchild(s.createtextnode("window."+f+"=1;"))}catch(j){}a.insertbefore(b, a.firstchild);if(a[f]){c.support.scripteval=true;delete a[f]}a.removechild(b);if(d.attachevent&&d.fireevent){d.attachevent("onclick",function o(){c.support.nocloneevent=false;d.detachevent("onclick",o)});d.clonenode(true).fireevent("onclick")}c(function(){var o=s.createelement("div");o.style.width=o.style.paddingleft="1px";s.body.appendchild(o);c.boxmodel=c.support.boxmodel=o.offsetwidth===2;s.body.removechild(o).style.display="none"});a=function(o){var p=s.createelement("div");o="on"+o;var n=o in p;if(!n){p.setattribute(o,"return;");n=typeof p[o]==="function"}return n};c.support.submitbubbles=a("submit");c.support.changebubbles=a("change");a=b=d=e=i=null}})();c.props={"for":"htmlfor","class":"classname",readonly:"readonly",maxlength:"maxlength",cellspacing:"cellspacing",rowspan:"rowspan",colspan:"colspan",tabindex:"tabindex",usemap:"usemap",frameborder:"frameborder"};var h="jquery"+k(),ta=0,ya={},ua={};c.extend({cache:{},expando:h,nodata:{embed:true,object:true,applet:true},data:function(a, b,d){if(!(a.nodename&&c.nodata[a.nodename.tolowercase()])){a=a==a?ya:a;var f=a[h],e=c.cache;if(!b&&!f)return null;f||(f=++ta);if(typeof b==="object"){a[h]=f;e=e[f]=c.extend(true,{},b)}else e=e[f]?e[f]:typeof d==="undefined"?ua:(e[f]={});if(d!==w){a[h]=f;e[b]=d}return typeof b==="string"?e[b]:e}},removedata:function(a,b){if(!(a.nodename&&c.nodata[a.nodename.tolowercase()])){a=a==a?ya:a;var d=a[h],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isemptyobject(e)&&c.removedata(a)}}else{try{delete a[h]}catch(i){a.removeattribute&& a.removeattribute(h)}delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerhandler("getdata"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setdata"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removedata:function(a){return this.each(function(){c.removedata(this, a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isarray(d))f=c.data(a,b,c.makearray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this, a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;settimeout(function(){c.dequeue(d,b)},a)})},clearqueue:function(a){return this.queue(a||"fx",[])}});var za=/[\n\t]/g,fa=/\s+/,va=/\r/g,wa=/href|src|style/,xa=/(button|input)/i,ya=/(button|input|object|select|textarea)/i,za=/^(a|area)$/i,aa=/radio|checkbox/;c.fn.extend({attr:function(a, b){return $(this,a,b,true,c.attr)},removeattr:function(a){return this.each(function(){c.attr(this,a,"");this.nodetype===1&&this.removeattribute(a)})},addclass:function(a){if(c.isfunction(a))return this.each(function(p){var n=c(this);n.addclass(a.call(this,p,n.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(fa),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodename(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodename(b,"select")){var d=b.selectedindex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i=0;else if(c.nodename(this,"select")){var z=c.makearray(t);c("option",this).each(function(){this.selected=c.inarray(c(this).val(),z)>=0});if(!z.length)this.selectedindex= -1}else this.value=t}})}});c.extend({attrfn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodetype===3||a.nodetype===8)return w;if(f&&b in c.attrfn)return c(a)[b](d);f=a.nodetype!==1||!c.isxmldoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodetype===1){var i=wa.test(b);if(b in a&&f&&!i){if(e){if(b==="type"&&xa.test(a.nodename)&&a.parentnode)throw"type property can't be changed";a[b]=d}if(c.nodename(a,"form")&&a.getattributenode(b))return a.getattributenode(b).nodevalue; if(b==="tabindex")return(b=a.getattributenode("tabindex"))&&b.specified?b.value:ya.test(a.nodename)||za.test(a.nodename)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.csstext=""+d;return a.style.csstext}e&&a.setattribute(b,""+d);a=!c.support.hrefnormalized&&f&&i?a.getattribute(b,2):a.getattribute(b);return a===null?w:a}return c.style(a,b,d)}});var $a=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodetype=== 3||a.nodetype===8)){if(a.setinterval&&a!==a&&!a.frameelement)a=a;if(!d.guid)d.guid=c.guid++;if(f!==w){d=c.proxy(d);d.data=f}var e=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),j;if(!i){j=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):w};i=c.data(a,"handle",j)}if(i){i.elem=a;b=b.split(/\s+/);for(var o,p=0;o=b[p++];){var n=o.split(".");o=n.shift();d.type=n.slice(0).sort().join(".");var t=e[o],z=this.special[o]||{};if(!t){t=e[o]={}; if(!z.setup||z.setup.call(a,f,n,d)===false)if(a.addeventlistener)a.addeventlistener(o,i,false);else a.attachevent&&a.attachevent("on"+o,i)}if(z.add)if((n=z.add.call(a,d,f,n,t))&&c.isfunction(n)){n.guid=n.guid||d.guid;d=n}t[d.guid]=d;this.global[o]=true}a=null}}},global:{},remove:function(a,b,d){if(!(a.nodetype===3||a.nodetype===8)){var f=c.data(a,"events"),e,i,j;if(f){if(b===w||typeof b==="string"&&b.charat(0)===".")for(i in f)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/); for(var o=0;i=b[o++];){var p=i.split(".");i=p.shift();var n=!p.length,t=c.map(p.slice(0).sort(),$a);t=new regexp("(^|\\.)"+t.join("\\.(?:.*\\.)?")+"(\\.|$)");var z=this.special[i]||{};if(f[i]){if(d){j=f[i][d.guid];delete f[i][d.guid]}else for(var b in f[i])if(n||t.test(f[i][b].type))delete f[i][b];z.remove&&z.remove.call(a,p,j);for(e in f[i])break;if(!e){if(!z.teardown||z.teardown.call(a,p)===false)if(a.removeeventlistener)a.removeeventlistener(i,c.data(a,"handle"),false);else a.detachevent&&a.detachevent("on"+ i,c.data(a,"handle"));e=null;delete f[i]}}}}for(e in f)break;if(!e){if(b=c.data(a,"handle"))b.elem=null;c.removedata(a,"events");c.removedata(a,"handle")}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[h]?a:c.extend(c.event(e),a):c.event(e);if(e.indexof("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stoppropagation();this.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodetype===3||d.nodetype=== 8)return w;a.result=w;a.target=d;b=c.makearray(b);b.unshift(a)}a.currenttarget=d;var i=c.data(d,"handle");i&&i.apply(d,b);var j,o;try{if(!(d&&d.nodename&&c.nodata[d.nodename.tolowercase()])){j=d[e];o=d["on"+e]}}catch(p){}i=c.nodename(d,"a")&&e==="click";if(!f&&j&&!a.isdefaultprevented()&&!i){this.triggered=true;try{d[e]()}catch(n){}}else if(o&&d["on"+e].apply(d,b)===false)a.result=false;this.triggered=false;if(!a.ispropagationstopped())(d=d.parentnode||d.ownerdocument)&&c.event.trigger(a,b,d,true)}, handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||a.event);a.currenttarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new regexp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.handler=i;a.data=i.data;i=i.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventdefault();a.stoppropagation()}}if(a.isimmediatepropagationstopped())break}}return a.result}, props:"altkey attrchange attrname bubbles button cancelable charcode clientx clienty ctrlkey currenttarget data detail eventphase fromelement handler keycode layerx layery metakey newvalue offsetx offsety originaltarget pagex pagey prevvalue relatednode relatedtarget screenx screeny shiftkey srcelement target toelement view wheeldelta which".split(" "),fix:function(a){if(a[h])return a;var b=a;a=c.event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcelement|| s;if(a.target.nodetype===3)a.target=a.target.parentnode;if(!a.relatedtarget&&a.fromelement)a.relatedtarget=a.fromelement===a.target?a.toelement:a.fromelement;if(a.pagex==null&&a.clientx!=null){b=s.documentelement;d=s.body;a.pagex=a.clientx+(b&&b.scrollleft||d&&d.scrollleft||0)-(b&&b.clientleft||d&&d.clientleft||0);a.pagey=a.clienty+(b&&b.scrolltop||d&&d.scrolltop||0)-(b&&b.clienttop||d&&d.clienttop||0)}if(!a.which&&(a.charcode||a.charcode===0?a.charcode:a.keycode))a.which=a.charcode||a.keycode;if(!a.metakey&& a.ctrlkey)a.metakey=a.ctrlkey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1e8,proxy:c.proxy,special:{ready:{setup:c.bindready,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;c.event.add(this,b.live,qa,b)},remove:function(a){if(a.length){var b=0,d=new regexp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],qa)}},special:{}},beforeunload:{setup:function(a, b,d){if(this.setinterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.event=function(a){if(!this.preventdefault)return new c.event(a);if(a&&a.type){this.originalevent=a;this.type=a.type}else this.type=a;this.timestamp=k();this[h]=true};c.event.prototype={preventdefault:function(){this.isdefaultprevented=ba;var a=this.originalevent;if(a){a.preventdefault&&a.preventdefault();a.returnvalue=false}},stoppropagation:function(){this.ispropagationstopped= ba;var a=this.originalevent;if(a){a.stoppropagation&&a.stoppropagation();a.cancelbubble=true}},stopimmediatepropagation:function(){this.isimmediatepropagationstopped=ba;this.stoppropagation()},isdefaultprevented:aa,ispropagationstopped:aa,isimmediatepropagationstopped:aa};var ba=function(a){for(var b=a.relatedtarget;b&&b!==this;)try{b=b.parentnode}catch(d){break}if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}},ca=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover", mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?ca:ba,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?ca:ba)}}});if(!c.support.submitbubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodename.tolowercase()!=="form"){c.event.add(this,"click.specialsubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="submit"||i==="image")&&c(e).closest("form").length)return pa("submit",this,arguments)});c.event.add(this,"keypress.specialsubmit."+ d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keycode===13)return pa("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialsubmit"+(b?"."+b.guid:""));c.event.remove(this,"keypress.specialsubmit"+(b?"."+b.guid:""))}};if(!c.support.changebubbles){var ga=/textarea|input|select/i;function da(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedindex> -1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodename.tolowercase()==="select")d=a.selectedindex;return d}function ha(a,b){var d=a.target,f,e;if(!(!ga.test(d.nodename)||d.readonly)){f=c.data(d,"_change_data");e=da(d);if(e!==f){if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(d.type!=="select"&&(f!=null||e)){a.type="change";return c.event.trigger(a,b,this)}}}}c.event.special.change={filters:{focusout:ha,click:function(a){var b=a.target,d=b.type;if(d=== "radio"||d==="checkbox"||b.nodename.tolowercase()==="select")return ha.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keycode===13&&b.nodename.tolowercase()!=="textarea"||a.keycode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ha.call(this,a)},beforeactivate:function(a){a=a.target;a.nodename.tolowercase()==="input"&&a.type==="radio"&&c.data(a,"_change_data",da(a))}},setup:function(a,b,d){for(var f in w)c.event.add(this,f+".specialchange."+d.guid,w[f]);return ga.test(this.nodename)}, remove:function(a,b){for(var d in w)c.event.remove(this,d+".specialchange"+(b?"."+b.guid:""),w[d]);return ga.test(this.nodename)}};var w=c.event.special.change.filters}s.addeventlistener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addeventlistener(a,d,true)},teardown:function(){this.removeeventlistener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d, f,e){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],e);return this}if(c.isfunction(f)){thisobject=e;e=f;f=w}var j=b==="one"?c.proxy(e,function(o){c(this).unbind(o,j);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,f,e,thisobject):this.each(function(){c.event.add(this,d,j,f)})}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventdefault){for(var d in a)this.unbind(d,a[d]);return this}return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a, b){return this.each(function(){c.event.trigger(a,b,this)})},triggerhandler:function(a,b){if(this[0]){a=c.event(a);a.preventdefault();a.stoppropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d0){y=u;break}}u=u[g]}m[r]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e=0,i=object.prototype.tostring,j=false,o=true;[0,0].sort(function(){o=false;return 0});var p=function(g,h,k,m){k=k||[];var r=h=h||s;if(h.nodetype!==1&&h.nodetype!==9)return[];if(!g||typeof g!=="string")return k;for(var q=[],v,u,y,s,i=true,n=x(h),j=g;(f.exec(""),v=f.exec(j))!==null;){j=v[3];q.push(v[1]);if(v[2]){s=v[3];break}}if(q.length>1&&t.exec(g))if(q.length===2&&n.relative[q[0]])u=ia(q[0]+q[1],h);else for(u=n.relative[q[0]]?[h]:p(q.shift(),h);q.length;){g=q.shift();if(n.relative[g])g+=q.shift(); u=ia(g,u)}else{if(!m&&q.length>1&&h.nodetype===9&&!n&&n.match.id.test(q[0])&&!n.match.id.test(q[q.length-1])){v=p.find(q.shift(),h,n);h=v.expr?p.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:q.pop(),set:b(m)}:p.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&h.parentnode?h.parentnode:h,n);u=v.expr?p.filter(v.expr,v.set):v.set;if(q.length>0)y=b(u);else i=false;for(;q.length;){var e=q.pop();v=e;if(n.relative[e])v=q.pop();else e="";if(v==null)v=h;n.relative[e](y,v,n)}}else y=[]}y||(y=u);if(!y)throw"syntax error, unrecognized expression: "+ (e||g);if(i.call(y)==="[object array]")if(i)if(h&&h.nodetype===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodetype===1&&f(h,y[g])))k.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodetype===1&&k.push(u[g]);else k.push.apply(k,y);else b(y,k);if(s){p(s,r,k,m);p.uniquesort(k)}return k};p.uniquesort=function(g){if(d){j=o;g.sort(d);if(j)for(var h=1;h":function(g,h){var k=typeof h==="string";if(k&&!/\w/.test(h)){h=h.tolowercase();for(var m=0,r=g.length;m=0))k||m.push(v);else if(k)h[q]=false;return false},id:function(g){return g[1].replace(/\\/g,"")},tag:function(g){return g[1].tolowercase()}, child:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\d/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},attr:function(g,h,k,m,r,q){h=g[1].replace(/\\/g,"");if(!q&&n.attrmap[h])g[1]=n.attrmap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},pseudo:function(g,h,k,m,r){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=p(g[3],null,null,h);else{g=p.filter(g[3],h,k,true^r);k||m.push.apply(m, g);return false}else if(n.match.pos.test(g[0])||n.match.child.test(g[0]))return true;return g},pos:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstchild},empty:function(g){return!g.firstchild},has:function(g,h,k){return!!p(k[3],g).length},header:function(g){return/h\d/i.test(g.nodename)}, text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodename.tolowercase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodename)}}, setfilters:{first:function(g,h){return h===0},last:function(g,h,k,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return hk[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{pseudo:function(g,h,k,m){var r=h[1],q=n.filters[r];if(q)return q(g,k,h,m);else if(r==="contains")return(g.textcontent||g.innertext||a([g])||"").indexof(h[3])>=0;else if(r==="not"){h= h[3];k=0;for(m=h.length;k=0}},id:function(g,h){return g.nodetype===1&&g.getattribute("id")===h},tag:function(g,h){return h==="*"&&g.nodetype===1||g.nodename.tolowercase()===h},class:function(g,h){return(" "+(g.classname||g.getattribute("class"))+" ").indexof(h)>-1},attr:function(g,h){var k=h[1];g=n.attrhandle[k]?n.attrhandle[k](g):g[k]!=null?g[k]:g.getattribute(k);k=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== "="?k===h:m==="*="?k.indexof(h)>=0:m==="~="?(" "+k+" ").indexof(h)>=0:!h?k&&g!==false:m==="!="?k!==h:m==="^="?k.indexof(h)===0:m==="$="?k.substr(k.length-h.length)===h:m==="|="?k===h||k.substr(0,h.length+1)===h+"-":false},pos:function(g,h,k,m){var r=n.setfilters[h[2]];if(r)return r(g,k,h,m)}}},t=n.match.pos;for(var z in n.match){n.match[z]=new regexp(n.match[z].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftmatch[z]=new regexp(/(^(?:.|\r|\n)*?)/.source+n.match[z].source.replace(/\\(\d+)/g,function(g, h){return"\\"+(h-0+1)}))}var b=function(g,h){g=array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{array.prototype.slice.call(s.documentelement.childnodes,0)}catch(c){b=function(g,h){h=h||[];if(i.call(g)==="[object array]")array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var k=0,m=g.length;k";var k=s.documentelement;k.insertbefore(g,k.firstchild);if(s.getelementbyid(h)){n.find.id=function(m,r,q){if(typeof r.getelementbyid!=="undefined"&&!q)return(r=r.getelementbyid(m[1]))?r.id===m[1]||typeof r.getattributenode!=="undefined"&& r.getattributenode("id").nodevalue===m[1]?[r]:w:[]};n.filter.id=function(m,r){var q=typeof m.getattributenode!=="undefined"&&m.getattributenode("id");return m.nodetype===1&&q&&q.nodevalue===r}}k.removechild(g);k=g=null})();(function(){var g=s.createelement("div");g.appendchild(s.createcomment(""));if(g.getelementsbytagname("*").length>0)n.find.tag=function(h,k){k=k.getelementsbytagname(h[1]);if(h[1]==="*"){h=[];for(var m=0;k[m];m++)k[m].nodetype===1&&h.push(k[m]);k=h}return k};g.innerhtml=""; if(g.firstchild&&typeof g.firstchild.getattribute!=="undefined"&&g.firstchild.getattribute("href")!=="#")n.attrhandle.href=function(h){return h.getattribute("href",2)};g=null})();s.queryselectorall&&function(){var g=p,h=s.createelement("div");h.innerhtml="

";if(!(h.queryselectorall&&h.queryselectorall(".test").length===0)){p=function(m,r,q,v){r=r||s;if(!v&&r.nodetype===9&&!x(r))try{return b(r.queryselectorall(m),q)}catch(u){}return g(m,r,q,v)};for(var k in g)p[k]=g[k];h=null}}(); (function(){var g=s.createelement("div");g.innerhtml="
";if(!(!g.getelementsbyclassname||g.getelementsbyclassname("e").length===0)){g.lastchild.classname="e";if(g.getelementsbyclassname("e").length!==1){n.order.splice(1,0,"class");n.find.class=function(h,k,m){if(typeof k.getelementsbyclassname!=="undefined"&&!m)return k.getelementsbyclassname(h[1])};g=null}}})();var f=s.comparedocumentposition?function(g,h){return g.comparedocumentposition(h)&16}:function(g, h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerdocument||g:0).documentelement)?g.nodename!=="html":false},ia=function(g,h){var k=[],m="",r;for(h=h.nodetype?[h]:h;r=n.match.pseudo.exec(g);){m+=r[0];g=g.replace(n.match.pseudo,"")}g=n.relative[g]?g+"*":g;r=0;for(var q=h.length;r=0===d})};c.fn.extend({find:function(a){for(var b=this.pushstack("","find",a),d=0,f=0,e=this.length;f0)for(var i=d;i0},closest:function(a,b){if(c.isarray(a)){var d=[],f=this[0],e,i= {},j;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentnode}}return d}var p=c.expr.match.pos.test(a)?c(a,b||this.context):null;return this.map(function(n,t){for(;t&&t.ownerdocument&&t!==b;){if(p?p.index(t)>-1:c(t).is(a))return t;t=t.parentnode}return null})},index:function(a){if(!a||typeof a=== "string")return c.inarray(this[0],a?c(a):this.parent().children());return c.inarray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makearray(a);b=c.merge(this.get(),a);return this.pushstack(sa(a[0])||sa(b[0])?b:c.unique(b))},andself:function(){return this.add(this.prevobject)}});c.each({parent:function(a){return(a=a.parentnode)&&a.nodetype!==11?a:null},parents:function(a){return c.dir(a,"parentnode")},parentsuntil:function(a,b,d){return c.dir(a,"parentnode", d)},next:function(a){return c.nth(a,2,"nextsibling")},prev:function(a){return c.nth(a,2,"previoussibling")},nextall:function(a){return c.dir(a,"nextsibling")},prevall:function(a){return c.dir(a,"previoussibling")},nextuntil:function(a,b,d){return c.dir(a,"nextsibling",d)},prevuntil:function(a,b,d){return c.dir(a,"previoussibling",d)},siblings:function(a){return c.sibling(a.parentnode.firstchild,a)},children:function(a){return c.sibling(a.firstchild)},contents:function(a){return c.nodename(a,"iframe")? a.contentdocument||a.contentwindow.document:c.makearray(a.childnodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);ab.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||cb.test(f))&&bb.test(a))e=e.reverse();return this.pushstack(e,a,r.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodetype!==9&&(d===w||!c(a).is(d));){a.nodetype=== 1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodetype===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextsibling)a.nodetype===1&&a!==b&&d.push(a);return d}});var ga=/ jquery\d+="(?:\d+|null)"/g,y=/^\s+/,db=/(<([\w:]+)[^>]*?)\/>/g,eb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ha=/<([\w:]+)/,fb=/"},g={option:[1,""], legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};g.optgroup=g.option;g.tbody=g.tfoot=g.colgroup=g.caption=g.thead;g.th=g.td;if(!c.support.htmlserialize)g._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isfunction(a))return this.each(function(b){var d=c(this); return d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerdocument||s).createtextnode(a));return c.gettext(this)},wrapall:function(a){if(c.isfunction(a))return this.each(function(d){c(this).wrapall(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerdocument).eq(0).clone(true);this[0].parentnode&&b.insertbefore(this[0]);b.map(function(){for(var d=this;d.firstchild&&d.firstchild.nodetype===1;)d=d.firstchild;return d}).append(this)}return this}, wrapinner:function(a){return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapall(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapall(a)})},unwrap:function(){return this.parent().each(function(){c.nodename(this,"body")||c(this).replacewith(this.childnodes)}).end()},append:function(){return this.dommanip(arguments,true,function(a){this.nodetype===1&&this.appendchild(a)})},prepend:function(){return this.dommanip(arguments,true,function(a){this.nodetype===1&& this.insertbefore(a,this.firstchild)})},before:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,false,function(b){this.parentnode.insertbefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toarray());return this.pushstack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,false,function(b){this.parentnode.insertbefore(b,this.nextsibling)});else if(arguments.length){var a=this.pushstack(this, "after",arguments);a.push.apply(a,c(arguments[0]).toarray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.nocloneevent&&!c.isxmldoc(this)){var d=this.outerhtml,f=this.ownerdocument;if(!d){d=f.createelement("div");d.appendchild(this.clonenode(true));d=d.innerhtml}return c.clean([d.replace(ga,"").replace(y,"")],f)[0]}else return this.clonenode(true)});if(a===true){ta(this,b);ta(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodetype=== 1?this[0].innerhtml.replace(ga,""):null;else if(typeof a==="string"&&!/