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