
// hide the msg div, which might be on top of all in case of errors / messages
function closemsg() {
	document.getElementById('messagediv').style.visibility = 'hidden';
}

function toggle(id) {
	var e = document.getElementById(id);
	if (e) {
		if ((e.style.display == 'none') || (e.style.display == '')) {
			e.style.display = 'block';
		} else {
			e.style.display = 'none';
		}
	}
}

function go(url){
	top.location.href=url;
}