jQuery.fn.CleanCSSAnimation=function(a,g,e,d,c){var f=new Array(g,e,d,c);(a=="animate")?$fnpos=2:$fnpos=1;var b="";jQuery.each(f,function(h){if(typeof this=="function"){b=f[h];$fnpos=h}return});f.splice($fnpos,1,function(){_apllyOldCallback(this,b)});return this.each(function(){unMakeInlineCSS(this,"pre");jQuery(this)[a].apply(jQuery(this),f)})};function unMakeInlineCSS(b,d){var c="displaynone";var a="displayblock";if(d=="pre"){if(jQuery(b).is("."+c)){jQuery(b).css("display","none").removeClass(c)}else{if(jQuery(b).is("."+a)){jQuery(b).css("display","block").removeClass(a)}}}else{if(d=="post"){if(jQuery(b).css("display")=="none"){jQuery(b).addClass(c).css("display","")}else{if(jQuery(b).css("display")=="block"){jQuery(b).addClass(a).css("display","")}}}}}function _apllyOldCallback(a,b){unMakeInlineCSS(a,"post");if(typeof b=="function"){b.apply(a)}};