jQuery.fxCheckTag=function(b){return/tr|td|tbody|caption|thead|tfoot|col|colgroup|th|body|header|script|frame|frameset|option|optgroup|meta/i.test(b.nodeName)?false:true};jQuery.fx.destroyWrapper=function(b,d){c=b.firstChild;cs=c.style;cs.position=d.position;cs.marginTop=d.margins.t;cs.marginLeft=d.margins.l;cs.marginBottom=d.margins.b;cs.marginRight=d.margins.r;cs.top=d.top+"px";cs.left=d.left+"px";b.parentNode.insertBefore(c,b);b.parentNode.removeChild(b)};
jQuery.fx.buildWrapper=function(b){if(!jQuery.fxCheckTag(b))return false;var d=jQuery(b),f=b.style,h=false;if(d.css("display")=="none"){oldVisibility=d.css("visibility");d.css("visibility","hidden").show();h=true}oldStyle={};oldStyle.position=d.css("position");oldStyle.sizes=jQuery.iUtil.getSize(b);oldStyle.margins=jQuery.iUtil.getMargins(b);oldFloat=b.currentStyle?b.currentStyle.styleFloat:d.css("float");oldStyle.top=parseInt(d.css("top"))||0;oldStyle.left=parseInt(d.css("left"))||0;var e="w_"+parseInt(Math.random()*
1E4),a=document.createElement(/img|br|input|hr|select|textarea|object|iframe|button|form|table|ul|dl|ol/i.test(b.nodeName)?"div":b.nodeName);jQuery.attr(a,"id",e);wrapEl=jQuery(a).addClass("fxWrapper");e=a.style;var k=0,g=0;if(oldStyle.position=="relative"||oldStyle.position=="absolute"){k=oldStyle.top;g=oldStyle.left}e.top=k+"px";e.left=g+"px";e.position=oldStyle.position!="relative"&&oldStyle.position!="absolute"?"relative":oldStyle.position;e.height=oldStyle.sizes.hb+"px";e.width=oldStyle.sizes.wb+
"px";e.marginTop=oldStyle.margins.t;e.marginRight=oldStyle.margins.r;e.marginBottom=oldStyle.margins.b;e.marginLeft=oldStyle.margins.l;e.overflow="hidden";if(jQuery.browser.msie)e.styleFloat=oldFloat;else e.cssFloat=oldFloat;if(jQuery.browser=="msie")f.filter="alpha(opacity=99.9)";f.opacity=0.999;b.parentNode.insertBefore(a,b);a.appendChild(b);f.marginTop="0px";f.marginRight="0px";f.marginBottom="0px";f.marginLeft="0px";f.position="absolute";f.listStyle="none";f.top="0px";f.left="0px";if(h){d.hide();
f.visibility=oldVisibility}return{oldStyle:oldStyle,wrapper:jQuery(a)}};
jQuery.fx.namedColors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,
140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],red:[255,0,0],silver:[192,192,192],"238,130,238":[238,130,238],white:[255,255,255],yellow:[255,255,0]};
jQuery.fx.parseColor=function(b){return jQuery.fx.namedColors[b]?{r:jQuery.fx.namedColors[b][0],g:jQuery.fx.namedColors[b][1],b:jQuery.fx.namedColors[b][2]}:(result=/^rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)$/.exec(b))?{r:parseInt(result[1]),g:parseInt(result[2]),b:parseInt(result[3])}:(result=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)$/.exec(b))?{r:parseFloat(result[1])*2.55,g:parseFloat(result[2])*2.55,b:parseFloat(result[3])*
2.55}:(result=/^#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/.exec(b))?{r:parseInt("0x"+result[1]+result[1]),g:parseInt("0x"+result[2]+result[2]),b:parseInt("0x"+result[3]+result[3])}:(result=/^#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/.exec(b))?{r:parseInt("0x"+result[1]),g:parseInt("0x"+result[2]),b:parseInt("0x"+result[3])}:{r:255,g:255,b:255}};
jQuery.fx.animatedCssRules=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","opacity","outlineOffset","outlineWidth","paddingBottom","paddingLeft","paddingRight","paddingTop","right","textIndent","top","width","zIndex"];
jQuery.fx.animatedColorsCssRules=["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"];
jQuery.fx.animateColor=function(b,d,f,h,e){var a=this;a.easing=e;a.duration=jQuery.speed(d).duration;a.callback=h;a.el=jQuery(b);a.colors=f;b=0;for(i in a.colors){a.colors[i]=[jQuery.fx.parseColor(a.colors[i][0]),jQuery.fx.parseColor(a.colors[i][1])];b++}if(b==0)return false;a.t=(new Date).getTime();a.clear=function(){clearInterval(a.timer);a.timer=null};a.step=function(){var k=(new Date).getTime(),g=k-a.t,j=g/a.duration;if(k>=a.duration+a.t){setTimeout(function(){jQuery.dequeue(a.el.get(0),"interfaceFX");
a.callback&&typeof a.callback=="function"&&a.callback.apply(a.el.get(0))},13);a.clear()}else{o=1;for(i in a.colors){newColor=!jQuery.easing||!jQuery.easing[a.easing]?{r:parseInt((-Math.cos(j*Math.PI)/2+0.5)*(a.colors[i][1].r-a.colors[i][0].r)+a.colors[i][0].r),g:parseInt((-Math.cos(j*Math.PI)/2+0.5)*(a.colors[i][1].g-a.colors[i][0].g)+a.colors[i][0].g),b:parseInt((-Math.cos(j*Math.PI)/2+0.5)*(a.colors[i][1].b-a.colors[i][0].b)+a.colors[i][0].b)}:{r:parseInt(jQuery.easing[a.easing](j,g,a.colors[i][0].r,
a.colors[i][1].r-a.colors[i][0].r,a.duration)),g:parseInt(jQuery.easing[a.easing](j,g,a.colors[i][0].g,a.colors[i][1].g-a.colors[i][0].g,a.duration)),b:parseInt(jQuery.easing[a.easing](j,g,a.colors[i][0].b,a.colors[i][1].b-a.colors[i][0].b,a.duration))};a.el.css(i,"rgb("+newColor.r+","+newColor.g+","+newColor.b+")")}}};a.timer=setInterval(function(){a.step()},13)};jQuery.fn.animateColor=function(b,d,f,h){return this.queue("interfaceFX",function(){new jQuery.fx.animateColor(this,b,d,f,h)})};

