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