ns4=(document.layers)? true:false      
ie4=(document.all)? true:false
nn6 = (!document.all && document.getElementById)? true:false

function show(id) {
	if (ns4) document.a0.document.layers[id].visibility = "show"              
    if (ie4) document.all[id].style.visibility = "visible"
	if (nn6) document.getElementById(id).style.visibility="visible";
}

function hide(id) {
	if (ns4) document.a0.document.layers[id].visibility = "hide"              
    if (ie4) document.all[id].style.visibility = "hidden"
	if (nn6) document.getElementById(id).style.visibility="hidden";
}


function timedLayer(which) {
	var now = new Date;
	var timeNow = now.getHours();
	
	//alert(timeNow)

	if (timeNow > 15) {
		if (timeNow < 23) show(which)
	}
}