//------------------- PeopleNav.ascx ------------------------------
function iTalkiesPersonAlphaNavElementOnClick(srcElement, text)
{
	// First clear out all the rest of the selected items
	iTalkiesClearAllAlphaNavSelectableElements (srcElement.parentNode, "a");
	
	var newParam;
	newParam = "Alpha=" + encodeURIComponent(text);
	
	if ((window.location.search != "") && (window.location.search != null))
	{
		var tempHref = window.location.search;
		
		// Remove any Alpha parameters
		var re = /&?Alpha=[^&$]*/ig;
		tempHref = tempHref.replace (re, "");
		
		srcElement.href = window.location.protocol + "//" + window.location.host + window.location.pathname	+ tempHref + "&" + newParam;
	}
}

