function showhide(layer_ref, state) { 
	$(layer_ref).style.display = state;
} 