function offTimer() {
	if (document.timer) {
		window.clearTimeout(document.timer);
		document.timer = null;
	}
}

function show(objid) {
    document.getElementById(objid).style.display = 'block';
}

function hide() {
	if (document.vis_l3) {
			document.getElementById(document.vis_l3).style.display = 'none';
			document.vis_l3 = null;
		};
	document.getElementById(document.vis).style.display = 'none';
	
}
function on(obj) {
    show(obj);
	offTimer();
	if (document.vis) {
		hide();
	}
	show(obj);
}

function off(obj) {
	document.vis = obj;
	document.timer = window.setTimeout('hide()', 600);
}
