Just a hint...why show the smilies at all if the user doesn't have JavaScript? It should be easy to detect this and change it.

Also, login/logout based on the user having the browser configurations you want doesn't make any sense to me. JavaScript is not necessary for performing a login or logout so it should not be required by the software. In addition, a server-side language could be used to print that message on the front page without any problems.

BTW, this is an example of the board should be W3T. I'm recognizing problems and concerns in OpenTopic. That's great for improving OpenTopic, but if this was W3T, we could be noticing all the little things there and providing feedback.