rem: this.event("_afterResize"); this.event("afterResize"); 
add: setTimeout(function() { this.event("_afterResize"); this.event("afterResize"); }.bind(this), 1);  
context: 	resize: function(byWidth, byHeight, options) { // Change size of MB without loading content		var wHeight = Element.getHeight(this.MBwindow);		var wWidth = Element.getWidth(this.MBwindow);		var hHeight = Element.getHeight(this.MBheader);		var cHeight = Element.getHeight(this.MBcontent);		var newHeight = ((wHeight - hHeight + byHeight) < cHeight) ? (cHeight + hHeight - wHeight) : byHeight;		this.setOptions(options); // Passing callbacks		if(this.options.transitions) {			new Effect.ScaleBy(this.MBwindow, byWidth, newHeight, {					duration: this.options.resizeDuration, 				  	afterFinish: function() { 						this.event("_afterResize"); // Passing internal callback						this.event("afterResize"); // Passing callback					}.bind(this)				});		} else {			this.MBwindow.setStyle({width: wWidth + byWidth + "px", height: wHeight + newHeight + "px"});			this.event("_afterResize"); // Passing internal callback			this.event("afterResize"); // Passing callback		}			},
meta: 2672	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2672/a1be2edca1410e27382832d9401de393a02596cf/modalbox.js/buggy/modalbox.js