Originally Posted by qcns1
The code will run but I an not getting the "initial visit" message. I did place an alert in that section of the code but I don't get the alert either. It's like that section of the code is bypassed. The error console isn't showing anything either.
Even when you fix the document.write error you still won't get the first visit message at all because your function
isn't being called anywhere..!!!!
Make sure your error console in your browser is turned on and your error messages will appear. They do in mine when I run your code.