rem: setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; 
add: setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px'; 
context:   setDimensions: function(width, height) {    if(this.options.scaleX) this.element.style.width = width + 'px';    if(this.options.scaleY) this.element.style.height = height + 'px';    if(this.options.scaleFromCenter) {      var topd  = (height - this.originalHeight)/2;      var leftd = (width  - this.originalWidth)/2;      if(this.elementPositioning == 'absolute') {        if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px";        if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";      } else {        if(this.options.scaleY) this.element.style.top = -topd + "px";        if(this.options.scaleX) this.element.style.left = -leftd + "px";      }    }  }
meta: 2490	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2490/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js