Hey everybody...

I am looking for a Javascript that will open a popup window while placing a cookie on the users computer. The cookie would prevent the window from opening again when the user visited the site another time.

I have tried a few scripts of this sort from the forums on my local machine, but a) I don't quite understand them enough to implement them properly and b) they don't seem to work right.

Could someone provide some code for me or at least point me in the direction of code that would be easily modifiable?

thank in advance