
(function($,window,undef){var webkit=Browser.chrome||Browser.safari||Browser.Platform.ios||Browser.Platform.webos;Fx.CSS3=new Class({Extends:Fx,options:{transfom:'scale'},element:null,transformations:{},prefix:(Browser.firefox)?'moz':(webkit)?'webkit':(Browser.opera)?'o':'ms',initialize:function(el,options){this.element=$(el);this.parent(options);},set:function(current)
{var trans=[];var current_trans=this.element.__fxcss3_transformations;if(!current_trans)
{this.element.__fxcss3_transformations={}}
this.element.__fxcss3_transformations[this.options.transform]=current;for(key in this.element.__fxcss3_transformations)
{var val=this.element.__fxcss3_transformations[key];switch(key)
{case'scale':trans.push("scale("+val+")");break;case'rotate':trans.push("rotate("+val+"deg)");break;}}
this.element.setStyle("-"+this.prefix+"-transform",trans.join(" "));return this;}});})(document.id,this);
