var timeout;
function show(id){
	stop_timer()
	hide();
	document.getElementById(id).style.display="block";
}
function start_timer(){
	timeout=setTimeout(function(){hide()}, 400);
}
function stop_timer(){
	clearTimeout(timeout);
}
function hide(){
	document.getElementById("layer1").style.display="none";
	document.getElementById("layer2").style.display="none";
}
