rem: var bases = document.getElementsByTagName("base"); if (bases && bases.length && bases[0].href) { return bases[0].href; } return ""; 
add: var bases = document.getElementsByTagName("base"); if (bases && bases.length && bases[0].href) { return bases[0].href; } return ""; 
context: function getDocumentBase(doc) {	var bases = document.getElementsByTagName("base");	if (bases && bases.length && bases[0].href) {		return bases[0].href;	}	return "";}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/409c1704b4cf230ddff8734c8f4835b0c22da435/htmlutils.js/buggy/code/javascript/core/scripts/htmlutils.js