<script language="vbscript">
Function Showorhide()
If LAYER1.style.display="none" Then
LAYER1.style.display = ""
Else
LAYER1.style.display = "none"
End If
End Function
</script>
<button onclick="Showorhide()">SHOW/HIDE</button>
<div id="LAYER1" style="display:none">LAYER 1</div>
<script language="vbscript">
Function Showorhide()
If LAYER1.style.display="none" Then
LAYER1.style.display = ""
Else
LAYER1.style.display = "none"
End If
End Function
</script>
<button onclick="Showorhide()">SHOW/HIDE</button>
<div id="LAYER1" style="display:none">LAYER 1</div>