You can't put the script in the head tag unless your going to execute it when the document has finished loading:
Code:
<script type="text/javascript">
window.onload = function()
{
var supervip = document.getElementById("supervip");
var one = document.getElementById("one");
supervip.onclick = function()
{
one.style.visibility = "visible";
};
};
</script>
or simply done without using variables:
Code:
<script type="text/javascript">
window.onload = function()
{
document.getElementById("supervip").onclick = function()
{
document.getElementById("one").style.visibility = "visible";
};
};
</script>
Bookmarks