/*
 * jQuery 1.1.2 - New Wave Javascript
 *
 * Copyright (c) 2007 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2007-02-28 12:03:00 -0500 (Wed, 28 Feb 2007) $
 * $Rev: 1465 $
 */
if(typeof window.jQuery=="undefined"){window.undefined=window.undefined;var jQuery=function(a,c){if(window==this)return new jQuery(a,c);a=a||document;if(jQuery.isFunction(a))return new jQuery(document)[jQuery.fn.ready?"ready":"load"](a);if(typeof a=="string"){var m=/^[^<]*(<(.|\s)+>)[^>]*$/.exec(a);if(m)a=jQuery.clean([m[1]]);else return new jQuery(c).find(a)}return this.setArray(a.constructor==Array&&a||(a.jquery||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType)&&jQuery.makeArray(a)||[a])};if(typeof $!="undefined")jQuery._$=$;var $=jQuery;jQuery.fn=jQuery.prototype={jquery:"1.1.2",size:function(){return this.length},length:0,get:function(a){return a==undefined?jQuery.makeArray(this):this[a]},pushStack:function(a){var b=jQuery(a);b.prevObject=this;return b},setArray: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(c,d,e){var f=c;if(c.constructor==String)if(d==undefined)return this.length&&jQuery[e||"attr"](this[0],c)||undefined;else{f={};f[c]=d}return this.each(function(a){for(var b in f)jQuery.attr(e?this.style:this,b,jQuery.prop(this,f[b],e,a,b))})},css:function(a,b){return this.attr(a,b,"curCSS")},text:function(e){if(typeof e=="string")return this.empty().append(document.createTextNode(e));var t="";jQuery.each(e||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)t+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])})});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(){return this.prevObject||jQuery([])},find:function(t){return this.pushStack(jQuery.map(this,function(a){return jQuery.find(t,a)}),t)},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(t){return this.pushStack(jQuery.isFunction(t)&&jQuery.grep(this,function(a,b){return t.apply(a,[b])})||jQuery.multiFilter(t,this))},not:function(t){return this.pushStack(t.constructor==String&&jQuery.multiFilter(t,this,true)||jQuery.grep(this,function(a){return(t.constructor==Array||t.jquery)?jQuery.inArray(a,t)<0:a!=t}))},add:function(t){return this.pushStack(jQuery.merge(this.get(),t.constructor==String?jQuery(t).get():t.length!=undefined&&(!t.nodeName||t.nodeName=="FORM")?t:[t]))},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(c,d,e,f){var g=this.length>1;var a=jQuery.clean(c);if(e<0)a.reverse();return this.each(function(){var b=this;if(d&&jQuery.nodeName(this,"table")&&jQuery.nodeName(a[0],"tr"))b=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));jQuery.each(a,function(){f.apply(b,[g?this.cloneNode(true):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({noConflict:function(){if(jQuery._$)$=jQuery._$;return jQuery},isFunction:function(a){return!!a&&typeof a!="string"&&!a.nodeName&&typeof a[0]=="undefined"&&/function/i.test(a+"")},isXMLDoc:function(a){return a.tagName&&a.ownerDocument&&!a.ownerDocument.body},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},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,ol=a.length;i<ol;i++)if(b.apply(a[i],c||[i,a[i]])===false)break;return a},prop:function(a,b,c,d,e){if(jQuery.isFunction(b))b=b.call(a,[d]);var f=/z-?index|font-?weight|opacity|zoom|line-?height/i;return b&&b.constructor==Number&&c=="curCSS"&&!f.test(e)?b+"px":b},className:{add:function(b,c){jQuery.each(c.split(/\s+/),function(i,a){if(!jQuery.className.has(b.className,a))b.className+=(b.className?" ":"")+a})},remove:function(b,c){b.className=c?jQuery.grep(b.className.split(/\s+/),function(a){return!jQuery.className.has(c,a)}).join(" "):""},has:function(t,c){t=t.className||t;c=c.replace(/([\.\\\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1");return t&&new RegExp("(^|\\s)"+c+"(\\s|$)").test(t)}},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"];jQuery.each(d,function(){b["padding"+this]=0;b["border"+this+"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=[];jQuery.each(a,function(i,a){if(!a)return;if(a.constructor==Number)a=a.toString();if(typeof a=="string"){var s=jQuery.trim(a),div=document.createElement("div"),tb=[];var b=!s.indexOf("<opt")&&[1,"<select>","</select>"]||(!s.indexOf("<thead")||!s.indexOf("<tbody")||!s.indexOf("<tfoot"))&&[1,"<table>","</table>"]||!s.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!s.indexOf("<td")||!s.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||[0,"",""];div.innerHTML=b[1]+s+b[2];while(b[0]--)div=div.firstChild;if(jQuery.browser.msie){if(!s.indexOf("<table")&&s.indexOf("<tbody")<0)tb=div.firstChild&&div.firstChild.childNodes;else if(b[1]=="<table>"&&s.indexOf("<tbody")<0)tb=div.childNodes;for(var n=tb.length-1;n>=0;--n)if(jQuery.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length)tb[n].parentNode.removeChild(tb[n])}a=[];for(var i=0,l=div.childNodes.length;i<l;i++)a.push(div.childNodes[i])}if(a.length===0&&!jQuery.nodeName(a,"form"))return;if(a[0]==undefined||jQuery.nodeName(a,"form"))r.push(a);else r=jQuery.merge(r,a)});return r},attr:function(a,c,d){var e=jQuery.isXMLDoc(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(c=="opacity"&&jQuery.browser.msie&&d!=undefined){a.zoom=1;return a.filter=a.filter.replace(/alpha\([^\)]*\)/gi,"")+(d==1?"":"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&&jQuery.nodeName(a,"form")&&(c=="action"||c=="method"))return a.getAttributeNode(c).nodeValue;else if(a.tagName){if(d!=undefined)a.setAttribute(c,d);if(jQuery.browser.msie&&/href|src/.test(c)&&!jQuery.isXMLDoc(a))return a.getAttribute(c,2);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]}},trim:function(t){return t.replace(/^\s+|\s+$/g,"")},makeArray:function(a){var r=[];if(a.constructor!=Array)for(var i=0,al=a.length;i<al;i++)r.push(a[i]);else r=a.slice(0);return r},inArray:function(b,a){for(var i=0,al=a.length;i<al;i++)if(a[i]==b)return i;return-1},merge:function(a,b){var r=[].slice.call(a,0);for(var i=0,sl=b.length;i<sl;i++)if(jQuery.inArray(b[i],r)==-1)a.push(b[i]);return a},grep:function(a,b,c){if(typeof b=="string")b=new Function("a","i","return "+b);var d=[];for(var i=0,el=a.length;i<el;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=[],r=[];for(var i=0,el=a.length;i<el;i++){var d=b(a[i],i);if(d!==null&&d!=undefined){if(d.constructor!=Array)d=[d];c=c.concat(d)}}var r=c.length?[c[0]]:[];check:for(var i=1,rl=c.length;i<rl;i++){for(var j=0;j<i;j++)if(c[i]==r[j])continue check;r.push(c[i])}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(i,n){jQuery.fn[i]=function(a){var b=jQuery.map(this,n);if(a&&typeof a=="string")b=jQuery.multiFilter(a,b);return this.pushStack(b)}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after"},function(i,n){jQuery.fn[i]=function(){var a=arguments;return this.each(function(){for(var j=0,al=a.length;j<al;j++)jQuery(a[j])[n](this)})}});jQuery.each({removeAttr:function(a){jQuery.attr(this,a,"");this.removeAttribute(a)},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.length)this.parentNode.removeChild(this)},empty:function(){while(this.firstChild)this.removeChild(this.firstChild)}},function(i,n){jQuery.fn[i]=function(){return this.each(n,arguments)}});jQuery.each(["eq","lt","gt","contains"],function(i,n){jQuery.fn[n]=function(a,b){return this.filter(":"+n+"("+a+")",b)}});jQuery.each(["height","width"],function(i,n){jQuery.fn[n]=function(h){return h==undefined?(this.length?jQuery.css(this[0],n):null):this.css(n,h.constructor==String?h:h+"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(m){return["",m[1],m[3],m[2],m[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 s=jQuery.sibling(a.parentNode.firstChild);return s.slice(jQuery.inArray(a,s)+1)}],multiFilter:function(a,b,c){var d,cur=[];while(a&&a!=d){d=a;var f=jQuery.filter(a,b,c);a=f.t.replace(/^\s*,\s*/,"");cur=c?b=f.r:jQuery.merge(cur,f.r)}return cur},find:function(t,b){if(typeof t!="string")return[t];if(b&&!b.nodeType)b=null;b=b||document;if(!t.indexOf("//")){b=b.documentElement;t=t.substr(2,t.length)}else if(!t.indexOf("/")){b=b.documentElement;t=t.substr(1,t.length);if(t.indexOf("/")>=1)t=t.substr(t.indexOf("/"),t.length)}var d=[b],done=[],last=null;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t).replace(/^\/\//i,"");var f=false;var g=/^[\/>]\s*([a-z0-9*-]+)/i;var m=g.exec(t);if(m){jQuery.each(d,function(){for(var c=this.firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(jQuery.nodeName(c,m[1])||m[1]=="*"))r.push(c)});d=r;t=t.replace(g,"");if(t.indexOf(" ")==0)continue;f=true}else{for(var i=0;i<jQuery.token.length;i+=2){var g=jQuery.token[i];var m=g.exec(t);if(m){r=d=jQuery.map(d,jQuery.isFunction(jQuery.token[i+1])?jQuery.token[i+1]:function(a){return eval(jQuery.token[i+1])});t=jQuery.trim(t.replace(g,""));f=true;break}}}if(t&&!f){if(!t.indexOf(",")){if(d[0]==b)d.shift();jQuery.merge(done,d);r=d=[b];t=" "+t.substr(1,t.length)}else{var h=/^([a-z0-9_-]+)(#)([a-z0-9\\*_-]*)/i;var m=h.exec(t);if(m){m=[0,m[2],m[3],m[1]]}else{h=/^([#.]?)([a-z0-9\\*_-]*)/i;m=h.exec(t)}if(m[1]=="#"&&d[d.length-1].getElementById){var j=d[d.length-1].getElementById(m[2]);if(jQuery.browser.msie&&j&&j.id!=m[2])j=jQuery('[@id="'+m[2]+'"]',d[d.length-1])[0];d=r=j&&(!m[3]||jQuery.nodeName(j,m[3]))?[j]:[]}else{if(m[1]==".")var k=new RegExp("(^|\\s)"+m[2]+"(\\s|$)");jQuery.each(d,function(){var a=m[1]!=""||m[0]==""?"*":m[2];if(jQuery.nodeName(this,"object")&&a=="*")a="param";jQuery.merge(r,m[1]!=""&&d.length!=1?jQuery.getAll(this,[],m[1],m[2],k):this.getElementsByTagName(a))});if(m[1]=="."&&d.length==1)r=jQuery.grep(r,function(e){return k.test(e.className)});if(m[1]=="#"&&d.length==1){var l=r;r=[];jQuery.each(l,function(){if(this.getAttribute("id")==m[2]){r=[this];return false}})}d=r}t=t.replace(h,"")}}if(t){var n=jQuery.filter(t,r);d=r=n.r;t=jQuery.trim(n.t)}}if(d&&d[0]==b)d.shift();jQuery.merge(done,d);return done},filter:function(t,r,b){while(t&&/^[a-z[({<*:.#]/i.test(t)){var p=jQuery.parse,m;jQuery.each(p,function(i,a){m=a.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 c=new RegExp("(^|\\s)"+m[2]+"(\\s|$)");r=jQuery.grep(r,function(e){return c.test(e.className||"")},b)}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,b)}}return{r:r,t:t}},getAll:function(o,r,a,b,c){for(var s=o.firstChild;s;s=s.nextSibling)if(s.nodeType==1){var d=true;if(a==".")d=s.className&&c.test(s.className);else if(a=="#")d=s.getAttribute("id")==b;if(d)r.push(s);if(a=="#"&&r.length)break;if(s.firstChild)jQuery.getAll(s,r,a,b,c)}return r},parents:function(a){var b=[];var c=a.parentNode;while(c&&c!=document){b.push(c);c=c.parentNode}return b},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c]){if(a.nodeType==1)e++;if(e==b||b=="even"&&e%2==0&&e>1&&a==d||b=="odd"&&e%2==1&&a==d)return a}},sibling:function(n,a){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&(!a||n!=a))r.push(n)}return r}});jQuery.event={add:function(a,b,c,d){if(jQuery.browser.msie&&a.setInterval!=undefined)a=window;if(d)c.data=d;if(!c.guid)c.guid=this.guid++;if(!a.$events)a.$events={};var e=a.$events[b];if(!e){e=a.$events[b]={};if(a["on"+b])e[0]=a["on"+b]}e[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){var i,j,k;if(b&&b.type){c=b.handler;b=b.type}if(b&&a.$events[b])if(c)delete a.$events[b][c.guid];else for(i in a.$events[b])delete a.$events[b][i];else for(j in a.$events)this.remove(a,j);for(k in a.$events[b])if(k){k=true;break}if(!k)a["on"+b]=null}},trigger:function(a,b,c){b=jQuery.makeArray(b||[]);if(!c)jQuery.each(this.global[a]||[],function(){jQuery.event.trigger(a,b,this)});else{var d=c["on"+a],val,fn=jQuery.isFunction(c[a]);if(d){b.unshift(this.fix({type:a,target:c}));if((val=d.apply(c,b))!==false)this.triggered=true}if(fn&&val!==false)c[a]();this.triggered=false}},handle:function(a){if(typeof jQuery=="undefined"||jQuery.event.triggered)return;a=jQuery.event.fix(a||window.event||{});var b;var c=this.$events[a.type];var d=[].slice.call(arguments,1);d.unshift(a);for(var j in c){d[0].handler=c[j];d[0].data=c[j].data;if(c[j].apply(this,d)===false){a.preventDefault();a.stopPropagation();b=false}}if(jQuery.browser.msie)a.target=a.preventDefault=a.stopPropagation=a.handler=a.data=null;return b},fix:function(a){if(!a.target&&a.srcElement)a.target=a.srcElement;if(a.pageX==undefined&&a.clientX!=undefined){var e=document.documentElement,b=document.body;a.pageX=a.clientX+(e.scrollLeft||b.scrollLeft);a.pageY=a.clientY+(e.scrollTop||b.scrollTop)}if(jQuery.browser.safari&&a.target.nodeType==3){var c=a;a=jQuery.extend({},c);a.target=c.target.parentNode;a.preventDefault=function(){return c.preventDefault()};a.stopPropagation=function(){return c.stopPropagation()}}if(!a.preventDefault)a.preventDefault=function(){this.returnValue=false};if(!a.stopPropagation)a.stopPropagation=function(){this.cancelBubble=true};return a}};jQuery.fn.extend({bind:function(a,b,c){return this.each(function(){jQuery.event.add(this,a,c||b,b)})},one:function(b,c,d){return this.each(function(){jQuery.event.add(this,b,function(a){jQuery(this).unbind(a);return(d||c).apply(this,arguments)},c)})},unbind:function(a,b){return this.each(function(){jQuery.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){jQuery.event.trigger(a,b,this)})},toggle:function(){var a=arguments;return this.click(function(e){this.lastToggle=this.lastToggle==0?1:0;e.preventDefault();return a[this.lastToggle].apply(this,[e])||false})},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,[jQuery]);else{jQuery.readyList.push(function(){return f.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(i,o){jQuery.fn[o]=function(f){return f?this.bind(o,f):this.trigger(o)}});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 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 a=jQuery.event.global;for(var b in a){var c=a[b],i=c.length;if(i&&b!='unload')do jQuery.event.remove(c[i-1],b);while(--i)}});jQuery.fn.extend({loadIfModified:function(a,b,c){this.load(a,b,c,1)},load:function(c,d,e,f){if(jQuery.isFunction(c))return this.bind("load",c);e=e||function(){};var g="GET";if(d)if(jQuery.isFunction(d)){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.attr("innerHTML",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(!window.XMLHttpRequest)XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")};jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});jQuery.extend({get:function(a,b,c,d,e){if(jQuery.isFunction(b)){c=b;b=null}return jQuery.ajax({url:a,data:b,success:c,dataType:d,ifModified:e})},getIfModified:function(a,b,c,d){return jQuery.get(a,b,c,d,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,b,c,d){if(jQuery.isFunction(b)){c=b;b={}}return jQuery.ajax({type:"POST",url:a,data:b,success:c,dataType:d})},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(s){s=jQuery.extend({},jQuery.ajaxSettings,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;s.data=null}}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;if(i){clearInterval(i);i=null}var b;try{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 jQuery.handleError(s,g,b)}catch(e){b="error";jQuery.handleError(s,g,b,e)}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);if(s.async)g=null}};var i=setInterval(h,13);if(s.timeout>0)setTimeout(function(){if(g){g.abort();if(!f)h("timeout")}},s.timeout);try{g.send(s.data)}catch(e){jQuery.handleError(s,g,null,e)}if(!s.async)h();return g},handleError:function(s,a,b,e){if(s.error)s.error(a,b,e);if(s.global)jQuery.event.trigger("ajaxError",[a,s,e])},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)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value))});else for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this))});else s.push(encodeURIComponent(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)}});jQuery.fn.extend({show:function(a,b){var c=this.filter(":hidden");a?c.animate({height:"show",width:"show",opacity:"show"},a,b):c.each(function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none")this.style.display="block"});return this},hide:function(a,b){var c=this.filter(":visible");a?c.animate({height:"hide",width:"hide",opacity:"hide"},a,b):c.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(a,b){var c=arguments;return jQuery.isFunction(a)&&jQuery.isFunction(b)?this._toggle(a,b):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"].apply(jQuery(this),c)})},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(b,c,d,f){return this.queue(function(){this.curAnim=jQuery.extend({},b);var a=jQuery.speed(c,d,f);for(var p in b){var e=new jQuery.fx(this,a,p);if(b[p].constructor==Number)e.custom(e.cur(),b[p]);else e[b[p]](b)}})},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(a,b,c){var d=a&&a.constructor==Object?a:{complete:c||!c&&b||jQuery.isFunction(a)&&a,duration:a,easing:c&&b||b&&b.constructor!=Function&&b};d.duration=(d.duration&&d.duration.constructor==Number?d.duration:{slow:600,fast:200}[d.duration])||400;d.old=d.complete;d.complete=function(){jQuery.dequeue(this,"fx");if(jQuery.isFunction(d.old))d.old.apply(this)};return d},easing:{},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;var y=d.style;var g=jQuery.css(d,"display");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";y.display="block"};z.max=function(){return parseFloat(jQuery.css(d,f))};z.cur=function(){var r=parseFloat(jQuery.curCSS(d,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(!d.orig)d.orig={};d.orig[f]=this.cur();e.show=true;z.custom(0,d.orig[f]);if(f!="opacity")y[f]="1px"};z.hide=function(){if(!d.orig)d.orig={};d.orig[f]=this.cur();e.hide=true;z.custom(d.orig[f],0)};z.toggle=function(){if(!d.orig)d.orig={};d.orig[f]=this.cur();if(g=="none"){e.show=true;if(f!="opacity")y[f]="1px";z.custom(0,d.orig[f])}else{e.hide=true;z.custom(d.orig[f],0)}};z.step=function(a,b){var t=(new Date()).getTime();if(t>e.duration+z.startTime){clearInterval(z.timer);z.timer=null;z.now=b;z.a();if(d.curAnim)d.curAnim[f]=true;var c=true;for(var i in d.curAnim)if(d.curAnim[i]!==true)c=false;if(c){y.overflow="";y.display=g;if(jQuery.css(d,"display")=="none")y.display="block";if(e.hide)y.display="none";if(e.hide||e.show)for(var p in d.curAnim)if(p=="opacity")jQuery.attr(y,p,d.orig[p]);else y[p]=""}if(c&&jQuery.isFunction(e.complete))e.complete.apply(d)}else{var n=t-this.startTime;var p=n/e.duration;z.now=e.easing&&jQuery.easing[e.easing]?jQuery.easing[e.easing](p,n,a,(b-a),e.duration):((-Math.cos(p*Math.PI)/2)+0.5)*(b-a)+a;z.a()}}}})}
