var xV1 = 0;
nV = document.body.scrollTop;
document.getElementById('popup').style.top = xV1+nV;
xV1 = document.getElementById('popup').offsetTop;
The code I'm using for the close link is as follows:
<a href="#" onclick="document.getElementById('popup').style.display = 'none'">close [X]</a>
Can anyone tell me if making the popup disappear after a specified time is possible by modifying the above?