rem: (this.options.width + 10 - this.currentDims[0]), (this.options.height + 5 - this.currentDims[1]), {afterFinish: this._loadAfterResize.bind(this), beforeStart: function(effect) { Element.update(this.MBcontent, this.options.loadingString); }.bind(this) 
add: (this.options.width + 10 - this.currentDims[0]), (this.options.height + 5 - this.currentDims[1]), { duration: this.options.resizeDuration, afterFinish: this._loadAfterResize.bind(this), beforeStart: function(effect) { Element.update(this.MBcontent, ""); this.MBcontent.appendChild(this.MBloading); Element.update(this.MBloading, this.options.loadingString); }.bind(this) 
context: 	_update: function() { // Updating MB in case of wizards		this.currentDims = [this.MBwindow.offsetWidth, this.MBwindow.offsetHeight];		if((this.options.width + 10 != this.currentDims[0]) || (this.options.height + 5 != this.currentDims[1]))			new Effect.ScaleBy(this.MBwindow, 							   (this.options.width + 10 - this.currentDims[0]), //New width calculation							   (this.options.height + 5 - this.currentDims[1]), //New height calculation								{afterFinish: this._loadAfterResize.bind(this), 								beforeStart: function(effect) { Element.update(this.MBcontent, this.options.loadingString); }.bind(this) 			});		else {			Element.update(this.MBcontent, this.options.loadingString);			this._loadAfterResize();		}	},
meta: 2672	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2672/42454c7b7f5a71091006a99bf178e4931141d108/modalbox.js/buggy/modalbox.js