context: 	loadContent: function () {		if(this.event("beforeLoad") != false) { // If callback passed false, skip loading of the content			if(typeof this.content == 'string') {								var htmlRegExp = new RegExp(/<\/?[^>]+>/gi);				if(htmlRegExp.test(this.content)) { // Plain HTML given as a parameter					this._insertContent(this.content);					this._putContent();				} else 					new Ajax.Request( this.content, { method: this.options.method.toLowerCase(), parameters: this.options.params, 						onComplete: function(transport) {							var response = new String(transport.responseText);							this._insertContent(transport.responseText.stripScripts());							response.extractScripts().map(function(script) { 								return eval(script.replace("<!--", "").replace("// -->", ""));							}.bind(window));							this._putContent();						}.bind(this)					});								} else if (typeof this.content == 'object') {// HTML Object is given				this._insertContent(this.content);				this._putContent();			} else {				Modalbox.hide();				throw('Please specify correct URL or HTML element (plain HTML or object)');			}		}	},
meta: 2672	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2672/9edd9d679418333af54a8b82dea284df1a0c8ec4/modalbox.js/clean/modalbox.js