
function toggleScreen(which,show) {
	var screen = $('team_screen');
	var bio = which.getElementsByTagName('div')[0];
	if (show) {
		screen.style.top = which.style.top;
		screen.style.left = which.style.left;
		screen.style.display = 'block';
		bio.style.display = 'block';
	} else {
		screen.style.display = 'none';
		bio.style.display = 'none';
	}
}

function clearFld(pField) {
	pField.value = "";
}

function redirect(pUrl) {
	window.location = pUrl;
}

/*
function toggleDialog() {
	var dO = $('dialogOuter');
	var dC = $('dialogContent');
	var dL = $$('.dialogShadowLt')[0];
	var dR = $$('.dialogShadowRt')[0];
	var h = $('dialog').clientHeight;
	dO.style.height = h + 'px';
	dL.style.height = (h - 6) + 'px';
	dR.style.height = (h - 6) + 'px';
	dC.style.width = 'auto';
	dO.style.visibility = (dO.style.visibility != 'visible') ? 'visible' : 'hidden';
}
*/
