function logout(url) {

	if (confirm('Are you sure that you want to logout? It is recommended that you logout when accessing the site from a SHARED or PUBLIC computer.')) go(url);
	else return false;

}

function go (url) {

	window.location = url;

}

function showHide(theId) {

	if (document.getElementById(theId).style.display != 'block') document.getElementById(theId).style.display = 'block';
	else document.getElementById(theId).style.display = 'none';

}

function showAll(theId,theCount) {

	for (i=1;i<=theCount;i++) document.getElementById(theId+i).style.display = 'block';

}

function hideAll(theId,theCount) {

	for (i=1;i<=theCount;i++) document.getElementById(theId+i).style.display = 'none';

}
