cont = cont.substring(0, match.index) + cont.substr(match.index + match[0].length); }; return cont; 
); 
	function snarfStyles(/*String*/cssUrl, /*String*/cont, /*Array*/styles){		/****************  cut out all <style> and <link rel="stylesheet" href=".."> **************/		var regex = /(?:<(style)[^>]*>([\s\S]*?)<\/style>|<link ([^>]*rel=['"]?stylesheet['"]?[^>]*)>)/i;		var match, attr;		while(match = regex.exec(cont)){			if(match[1] && match[1].toLowerCase() == "style"){				styles.push(adjustCssPaths(cssUrl, match[2]));			}else if(attr = match[3].match(/href=(['"]?)([^'">]*)\1/i)){				styles.push("@import '" + attr[2] + "';");			}			cont = cont.substring(0, match.index) + cont.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