I've just tested. It works. (VBS code, not JS)
Check
www.4guysFromRolla.com for ASP consulting.
>Well, my browser does support cookies, so it prints, that it supports them. I didn't find a way to disable them and I don't want to. But it would be nice to try on the browser, which doesn't support cookies.
>
>I wrote it as a Java Script just to try different script languages...
>
>Found this site
http://www.w3schools.com/js/js_conditionals.asp to learn some Java scripts...