var state = 'none'; 
function showhide(layer_ref) { 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
		state = document.all[layer_ref].style.display;
		if (state == 'block') { state = 'none'; } else { state = 'block'; } 
		eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
		state = document.layers[layer_ref].display;
		if (state == 'block') { state = 'none'; } else { state = 'block'; } 
		document.layers[layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) { 
		hza = document.getElementById(layer_ref); 
		state = hza.style.display;
		if (state == 'block') { state = 'none'; } else { state = 'block'; } 
		hza.style.display = state; 
	} 
} 
function showdiv(layer_ref){
	var state = 'block';
	if (document.getElementById) { 
		hza = document.getElementById(layer_ref); 
		hza.style.display = state;
		return; 
	}
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
		eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
		document.layers[layer_ref].display = state; 
	}  
}
function hidediv(layer_ref){
	var state = 'none';
	if (document.getElementById) { 
		hza = document.getElementById(layer_ref); 
		hza.style.display = state; 
		return;
	} 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
		eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
		document.layers[layer_ref].display = state; 
	} 
}

