if(typeof window.jQuery=="undefined"){window.undefined=window.undefined;var jQuery=function(a,c){if(a&&typeof a=="function"&&jQuery.fn.ready&&!a.nodeType&&a[0]==undefined)return jQuery(document).ready(a);a=a||document;if(a.jquery)return jQuery(jQuery.merge(a,[]));if(c&&c.jquery)return jQuery(c).find(a);if(window==this)return new jQuery(a,c);if(typeof a=="string"){var m=/^[^<]*(<.+>)[^>]*$/.exec(a);if(m)a=jQuery.clean([m[1]])}this.set(a.constructor==Array||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType?jQuery.merge(a,[]):jQuery.find(a,c));var b=arguments[arguments.length-1];if(b&&typeof b=="function")this.each(b);return this};if(typeof $!="undefined")jQuery._$=$;var $=jQuery;jQuery.fn=jQuery.prototype={jquery:"1.0.4",size:function(){return this.length},get:function(a){return a==undefined?jQuery.merge(this,[]):this[a]},set:function(a){this.length=0;[].push.apply(this,a);return this},each:function(a,b){return jQuery.each(this,a,b)},index:function(a){var b=-1;this.each(function(i){if(this==a)b=i});return b},attr:function(b,c,d){return b.constructor!=String||c!=undefined?this.each(function(){if(c==undefined)for(var a in b)jQuery.attr(d?this.style:this,a,b[a]);else jQuery.attr(d?this.style:this,b,c)}):jQuery[d||"attr"](this[0],b)},css:function(a,b){return this.attr(a,b,"curCSS")},text:function(e){e=e||this;var t="";for(var j=0;j<e.length;j++){var r=e[j].childNodes;for(var i=0;i<r.length;i++)if(r[i].nodeType!=8)t+=r[i].nodeType!=1?r[i].nodeValue:jQuery.fn.text([r[i]])}return t},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(){return this.domManip(arguments,true,1,function(a){this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,-1,function(a){this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,1,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,-1,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){if(!(this.stack&&this.stack.length))return this;return this.set(this.stack.pop())},find:function(t){return this.pushStack(jQuery.map(this,function(a){return jQuery.find(t,a)}),arguments)},clone:function(b){return this.pushStack(jQuery.map(this,function(a){return a.cloneNode(b!=undefined?b:true)}),arguments)},filter:function(t){return this.pushStack(t.constructor==Array&&jQuery.map(this,function(a){for(var i=0;i<t.length;i++)if(jQuery.filter(t[i],[a]).r.length)return a;return null})||t.constructor==Boolean&&(t?this.get():[])||typeof t=="function"&&jQuery.grep(this,t)||jQuery.filter(t,this).r,arguments)},not:function(t){return this.pushStack(typeof t=="string"?jQuery.filter(t,this,false).r:jQuery.grep(this,function(a){return a!=t}),arguments)},add:function(t){return this.pushStack(jQuery.merge(this,typeof t=="string"?jQuery.find(t):t.constructor==Array?t:[t]),arguments)},is:function(a){return a?jQuery.filter(a,this).r.length>0:false},domManip:function(d,e,f,g){var h=this.size()>1;var a=jQuery.clean(d);return this.each(function(){var b=this;if(e&&this.nodeName.toUpperCase()=="TABLE"&&a[0].nodeName.toUpperCase()!="THEAD"){var c=this.getElementsByTagName("tbody");if(!c.length){b=document.createElement("tbody");this.appendChild(b)}else b=c[0]}for(var i=(f<0?a.length-1:0);i!=(f<0?f:a.length);i+=f){g.apply(b,[h?a[i].cloneNode(true):a[i]])}})},pushStack:function(a,b){var c=b&&b[b.length-1];var d=b&&b[b.length-2];if(c&&c.constructor!=Function)c=null;if(d&&d.constructor!=Function)d=null;if(!c){if(!this.stack)this.stack=[];this.stack.push(this.get());this.set(a)}else{var e=this.get();this.set(a);if(d&&a.length||!d)this.each(d||c).set(e);else this.set(e).each(c)}return this}};jQuery.extend=jQuery.fn.extend=function(){var b=arguments[0],a=1;if(arguments.length==1){b=this;a=0}var c;while(c=arguments[a++])for(var i in c)b[i]=c[i];return b};jQuery.extend({init:function(){jQuery.initDone=true;jQuery.each(jQuery.macros.axis,function(i,n){jQuery.fn[i]=function(a){var b=jQuery.map(this,n);if(a&&typeof a=="string")b=jQuery.filter(a,b).r;return this.pushStack(b,arguments)}});jQuery.each(jQuery.macros.to,function(i,n){jQuery.fn[i]=function(){var a=arguments;return this.each(function(){for(var j=0;j<a.length;j++)jQuery(a[j])[n](this)})}});jQuery.each(jQuery.macros.each,function(i,n){jQuery.fn[i]=function(){return this.each(n,arguments)}});jQuery.each(jQuery.macros.filter,function(i,n){jQuery.fn[n]=function(a,b){return this.filter(":"+n+"("+a+")",b)}});jQuery.each(jQuery.macros.attr,function(i,n){n=n||i;jQuery.fn[i]=function(h){return h==undefined?this.length?this[0][n]:null:this.attr(n,h)}});jQuery.each(jQuery.macros.css,function(i,n){jQuery.fn[n]=function(h){return h==undefined?(this.length?jQuery.css(this[0],n):null):this.css(n,h)}})},each:function(a,b,c){if(a.length==undefined)for(var i in a)b.apply(a[i],c||[i,a[i]]);else for(var i=0;i<a.length;i++)if(b.apply(a[i],c||[i,a[i]])===false)break;return a},className:{add:function(o,c){if(jQuery.className.has(o,c))return;o.className+=(o.className?" ":"")+c},remove:function(o,c){if(!c){o.className=""}else{var a=o.className.split(" ");for(var i=0;i<a.length;i++){if(a[i]==c){a.splice(i,1);break}}o.className=a.join(' ')}},has:function(e,a){if(e.className!=undefined)e=e.className;return new RegExp("(^|\\s)"+a+"(\\s|$)").test(e)}},swap:function(e,o,f){for(var i in o){e.style["old"+i]=e.style[i];e.style[i]=o[i]}f.apply(e,[]);for(var i in o)e.style[i]=e.style["old"+i]},css:function(e,p){if(p=="height"||p=="width"){var b={},oHeight,oWidth,d=["Top","Bottom","Right","Left"];for(var i=0;i<d.length;i++){b["padding"+d[i]]=0;b["border"+d[i]+"Width"]=0}jQuery.swap(e,b,function(){if(jQuery.css(e,"display")!="none"){oHeight=e.offsetHeight;oWidth=e.offsetWidth}else{e=jQuery(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];var a=jQuery.css(e.parentNode,"position");if(a==""||a=="static")e.parentNode.style.position="relative";oHeight=e.clientHeight;oWidth=e.clientWidth;if(a==""||a=="static")e.parentNode.style.position="static";e.parentNode.removeChild(e)}});return p=="height"?oHeight:oWidth}return jQuery.curCSS(e,p)},curCSS:function(a,b,d){var e;if(b=='opacity'&&jQuery.browser.msie)return jQuery.attr(a.style,'opacity');if(b=="float"||b=="cssFloat")b=jQuery.browser.msie?"styleFloat":"cssFloat";if(!d&&a.style[b]){e=a.style[b]}else if(document.defaultView&&document.defaultView.getComputedStyle){if(b=="cssFloat"||b=="styleFloat")b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();var f=document.defaultView.getComputedStyle(a,null);if(f)e=f.getPropertyValue(b);else if(b=='display')e='none';else jQuery.swap(a,{display:'block'},function(){var c=document.defaultView.getComputedStyle(this,'');e=c&&c.getPropertyValue(b)||''})}else if(a.currentStyle){var g=b.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});e=a.currentStyle[b]||a.currentStyle[g]}return e},clean:function(a){var r=[];for(var i=0;i<a.length;i++){var b=a[i];if(typeof b=="string"){var s=jQuery.trim(b),div=document.createElement("div"),wrap=[0,"",""];if(!s.indexOf("<opt"))wrap=[1,"<select>","</select>"];else if(!s.indexOf("<thead")||!s.indexOf("<tbody"))wrap=[1,"<table>","</table>"];else if(!s.indexOf("<tr"))wrap=[2,"<table>","</table>"];else if(!s.indexOf("<td")||!s.indexOf("<th"))wrap=[3,"<table><tbody><tr>","</tr></tbody></table>"];div.innerHTML=wrap[1]+s+wrap[2];while(wrap[0]--)div=div.firstChild;b=div.childNodes}if(b.length!=undefined&&((jQuery.browser.safari&&typeof b=='function')||!b.nodeType))for(var n=0;n<b.length;n++)r.push(b[n]);else r.push(b.nodeType?b:document.createTextNode(b.toString()))}return r},expr:{"":"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","nth-child":"jQuery.sibling(a,m[3]).cur","first-child":"jQuery.sibling(a,0).cur","last-child":"jQuery.sibling(a,0).last","only-child":"jQuery.sibling(a).length==1",parent:"a.childNodes.length",empty:"!a.childNodes.length",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'",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"},"[":"jQuery.find(m[2],a).length"},token:["\\.\\.|/\\.\\.","a.parentNode",">|/","jQuery.sibling(a.firstChild)","\\+","jQuery.sibling(a).next","~",function(a){var s=jQuery.sibling(a);return s.n>=0?s.slice(s.n+1):[]}],find:function(t,a){if(a&&a.nodeType==undefined)a=null;a=a||document;if(t.constructor!=String)return[t];if(!t.indexOf("//")){a=a.documentElement;t=t.substr(2,t.length)}else if(!t.indexOf("/")){a=a.documentElement;t=t.substr(1,t.length);if(t.indexOf("/")>=1)t=t.substr(t.indexOf("/"),t.length)}var b=[a];var c=[];var d=null;while(t.length>0&&d!=t){var r=[];d=t;t=jQuery.trim(t).replace(/^\/\//i,"");var e=false;for(var i=0;i<jQuery.token.length;i+=2){if(e)continue;var f=new RegExp("^("+jQuery.token[i]+")");var m=f.exec(t);if(m){r=b=jQuery.map(b,jQuery.token[i+1]);t=jQuery.trim(t.replace(f,""));e=true}}if(!e){if(!t.indexOf(",")||!t.indexOf("|")){if(b[0]==a)b.shift();c=jQuery.merge(c,b);r=b=[a];t=" "+t.substr(1,t.length)}else{var g=/^([#.]?)([a-z0-9\\*_-]*)/i;var m=g.exec(t);if(m[1]=="#"){var h=document.getElementById(m[2]);r=b=h?[h]:[];t=t.replace(g,"")}else{if(!m[2]||m[1]==".")m[2]="*";for(var i=0;i<b.length;i++)r=jQuery.merge(r,m[2]=="*"?jQuery.getAll(b[i]):b[i].getElementsByTagName(m[2]))}}}if(t){var j=jQuery.filter(t,r);b=r=j.r;t=jQuery.trim(j.t)}}if(b&&b[0]==a)b.shift();c=jQuery.merge(c,b);return c},getAll:function(o,r){r=r||[];var s=o.childNodes;for(var i=0;i<s.length;i++)if(s[i].nodeType==1){r.push(s[i]);jQuery.getAll(s[i],r)}return r},attr:function(a,c,d){var e={"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"};if(c=="opacity"&&jQuery.browser.msie&&d!=undefined){a['zoom']=1;if(d==1)return a["filter"]=a["filter"].replace(/alpha\([^\)]*\)/gi,"");else return a["filter"]=a["filter"].replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+d*100+")"}else if(c=="opacity"&&jQuery.browser.msie){return a["filter"]?parseFloat(a["filter"].match(/alpha\(opacity=(.*)\)/)[1])/100:1}if(c=="opacity"&&jQuery.browser.mozilla&&d==1)d=0.9999;if(e[c]){if(d!=undefined)a[e[c]]=d;return a[e[c]]}else if(d==undefined&&jQuery.browser.msie&&a.nodeName&&a.nodeName.toUpperCase()=='FORM'&&(c=='action'||c=='method')){return a.getAttributeNode(c).nodeValue}else if(a.tagName){if(d!=undefined)a.setAttribute(c,d);return a.getAttribute(c)}else{c=c.replace(/-([a-z])/ig,function(z,b){return b.toUpperCase()});if(d!=undefined)a[c]=d;return a[c]}},parse:["\\[ *(@)S *([!*$^=]*) *('?\"?)(.*?)\\4 *\\]","(\\[)\s*(.*?)\s*\\]","(:)S\\(\"?'?([^\\)]*?)\"?'?\\)","([:.#]*)S"],filter:function(t,r,b){var g=b!==false?jQuery.grep:function(a,f){return jQuery.grep(a,f,true)};while(t&&/^[a-z[({<*:.#]/i.test(t)){var p=jQuery.parse;for(var i=0;i<p.length;i++){var c=new RegExp("^"+p[i].replace("S","([a-z*_-][a-z0-9_-]*)"),"i");var m=c.exec(t);if(m){if(!i)m=["",m[1],m[3],m[2],m[5]];t=t.replace(c,"");break}}if(m[1]==":"&&m[2]=="not")r=jQuery.filter(m[3],r,false).r;else{var f=jQuery.expr[m[1]];if(f.constructor!=String)f=jQuery.expr[m[1]][m[2]];eval("f = function(a,i){"+(m[1]=="@"?"z=jQuery.attr(a,m[3]);":"")+"return "+f+"}");r=g(r,f)}}return{r:r,t:t}},trim:function(t){return t.replace(/^\s+|\s+$/g,"")},parents:function(a){var b=[];var c=a.parentNode;while(c&&c!=document){b.push(c);c=c.parentNode}return b},sibling:function(a,b,c){var d=[];if(a){var e=a.parentNode.childNodes;for(var i=0;i<e.length;i++){if(c===true&&e[i]==a)continue;if(e[i].nodeType==1)d.push(e[i]);if(e[i]==a)d.n=d.length-1}}return jQuery.extend(d,{last:d.n==d.length-1,cur:b=="even"&&d.n%2==0||b=="odd"&&d.n%2||d[b]==a,prev:d[d.n-1],next:d[d.n+1]})},merge:function(a,b){var c=[];for(var k=0;k<a.length;k++)c[k]=a[k];for(var i=0;i<b.length;i++){var d=true;for(var j=0;j<a.length;j++)if(b[i]==a[j])d=false;if(d)c.push(b[i])}return c},grep:function(a,b,c){if(typeof b=="string")b=new Function("a","i","return "+b);var d=[];for(var i=0;i<a.length;i++)if(!c&&b(a[i],i)||c&&!b(a[i],i))d.push(a[i]);return d},map:function(a,b){if(typeof b=="string")b=new Function("a","return "+b);var c=[];for(var i=0;i<a.length;i++){var d=b(a[i],i);if(d!==null&&d!=undefined){if(d.constructor!=Array)d=[d];c=jQuery.merge(c,d)}}return c},event:{add:function(a,b,c){if(jQuery.browser.msie&&a.setInterval!=undefined)a=window;if(!c.guid)c.guid=this.guid++;if(!a.events)a.events={};var d=a.events[b];if(!d){d=a.events[b]={};if(a["on"+b])d[0]=a["on"+b]}d[c.guid]=c;a["on"+b]=this.handle;if(!this.global[b])this.global[b]=[];this.global[b].push(a)},guid:1,global:{},remove:function(a,b,c){if(a.events)if(b&&a.events[b])if(c)delete a.events[b][c.guid];else for(var i in a.events[b])delete a.events[b][i];else for(var j in a.events)this.remove(a,j)},trigger:function(a,b,c){b=$.merge([],b||[]);if(!c){var g=this.global[a];if(g)for(var i=0;i<g.length;i++)this.trigger(a,b,g[i])}else if(c["on"+a]){b.unshift(this.fix({type:a,target:c}));c["on"+a].apply(c,b)}},handle:function(a){if(typeof jQuery=="undefined")return false;a=jQuery.event.fix(a||window.event||{});if(!a)return false;var b=true;var c=this.events[a.type];var d=[].slice.call(arguments,1);d.unshift(a);for(var j in c){if(c[j].apply(this,d)===false){a.preventDefault();a.stopPropagation();b=false}}if(jQuery.browser.msie)a.target=a.preventDefault=a.stopPropagation=null;return b},fix:function(a){if(jQuery.browser.msie){if(a.srcElement)a.target=a.srcElement;var e=document.documentElement,b=document.body;a.pageX=a.clientX+(e.scrollLeft||b.scrollLeft);a.pageY=a.clientY+(e.scrollTop||b.scrollTop)}else if(jQuery.browser.safari&&a.target.nodeType==3){a=jQuery.extend({},a);a.target=a.target.parentNode}if(!a.preventDefault)a.preventDefault=function(){this.returnValue=false};if(!a.stopPropagation)a.stopPropagation=function(){this.cancelBubble=true};return a}}});new function(){var b=navigator.userAgent.toLowerCase();jQuery.browser={safari:/webkit/.test(b),opera:/opera/.test(b),msie:/msie/.test(b)&&!/opera/.test(b),mozilla:/mozilla/.test(b)&&!/(compatible|webkit)/.test(b)};jQuery.boxModel=!jQuery.browser.msie||document.compatMode=="CSS1Compat"};jQuery.macros={to:{appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after"},css:"width,height,top,left,position,float,overflow,color,background".split(","),filter:["eq","lt","gt","contains"],attr:{val:"value",html:"innerHTML",id:null,title:null,name:null,href:null,src:null,rel:null},axis:{parent:"a.parentNode",ancestors:jQuery.parents,parents:jQuery.parents,next:"jQuery.sibling(a).next",prev:"jQuery.sibling(a).prev",siblings:"jQuery.sibling(a, null, true)",children:"jQuery.sibling(a.firstChild)"},each:{removeAttr:function(a){jQuery.attr(this,a,"");this.removeAttribute(a)},show:function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none")this.style.display="block"},hide:function(){this.oldblock=this.oldblock||jQuery.css(this,"display");if(this.oldblock=="none")this.oldblock="block";this.style.display="none"},toggle:function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"].apply(jQuery(this),arguments)},addClass:function(c){jQuery.className.add(this,c)},removeClass:function(c){jQuery.className.remove(this,c)},toggleClass:function(c){jQuery.className[jQuery.className.has(this,c)?"remove":"add"](this,c)},remove:function(a){if(!a||jQuery.filter(a,[this]).r)this.parentNode.removeChild(this)},empty:function(){while(this.firstChild)this.removeChild(this.firstChild)},bind:function(a,b){jQuery.event.add(this,a,b)},unbind:function(a,b){jQuery.event.remove(this,a,b)},trigger:function(a,b){jQuery.event.trigger(a,b,this)}}};jQuery.init();jQuery.fn.extend({_toggle:jQuery.fn.toggle,toggle:function(a,b){return a&&b&&a.constructor==Function&&b.constructor==Function?this.click(function(e){this.last=this.last==a?b:a;e.preventDefault();return this.last.apply(this,[e])||false}):this._toggle.apply(this,arguments)},hover:function(f,g){function handleHover(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this)try{p=p.parentNode}catch(e){p=this};if(p==this)return false;return(e.type=="mouseover"?f:g).apply(this,[e])}return this.mouseover(handleHover).mouseout(handleHover)},ready:function(f){if(jQuery.isReady)f.apply(document);else{jQuery.readyList.push(f)}return this}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){for(var i=0;i<jQuery.readyList.length;i++)jQuery.readyList[i].apply(document);jQuery.readyList=null}if(jQuery.browser.mozilla||jQuery.browser.opera)document.removeEventListener("DOMContentLoaded",jQuery.ready,false)}}});new function(){var e=("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,reset,select,"+"submit,keydown,keypress,keyup,error").split(",");for(var i=0;i<e.length;i++)new function(){var o=e[i];jQuery.fn[o]=function(f){return f?this.bind(o,f):this.trigger(o)};jQuery.fn["un"+o]=function(f){return this.unbind(o,f)};jQuery.fn["one"+o]=function(f){var a=jQuery(this);var b=function(){a.unbind(o,b);a=null;return f.apply(this,arguments)};return this.bind(o,b)}};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 c=document.getElementById("__ie_init");if(c)c.onreadystatechange=function(){if(this.readyState!="complete")return;this.parentNode.removeChild(this);jQuery.ready()};c=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).unload(function(){var a=jQuery.event,global=a.global;for(var b in global){var c=global[b],i=c.length;if(i>0)do if(b!='unload')a.remove(c[i-1],b);while(--i)}});jQuery.fn.extend({_show:jQuery.fn.show,show:function(a,b){return a?this.animate({height:"show",width:"show",opacity:"show"},a,b):this._show()},_hide:jQuery.fn.hide,hide:function(a,b){return a?this.animate({height:"hide",width:"hide",opacity:"hide"},a,b):this._hide()},slideDown:function(a,b){return this.animate({height:"show"},a,b)},slideUp:function(a,b){return this.animate({height:"hide"},a,b)},slideToggle:function(b,c){return this.each(function(){var a=jQuery(this).is(":hidden")?"show":"hide";jQuery(this).animate({height:a},b,c)})},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,b,c){return this.animate({opacity:b},a,c)},animate:function(a,b,c){return this.queue(function(){this.curAnim=jQuery.extend({},a);for(var p in a){var e=new jQuery.fx(this,jQuery.speed(b,c),p);if(a[p].constructor==Number)e.custom(e.cur(),a[p]);else e[a[p]](a)}})},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.extend({speed:function(s,o){o=o||{};if(o.constructor==Function)o={complete:o};var a={slow:600,fast:200};o.duration=(s&&s.constructor==Number?s:a[s])||400;o.oldComplete=o.complete;o.complete=function(){jQuery.dequeue(this,"fx");if(o.oldComplete&&o.oldComplete.constructor==Function)o.oldComplete.apply(this)};return o},queue:{},dequeue:function(a,b){b=b||"fx";if(a.queue&&a.queue[b]){a.queue[b].shift();var f=a.queue[b][0];if(f)f.apply(a)}},fx:function(d,e,f){var z=this;z.o={duration:e.duration||400,complete:e.complete,step:e.step};z.el=d;var y=z.el.style;var g=jQuery.css(z.el,'display');y.display="block";y.overflow="hidden";z.a=function(){if(e.step)e.step.apply(d,[z.now]);if(f=="opacity")jQuery.attr(y,"opacity",z.now);else if(parseInt(z.now))y[f]=parseInt(z.now)+"px"};z.max=function(){return parseFloat(jQuery.css(z.el,f))};z.cur=function(){var r=parseFloat(jQuery.curCSS(z.el,f));return r&&r>-10000?r:z.max()};z.custom=function(a,b){z.startTime=(new Date()).getTime();z.now=a;z.a();z.timer=setInterval(function(){z.step(a,b)},13)};z.show=function(){if(!z.el.orig)z.el.orig={};z.el.orig[f]=this.cur();z.o.show=true;z.custom(0,z.el.orig[f]);if(f!="opacity")y[f]="1px"};z.hide=function(){if(!z.el.orig)z.el.orig={};z.el.orig[f]=this.cur();z.o.hide=true;z.custom(z.el.orig[f],0)};z.toggle=function(){if(!z.el.orig)z.el.orig={};z.el.orig[f]=this.cur();if(g=='none'){z.o.show=true;if(f!="opacity")y[f]="1px";z.custom(0,z.el.orig[f])}else{z.o.hide=true;z.custom(z.el.orig[f],0)}};z.step=function(a,b){var t=(new Date()).getTime();if(t>z.o.duration+z.startTime){clearInterval(z.timer);z.timer=null;z.now=b;z.a();z.el.curAnim[f]=true;var c=true;for(var i in z.el.curAnim)if(z.el.curAnim[i]!==true)c=false;if(c){y.overflow='';y.display=g;if(jQuery.css(z.el,'display')=='none')y.display='block';if(z.o.hide)y.display='none';if(z.o.hide||z.o.show)for(var p in z.el.curAnim)if(p=="opacity")jQuery.attr(y,p,z.el.orig[p]);else y[p]=''}if(c&&z.o.complete&&z.o.complete.constructor==Function)z.o.complete.apply(z.el)}else{var p=(t-this.startTime)/z.o.duration;z.now=((-Math.cos(p*Math.PI)/2)+0.5)*(b-a)+a;z.a()}}}});jQuery.fn.extend({loadIfModified:function(a,b,c){this.load(a,b,c,1)},load:function(c,d,e,f){if(c.constructor==Function)return this.bind("load",c);e=e||function(){};var g="GET";if(d){if(d.constructor==Function){e=d;d=null}else{d=jQuery.param(d);g="POST"}}var h=this;jQuery.ajax({url:c,type:g,data:d,ifModified:f,complete:function(a,b){if(b=="success"||!f&&b=="notmodified"){h.html(a.responseText).evalScripts().each(e,[a.responseText,b,a])}else e.apply(h,[a.responseText,b,a])}});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(jQuery.browser.msie&&typeof XMLHttpRequest=="undefined")XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")};new function(){var e="ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(",");for(var i=0;i<e.length;i++)new function(){var o=e[i];jQuery.fn[o]=function(f){return this.bind(o,f)}}};jQuery.extend({get:function(a,b,c,d,e){if(b&&b.constructor==Function){c=b;b=null}jQuery.ajax({url:a,data:b,success:c,dataType:d,ifModified:e})},getIfModified:function(a,b,c,d){jQuery.get(a,b,c,d,1)},getScript:function(a,b){if(b)jQuery.get(a,null,b,"script");else{jQuery.get(a,null,null,"script")}},getJSON:function(a,b,c){jQuery.get(a,b,c,"json")},post:function(a,b,c,d){jQuery.ajax({type:"POST",url:a,data:b,success:c,dataType:d})},timeout:0,ajaxTimeout:function(a){jQuery.timeout=a},lastModified:{},ajax:function(s){s=jQuery.extend({global:true,ifModified:false,type:"GET",timeout:jQuery.timeout,complete:null,success:null,error:null,dataType:null,url:null,data:null,contentType:"application/x-www-form-urlencoded",processData:true,async:true,beforeSend:null},s);if(s.data){if(s.processData&&typeof s.data!='string')s.data=jQuery.param(s.data);if(s.type.toLowerCase()=="get")s.url+=((s.url.indexOf("?")>-1)?"&":"?")+s.data}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var f=false;var g=new XMLHttpRequest();g.open(s.type,s.url,s.async);if(s.data)g.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)g.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");g.setRequestHeader("X-Requested-With","XMLHttpRequest");if(g.overrideMimeType)g.setRequestHeader("Connection","close");if(s.beforeSend)s.beforeSend(g);if(s.global)jQuery.event.trigger("ajaxSend",[g,s]);var h=function(a){if(g&&(g.readyState==4||a=="timeout")){f=true;var b=jQuery.httpSuccess(g)&&a!="timeout"?s.ifModified&&jQuery.httpNotModified(g,s.url)?"notmodified":"success":"error";if(b!="error"){var c;try{c=g.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&c)jQuery.lastModified[s.url]=c;var d=jQuery.httpData(g,s.dataType);if(s.success)s.success(d,b);if(s.global)jQuery.event.trigger("ajaxSuccess",[g,s])}else{if(s.error)s.error(g,b);if(s.global)jQuery.event.trigger("ajaxError",[g,s])}if(s.global)jQuery.event.trigger("ajaxComplete",[g,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");if(s.complete)s.complete(g,b);g.onreadystatechange=function(){};g=null}};g.onreadystatechange=h;if(s.timeout>0)setTimeout(function(){if(g){g.abort();if(!f)h("timeout");g=null}},s.timeout);g.send(s.data);return g},active:0,httpSuccess:function(r){try{return!r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||jQuery.browser.safari&&r.status==undefined}catch(e){}return false},httpNotModified:function(a,b){try{var c=a.getResponseHeader("Last-Modified");return a.status==304||c==jQuery.lastModified[b]||jQuery.browser.safari&&a.status==undefined}catch(e){}return false},httpData:function(r,a){var b=r.getResponseHeader("content-type");var c=!a&&b&&b.indexOf("xml")>=0;c=a=="xml"||c?r.responseXML:r.responseText;if(a=="script"){jQuery.globalEval(c)}if(a=="json")eval("data = "+c);if(a=="html")jQuery("<div>").html(c).evalScripts();return c},param:function(a){var s=[];if(a.constructor==Array||a.jquery){for(var i=0;i<a.length;i++)s.push(a[i].name+"="+encodeURIComponent(a[i].value))}else{for(var j in a){if(a[j].constructor==Array){for(var k=0;k<a[j].length;k++){s.push(j+"="+encodeURIComponent(a[j][k]))}}else{s.push(j+"="+encodeURIComponent(a[j]))}}}return s.join("&")},globalEval:function(a){if(window.execScript)window.execScript(a);else if(jQuery.browser.safari)window.setTimeout(a,0);else eval.call(window,a)}})}