function block_switch(on,off) {
	document.getElementById(on).style.display = 'block';
	document.getElementById(off).style.display = 'none';
}