function toggleVisibility(id, toggleLink, visibleText, hiddenText, grabFocus) {
	var currentItem = document.getElementById(id);
	currentItem.style.display = (currentItem.style.display == "block" ? "none" : "block");
	if (id == "floatingContact") {
		document.getElementById("globalMessageBackground").style.display = (currentItem.style.display == "block" ? "none" : "block");	
	}
	if (grabFocus) {
		if (id == "floatingContact") {
			document.getElementById('name2').focus();	
		} else {
			document.location.href = "#" + id;
		}
	}
	document.getElementById(toggleLink).innerHTML = (currentItem.style.display == "block" ? visibleText : hiddenText);
}