Script at http://www.cockpig.com/js/jquery/jq ... (local script) (report as good / report as bad)/*
* jquery javascript library v1.3.2
* http://jquery.com/
*
* copyright (c) 2009 john resig
* dual licensed under the mit and gpl licenses.
* http://docs.jquery.com/license
*
* date: 2009-02-19 17:34:21 -0500 (thu, 19 feb 2009)
* revision: 6246
*/
(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.f n=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.cont ext=e.context}return this.setarray(o.isarray(e)?e:o.makearray(e))},selector:"",jquery:"1.3.2&quo t;,size:function(){return this.length},get:function(e){return e===g?array.prototype.slice.call(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.s elector+(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.nodetyp e!=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)}})},prep end:function(){return this.dommanip(arguments,true,function(e){if(this.nodetype==1){this.insertbefore(e,this.fir stchild)}})},before:function(){return this.dommanip(arguments,false,function(e){this.parentnode.insertbefore(e,this)})},after:fu nction(){return this.dommanip(arguments,false,function(e){this.parentnode.insertbefore(e,this.nextsibling) })},end:function(){return this.prevobject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(e){if(thi s.length===1){var f=this.pushstack([],"find",e);f.length=0;o.find(e,this[0],f);return f}else{return this.pushstack(o.unique(o.map(this,function(g){return o.find(e,g)})),"find",e)}},clone:function(g){var e=this.map(function(){if(!o.support.nocloneevent&&!o.isxmldoc(this)){var i=this.outerhtml;if(!i){var j=this.ownerdocument.createelement("div");j.appendchild(this.clonenode(true));i= j.innerhtml}return o.clean([i.replace(/ jquery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{ return this.clonenode(true)}});if(g===true){var h=this.find("*").andself(),f=0;e.find("*").andself().each(function(){i f(this.nodename!==h[f].nodename){return}var i=o.data(h[f],"events");for(var k in i){for(var j in i[k]){o.event.add(this,k,i[k][j],i[k][j].data)}}f++})}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 g=o.expr.match.pos.test(e)?o(e):null,f=0;return this.map(function(){var h=this;while(h&&h.ownerdocument){if(g?g.index(h)>-1:o(h).is(e)){o.data(h," closest",f);return h}h=h.parentnode;f++}})},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||{}).specif ied?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<j;f++){var g=m[f];if(g.selected){k=o(g).val();if(h){return k}l.push(k)}}return l}return(e.value||"").replace(/\r/g,"")}return g}if(typeof k==="number"){k+=""}return this.each(function(){if(this.nodetype!=1){return}if(o.isarray(k)&&/radio|checkbox/ .test(this.type)){this.checked=(o.inarray(this.value,k)>=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{t his.value=k}}})},html:function(e){return e===g?(this[0]?this[0].innerhtml.replace(/ jquery\d+="(?:\d+|null)"/g,""):null):this.empty().append(e)},replacewi th: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.prototy pe.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(j,m,l){if(this[0]){var i=(this[0].ownerdocument||this[0]).createdocumentfragment(),f=o.clean(j,(this[0].ownerdocu ment||this[0]),i),h=i.firstchild;if(h){for(var g=0,e=this.length;g<e;g++){l.call(k(this[g],h),this.length>1||g>0?i.clonenode(tru e):i)}}if(f){o.each(f,z)}}return this;function k(n,o){return m&&o.nodename(n,"table")&&o.nodename(o,"tr")?(n.getele mentsbytagname("tbody")[0]||n.appendchild(n.ownerdocument.createelement("tbo dy"))):n}}};o.fn.init.prototype=o.fn;function z(e,f){if(f.src){o.ajax({url:f.src,async:false,datatype:"script"})}else{o.global eval(f.text||f.textcontent||f.innerhtml||"")}if(f.parentnode){f.parentnode.remove child(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<i;h++ ){if((g=arguments[h])!=null){for(var f in g){var k=j[f],l=g[f];if(j===l){continue}if(e&&l&&typeof l==="object"&&!l.nodetype){j[f]=o.extend(e,k||(l.length!=null?[]:{}),l)} else{if(l!==g){j[f]=l}}}}}return j};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultview||{},s=object.p rototype.tostring;o.extend({noconflict:function(e){l.$=p;if(e){l.jquery=y}return o},isfunction:function(e){return s.call(e)==="[object function]"},isarray:function(e){return s.call(e)==="[object array]"},isxmldoc:function(e){return e.nodetype===9&&e.documentelement.nodename!=="html"||!!e.ownerdocument&a mp;&o.isxmldoc(e.ownerdocument)},globaleval:function(g){if(g&&/\s/.test(g)){var f=document.getelementsbytagname("head")[0]||document.documentelement,e=document. createelement("script");e.type="text/javascript";if(o.support.scripteva l){e.appendchild(document.createtextnode(g))}else{e.text=g}f.insertbefore(e,f.firstchild);f .removechild(e)}},nodename:function(f,e){return f.nodename&&f.nodename.touppercase()==e.touppercase()},each:function(g,k,f){var e,h=0,i=g.length;if(f){if(i===g){for(e in g){if(k.apply(g[e],f)===false){break}}}else{for(;h<i;){if(k.apply(g[h++],f)===false){br eak}}}}else{if(i===g){for(e in g){if(k.call(g[e],e,g[e])===false){break}}}else{for(var j=g[0];h<i&&k.call(j,h,j)!==false;j=g[++h]){}}}return g},prop:function(h,i,g,f,e){if(o.isfunction(i)){i=i.call(h,f)}return typeof i==="number"&&g=="curcss"&&!b.test(e)?i+"px" :i},classname:{add:function(e,f){o.each((f||"").split(/\s+/),function(g,h){if(e.n odetype==1&&!o.classname.has(e.classname,h)){e.classname+=(e.classname?" ":"")+h}})},remove:function(e,f){if(e.nodetype==1){e.classname=f!==g?o.grep (e.classname.split(/\s+/),function(g){return !o.classname.has(f,g)}).join(" "):""}},has:function(f,e){return f&&o.inarray(e,(f.classname||f).tostring().split(/\s+/))>-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(h,f,j,e){if(f=="width"||f=="height") {var l,g={position:"absolute",visibility:"hidden",display:"block" },k=f=="width"?["left","right"]:["top","bottom "];function i(){l=f=="width"?h.offsetwidth:h.offsetheight;if(e==="border"){return} o.each(k,function(){if(!e){l-=parsefloat(o.curcss(h,"padding"+this,true))||0}if(e ==="margin"){l+=parsefloat(o.curcss(h,"margin"+this,true))||0}else{l-=p arsefloat(o.curcss(h,"border"+this+"width",true))||0}})}if(h.offsetwidt h!==0){i()}else{o.swap(h,g,i)}return math.max(0,math.round(l))}return o.curcss(h,f,j)},curcss:function(i,f,g){var l,e=i.style;if(f=="opacity"&&!o.support.opacity){l=o.attr(e,"opacit y");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"&& amp;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)&&am p;/^\d/.test(l)){var h=e.left,k=i.runtimestyle.left;i.runtimestyle.left=i.currentstyle.left;e.left=l||0;l=e.pix elleft+"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].ownerdocume nt||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,s){if(typeof s==="number"){s+=""}if(!s){return}if(typeof s==="string"){s=s.replace(/(<(\w+)[^>]*?)\/>/g,function(u,v,t){return t.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?u:v+"></&qu ot;+t+">"});var o=s.replace(/^\s+/,"").substring(0,10).tolowercase();var q=!o.indexof("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!o.indexof("<leg" )&&[1,"<fieldset>","</fieldset>"]||o.match(/^<(t head|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>&quo t;]||!o.indexof("<tr")&&[2,"<table><tbody>",&quo t;</tbody></table>"]||(!o.indexof("<td")||!o.indexof("&l t;th"))&&[3,"<table><tbody><tr>","</tr> </tbody></table>"]||!o.indexof("<col")&&[2,"< table><tbody></tbody><colgroup>","</colgroup></tabl e>"]||!o.support.htmlserialize&&[1,"div<div>","</di v>"]||[0,"",""];l.innerhtml=q[1]+s+q[2];while(q[0]--){l=l.lastc hild}if(!o.support.tbody){var r=/<tbody/i.test(s),n=!o.indexof("<table")&&!r?l.firstchild&&a mp;l.firstchild.childnodes:q[1]=="<table>"&&!r?l.childnodes:[];for( var m=n.length-1;m>=0;--m){if(o.nodename(n[m],"tbody")&&!n[m].childnodes. length){n[m].parentnode.removechild(n[m])}}}if(!o.support.leadingwhitespace&&/^\s/. test(s)){l.insertbefore(k.createtextnode(s.match(/^\s*/)[0]),l.firstchild)}s=o.makearray(l. childnodes)}if(s.nodetype){g.push(s)}else{g=o.merge(g,s)}});if(i){for(var j=0;g[j];j++){if(o.nodename(g[j],"script")&&(!g[j].type||g[j].type.tolow ercase()==="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].ge telementsbytagname("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&q uot;)&&j.parentnode){throw"type property can't be changed"}j[g]=k}if(o.nodename(j,"form")&&j.getattributenode(g)){ret urn 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);re turn e===null?g:e}if(!o.support.opacity&&g=="opacity"){if(l){j.zoom=1;j.filte r=(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,"")},makearr ay: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<f;e++){if(h[e]===g){return e}}return -1},merge:function(h,e){var f=0,g,i=h.length;if(!o.support.getall){while((g=e[f++])!=null){if(g.nodetype!=8){h[i++]=g} }}else{while((g=e[f++])!=null){h[i++]=g}}return h},unique:function(k){var f=[],e={};try{for(var g=0,h=k.length;g<h;g++){var j=o.data(k[g]);if(!e[j]){e[j]=true;f.push(k[g])}}}catch(i){f=k}return f},grep:function(f,j,e){var g=[];for(var h=0,i=f.length;h<i;h++){if(!e!=!j(f[h],h)){g.push(f[h])}}return g},map:function(e,j){var f=[];for(var g=0,h=e.length;g<h;g++){var i=j(e[g],g);if(i!=null){f[f.length]=i}}return f.concat.apply([],f)}});var c=navigator.useragent.tolowercase();o.browser={version:(c.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(c),opera:/opera/.test(c),msie:/msi e/.test(c)&&!/opera/.test(c),mozilla:/mozilla/.test(c)&&!/(compatible|webki t)/.test(c)};o.each({parent:function(e){return e.parentnode},parents:function(e){return o.dir(e,"parentnode")},next:function(e){return o.nth(e,2,"nextsibling")},prev:function(e){return o.nth(e,2,"previoussibling")},nextall:function(e){return o.dir(e,"nextsibling")},prevall:function(e){return o.dir(e,"previoussibling")},siblings:function(e){return o.sibling(e.parentnode.firstchild,e)},children:function(e){return o.sibling(e.firstchild)},contents:function(e){return o.nodename(e,"iframe")?e.contentdocument||e.contentwindow.document:o.makearray(e .childnodes)}},function(e,f){o.fn[e]=function(g){var h=o.map(this,f);if(g&&typeof g=="string"){h=o.multifilter(g,h)}return this.pushstack(o.unique(h),e,g)}});o.each({appendto:"append",prependto:"pre pend",insertbefore:"before",insertafter:"after",replaceall:"r eplacewith"},function(e,f){o.fn[e]=function(g){var j=[],l=o(g);for(var k=0,h=l.length;k<h;k++){var i=(k>0?this.clone(true):this).get();o.fn[f].apply(o(l[k]),i);j=j.concat(i)}return this.pushstack(j,e,g)}});o.each({removeattr:function(e){o.attr(this,e,"");if(thi s.nodetype==1){this.removeattribute(e)}},addclass:function(e){o.classname.add(this,e)},remo veclass:function(e){o.classname.remove(this,e)},toggleclass:function(f,e){if(typeof e!=="boolean"){e=!o.classname.has(this,f)}o.classname[e?"add":"re move"](this,f)},remove:function(e){if(!e||o.filter(e,[this]).length){o("*",t his).add([this]).each(function(){o.event.remove(this);o.removedata(this)});if(this.parentno de){this.parentnode.removechild(this)}}},empty:function(){o(this).children().remove();while (this.firstchild){this.removechild(this.firstchild)}}},function(e,f){o.fn[e]=function(){ret urn 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)}}}ret urn 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&&thi s.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)})}});
/*
* sizzle css selector engine - v0.9.3
* copyright 2009, the dojo foundation
* released under the mit, bsd, and gpl licenses.
* more information: http://sizzlejs.com/
*/
(function(){var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'&qu ot;]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,l=0,h=object.prototype.tostring;var f=function(y,u,ab,ac){ab=ab||[];u=u||document;if(u.nodetype!==1&&u.nodetype!==9){r eturn[]}if(!y||typeof y!=="string"){return ab}var z=[],w,af,ai,t,ad,v,x=true;r.lastindex=0;while((w=r.exec(y))!==null){z.push(w[1]);if(w[2]) {v=regexp.rightcontext;break}}if(z.length>1&&m.exec(y)){if(z.length===2&& ;i.relative[z[0]]){af=j(z[0]+z[1],u)}else{af=i.relative[z[0]]?[u]:f(z.shift(),u);while(z.le ngth){y=z.shift();if(i.relative[y]){y+=z.shift()}af=j(y,af)}}}else{var ae=ac?{expr:z.pop(),set:e(ac)}:f.find(z.pop(),z.length===1&&u.parentnode?u.parentn ode:u,q(u));af=f.filter(ae.expr,ae.set);if(z.length>0){ai=e(af)}else{x=false}while(z.len gth){var ah=z.pop(),ag=ah;if(!i.relative[ah]){ah=""}else{ag=z.pop()}if(ag==null){ag=u}i.r elative[ah](ai,ag,q(u))}}if(!ai){ai=af}if(!ai){throw"syntax error, unrecognized expression: "+(ah||y)}if(h.call(ai)==="[object array]"){if(!x){ab.push.apply(ab,ai)}else{if(u.nodetype===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodetype===1&&k( u,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodetype===1){ab.push(af[aa])}}}}}else{e (ai,ab)}if(v){f(v,u,ab,ac);if(g){hasduplicate=false;ab.sort(g);if(hasduplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};f.matches=function(t,u){return f(t,null,null,u)};f.find=function(aa,t,ab){var z,x;if(!aa){return[]}for(var w=0,v=i.order.length;w<v;w++){var y=i.order[w],x;if((x=i.match[y].exec(aa))){var u=regexp.leftcontext;if(u.substr(u.length-1)!=="\\"){x[1]=(x[1]||"").r eplace(/\\/g,"");z=i.find[y](x,t,ab);if(z!=null){aa=aa.replace(i.match[y],"& quot;);break}}}}if(!z){z=t.getelementsbytagname("*")}return{set:z,expr:aa}};f.fil ter=function(ad,ac,ag,w){var v=ad,ai=[],aa=ac,y,t,z=ac&&ac[0]&&q(ac[0]);while(ad&&ac.length){fo r(var ab in i.filter){if((y=i.match[ab].exec(ad))!=null){var u=i.filter[ab],ah,af;t=false;if(aa==ai){ai=[]}if(i.prefilter[ab]){y=i.prefilter[ab](y,aa,a g,ai,w,z);if(!y){t=ah=true}else{if(y===true){continue}}}if(y){for(var x=0;(af=aa[x])!=null;x++){if(af){ah=u(af,y,x,aa);var ae=w^!!ah;if(ag&&ah!=null){if(ae){t=true}else{aa[x]=false}}else{if(ae){ai.push(af) ;t=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(i.match[ab],"");if(!t){return[ ]}break}}}if(ad==v){if(t==null){throw"syntax error, unrecognized expression: "+ad}else{break}}v=ad}return aa};var i=f.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|nt h|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,pos:/:(nth|eq|gt|lt|first|last|even|odd)(? :\((\d*)\))?(?=[^-]|$)/,pseudo:/:((?:[\w\u00c0-\uffff_-]|\\.)+)(?:\((['"]*)((?:\([^\)] +\)|[^\2\(\)]*)+)\2\))?/},attrmap:{"class":"classname","for": "htmlfor"},attrhandle:{href:function(t){return t.getattribute("href")}},relative:{:function(aa,t,z){var x=typeof t==="string",ab=x&&!/\w/.test(t),y=x&&!ab;if(ab&&!z){t=t .touppercase()}for(var w=0,v=aa.length,u;w<v;w++){if((u=aa[w])){while((u=u.previoussibling)&&u.nodetyp e!==1){}aa[w]=y||u&&u.nodename===t?u||false:u===t}}if(y){f.filter(t,aa,true)}},&quo t;>":function(z,u,aa){var x=typeof u==="string";if(x&&!/\w/.test(u)){u=aa?u:u.touppercase();for(var v=0,t=z.length;v<t;v++){var y=z[v];if(y){var w=y.parentnode;z[v]=w.nodename===u?w:false}}}else{for(var v=0,t=z.length;v<t;v++){var y=z[v];if(y){z[v]=x?y.parentnode:y.parentnode===u}}if(x){f.filter(u,z,true)}}},"" ;:function(w,u,y){var v=l++,t=s;if(!u.match(/\w/)){var x=u=y?u:u.touppercase();t=p}t("parentnode",u,v,w,x,y)},"~":function(w, u,y){var v=l++,t=s;if(typeof u==="string"&&!u.match(/\w/)){var x=u=y?u:u.touppercase();t=p}t("previoussibling",u,v,w,x,y)}},find:{id:function(u ,v,w){if(typeof v.getelementbyid!=="undefined"&&!w){var t=v.getelementbyid(u[1]);return t?[t]:[]}},name:function(v,y,z){if(typeof y.getelementsbyname!=="undefined"){var u=[],x=y.getelementsbyname(v[1]);for(var w=0,t=x.length;w<t;w++){if(x[w].getattribute("name")===v[1]){u.push(x[w])}}re turn u.length===0?null:u}},tag:function(t,u){return u.getelementsbytagname(t[1])}},prefilter:{class:function(w,u,v,t,z,aa){w=" "+w[1].replace(/\\/g,"")+" ";if(aa){return w}for(var x=0,y;(y=u[x])!=null;x++){if(y){if(z^(y.classname&&(" "+y.classname+" ").indexof(w)>=0)){if(!v){t.push(y)}}else{if(v){u[x]=false}}}}return false},id:function(t){return t[1].replace(/\\/g,"")},tag:function(u,t){for(var v=0;t[v]===false;v++){}return t[v]&&q(t[v])?u[1]:u[1].touppercase()},child:function(t){if(t[1]=="nth") {var u=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(t[2]=="even"&&"2n"||t[2]==&q uot;odd"&&"2n+1"||!/\d/.test(t[2])&&"0n+"+t[2]||t[ 2]);t[2]=(u[1]+(u[2]||1))-0;t[3]=u[3]-0}t[0]=l++;return t},attr:function(x,u,v,t,y,z){var w=x[1].replace(/\\/g,"");if(!z&&i.attrmap[w]){x[1]=i.attrmap[w]}if(x[2]= =="~="){x[4]=" "+x[4]+" "}return x},pseudo:function(x,u,v,t,y){if(x[1]==="not"){if(x[3].match(r).length>1||/^\ w/.test(x[3])){x[3]=f(x[3],null,null,u)}else{var w=f.filter(x[3],u,v,true^y);if(!v){t.push.apply(t,w)}return false}}else{if(i.match.pos.test(x[0])||i.match.child.test(x[0])){return true}}return x},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(v,u,t){return !!f(t[3],v).length},header:function(t){return/h\d/i.test(t.nodename)},text:function(t){ret urn"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:func tion(t){return"reset"===t.type},button:function(t){return"button"===t.t ype||t.nodename.touppercase()==="button"},input:function(t){return/input|select|t extarea|button/i.test(t.nodename)}},setfilters:{first:function(u,t){return t===0},last:function(v,u,t,w){return u===w.length-1},even:function(u,t){return t%2===0},odd:function(u,t){return t%2===1},lt:function(v,u,t){return u<t[3]-0},gt:function(v,u,t){return u>t[3]-0},nth:function(v,u,t){return t[3]-0==u},eq:function(v,u,t){return t[3]-0==u}},filter:{pseudo:function(z,v,w,aa){var u=v[1],x=i.filters[u];if(x){return x(z,w,v,aa)}else{if(u==="contains"){return(z.textcontent||z.innertext||"&qu ot;).indexof(v[3])>=0}else{if(u==="not"){var y=v[3];for(var w=0,t=y.length;w<t;w++){if(y[w]===z){return false}}return true}}}},child:function(t,w){var z=w[1],u=t;switch(z){case"only":case"first":while(u=u.previoussibling) {if(u.nodetype===1){return false}}if(z=="first"){return true}u=t;case"last":while(u=u.nextsibling){if(u.nodetype===1){return false}}return true;case"nth":var v=w[2],ac=w[3];if(v==1&&ac==0){return true}var y=w[0],ab=t.parentnode;if(ab&&(ab.sizcache!==y||!t.nodeindex)){var x=0;for(u=ab.firstchild;u;u=u.nextsibling){if(u.nodetype===1){u.nodeindex=++x}}ab.sizcache =y}var aa=t.nodeindex-ac;if(v==0){return aa==0}else{return(aa%v==0&&aa/v>=0)}}},id:function(u,t){return u.nodetype===1&&u.getattribute("id")===t},tag:function(u,t){return(t===& quot;*"&&u.nodetype===1)||u.nodename===t},class:function(u,t){return(" "+(u.classname||u.getattribute("class"))+" ").indexof(t)>-1},attr:function(y,w){var v=w[1],t=i.attrhandle[v]?i.attrhandle[v](y):y[v]!=null?y[v]:y.getattribute(v),z=t+"&q uot;,x=w[2],u=w[4];return t==null?x==="!=":x==="="?z===u:x==="*="?z.indexof(u)>=0:x ==="~="?(" "+z+" ").indexof(u)>=0:!u?z&&t!==false:x==="!="?z!=u:x==="^=" ;?z.indexof(u)===0:x==="$="?z.substr(z.length-u.length)===u:x==="|="?z= ==u||z.substr(0,u.length+1)===u+"-":false},pos:function(x,u,v,y){var t=u[2],w=i.setfilters[t];if(w){return w(x,v,u,y)}}}};var m=i.match.pos;for(var o in i.match){i.match[o]=regexp(i.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var e=function(u,t){u=array.prototype.slice.call(u);if(t){t.push.apply(t,u);return t}return u};try{array.prototype.slice.call(document.documentelement.childnodes)}catch(n){e=function (x,w){var u=w||[];if(h.call(x)==="[object array]"){array.prototype.push.apply(u,x)}else{if(typeof x.length==="number"){for(var v=0,t=x.length;v<t;v++){u.push(x[v])}}else{for(var v=0;x[v];v++){u.push(x[v])}}}return u}}var g;if(document.documentelement.comparedocumentposition){g=function(u,t){var v=u.comparedocumentposition(t)&4?-1:u===t?0:1;if(v===0){hasduplicate=true}return v}}else{if("sourceindex" in document.documentelement){g=function(u,t){var v=u.sourceindex-t.sourceindex;if(v===0){hasduplicate=true}return v}}else{if(document.createrange){g=function(w,u){var v=w.ownerdocument.createrange(),t=u.ownerdocument.createrange();v.selectnode(w);v.collapse (true);t.selectnode(u);t.collapse(true);var x=v.compareboundarypoints(range.start_to_end,t);if(x===0){hasduplicate=true}return x}}}}(function(){var u=document.createelement("form"),v="script"+(new date).gettime();u.innerhtml="<input name='"+v+"'/>";var t=document.documentelement;t.insertbefore(u,t.firstchild);if(!!document.getelementbyid(v)) {i.find.id=function(x,y,z){if(typeof y.getelementbyid!=="undefined"&&!z){var w=y.getelementbyid(x[1]);return w?w.id===x[1]||typeof w.getattributenode!=="undefined"&&w.getattributenode("id").nod evalue===x[1]?[w]:g:[]}};i.filter.id=function(y,w){var x=typeof y.getattributenode!=="undefined"&&y.getattributenode("id");ret urn y.nodetype===1&&x&&x.nodevalue===w}}t.removechild(u)})();(function(){var t=document.createelement("div");t.appendchild(document.createcomment("" ;));if(t.getelementsbytagname("*").length>0){i.find.tag=function(u,y){var x=y.getelementsbytagname(u[1]);if(u[1]==="*"){var w=[];for(var v=0;x[v];v++){if(x[v].nodetype===1){w.push(x[v])}}x=w}return x}}t.innerhtml="<a href='#'></a>";if(t.firstchild&&typeof t.firstchild.getattribute!=="undefined"&&t.firstchild.getattribute(" ;href")!=="#"){i.attrhandle.href=function(u){return u.getattribute("href",2)}}})();if(document.queryselectorall){(function(){var t=f,u=document.createelement("div");u.innerhtml="<p class='test'></p>";if(u.queryselectorall&&u.queryselectorall(". test").length===0){return}f=function(y,x,v,w){x=x||document;if(!w&&x.nodetype= ==9&&!q(x)){try{return e(x.queryselectorall(y),v)}catch(z){}}return t(y,x,v,w)};f.find=t.find;f.filter=t.filter;f.selectors=t.selectors;f.matches=t.matches})( )}if(document.getelementsbyclassname&&document.documentelement.getelementsbyclassna me){(function(){var t=document.createelement("div");t.innerhtml="<div class='test e'></div><div class='test'></div>";if(t.getelementsbyclassname("e").length===0){ return}t.lastchild.classname="e";if(t.getelementsbyclassname("e").lengt h===1){return}i.order.splice(1,0,"class");i.find.class=function(u,v,w){if(typeof v.getelementsbyclassname!=="undefined"&&!w){return v.getelementsbyclassname(u[1])}}})()}function p(u,z,y,ad,aa,ac){var ab=u=="previoussibling"&&!ac;for(var w=0,v=ad.length;w<v;w++){var t=ad[w];if(t){if(ab&&t.nodetype===1){t.sizcache=y;t.sizset=w}t=t[u];var x=false;while(t){if(t.sizcache===y){x=ad[t.sizset];break}if(t.nodetype===1&&!ac){t .sizcache=y;t.sizset=w}if(t.nodename===z){x=t;break}t=t[u]}ad[w]=x}}}function s(u,z,y,ad,aa,ac){var ab=u=="previoussibling"&&!ac;for(var w=0,v=ad.length;w<v;w++){var t=ad[w];if(t){if(ab&&t.nodetype===1){t.sizcache=y;t.sizset=w}t=t[u];var x=false;while(t){if(t.sizcache===y){x=ad[t.sizset];break}if(t.nodetype===1){if(!ac){t.sizc ache=y;t.sizset=w}if(typeof z!=="string"){if(t===z){x=true;break}}else{if(f.filter(z,[t]).length>0){x=t;b reak}}}t=t[u]}ad[w]=x}}}var k=document.comparedocumentposition?function(u,t){return u.comparedocumentposition(t)&16}:function(u,t){return u!==t&&(u.contains?u.contains(t):true)};var q=function(t){return t.nodetype===9&&t.documentelement.nodename!=="html"||!!t.ownerdocument&a mp;&q(t.ownerdocument)};var j=function(t,aa){var w=[],x="",y,v=aa.nodetype?[aa]:aa;while((y=i.match.pseudo.exec(t))){x+=y[0];t=t. replace(i.match.pseudo,"")}t=i.relative[t]?t+"*":t;for(var z=0,u=v.length;z<u;z++){f(t,v[z],w)}return f.filter(x,w)};o.find=f;o.filter=f.filter;o.expr=f.selectors;o.expr[":"]=o.expr. filters;f.selectors.filters.hidden=function(t){return t.offsetwidth===0||t.offsetheight===0};f.selectors.filters.visible=function(t){return t.offsetwidth>0||t.offsetheight>0};f.selectors.filters.animated=function(t){return o.grep(o.timers,function(u){return t===u.elem}).length};o.multifilter=function(v,t,u){if(u){v=":not("+v+")&quo t;}return f.matches(v,t)};o.dir=function(v,u){var t=[],w=v[u];while(w&&w!=document){if(w.nodetype==1){t.push(w)}w=w[u]}return t};o.nth=function(x,t,v,w){t=t||1;var u=0;for(;x;x=x[v]){if(x.nodetype==1&&++u==t){break}}return x};o.sibling=function(v,u){var t=[];for(;v;v=v.nextsibling){if(v.nodetype==1&&v!=u){t.push(v)}}return t};return;l.sizzle=f})();o.event={add:function(i,f,h,k){if(i.nodetype==3||i.nodetype==8){r eturn}if(i.setinterval&&i!=l){i=l}if(!h.guid){h.guid=this.guid++}if(k!==g){var g=h;h=this.proxy(g);h.data=k}var e=o.data(i,"events")||o.data(i,"events",{}),j=o.data(i,"handle&qu ot;)||o.data(i,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.calle e.elem,arguments):g});j.elem=i;o.each(f.split(/\s+/),function(m,n){var o=n.split(".");n=o.shift();h.type=o.slice().sort().join(".");var l=e[n];if(o.event.specialall[n]){o.event.specialall[n].setup.call(i,k,o)}if(!l){l=e[n]={}; if(!o.event.special[n]||o.event.special[n].setup.call(i,k,o)===false){if(i.addeventlistener ){i.addeventlistener(n,j,false)}else{if(i.attachevent){i.attachevent("on"+n,j)}}} }l[h.guid]=h;o.event.global[n]=true});i=null},guid:1,global:{},remove:function(k,h,j){if(k. nodetype==3||k.nodetype==8){return}var g=o.data(k,"events"),f,e;if(g){if(h===g||(typeof h==="string"&&h.charat(0)==".")){for(var i in g){this.remove(k,i+(h||""))}}else{if(h.type){j=h.handler;h=h.type}o.each(h.split (/\s+/),function(m,o){var q=o.split(".");o=q.shift();var n=regexp("(^|\\.)"+q.slice().sort().join(".*\\.")+"(\\.|$)") ;if(g[o]){if(j){delete g[o][j.guid]}else{for(var p in g[o]){if(n.test(g[o][p].type)){delete g[o][p]}}}if(o.event.specialall[o]){o.event.specialall[o].teardown.call(k,q)}for(f in g[o]){break}if(!f){if(!o.event.special[o]||o.event.special[o].teardown.call(k,q)===false){ if(k.removeeventlistener){k.removeeventlistener(o,o.data(k,"handle"),false)}else{ if(k.detachevent){k.detachevent("on"+o,o.data(k,"handle"))}}}f=null;del ete g[o]}}})}for(f in g){break}if(!f){var l=o.data(k,"handle");if(l){l.elem=null}o.removedata(k,"events");o.remo vedata(k,"handle")}}},trigger:function(i,k,h,e){var g=i.type||i;if(!e){i=typeof i==="object"?i[h]?i:o.extend(o.event(g),i):o.event(g);if(g.indexof("!" )>=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,t his.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")& amp;&g=="click"))&&h["on"+g]&&h["on"+g].a pply(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){va r j,e;k=arguments[0]=o.event.fix(k||l.event);k.currenttarget=this;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.stopprop agation()}}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&&am p;h.fromelement){h.relatedtarget=h.fromelement==h.target?h.toelement:h.fromelement}if(h.pag ex==null&&h.clientx!=null){var i=document.documentelement,e=document.body;h.pagex=h.clientx+(i&&i.scrollleft||e&a mp;&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.met akey=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,"event s").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}th is.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=f alse},stoppropagation:function(){this.ispropagationstopped=u;var e=this.originalevent;if(!e){return}if(e.stoppropagation){e.stoppropagation()}e.cancelbubbl e=true},stopimmediatepropagation:function(){this.isimmediatepropagationstopped=u;this.stopp ropagation()},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&q uot;,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:f unction(f,g,e){return f=="unload"?this.one(f,g,e):this.each(function(){o.event.add(this,f,e||g,e&& amp;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<e.length){o.event.proxy(g,e[f++])}return this.click(o.event.proxy(g,function(h){this.lasttoggle=(this.lasttoggle||0)%f;h.preventdef ault();return e[this.lasttoggle++].apply(this,arguments)||false}))},hover:function(e,f){return this.mouseenter(e).mouseleave(f)},ready:function(e){b();if(o.isready){e.call(document,o)}e lse{o.readylist.push(e)}return this},live:function(g,f){var e=o.event.proxy(f);e.guid+=this.selector+g;o(document).bind(i(g,this.selector),this.select or,e);return this},die:function(f,e){o(document).unbind(i(f,this.selector),e?{guid:e.guid+this.selector +f}:null);return this}});function c(h){var e=regexp("(^|\\.)"+h.type+"(\\.|$)"),g=true,f=[];o.each(o.data(this,&q uot;events").live||[],function(i,j){if(e.test(j.type)){var k=o(h.target).closest(j.data)[0];if(k){f.push({elem:k,fn:j})}}});f.sort(function(j,i){retu rn o.data(j.elem,"closest")-o.data(i.elem,"closest")});o.each(f,function( ){if(this.fn.call(this.elem,h,this.fn.data)===false){return(g=false)}});return g}function i(f,e){return["live",f,e.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isready:false,readylist:[],ready:function (){if(!o.isready){o.isready=true;if(o.readylist){o.each(o.readylist,function(){this.call(do cument,o)});o.readylist=null}o(document).triggerhandler("ready")}}});var x=false;function b(){if(x){return}x=true;if(document.addeventlistener){document.addeventlistener("domc ontentloaded",function(){document.removeeventlistener("domcontentloaded",arg uments.callee,false);o.ready()},false)}else{if(document.attachevent){document.attachevent(& quot;onreadystatechange",function(){if(document.readystate==="complete"){doc ument.detachevent("onreadystatechange",arguments.callee);o.ready()}});if(document .documentelement.doscroll&&l==l.top){(function(){if(o.isready){return}try{document. documentelement.doscroll("left")}catch(e){settimeout(arguments.callee,0);return}o .ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize ,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mou seleave,change,select,submit,keydown,keypress,keyup,error").split(","),funct ion(f,e){o.fn[e]=function(g){return g?this.bind(e,g):this.trigger(e)}});o(l).bind("unload",function(){for(var e in o.cache){if(e!=1&&o.cache[e].handle){o.event.remove(o.cache[e].handle.elem)}}});(f unction(){o.support={};var f=document.documentelement,g=document.createelement("script"),k=document.createe lement("div"),j="script"+(new date).gettime();k.style.display="none";k.innerhtml=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option& gt;text</option></select><object><param/></object>';var h=k.getelementsbytagname("*"),e=k.getelementsbytagname("a")[0];if(!h|| !h.length||!e){return}o.support={leadingwhitespace:k.firstchild.nodetype==3,tbody:!k.getele mentsbytagname("tbody").length,objectall:!!k.getelementsbytagname("object&qu ot;)[0].getelementsbytagname("*").length,htmlserialize:!!k.getelementsbytagname(& quot;link").length,style:/red/.test(e.getattribute("style")),hrefnormalized: e.getattribute("href")==="/a",opacity:e.style.opacity==="0.5" ,cssfloat:!!e.style.cssfloat,scripteval:false,nocloneevent:true,boxmodel:null};g.type=" ;text/javascript";try{g.appendchild(document.createtextnode("window."+j+&quo t;=1;"))}catch(i){}f.insertbefore(g,f.firstchild);if(l[j]){o.support.scripteval=true;d elete l[j]}f.removechild(g);if(k.attachevent&&k.fireevent){k.attachevent("onclick&q uot;,function(){o.support.nocloneevent=false;k.detachevent("onclick",arguments.ca llee)});k.clonenode(true).fireevent("onclick")}o(function(){var l=document.createelement("div");l.style.width=l.style.paddingleft="1px" ;;document.body.appendchild(l);o.boxmodel=o.support.boxmodel=l.offsetwidth===2;document.bod y.removechild(l).style.display="none"})})();var w=o.support.cssfloat?"cssfloat":"stylefloat";o.props={"for": "htmlfor","class":"classname","float":w,cssfloat:w, stylefloat:w,readonly:"readonly",maxlength:"maxlength",cellspacing:&quo t;cellspacing",rowspan:"rowspan",tabindex:"tabindex"};o.fn.extend( {_load:o.fn.load,load:function(g,j,k){if(typeof g!=="string"){return this._load(g)}var i=g.indexof(" ");if(i>=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("<div/>").appen d(m.responsetext.replace(/<script(.|\s)*?\/script>/g,"")).find(e):m.respons etext)}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.nod ename)||/text|hidden|password|search/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,aja xsend".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&&t ypeof 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(/\?/)?"&":"?& quot;)+(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+&q uot;").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{dele te 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(/\?/)?"&":"?& quot;)+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.s criptcharset}if(!w){var o=false;t.onload=t.onreadystatechange=function(){if(!o&&(!this.readystate||this.re adystate=="loaded"||this.readystate=="complete")){o=true;i();l();t.onlo ad=t.onreadystatechange=null;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.if modified){j.setrequestheader("if-modified-since",o.lastmodified[m.url]||"thu , 01 jan 1970 00:00:00 gmt")}j.setrequestheader("x-requested-with","xmlhttprequest");j.s etrequestheader("accept",m.datatype&&m.accepts[m.datatype]?m.accepts[m.da tatype]+", */*":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.readystat e==4||x=="timeout")){k=true;if(p){clearinterval(p);p=null}r=x=="timeout" ;?"timeout":!o.httpsuccess(j)?"error":m.ifmodified&&o.httpnotmo dified(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.a sync){j=null}}}};if(m.async){var p=setinterval(n,13);if(m.timeout>0){settimeout(function(){if(j&&!k){n("tim eout")}},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(& quot;ajaxerror",[h,f,g])}},active:0,httpsuccess:function(f){try{return !f.status&&location.protocol=="file:"||(f.status>=200&&f.stat us<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&&a mp;f.indexof("xml")>=0,i=e?j.responsexml:j.responsetext;if(e&&i.docume ntelement.tagname=="parsererror"){throw"parsererror"}if(g&&g.da tafilter){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(/ /g,)}});var m={},n,d=[["height","margintop","marginbottom","padding top","paddingbottom"],["width","marginleft","margin right","paddingleft","paddingright"],["opacity"]];functi on 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<f;h++){var e=o.data(this[h],"olddisplay");this[h].style.display=e||"";if(o.css(th is[h],"display")==="none"){var g=this[h].tagname,k;if(m[g]){k=m[g]}else{var i=o("<"+g+" />").appendto("body");k=i.css("display");if(k==="none&quo t;){k="block"}i.remove();m[g]=k}o.data(this[h],"olddisplay",k)}}for(var h=0,f=this.length;h<f;h++){this[h].style.display=o.data(this[h],"olddisplay") ||""}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<f;g++){var e=o.data(this[g],"olddisplay");if(!e&&e!=="none"){o.data(this[ g],"olddisplay",o.css(this[g],"display"))}}for(var g=0,f=this.length;g<f;g++){this[g].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(g,f){var e=typeof g==="boolean";return o.isfunction(g)&&o.isfunction(f)?this._toggle.apply(this,arguments):g==null||e?thi s.each(function(){var h=e?g:o(this).is(":hidden");o(this)[h?"show":"hide"]()}):thi s.animate(t("toggle",3),g,f)},fadeto:function(e,g,f){return this.animate({opacity:g},e,f)},animate:function(i,f,h,g){var e=o.speed(f,h,g);return this[e.queue===false?"each":"queue"](function(){var k=o.extend({},e),m,l=this.nodetype==1&&o(this).is(":hidden"),j=this;for( m in i){if(i[m]=="hide"&&l||i[m]=="show"&&!l){return k.complete.call(this)}if((m=="height"||m=="width")&&this.style ){k.display=o.css(this,"display");k.overflow=this.style.overflow}}if(k.overflow!= null){this.style.overflow="hidden"}k.curanim=o.extend({},i);o.each(i,function(o,s ){var r=new o.fx(j,k,o);if(/toggle|show|hide/.test(s)){r[s=="toggle"?l?"show":&quo t;hide":s](i)}else{var q=s.tostring().match(/^([+-]=)?([\d+-.]+)(.*)$/),t=r.cur(true)||0;if(q){var n=parsefloat(q[2]),p=q[3]||"px";if(p!="px"){j.style[o]=(n||1)+p;t=((n| |1)/r.cur(true))*t;j.style[o]=t+p}if(q[1]){n=((q[1]=="-="?-1:1)*n)+t}r.custom(t,n ,p)}else{r.custom(t,s,"")}}});return true})},stop:function(f,e){var g=o.timers;if(f){this.queue([])}this.each(function(){for(var h=g.length-1;h>=0;h--){if(g[h].elem==this){if(e){g[h](true)}g.splice(h,1)}}});if(!e){th is.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:fun ction(f,e,g){this.options=e;this.elem=f;this.prop=g;if(!e.orig){e.orig={}}}});o.fx.prototyp e={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.pr op=="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)&&!n){n=setinterval(fun ction(){var k=o.timers;for(var j=0;j<k.length;j++){if(!k[j]()){k.splice(j--,1)}}if(!k.length){clearinterval(n);n=g}},1 3)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.op tions.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0 ,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this. elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(h){va r g=e();if(h||g>=this.options.duration+this.starttime){this.now=this.end;this.pos=this.st ate=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.di splay!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.op tions.display;if(o.css(this.elem,"display")=="none"){this.elem.style.di splay="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||th is.options.show){for(var i in this.options.curanim){o.attr(this.elem.style,i,this.options.orig[i])}}this.options.complet e.call(this.elem)}return false}else{var j=g-this.starttime;this.state=j/this.options.duration;this.pos=o.easing[this.options.easin g||(o.easing.swing?"swing":"linear")](this.state,j,0,1,this.options.dur ation);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]){r eturn{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.box model&&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.defaul tview,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.doesa ddborderfortableandcells&&/^t(able|d|h)$/i.test(j.tagname))){n+=parseint(m.borderto pwidth,10)||0,i+=parseint(m.borderleftwidth,10)||0}f=g,g=j.offsetparent}if(o.offset.subtrac tsborderforoverflownotvisible&&m.overflow!=="visible"){n+=parseint(m.bord ertopwidth,10)||0,i+=parseint(m.borderleftwidth,10)||0}e=m}if(e.position==="relative&q uot;||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)}r eturn{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='<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>';m={ position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:& quot;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.firstch ild,i=h.nextsibling.firstchild.firstchild;this.doesnotaddborder=(g.offsettop!==5);this.does addborderfortableandcells=(i.offsettop===5);h.style.overflow="hidden",h.style.pos ition="relative";this.subtractsborderforoverflownotvisible=(g.offsettop===-5);l.s tyle.margintop="1px";this.doesnotincludemargininbodyoffset=(l.offsettop===0);l.st yle.margintop=j;l.removechild(f);this.initialized=true},bodyoffset:function(e){o.offset.ini tialized||o.offset.initialize();var g=e.offsettop,f=e.offsetleft;if(o.offset.doesnotincludemargininbodyoffset){g+=parseint(o.c urcss(e,"margintop",true),10)||0,f+=parseint(o.curcss(e,"marginleft",tr ue),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.t op,left:j.left-e.left}}return f},offsetparent:function(){var e=this[0].offsetparent||document.body;while(e&&(!/^body|html$/i.test(e.tagname)&am p;&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":& quot;pagexoffset"]||o.boxmodel&&document.documentelement[g]||document.body[g]: this[0][g]}});o.each(["height","width"],function(i,g){var e=i?"left":"top",h=i?"right":"bottom",f=g.tolowerc ase();o.fn["inner"+g]=function(){return this[0]?o.css(this[0],f,false,"padding"):null};o.fn["outer"+g]=functio n(k){return this[0]?o.css(this[0],f,false,k?"margin":"border"):null};var j=g.tolowercase();o.fn[j]=function(k){return this[0]==l?document.compatmode=="css1compat"&&document.documentelement[& quot;client"+g]||document.body["client"+g]:this[0]==document?math.max(docume nt.documentelement["client"+g],document.body["scroll"+g],document.docum entelement["scroll"+g],document.body["offset"+g],document.documenteleme nt["offset"+g]):k===g?(this.length?o.css(this[0],j):null):this.css(j,typeof k==="string"?k:k+"px")}})})(); |