return cont.replace(/<script\s*(?![^>]*type=['"]?dojo)(?:[^>]*?src=(['"]?)([^>]*?)\1[^>]*)?>([\s\S]*?)<\/script>/gi, 
return cont.replace(/<script\s*(?![^>]*type=['"]?dojo)(?:[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?)*>([\s\S]*?)<\/script>/gi, 
	function snarfScripts(cont, byRef){		// summary		//		strips out script tags from cont		// invoke with 		//	byRef = {errBack:function(){/*add your download error code here*/, downloadRemote: true(default false)}}		//	byRef will have {code: 'jscode'} when this scope leaves		byRef.code = "";		function download(src){			if(byRef.downloadRemote){				// console.debug('downloading',src);				dojo.xhrGet({					url: src,					sync: true,					load: function(code){						byRef.code += code+";";					},					error: byRef.errBack				});			}		}				// match <script>, <script type="text/..., but not <script type="dojo(/method)...		return cont.replace(/<script\s*(?![^>]*type=['"]?dojo)(?:[^>]*?src=(['"]?)([^>]*?)\1[^>]*)?>([\s\S]*?)<\/script>/gi,			function(ignore, delim, src, code){				if(src){					download(src);				}else{					byRef.code += code;				}				return "";			}		);	}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/3c32df34d2f02cae63a5fc1b8bea594ddbadfffc/ContentPane.js/buggy/layout/ContentPane.js