Hi. I want to add something so that if it is a visitor's first time visit, they are taken to another page. I know this is possible with javascript and cookies, but exactly what sort of code would I need to put in?

An example of what I'm looking for can be seen at The Sims Resource (if it is your first time visit).