var regex = /<title[^>]*>([\s\S]*?)<\/title>/i; while(match = regex.exec(cont)){ cont = cont.substring(0, match.index) + s.substr(match.index + match[0].length); }  return cont; 
return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig, ""); 
	function secureForInnerHtml(cont){		/********* remove <!DOCTYPE.. tag **********/		cont = cont.replace(/$\s*<!DOCTYPE\s[^>]+>/i, "");		/************** <title> ***********/		// khtml is picky about dom faults, you can't attach a <style> or <title> node as child of body		// must go into head, so we need to cut out those tags		var regex = /<title[^>]*>([\s\S]*?)<\/title>/i;		while(match = regex.exec(cont)){			cont = cont.substring(0, match.index) + s.substr(match.index + match[0].length);		}		return cont;	}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/3c9b3c65a235c4134dceb120b2a28c62017baf1b/ContentPane.js/clean/layout/ContentPane.js