Worked perfectly.. Thanx a million!!!
I, however, managed to give myself a new problem...
I want the rest of the page to get darker when an image is open, so I added a black <div id="background"> width 50% opacity to the html. I put it below the images, but above the rest of the content. I made it hidden and wanted i to be visible when you click the image, so I wrote that in the supervip.onclick function like this:
document.getElementById("supervip");
document.getElementById("background");
supervip.onclick = function() {
background.style.visibility = "visible";
one.style.visibility = "visible";
};
The problem is that the new <div> also covers the image, even though I put it below the image in the html... I've also tried to change the order whitin the function without result.
Alway stuck with something... Thanx again!!!