if(typeof window.jQuery=="undefined"){window.undefined=window.undefined;var jQuery=function(P,w){if(window==this||!this.init){return new jQuery(P,w);}return this.init(P,w);};if(typeof $!="undefined"){jQuery._$=$;}var $=jQuery;jQuery.fn=jQuery.prototype={init:function(w,p){w=w||document;if(jQuery.isFunction(w)){return new jQuery(document)[jQuery.fn.ready?"ready":"load"](w);}if(typeof w=="string"){var P=/^[^<]*(<(.|\s)+>)[^>]*$/.exec(w);if(P){w=jQuery.clean([P[1]]);}else{return new jQuery(p).find(w);}}return this.setArray(w.constructor==Array&&w||(w.jquery||w.length&&w!=window&&!w.nodeType&&w[0]!=undefined&&w[0].nodeType)&&jQuery.makeArray(w)||[w]);},jquery:"1.1.3.1",size:function(){return this.length;},length:0,get:function(P){return P==undefined?jQuery.makeArray(this):this[P];},pushStack:function(P){var w=jQuery(P);w.prevObject=this;return w;},setArray:function(P){this.length=0;[].push.apply(this,P);return this;},each:function(w,P){return jQuery.each(this,w,P);},index:function(P){var w=-1;this.each(function(p){if(this==P){w=p;}});return w;},attr:function(P,p,w){var d=P;if(P.constructor==String){if(p==undefined){return this.length&&jQuery[w||"attr"](this[0],P)||undefined;}else{d={};d[P]=p;}}return this.each(function(j){for(var S in d){jQuery.attr(w?this.style:this,S,jQuery.prop(this,d[S],w,j,S));}});},css:function(P,w){return this.attr(P,w,"curCSS");},text:function(w){if(typeof w=="string"){return this.empty().append(document.createTextNode(w));}var P="";jQuery.each(w||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8){P+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);}});});return P;},wrap:function(){var P,w=arguments;return this.each(function(){if(!P){P=jQuery.clean(w,this.ownerDocument);}var p=P[0].cloneNode(true);this.parentNode.insertBefore(p,this);while(p.firstChild){p=p.firstChild;}p.appendChild(this);});},append:function(){return this.domManip(arguments,true,1,function(P){this.appendChild(P);});},prepend:function(){return this.domManip(arguments,true,-1,function(P){this.insertBefore(P,this.firstChild);});},before:function(){return this.domManip(arguments,false,1,function(P){this.parentNode.insertBefore(P,this);});},after:function(){return this.domManip(arguments,false,-1,function(P){this.parentNode.insertBefore(P,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(P){var w=jQuery.map(this,function(p){return jQuery.find(P,p);});return this.pushStack(/[^+>] [^+>]/.test(P)||P.indexOf("..")>-1?jQuery.unique(w):w);},clone:function(P){var p=this.add(this.find("*"));p.each(function(){this._$events={};for(var d in this.$events){this._$events[d]=jQuery.extend({},this.$events[d]);}}).unbind();var w=this.pushStack(jQuery.map(this,function(d){return d.cloneNode(P!=undefined?P:true);}));p.each(function(){var d=this._$events;for(var S in d){for(var j in d[S]){jQuery.event.add(this,S,d[S][j],d[S][j].data);}}this._$events=null;});return w;},filter:function(P){return this.pushStack(jQuery.isFunction(P)&&jQuery.grep(this,function(p,w){return P.apply(p,[w]);})||jQuery.multiFilter(P,this));},not:function(P){return this.pushStack(P.constructor==String&&jQuery.multiFilter(P,this,true)||jQuery.grep(this,function(w){return (P.constructor==Array||P.jquery)?jQuery.inArray(w,P)<0:w!=P;}));},add:function(P){return this.pushStack(jQuery.merge(this.get(),P.constructor==String?jQuery(P).get():P.length!=undefined&&(!P.nodeName||P.nodeName=="FORM")?P:[P]));},is:function(P){return P?jQuery.multiFilter(P,this).length>0:false;},val:function(P){return P==undefined?(this.length?this[0].value:null):this.attr("value",P);},html:function(P){return P==undefined?(this.length?this[0].innerHTML:null):this.empty().append(P);},domManip:function(p,j,w,d){var S=this.length>1,P;return this.each(function(){if(!P){P=jQuery.clean(p,this.ownerDocument);if(w<0){P.reverse();}}var y=this;if(j&&jQuery.nodeName(this,"table")&&jQuery.nodeName(P[0],"tr")){y=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));}jQuery.each(P,function(){d.apply(y,[S?this.cloneNode(true):this]);});});}};jQuery.extend=jQuery.fn.extend=function(){var p=arguments[0],P=1;if(arguments.length==1){p=this;P=0;}var d;while((d=arguments[P++])!=null){for(var w in d){p[w]=d[w];}}return p;};jQuery.extend({noConflict:function(){if(jQuery._$){$=jQuery._$;}return jQuery;},isFunction:function(P){return !!P&&typeof P!="string"&&!P.nodeName&&P.constructor!=Array&&/function/i.test(P+"");},isXMLDoc:function(P){return P.tagName&&P.ownerDocument&&!P.ownerDocument.body;},nodeName:function(w,P){return w.nodeName&&w.nodeName.toUpperCase()==P.toUpperCase();},each:function(j,d,w){if(j.length==undefined){for(var p in j){d.apply(j[p],w||[p,j[p]]);}}else{for(var p=0,P=j.length;p<P;p++){if(d.apply(j[p],w||[p,j[p]])===false){break;}}}return j;},prop:function(d,j,p,w,S){if(jQuery.isFunction(j)){j=j.call(d,[w]);}var P=/z-?index|font-?weight|opacity|zoom|line-?height/i;return j&&j.constructor==Number&&p=="curCSS"&&!P.test(S)?j+"px":j;},className:{add:function(P,w){jQuery.each(w.split(/\s+/),function(p,d){if(!jQuery.className.has(P.className,d)){P.className+=(P.className?" ":"")+d;}});},remove:function(P,w){P.className=w!=undefined?jQuery.grep(P.className.split(/\s+/),function(p){return !jQuery.className.has(w,p);}).join(" "):"";},has:function(P,w){return jQuery.inArray(w,(P.className||P).toString().split(/\s+/))>-1;}},swap:function(p,d,w){for(var P in d){p.style["old"+P]=p.style[P];p.style[P]=d[P];}w.apply(p,[]);for(var P in d){p.style[P]=p.style["old"+P];}},css:function(y,S){if(S=="height"||S=="width"){var w={},j,P,l=["Top","Bottom","Right","Left"];jQuery.each(l,function(){w["padding"+this]=0;w["border"+this+"Width"]=0;});jQuery.swap(y,w,function(){if(jQuery(y).is(":visible")){j=y.offsetHeight;P=y.offsetWidth;}else{y=jQuery(y.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(y.parentNode)[0];var p=jQuery.css(y.parentNode,"position")||"static";if(p=="static"){y.parentNode.style.position="relative";}j=y.clientHeight;P=y.clientWidth;if(p=="static"){y.parentNode.style.position="static";}y.parentNode.removeChild(y);}});return S=="height"?j:P;}return jQuery.curCSS(y,S);},curCSS:function(w,S,p){var P;if(S=="opacity"&&jQuery.browser.msie){P=jQuery.attr(w.style,"opacity");return P==""?"1":P;}if(S.match(/float/i)){S=jQuery.styleFloat;}if(!p&&w.style[S]){P=w.style[S];}else{if(document.defaultView&&document.defaultView.getComputedStyle){if(S.match(/float/i)){S="float";}S=S.replace(/([A-Z])/g,"-$1").toLowerCase();var j=document.defaultView.getComputedStyle(w,null);if(j){P=j.getPropertyValue(S);}else{if(S=="display"){P="none";}else{jQuery.swap(w,{display:"block"},function(){var y=document.defaultView.getComputedStyle(this,"");P=y&&y.getPropertyValue(S)||"";});}}}else{if(w.currentStyle){var d=S.replace(/\-(\w)/g,function(y,l){return l.toUpperCase();});P=w.currentStyle[S]||w.currentStyle[d];}}}return P;},clean:function(P,p){var w=[];p=p||document;jQuery.each(P,function(S,d){if(!d){return ;}if(d.constructor==Number){d=d.toString();}if(typeof d=="string"){var l=jQuery.trim(d).toLowerCase(),f=p.createElement("div"),j=[];var y=!l.indexOf("<opt")&&[1,"<select>","</select>"]||!l.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||(!l.indexOf("<thead")||!l.indexOf("<tbody")||!l.indexOf("<tfoot")||!l.indexOf("<colg"))&&[1,"<table>","</table>"]||!l.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!l.indexOf("<td")||!l.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!l.indexOf("<col")&&[2,"<table><colgroup>","</colgroup></table>"]||[0,"",""];f.innerHTML=y[1]+d+y[2];while(y[0]--){f=f.firstChild;}if(jQuery.browser.msie){if(!l.indexOf("<table")&&l.indexOf("<tbody")<0){j=f.firstChild&&f.firstChild.childNodes;}else{if(y[1]=="<table>"&&l.indexOf("<tbody")<0){j=f.childNodes;}}for(var B=j.length-1;B>=0;--B){if(jQuery.nodeName(j[B],"tbody")&&!j[B].childNodes.length){j[B].parentNode.removeChild(j[B]);}}}d=jQuery.makeArray(f.childNodes);}if(0===d.length&&(!jQuery.nodeName(d,"form")&&!jQuery.nodeName(d,"select"))){return ;}if(d[0]==undefined||jQuery.nodeName(d,"form")||d.options){w.push(d);}else{w=jQuery.merge(w,d);}});return w;},attr:function(p,w,d){var P=jQuery.isXMLDoc(p)?{}:jQuery.props;if(P[w]){if(d!=undefined){p[P[w]]=d;}return p[P[w]];}else{if(d==undefined&&jQuery.browser.msie&&jQuery.nodeName(p,"form")&&(w=="action"||w=="method")){return p.getAttributeNode(w).nodeValue;}else{if(p.tagName){if(d!=undefined){p.setAttribute(w,d);}if(jQuery.browser.msie&&/href|src/.test(w)&&!jQuery.isXMLDoc(p)){return p.getAttribute(w,2);}return p.getAttribute(w);}else{if(w=="opacity"&&jQuery.browser.msie){if(d!=undefined){p.zoom=1;p.filter=(p.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(d).toString()=="NaN"?"":"alpha(opacity="+d*100+")");}return p.filter?(parseFloat(p.filter.match(/opacity=([^)]*)/)[1])/100).toString():"";}w=w.replace(/-([a-z])/ig,function(S,j){return j.toUpperCase();});if(d!=undefined){p[w]=d;}return p[w];}}}},trim:function(P){return P.replace(/^\s+|\s+$/g,"");},makeArray:function(P){var p=[];if(typeof P!="array"){for(var w=0,d=P.length;w<d;w++){p.push(P[w]);}}else{p=P.slice(0);}return p;},inArray:function(P,w){for(var p=0,d=w.length;p<d;p++){if(w[p]==P){return p;}}return -1;},merge:function(p,P){for(var w=0;P[w];w++){p.push(P[w]);}return p;},unique:function(j){var p=[],P=jQuery.mergeNum++;for(var w=0,d=j.length;w<d;w++){if(P!=j[w].mergeNum){j[w].mergeNum=P;p.push(j[w]);}}return p;},mergeNum:0,grep:function(p,S,w){if(typeof S=="string"){S=new Function("a","i","return "+S);}var P=[];for(var d=0,j=p.length;d<j;d++){if(!w&&S(p[d],d)||w&&!S(p[d],d)){P.push(p[d]);}}return P;},map:function(w,j){if(typeof j=="string"){j=new Function("a","return "+j);}var P=[];for(var p=0,d=w.length;p<d;p++){var S=j(w[p],p);if(S!==null&&S!=undefined){if(S.constructor!=Array){S=[S];}P=P.concat(S);}}return P;}});new function(){var P=navigator.userAgent.toLowerCase();jQuery.browser={version:(P.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(P),opera:/opera/.test(P),msie:/msie/.test(P)&&!/opera/.test(P),mozilla:/mozilla/.test(P)&&!/(compatible|webkit)/.test(P)};jQuery.boxModel=!jQuery.browser.msie||document.compatMode=="CSS1Compat";jQuery.styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat",jQuery.props={"for":"htmlFor","class":"className","float":jQuery.styleFloat,cssFloat:jQuery.styleFloat,styleFloat:jQuery.styleFloat,innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected",maxlength:"maxLength"};};jQuery.each({parent:"a.parentNode",parents:"jQuery.parents(a)",next:"jQuery.nth(a,2,'nextSibling')",prev:"jQuery.nth(a,2,'previousSibling')",siblings:"jQuery.sibling(a.parentNode.firstChild,a)",children:"jQuery.sibling(a.firstChild)"},function(P,w){jQuery.fn[P]=function(p){var d=jQuery.map(this,w);if(p&&typeof p=="string"){d=jQuery.multiFilter(p,d);}return this.pushStack(d);};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after"},function(P,w){jQuery.fn[P]=function(){var p=arguments;return this.each(function(){for(var d=0,S=p.length;d<S;d++){jQuery(p[d])[w](this);}});};});jQuery.each({removeAttr:function(P){jQuery.attr(this,P,"");this.removeAttribute(P);},addClass:function(P){jQuery.className.add(this,P);},removeClass:function(P){jQuery.className.remove(this,P);},toggleClass:function(P){jQuery.className[jQuery.className.has(this,P)?"remove":"add"](this,P);},remove:function(P){if(!P||jQuery.filter(P,[this]).r.length){this.parentNode.removeChild(this);}},empty:function(){while(this.firstChild){this.removeChild(this.firstChild);}}},function(P,w){jQuery.fn[P]=function(){return this.each(w,arguments);};});jQuery.each(["eq","lt","gt","contains"],function(P,w){jQuery.fn[w]=function(p,d){return this.filter(":"+w+"("+p+")",d);};});jQuery.each(["height","width"],function(P,w){jQuery.fn[w]=function(p){return p==undefined?(this.length?jQuery.css(this[0],w):null):this.css(w,p.constructor==String?p:p+"px");};});jQuery.extend({expr:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"i<m[3]-0",gt:"i>m[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||'').indexOf(m[3])>=0",visible:"\"hidden\"!=a.type&&jQuery.css(a,\"display\")!=\"none\"&&jQuery.css(a,\"visibility\")!=\"hidden\"",hidden:"\"hidden\"==a.type||jQuery.css(a,\"display\")==\"none\"||jQuery.css(a,\"visibility\")==\"hidden\"",enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:"\"button\"==a.type||jQuery.nodeName(a,\"button\")",input:"/input|select|textarea|button/i.test(a.nodeName)"},"[":"jQuery.find(m[2],a).length"},parse:[/^\[ *(@)([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+(jQuery.chars=jQuery.browser.safari&&jQuery.browser.version<"3.0.0"?"\\w":"(?:[\\w?-?*_-]|\\\\.)")+"+)")],multiFilter:function(j,w,p){var P,S=[];while(j&&j!=P){P=j;var d=jQuery.filter(j,w,p);j=d.t.replace(/^\s*,\s*/,"");S=p?w=d.r:jQuery.merge(S,d.r);}return S;},find:function(B,p){if(typeof B!="string"){return [B];}if(p&&!p.nodeType){p=null;}p=p||document;if(!B.indexOf("//")){p=p.documentElement;B=B.substr(2,B.length);}else{if(!B.indexOf("/")&&!p.ownerDocument){p=p.documentElement;B=B.substr(1,B.length);if(B.indexOf("/")>=1){B=B.substr(B.indexOf("/"),B.length);}}}var g=[p],k=[],y;while(B&&y!=B){var f=[];y=B;B=jQuery.trim(B).replace(/^\/\//,"");var d=false;var o=new RegExp("^[/>]\\s*("+jQuery.chars+"+)");var R=o.exec(B);if(R){var w=R[1].toUpperCase();for(var u=0;g[u];u++){for(var I=g[u].firstChild;I;I=I.nextSibling){if(I.nodeType==1&&(w=="*"||I.nodeName.toUpperCase()==w.toUpperCase())){f.push(I);}}}g=f;B=B.replace(o,"");if(B.indexOf(" ")==0){continue;}d=true;}else{o=/^((\/?\.\.)|([>\/+~]))\s*([a-z]*)/i;if((R=o.exec(B))!=null){f=[];var w=R[4],G=jQuery.mergeNum++;R=R[1];for(var s=0,l=g.length;s<l;s++){if(R.indexOf("..")<0){var M=R=="~"||R=="+"?g[s].nextSibling:g[s].firstChild;for(;M;M=M.nextSibling){if(M.nodeType==1){if(R=="~"&&M.mergeNum==G){break;}if(!w||M.nodeName.toUpperCase()==w.toUpperCase()){if(R=="~"){M.mergeNum=G;}f.push(M);}if(R=="+"){break;}}}}else{f.push(g[s].parentNode);}}g=f;B=jQuery.trim(B.replace(o,""));d=true;}}if(B&&!d){if(!B.indexOf(",")){if(p==g[0]){g.shift();}k=jQuery.merge(k,g);f=g=[p];B=" "+B.substr(1,B.length);}else{var S=new RegExp("^("+jQuery.chars+"+)(#)("+jQuery.chars+"+)");var R=S.exec(B);if(R){R=[0,R[2],R[3],R[1]];}else{S=new RegExp("^([#.]?)("+jQuery.chars+"*)");R=S.exec(B);}R[2]=R[2].replace(/\\/g,"");var x=g[g.length-1];if(R[1]=="#"&&x&&x.getElementById){var P=x.getElementById(R[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&P&&typeof P.id=="string"&&P.id!=R[2]){P=jQuery("[@id=\""+R[2]+"\"]",x)[0];}g=f=P&&(!R[3]||jQuery.nodeName(P,R[3]))?[P]:[];}else{for(var u=0;g[u];u++){var A=R[1]!=""||R[0]==""?"*":R[2];if(A=="*"&&g[u].nodeName.toLowerCase()=="object"){A="param";}f=jQuery.merge(f,g[u].getElementsByTagName(A));}if(R[1]=="."){f=jQuery.classFilter(f,R[2]);}if(R[1]=="#"){var J=[];for(var u=0;f[u];u++){if(f[u].getAttribute("id")==R[2]){J=[f[u]];break;}}f=J;}g=f;}B=B.replace(S,"");}}if(B){var E=jQuery.filter(B,f);g=f=E.r;B=jQuery.trim(E.t);}}if(B){g=[];}if(g&&p==g[0]){g.shift();}k=jQuery.merge(k,g);return k;},classFilter:function(S,P,j){P=" "+P+" ";var p=[];for(var w=0;S[w];w++){var d=(" "+S[w].className+" ").indexOf(P)>=0;if(!j&&d||j&&!d){p.push(S[w]);}}return p;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m){break;}if(m[1]==":"&&m[2]=="not"){r=jQuery.filter(m[3],r,true).r;}else{if(m[1]=="."){r=jQuery.classFilter(r,m[2],not);}else{if(m[1]=="@"){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src/.test(m[2])){z=jQuery.attr(a,m[2])||"";}if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not){tmp.push(a);}}r=tmp;}else{if(m[1]==":"&&m[2]=="nth-child"){var num=jQuery.mergeNum++,tmp=[],test=/(\d*)n\+?(\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"n+"+m[3]||m[3]),first=(test[1]||1)-0,last=test[2]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode;if(num!=parentNode.mergeNum){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling){if(n.nodeType==1){n.nodeIndex=c++;}}parentNode.mergeNum=num;}var add=false;if(first==1){if(last==0||node.nodeIndex==last){add=true;}}else{if((node.nodeIndex+last)%first==0){add=true;}}if(add^not){tmp.push(node);}}r=tmp;}else{var f=jQuery.expr[m[1]];if(typeof f!="string"){f=jQuery.expr[m[1]][m[2]];}eval("f = function(a,i){return "+f+"}");r=jQuery.grep(r,f,not);}}}}}return {r:r,t:t};},parents:function(w){var P=[];var p=w.parentNode;while(p&&p!=document){P.push(p);p=p.parentNode;}return P;},nth:function(j,P,p,d){P=P||1;var w=0;for(;j;j=j[p]){if(j.nodeType==1&&++w==P){break;}}return j;},sibling:function(p,w){var P=[];for(;p;p=p.nextSibling){if(p.nodeType==1&&(!w||p!=w)){P.push(p);}}return P;}});jQuery.event={add:function(w,j,d,S){if(jQuery.browser.msie&&w.setInterval!=undefined){w=window;}if(!d.guid){d.guid=this.guid++;}if(S!=undefined){var p=d;d=function(){return p.apply(this,arguments);};d.data=S;d.guid=p.guid;}if(!w.$events){w.$events={};}if(!w.$handle){w.$handle=function(){var y;if(typeof jQuery=="undefined"||jQuery.event.triggered){return y;}y=jQuery.event.handle.apply(w,arguments);return y;};}var P=w.$events[j];if(!P){P=w.$events[j]={};if(w.addEventListener){w.addEventListener(j,w.$handle,false);}else{w.attachEvent("on"+j,w.$handle);}}P[d.guid]=d;if(!this.global[j]){this.global[j]=[];}if(jQuery.inArray(w,this.global[j])==-1){this.global[j].push(w);}},guid:1,global:{},remove:function(d,S,j){var p=d.$events,w,P;if(p){if(S&&S.type){j=S.handler;S=S.type;}if(!S){for(S in p){this.remove(d,S);}}else{if(p[S]){if(j){delete p[S][j.guid];}else{for(j in d.$events[S]){delete p[S][j];}}for(w in p[S]){break;}if(!w){if(d.removeEventListener){d.removeEventListener(S,d.$handle,false);}else{d.detachEvent("on"+S,d.$handle);}w=null;delete p[S];while(this.global[S]&&((P=jQuery.inArray(d,this.global[S]))>=0)){delete this.global[S][P];}}}}for(w in p){break;}if(!w){d.$handle=d.$events=null;}}},trigger:function(d,j,w){j=jQuery.makeArray(j||[]);if(!w){jQuery.each(this.global[d]||[],function(){jQuery.event.trigger(d,j,this);});}else{var S,P,p=jQuery.isFunction(w[d]||null);j.unshift(this.fix({type:d,target:w}));if(jQuery.isFunction(w.$handle)&&(S=w.$handle.apply(w,j))!==false){this.triggered=true;}if(p&&S!==false&&!jQuery.nodeName(w,"a")){w[d]();}this.triggered=false;}},handle:function(p){var d;p=jQuery.event.fix(p||window.event||{});var S=this.$events&&this.$events[p.type],w=[].slice.call(arguments,1);w.unshift(p);for(var P in S){w[0].handler=S[P];w[0].data=S[P].data;if(S[P].apply(this,w)===false){p.preventDefault();p.stopPropagation();d=false;}}if(jQuery.browser.msie){p.target=p.preventDefault=p.stopPropagation=p.handler=p.data=null;}return d;},fix:function(p){var w=p;p=jQuery.extend({},w);p.preventDefault=function(){if(w.preventDefault){return w.preventDefault();}w.returnValue=false;};p.stopPropagation=function(){if(w.stopPropagation){return w.stopPropagation();}w.cancelBubble=true;};if(!p.target&&p.srcElement){p.target=p.srcElement;}if(jQuery.browser.safari&&p.target.nodeType==3){p.target=w.target.parentNode;}if(!p.relatedTarget&&p.fromElement){p.relatedTarget=p.fromElement==p.target?p.toElement:p.fromElement;}if(p.pageX==null&&p.clientX!=null){var d=document.documentElement,P=document.body;p.pageX=p.clientX+(d&&d.scrollLeft||P.scrollLeft);p.pageY=p.clientY+(d&&d.scrollTop||P.scrollTop);}if(!p.which&&(p.charCode||p.keyCode)){p.which=p.charCode||p.keyCode;}if(!p.metaKey&&p.ctrlKey){p.metaKey=p.ctrlKey;}if(!p.which&&p.button){p.which=(p.button&1?1:(p.button&2?3:(p.button&4?2:0)));}return p;}};jQuery.fn.extend({bind:function(w,p,P){return w=="unload"?this.one(w,p,P):this.each(function(){jQuery.event.add(this,w,P||p,P&&p);});},one:function(w,p,P){return this.each(function(){jQuery.event.add(this,w,function(d){jQuery(this).unbind(d);return (P||p).apply(this,arguments);},P&&p);});},unbind:function(w,P){return this.each(function(){jQuery.event.remove(this,w,P);});},trigger:function(P,w){return this.each(function(){jQuery.event.trigger(P,w,this);});},toggle:function(){var P=arguments;return this.click(function(w){this.lastToggle=0==this.lastToggle?1:0;w.preventDefault();return P[this.lastToggle].apply(this,[w])||false;});},hover:function(p,w){function P(j){var d=j.relatedTarget;while(d&&d!=this){try{d=d.parentNode;}catch(j){d=this;}}if(d==this){return false;}return (j.type=="mouseover"?p:w).apply(this,[j]);}return this.mouseover(P).mouseout(P);},ready:function(P){if(jQuery.isReady){P.apply(document,[jQuery]);}else{jQuery.readyList.push(function(){return P.apply(this,[jQuery]);});}return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.apply(document);});jQuery.readyList=null;}if(jQuery.browser.mozilla||jQuery.browser.opera){document.removeEventListener("DOMContentLoaded",jQuery.ready,false);}if(!window.frames.length){jQuery(window).load(function(){jQuery("#__ie_init").remove();});}}}});new function(){jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(w,p){jQuery.fn[p]=function(d){return d?this.bind(p,d):this.trigger(p);};});if(jQuery.browser.mozilla||jQuery.browser.opera){document.addEventListener("DOMContentLoaded",jQuery.ready,false);}else{if(jQuery.browser.msie){document.write("<scr"+"ipt id=__ie_init defer=true "+"src=//:></script>");var P=document.getElementById("__ie_init");if(P){P.onreadystatechange=function(){if(this.readyState!="complete"){return ;}jQuery.ready();};}P=null;}else{if(jQuery.browser.safari){jQuery.safariTimer=setInterval(function(){if(document.readyState=="loaded"||document.readyState=="complete"){clearInterval(jQuery.safariTimer);jQuery.safariTimer=null;jQuery.ready();}},10);}}}jQuery.event.add(window,"load",jQuery.ready);};if(jQuery.browser.msie){jQuery(window).one("unload",function(){var d=jQuery.event.global;for(var p in d){var w=d[p],P=w.length;if(P&&p!="unload"){do{w[P-1]&&jQuery.event.remove(w[P-1],p);}while(--P);}}});}jQuery.fn.extend({loadIfModified:function(P,w,p){this.load(P,w,p,1);},load:function(w,d,S,j){if(jQuery.isFunction(w)){return this.bind("load",w);}S=S||function(){};var p="GET";if(d){if(jQuery.isFunction(d)){S=d;d=null;}else{d=jQuery.param(d);p="POST";}}var P=this;jQuery.ajax({url:w,type:p,data:d,ifModified:j,complete:function(l,y){if(y=="success"||!j&&y=="notmodified"){P.attr("innerHTML",l.responseText).evalScripts().each(S,[l.responseText,y,l]);}else{S.apply(P,[l.responseText,y,l]);}}});return this;},serialize:function(){return jQuery.param(this);},evalScripts:function(){return this.find("script").each(function(){if(this.src){jQuery.getScript(this.src);}else{jQuery.globalEval(this.text||this.textContent||this.innerHTML||"");}}).end();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(P,w){jQuery.fn[w]=function(p){return this.bind(w,p);};});jQuery.extend({get:function(P,p,j,w,d){if(jQuery.isFunction(p)){j=p;p=null;}return jQuery.ajax({type:"GET",url:P,data:p,success:j,dataType:w,ifModified:d});},getIfModified:function(P,p,d,w){return jQuery.get(P,p,d,w,1);},getScript:function(P,w){return jQuery.get(P,null,w,"script");},getJSON:function(P,w,p){return jQuery.get(P,w,p,"json");},post:function(P,p,d,w){if(jQuery.isFunction(p)){d=p;p={};}return jQuery.ajax({type:"POST",url:P,data:p,success:d,dataType:w});},ajaxTimeout:function(P){jQuery.ajaxSettings.timeout=P;},ajaxSetup:function(P){jQuery.extend(jQuery.ajaxSettings,P);},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(p){p=jQuery.extend({},jQuery.ajaxSettings,p);if(p.data){if(p.processData&&typeof p.data!="string"){p.data=jQuery.param(p.data);}if(p.type.toLowerCase()=="get"){p.url+=((p.url.indexOf("?")>-1)?"&":"?")+p.data;p.data=null;}}if(p.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart");}var S=false;var w=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();w.open(p.type,p.url,p.async);if(p.data){w.setRequestHeader("Content-Type",p.contentType);}if(p.ifModified){w.setRequestHeader("If-Modified-Since",jQuery.lastModified[p.url]||"Thu, 01 Jan 1970 00:00:00 GMT");}w.setRequestHeader("X-Requested-With","XMLHttpRequest");if(p.beforeSend){p.beforeSend(w);}if(p.global){jQuery.event.trigger("ajaxSend",[w,p]);}var j=function(y){if(w&&(w.readyState==4||y=="timeout")){S=true;if(P){clearInterval(P);P=null;}var l;try{l=jQuery.httpSuccess(w)&&y!="timeout"?p.ifModified&&jQuery.httpNotModified(w,p.url)?"notmodified":"success":"error";if(l!="error"){var n;try{n=w.getResponseHeader("Last-Modified");}catch(f){}if(p.ifModified&&n){jQuery.lastModified[p.url]=n;}var B=jQuery.httpData(w,p.dataType);if(p.success){p.success(B,l);}if(p.global){jQuery.event.trigger("ajaxSuccess",[w,p]);}}else{jQuery.handleError(p,w,l);}}catch(f){l="error";jQuery.handleError(p,w,l,f);}if(p.global){jQuery.event.trigger("ajaxComplete",[w,p]);}if(p.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop");}if(p.complete){p.complete(w,l);}if(p.async){w=null;}}};var P=setInterval(j,13);if(p.timeout>0){setTimeout(function(){if(w){w.abort();if(!S){j("timeout");}}},p.timeout);}try{w.send(p.data);}catch(d){jQuery.handleError(p,w,null,d);}if(!p.async){j();}return w;},handleError:function(p,w,P,d){if(p.error){p.error(w,P,d);}if(p.global){jQuery.event.trigger("ajaxError",[w,p,d]);}},active:0,httpSuccess:function(P){try{return !P.status&&location.protocol=="file:"||(P.status>=200&&P.status<300)||P.status==304||jQuery.browser.safari&&P.status==undefined;}catch(w){}return false;},httpNotModified:function(p,w){try{var P=p.getResponseHeader("Last-Modified");return p.status==304||P==jQuery.lastModified[w]||jQuery.browser.safari&&p.status==undefined;}catch(d){}return false;},httpData:function(r,type){var ct=r.getResponseHeader("content-type");var data=!type&&ct&&ct.indexOf("xml")>=0;data=type=="xml"||data?r.responseXML:r.responseText;if(type=="script"){jQuery.globalEval(data);}if(type=="json"){data=eval("("+data+")");}if(type=="html"){jQuery("<div>").html(data).evalScripts();}return data;},param:function(P){var p=[];if(P.constructor==Array||P.jquery){jQuery.each(P,function(){p.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});}else{for(var w in P){if(P[w]&&P[w].constructor==Array){jQuery.each(P[w],function(){p.push(encodeURIComponent(w)+"="+encodeURIComponent(this));});}else{p.push(encodeURIComponent(w)+"="+encodeURIComponent(P[w]));}}}return p.join("&");},globalEval:function(data){if(window.execScript){window.execScript(data);}else{if(jQuery.browser.safari){window.setTimeout(data,0);}else{eval.call(window,data);}}}});jQuery.fn.extend({show:function(P,w){return P?this.animate({height:"show",width:"show",opacity:"show"},P,w):this.filter(":hidden").each(function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none"){this.style.display="block";}}).end();},hide:function(P,w){return P?this.animate({height:"hide",width:"hide",opacity:"hide"},P,w):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");if(this.oldblock=="none"){this.oldblock="block";}this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(w,P){return jQuery.isFunction(w)&&jQuery.isFunction(P)?this._toggle(w,P):w?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},w,P):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(P,w){return this.animate({height:"show"},P,w);},slideUp:function(P,w){return this.animate({height:"hide"},P,w);},slideToggle:function(P,w){return this.animate({height:"toggle"},P,w);},fadeIn:function(P,w){return this.animate({opacity:"show"},P,w);},fadeOut:function(P,w){return this.animate({opacity:"hide"},P,w);},fadeTo:function(P,p,w){return this.animate({opacity:p},P,w);},animate:function(d,P,p,w){return this.queue(function(){var y=jQuery(this).is(":hidden"),S=jQuery.speed(P,p,w),j=this;for(var l in d){if(d[l]=="hide"&&y||d[l]=="show"&&!y){return jQuery.isFunction(S.complete)&&S.complete.apply(this);}if(l=="height"||l=="width"){S.display=jQuery.css(this,"display");S.overflow=this.style.overflow;}}if(S.overflow!=null){this.style.overflow="hidden";}this.curAnim=jQuery.extend({},d);jQuery.each(d,function(n,f){var B=new jQuery.fx(j,S,n);if(f.constructor==Number){B.custom(B.cur(),f);}else{B[f=="toggle"?y?"show":"hide":f](d);}});});},queue:function(w,P){if(!P){P=w;w="fx";}return this.each(function(){if(!this.queue){this.queue={};}if(!this.queue[w]){this.queue[w]=[];}this.queue[w].push(P);if(this.queue[w].length==1){P.apply(this);}});}});jQuery.extend({speed:function(p,d,w){var P=p&&p.constructor==Object?p:{complete:w||!w&&d||jQuery.isFunction(p)&&p,duration:p,easing:w&&d||d&&d.constructor!=Function&&d||(jQuery.easing.swing?"swing":"linear")};P.duration=(P.duration&&P.duration.constructor==Number?P.duration:{slow:600,fast:200}[P.duration])||400;P.old=P.complete;P.complete=function(){jQuery.dequeue(this,"fx");if(jQuery.isFunction(P.old)){P.old.apply(this);}};return P;},easing:{linear:function(d,j,P,w){return P+w*d;},swing:function(d,j,P,w){return ((-Math.cos(d*Math.PI)/2)+0.5)*w+P;}},queue:{},dequeue:function(w,P){P=P||"fx";if(w.queue&&w.queue[P]){w.queue[P].shift();var p=w.queue[P][0];if(p){p.apply(w);}}},timers:[],fx:function(w,P,j){var p=this;var d=w.style;p.a=function(){if(P.step){P.step.apply(w,[p.now]);}if(j=="opacity"){jQuery.attr(d,"opacity",p.now);}else{d[j]=parseInt(p.now)+"px";d.display="block";}};p.max=function(){return parseFloat(jQuery.css(w,j));};p.cur=function(){var S=parseFloat(jQuery.curCSS(w,j));return S&&S>-10000?S:p.max();};p.custom=function(l,y){p.startTime=(new Date()).getTime();p.now=l;p.a();jQuery.timers.push(function(){return p.step(l,y);});if(jQuery.timers.length==1){var S=setInterval(function(){var B=jQuery.timers;for(var n=0;n<B.length;n++){if(!B[n]()){B.splice(n--,1);}}if(!B.length){clearInterval(S);}},13);}};p.show=function(){if(!w.orig){w.orig={};}w.orig[j]=jQuery.attr(w.style,j);P.show=true;p.custom(0,this.cur());if(j!="opacity"){d[j]="1px";}jQuery(w).show();};p.hide=function(){if(!w.orig){w.orig={};}w.orig[j]=jQuery.attr(w.style,j);P.hide=true;p.custom(this.cur(),0);};p.step=function(l,S){var f=(new Date()).getTime();if(f>P.duration+p.startTime){p.now=S;p.a();if(w.curAnim){w.curAnim[j]=true;}var y=true;for(var B in w.curAnim){if(w.curAnim[B]!==true){y=false;}}if(y){if(P.display!=null){d.overflow=P.overflow;d.display=P.display;if(jQuery.css(w,"display")=="none"){d.display="block";}}if(P.hide){d.display="none";}if(P.hide||P.show){for(var k in w.curAnim){jQuery.attr(d,k,w.orig[k]);}}}if(y&&jQuery.isFunction(P.complete)){P.complete.apply(w);}return false;}else{var o=f-this.startTime;var k=o/P.duration;p.now=jQuery.easing[P.easing](k,o,l,(S-l),P.duration);p.a();}return true;};}});}