rem: currentPlayer = pl.substring(0, end).replace(/:/g,"%3A"); 
add: if (end > 0) pl = pl.substring(0, end); currentPlayer = pl.replace(/:/g,"%3A"); 
context: function loadHome() {	var loc = window.location.href;	var qpos = loc.indexOf("?player=");	if (qpos < 0) qpos = loc.indexOf("&player=");	if (qpos < 0) {		currentPlayer = escape(playercookie.getValue());	} else {		var pl = loc.substring(qpos + 8);		var end = pl.indexOf("&");		currentPlayer = pl.substring(0, end).replace(/:/g,"%3A");	}	updateHome();}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/047ffbe5302215c7aa71c5e88371134466d4f46c/home.js/buggy/HTML/ExBrowse2/html/home.js