﻿window.undefined=window.undefined;function jQuery(a,b){if(a&&a.jquery)return a;if(window==this)return new jQuery(a,b);this.cur=jQuery.Select(a||jQuery.context||document,b&&b.jquery&&b.get(0)||b)}if(!window.$)var $=jQuery;else var $=function(a,c){if(!c&&a.constructor==String&&!/[^a-zA-Z0-9_-]/.test(a)&&!document.getElementsByTagName(a).length){var b=document.getElementById(a);if(b)return b}return jQuery(a,c)};jQuery.fn=jQuery.prototype={jquery:"$Rev: 110 $",size:function(){return this.get().length},"get":function(a){return a==undefined?this.cur:this.cur[a]},each:function(b){for(var a=0;a<this.size();a++)b.apply(this.get(a),[a]);return this},"set":function(a,b){return this.each(function(){if(b===undefined)for(var c in a)jQuery.attr(this,c,a[c]);else jQuery.attr(this,a,b)})},html:function(a){return a==undefined&&this.size()?this.get(0).innerHTML:this.set("innerHTML",a)},val:function(a){return a==undefined&&this.size()?this.get(0).value:this.set("value",a)},text:function(a){a=a||this.get();var d="";for(var b=0;b<a.length;b++)for(var c=0;c<a[b].childNodes.length;c++)d+=a[b].childNodes[c].nodeType!=1?a[b].childNodes[c].nodeValue:jQuery.fn.text(a[b].childNodes[c].childNodes);return d},css:function(a,b){return a.constructor!=String||b?this.each(function(){if(b===undefined)for(var c in a)jQuery.attr(this.style,c,a[c]);else jQuery.attr(this.style,a,b)}):jQuery.css(this.get(0),a)},toggle:function(){return this.each(function(){var a=jQuery.css(this,"display");if(!a||a=="none")$(this).show();else $(this).hide()})},show:function(){return this.each(function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none")this.style.display="block"})},hide:function(){return this.each(function(){this.oldblock=jQuery.css(this,"display");if(this.oldblock=="none")this.oldblock="block";this.style.display="none"})},addClass:function(a){return this.each(function(){jQuery.className.add(this,a)})},removeClass:function(a){return this.each(function(){jQuery.className.remove(this,a)})},toggleClass:function(a){return this.each(function(){if(jQuery.hasWord(this,a))jQuery.className.remove(this,a);else jQuery.className.add(this,a)})},remove:function(){this.each(function(){this.parentNode.removeChild(this)});return this.pushStack([])},wrap:function(){var a=jQuery.clean(arguments);return this.each(function(){var b=a[0].cloneNode(true);this.parentNode.insertBefore(b,this);while(b.firstChild)b=b.firstChild;b.appendChild(this)})},append:function(){var b=this.size()>1,a=jQuery.clean(arguments);return this.domManip(function(){for(var c=0;c<a.length;c++)this.appendChild(b?a[c].cloneNode(true):a[c])})},appendTo:function(){var a=arguments;return this.each(function(){for(var b=0;b<a.length;b++)$(a[b]).append(this)})},prepend:function(){var b=this.size()>1,a=jQuery.clean(arguments);return this.domManip(function(){for(var c=a.length-1;c>=0;c--)this.insertBefore(b?a[c].cloneNode(true):a[c],this.firstChild)})},before:function(){var b=this.size()>1,a=jQuery.clean(arguments);return this.each(function(){for(var c=0;c<a.length;c++)this.parentNode.insertBefore(b?a[c].cloneNode(true):a[c],this)})},after:function(){var b=this.size()>1,a=jQuery.clean(arguments);return this.each(function(){for(var c=a.length-1;c>=0;c--)this.parentNode.insertBefore(b?a[c].cloneNode(true):a[c],this.nextSibling)})},empty:function(){return this.each(function(){while(this.firstChild)this.removeChild(this.firstChild)})},bind:function(b,a){return this.each(function(){jQuery.event.add(this,b,a)})},unbind:function(b,a){return this.each(function(){jQuery.event.remove(this,b,a)})},trigger:function(a){return this.each(function(){jQuery.event.trigger(this,a)})},pushStack:function(a){if(!this.stack)this.stack=[];this.stack.unshift(this.cur);if(a)this.cur=a;return this},find:function(b){var a=[];this.each(function(){a=jQuery.merge(a,jQuery.Select(b,this))});this.pushStack(a);return this},end:function(){this.cur=this.stack.shift();return this},parent:function(b){var a=jQuery.map(this.cur,"d.parentNode");if(b)a=jQuery.filter(b,a).r;return this.pushStack(a)},parents:function(b){var a=jQuery.map(this.cur,jQuery.parents);if(b)a=jQuery.filter(b,a).r;return this.pushStack(a)},siblings:function(b){var a=jQuery.map(this.cur,jQuery.sibling);if(b)a=jQuery.filter(b,a).r;return this.pushStack(a)},filter:function(a){return this.pushStack(jQuery.filter(a,this.cur).r)},not:function(a){return this.pushStack(a.constructor==String?jQuery.filter(a,this.cur,false).r:jQuery.grep(this.cur,function(b){return b!=a}))},add:function(a){return this.pushStack(jQuery.merge(this.cur,a.constructor==String?jQuery.Select(a):a.constructor==Array?a:[a]))},is:function(a){return jQuery.filter(a,this.cur).r.length>0},domManip:function(a){return this.each(function(){var b=this;if(this.nodeName=="TABLE"){var c=this.getElementsByTagName("tbody");if(!c.length){b=document.createElement("tbody");this.appendChild(b)}else b=c[0]}a.apply(b)})}};jQuery.className={add:function(a,b){if(jQuery.hasWord(a,b))return;a.className+=(a.className?" ":"")+b},remove:function(b,a){b.className=!a?"":b.className.replace(new RegExp("(^|\\s*\\b[^-])"+a+"($|\\b(?=[^-]))","g"),"")}};(function(){var a=navigator.userAgent.toLowerCase();jQuery.browser=/webkit/.test(a)&&"safari"||/opera/.test(a)&&"opera"||/msie/.test(a)&&"msie"||!/compatible/.test(a)&&"mozilla"||"other";jQuery.boxModel=jQuery.browser!="msie"||document.compatMode=="CSS1Compat"})();jQuery.css=function(a,b){if(b=="height"||b=="width"){var g=(!jQuery.boxModel?0:jQuery.css(a,"paddingTop")+jQuery.css(a,"paddingBottom")+jQuery.css(a,"borderTopWidth")+jQuery.css(a,"borderBottomWidth"))||0,h=(!jQuery.boxModel?0:jQuery.css(a,"paddingLeft")+jQuery.css(a,"paddingRight")+jQuery.css(a,"borderLeftWidth")+jQuery.css(a,"borderRightWidth"))||0,e,f;if(jQuery.css(a,"display")!="none"){e=a.offsetHeight||parseInt(a.style.height)||0;f=a.offsetWidth||parseInt(a.style.width)||0}else{var c=a.style,l=c.visibility,k=c.position,j=c.display;c.visibility="hidden";c.position="absolute";c.display="";e=a.clientHeight||parseInt(a.style.height);f=a.clientWidth||parseInt(a.style.width);c.display=j;c.position=k;c.visibility=l}return b=="height"?e-g<0?0:e-g:f-h<0?0:f-h}var d;if(a.style[b])d=a.style[b];else if(a.currentStyle)d=a.currentStyle[b];else if(document.defaultView&&document.defaultView.getComputedStyle){b=b.replace(/([A-Z])/g,"-$1").toLowerCase();var i=document.defaultView.getComputedStyle(a,"");d=i?i.getPropertyValue(b):null}return /top|right|left|bottom/i.test(b)?parseFloat(d):d};jQuery.clean=function(b){var d=[];for(var a=0;a<b.length;a++)if(b[a].constructor==String){if(!b[a].indexOf("<tr")){var h=true;b[a]="<table>"+b[a]+"</table>"}else if(!b[a].indexOf("<td")||!b[a].indexOf("<th")){var g=true;b[a]="<table><tbody><tr>"+b[a]+"</tr></tbody></table>"}var c=document.createElement("div");c.innerHTML=b[a];if(h||g){c=c.firstChild.firstChild;if(g)c=c.firstChild}for(var e=0;e<c.childNodes.length;e++)d[d.length]=c.childNodes[e]}else if(b[a].length&&!b[a].nodeType)for(var f=0;f<b[a].length;f++)d[d.length]=b[a][f];else if(b[a]!==null)d[d.length]=b[a].nodeType?b[a]:document.createTextNode(b[a].toString());return d};jQuery.g={"":"m[2]== '*'||a.nodeName.toUpperCase()==m[2].toUpperCase()","#":"a.getAttribute('id')&&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==1","first-child":"jQuery.sibling(a,0).cur","nth-child":"(m[3]=='even'?jQuery.sibling(a,m[3]).n%2==0:(m[3]=='odd'?jQuery.sibling(a,m[3]).n%2==1:jQuery.sibling(a,m[3]).cur))","last-child":"jQuery.sibling(a,0,true).cur","nth-last-child":"jQuery.sibling(a,m[3],true).cur","first-of-type":"jQuery.ofType(a,0)","nth-of-type":"jQuery.ofType(a,m[3])","last-of-type":"jQuery.ofType(a,0,true)","nth-last-of-type":"jQuery.ofType(a,m[3],true)","only-of-type":"jQuery.ofType(a)==1","only-child":"jQuery.sibling(a).length==1",parent:"a.childNodes.length",empty:"!a.childNodes.length",root:"a==(a.ownerDocument||document).documentElement",contains:"(a.innerText||a.innerHTML).indexOf(m[3])!=-1",visible:"(!a.type||a.type!='hidden')&&(jQuery.css(a,'display')!='none'&&jQuery.css(a,'visibility')!= 'hidden')",hidden:"(a.type&&a.type=='hidden')||jQuery.css(a,'display')=='none'||jQuery.css(a,'visibility')== 'hidden'",enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked"},".":"jQuery.hasWord(a,m[2])","@":{"=":"jQuery.attr(a,m[3])==m[4]","!=":"jQuery.attr(a,m[3])!=m[4]","~=":"jQuery.hasWord(jQuery.attr(a,m[3]),m[4])","|=":"!jQuery.attr(a,m[3]).indexOf(m[4])","^=":"!jQuery.attr(a,m[3]).indexOf(m[4])","$=":"jQuery.attr(a,m[3]).substr( jQuery.attr(a,m[3]).length - m[4].length,m[4].length )==m[4]","*=":"jQuery.attr(a,m[3]).indexOf(m[4])>=0","":"m[3]=='*'?a.attributes.length>0:jQuery.attr(a,m[3])"},"[":"jQuery.Select(m[2],a).length"};jQuery.token=["\\.\\.|/\\.\\.","a.parentNode",">|/","jQuery.sibling(a.firstChild)","\\+","jQuery.sibling(a).next","~",function(d){var c=[],a=jQuery.sibling(d);if(a.n>0)for(var b=a.n;b<a.length;b++)c[c.length]=a[b];return c}];jQuery.Select=function(a,c){c=c||jQuery.context||document;if(a.constructor!=String)return a.constructor==Array?a:[a];if(!a.indexOf("//")){c=c.documentElement;a=a.substr(2,a.length)}else if(!a.indexOf("/")){c=c.documentElement;a=a.substr(1,a.length);if(a.indexOf("/")>=1)a=a.substr(a.indexOf("/"),a.length)}var b=[c],g=[],i=null;while(a.length>0&&i!=a){var f=[];i=a;a=jQuery.cleanSpaces(a).replace(/^\/\//i,"");var h=false;for(var d=0;d<jQuery.token.length;d+=2){var m=new RegExp("^("+jQuery.token[d]+")"),e=m.exec(a);if(e){f=b=jQuery.map(b,jQuery.token[d+1]);a=jQuery.cleanSpaces(a.replace(m,""));h=true}}if(!h)if(!a.indexOf(",")||!a.indexOf("|")){if(b[0]==c)b.shift();g=jQuery.merge(g,b);f=b=[c];a=" "+a.substr(1,a.length)}else{var k=/^([#.]?)([a-z0-9\\*_-]*)/i,e=k.exec(a);if(e[1]=="#"){var j=document.getElementById(e[2]);f=b=j?[j]:[];a=a.replace(k,"")}else{if(!e[2]||e[1]==".")e[2]="*";for(var d=0;d<b.length;d++)f=jQuery.merge(f,e[2]=="*"?jQuery.getAll(b[d]):b[d].getElementsByTagName(e[2]))}}if(a){var l=jQuery.filter(a,f);b=f=l.r;a=jQuery.cleanSpaces(l.t)}}if(b&&b[0]==c)b.shift();g=jQuery.merge(g,b);return g};jQuery.getAll=function(d,a){a=a||[];var c=d.childNodes;for(var b=0;b<c.length;b++)if(c[b].nodeType==1){a[a.length]=c[b];jQuery.getAll(c[b],a)}return a};jQuery.attr=function(b,a,d){if(a&&a.constructor==String){var c={"for":"htmlFor","class":"className","float":"cssFloat"};a=c[a]&&c[a].replace&&c[a]||a;var e=/-([a-z])/ig;a=a.replace(e,function(b,a){return a.toUpperCase()});if(d!=undefined){b[a]=d;if(b.setAttribute&&a!="disabled")b.setAttribute(a,d)}return b[a]||b.getAttribute(a)||""}else return ""};jQuery.filter=function(t,r,not){var g=jQuery.grep;if(not===false)g=function(a,b){return jQuery.grep(a,b,true)};while(t&&t.match(/^[:\\.#\\[a-zA-Z\\*]/)){var re=/^\[ *@([a-z0-9*()_-]+) *([~!|*$^=]*) *'?"?([^'"]*)'?"? *\]/i,m=re.exec(t);if(m)m=["","@",m[2],m[1],m[3]];else{re=/^(\[) *([^\]]*) *\]/i;m=re.exec(t);if(!m){re=/^(:)([a-z0-9*_-]*)\( *["']?([^ \)'"]*)['"]? *\)/i;m=re.exec(t);if(!m){re=/^([:\.#]*)([a-z0-9*_-]*)/i;m=re.exec(t)}}}t=t.replace(re,"");if(m[1]==":"&&m[2]=="not")r=jQuery.filter(m[3],r,false).r;else{var f=null;if(jQuery.g[m[1]].constructor==String)f=jQuery.g[m[1]];else if(jQuery.g[m[1]][m[2]])f=jQuery.g[m[1]][m[2]];if(f){eval("f = function(a,i){return "+f+"}");r=g(r,f)}}}return {r:r,t:t}};jQuery.parents=function(c){var b=[],a=c.parentNode;while(a&&a!=document){b[b.length]=a;a=a.parentNode}return b};jQuery.cleanSpaces=function(a){return a.replace(/^\s+|\s+$/g,"")};jQuery.ofType=function(b,a,d){var c=jQuery.grep(jQuery.sibling(b),function(a){return a.nodeName==b.nodeName});if(d)a=c.length-a-1;return a!=undefined?c[a]==b:c.length};jQuery.sibling=function(d,e,f){var a=[],c=d.parentNode.childNodes;for(var b=0;b<c.length;b++){if(c[b].nodeType==1)a[a.length]=c[b];if(c[b]==d)a.n=a.length-1}if(f)e=a.length-e-1;a.cur=a[e]==d;a.prev=a.n>0?a[a.n-1]:null;a.next=a.n<a.length-1?a[a.n+1]:null;return a};jQuery.hasWord=function(a,b){if(a==undefined)return;if(a.className)a=a.className;return (new RegExp("(^|\\s)"+b+"(\\s|$)")).test(a)};jQuery.merge=function(e,a){var b=[];for(var d=0;d<a.length;d++)b[d]=a[d];for(var c=0;c<e.length;c++){var g=true;for(var f=0;f<a.length;f++)if(e[c]==a[f])g=false;if(g)b[b.length]=e[c]}return b};jQuery.grep=function(b,c,e){if(c.constructor==String)c=new Function("a","i","return "+c);var d=[];if(b)for(var a=0;a<b.length;a++)if(!e&&c(b[a],a)||e&&!c(b[a],a))d[d.length]=b[a];return d};jQuery.map=function(e,b){if(b.constructor==String)b=new Function("a","return "+b);var d=[];for(var c=0;c<e.length;c++){var a=b(e[c],c);if(a!==null){if(a.constructor!=Array)a=[a];d=jQuery.merge(a,d)}}return d};jQuery.event={add:function(a,b,d){if(jQuery.browser=="msie"&&a.setInterval!=undefined)a=window;if(!d.guid)d.guid=jQuery.event.guid++;if(!a.events)a.events={};var c=a.events[b];if(!c){c=a.events[b]={};if(a["on"+b])c[0]=a["on"+b]}c[d.guid]=d;a["on"+b]=jQuery.event.handle},guid:1,remove:function(a,b,c){if(a.events)if(b&&a.events[b])if(c)delete a.events[b][c.guid];else for(var d in a.events[b])delete a.events[b][d];else for(var e in a.events)jQuery.event.remove(a,e)},trigger:function(a,c,b){b=b||[jQuery.event.fix({type:c})];if(a&&a["on"+c])a["on"+c].apply(a,b)},handle:function(a){if(!a&&!window.event)return;var d=true,b=[];a=a||jQuery.event.fix(window.event);for(var e in this.events[a.type])b[b.length]=this.events[a.type][e];for(var c=0;c<b.length;c++)if(b[c].constructor==Function){this.handleEvent=b[c];if(this.handleEvent(a)===false){a.preventDefault();a.stopPropagation();d=false}}return d},fix:function(a){a.preventDefault=function(){this.returnValue=false};a.stopPropagation=function(){this.cancelBubble=true};return a}};jQuery.prototype._toggle=jQuery.prototype.toggle;jQuery.prototype.toggle=function(a,b){return a&&b?this.click(function(c){this.last=this.last==a?b:a;c.preventDefault();return this.last.apply(this,[c])||false}):this._toggle()};jQuery.prototype.hover=function(b,c){function a(a){var d=a.fromElement||a.toElement||a.relatedTarget;while(d&&d!=this)d=d.parentNode;if(d==this)return false;return (a.type=="mouseover"?b:c).apply(this,[a])}return this.mouseover(a).mouseout(a)};jQuery.prototype.ready=function(a){if(jQuery.isReady)a.apply(document);else jQuery.readyList.push(a);return this};(function(){var c="blur,focus,contextmenu,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mouseenter,mouseleave,mousemove,mouseover,mouseout,change,reset,select,submit,keydown,keypress,keyup".split(",");for(var a=0;a<c.length;a++)(function(){var b=c[a];jQuery.prototype[b]=function(a){return this.bind(b,a)};jQuery.prototype["un"+b]=function(a){return this.unbind(b,a)};jQuery.prototype["do"+b]=function(){return this.trigger(b)};jQuery.prototype["one"+b]=function(a){return this.bind(b,function(c){if(this[b+a]!==null)return true;this[b+a]++;return a.apply(this,[c])})}})();jQuery.isReady=false;jQuery.readyList=[];jQuery.ready=function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){for(var a=0;a<jQuery.readyList.length;a++)jQuery.readyList[a].apply(document);jQuery.readyList=null}}};if(jQuery.browser=="mozilla"||jQuery.browser=="opera")jQuery.event.add(document,"DOMContentLoaded",jQuery.ready);else if(jQuery.browser=="msie"){document.write("<script id=__ie_init defer=true "+("src=javascript:void(0)></sc"+"ript>"));var b=document.getElementById("__ie_init");b.onreadystatechange=function(){if(this.readyState=="complete")jQuery.ready()};b=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)})();jQuery.prototype._show=jQuery.prototype.show;jQuery.prototype.show=function(a,b){return a?this.animate({height:"show",width:"show",opacity:"show"},a,b):this._show()};jQuery.prototype._hide=jQuery.prototype.hide;jQuery.prototype.hide=function(a,b){return a?this.animate({height:"hide",width:"hide",opacity:"hide"},a,b):this._hide()};jQuery.prototype.slideDown=function(b,a){return this.animate({height:"show"},b,a)};jQuery.prototype.slideUp=function(b,a){return this.animate({height:"hide"},b,a)};jQuery.prototype.fadeIn=function(b,a){return this.animate({opacity:"show"},b,a)};jQuery.prototype.fadeOut=function(b,a){return this.animate({opacity:"hide"},b,a)};jQuery.prototype.fadeTo=function(b,c,a){return this.animate({opacity:c},b,a)};jQuery.prototype.animate=function(a,c,b){return this.queue(function(){var f=0;for(var d in a){var e=new jQuery.fx(this,jQuery.speed(c,b,f++),d);if(a[d].constructor==Number)e.custom(e.cur(),a[d]);else e[a[d]]()}})};jQuery.speed=function(b,a,d){a=a||{};if(a.constructor==Function)a={complete:a};var c={slow:600,fast:200};a.duration=(b&&b.constructor==Number?b:c[b])||400;a.oldComplete=a.complete;a.complete=function(){jQuery.dequeue(this,"fx");if(a.oldComplete&&a.oldComplete.constructor==Function)a.oldComplete.apply(this)};if(d>0)a.complete=null;return a};jQuery.queue={};jQuery.dequeue=function(a,b){b=b||"fx";if(a.queue&&a.queue[b]){a.queue[b].shift();var c=a.queue[b][0];if(c)c.apply(a)}};jQuery.prototype.queue=function(a,b){if(!b){b=a;a="fx"}return this.each(function(){if(!this.queue)this.queue={};if(!this.queue[a])this.queue[a]=[];this.queue[a].push(b);if(this.queue[a].length==1)b.apply(this)})};jQuery.setAuto=function(a,b){var c=a.style[b],e=jQuery.css(a,b);a.style[b]="auto";var d=jQuery.css(a,b);if(e!=d)a.style[b]=c};jQuery.fx=function(e,d,c){var a=this;a.o={duration:d.duration||400,complete:d.complete};a.el=e;var b=a.el.style;a.a=function(){if(c=="opacity"){if(a.now==1)a.now=.9999;if(window.ActiveXObject)b.filter="alpha(opacity="+a.now*100+")";b.opacity=a.now}else b[c]=a.now+"px"};a.max=function(){return a.el["orig"+c]||a.cur()};a.cur=function(){return parseFloat(jQuery.css(a.el,c))};a.custom=function(b,c){a.startTime=(new Date).getTime();a.now=b;a.a();a.timer=setInterval(function(){a.step(b,c)},13)};a.show=function(){b.display="block";a.o.auto=true;a.custom(0,a.max())};a.hide=function(){a.el["orig"+c]=this.cur();a.custom(a.cur(),0)};if(jQuery.browser=="msie"&&!a.el.currentStyle.hasLayout)b.zoom=1;a.oldOverflow=b.overflow;b.overflow="hidden";a.step=function(d,e){var f=(new Date).getTime();if(f>a.o.duration+a.startTime){clearInterval(a.timer);a.timer=null;a.now=e;a.a();b.overflow=a.oldOverflow;if((c=="height"||c=="width")&&a.o.auto)jQuery.setAuto(a.el,c);if(a.o.complete.constructor==Function){if(b.height=="0px"||b.width=="0px")b.display="none";a.o.complete.apply(a.el)}}else{var g=(f-this.startTime)/a.o.duration;a.now=(-Math.cos(g*Math.PI)/2+.5)*(e-d)+d;a.a()}}};jQuery.prototype.load=function(url,params,callback){if(url&&url.constructor==Function)return this.bind("load",url);var type="GET";if(params)if(params.constructor==Function){callback=params;params=null}else{params=jQuery.param(params);type="POST"}var self=this;jQuery.ajax(type,url,params,function(res){self.html(res.responseText).each(function(){if(callback&&callback.constructor==Function)callback.apply(self,[res.responseText])});$("script",self).each(function(){eval(this.text||this.textContent||this.innerHTML||"")})});return this};jQuery.get=function(c,a,b){jQuery.ajax("GET",c,null,function(c){if(a)a(jQuery.httpData(c,b))})};jQuery.post=function(d,b,a,c){jQuery.ajax("POST",d,jQuery.param(b),function(b){if(a)a(jQuery.httpData(b,c))})};if(jQuery.browser=="msie")XMLHttpRequest=function(){return new ActiveXObject(navigator.userAgent.toLowerCase().indexOf("msie 5")>=0?"Microsoft.XMLHTTP":"Msxml2.XMLHTTP")};(function(){var b="ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess".split(",");for(var a=0;a<b.length;a++)(function(){var c=b[a];jQuery.fn[c]=function(a){return this.bind(c,a)}})()})();jQuery.ajax=function(b,e,c,d){if(!e){d=b.complete;var f=b.success,g=b.error;c=b.data;e=b.url;b=b.type}if(!jQuery.ajax.active++)jQuery.event.trigger("ajaxStart");var a=new XMLHttpRequest;a.open(b||"GET",e,true);if(c)a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.setRequestHeader("X-Requested-With","XMLHttpRequest");if(a.overrideMimeType)a.setRequestHeader("Connection","close");a.onreadystatechange=function(){if(a.readyState==4){if(jQuery.httpSuccess(a)){if(f)f(a);jQuery.event.trigger("ajaxSuccess")}else{if(g)g(a);jQuery.event.trigger("ajaxError")}jQuery.event.trigger("ajaxComplete");if(!--jQuery.ajax.active)jQuery.event.trigger("ajaxStop");if(d)d(a)}};a.send(c)};jQuery.ajax.active=0;jQuery.httpSuccess=function(a){return a.status&&(a.status>=200&&a.status<300)||a.status==304||!a.status&&location.protocol=="file:"};jQuery.httpData=function(a,b){return a.getResponseHeader("content-type").indexOf("xml")>0||b=="xml"?a.responseXML:a.responseText};jQuery.param=function(a){var c=[];if(a.constructor==Array)for(var b=0;b<a.length;b++)c.push(a[b].name+"="+encodeURIComponent(a[b].value));else for(var d in a)c.push(d+"="+encodeURIComponent(a[d]));return c.join("&")}