Ok bare with me i am new to html. I posted a similar thread but realised I was asking the wrong thing so I thought it best to start again. The javascript I am using is called modalbox. In order for it to work you have to add the neccessary files to your server and paste this code into your pages: I have got everything working fine except I only want this script to take effect once per browser session as shown here I have tried addingg this after the code: As from what I can tell from the source code on the website I just listed that is what they have used, but I am having no luck. Is anybody able to modify the code I have pasted to make it only take effect once per browser session? If so I would be so appreciative. Thanks