I have the following code on my documents:

<table border="1"><tr id="help" style="display: none"><td align="left" bgcolor="#ffffcc" colspan="2">
Username is a short combination of letters and/or numbers uniquely identifying your account</td></tr>
<tr><td align="left" width="50%">Username&nbsp;&nbsp;
<a onclick="document.all.help.style.display = document.all.help.style.display=='none' ? '' : 'none'" href="#">??</a>
</td><td align="left" width="50%"><input type="text" name="username" /></td></tr></table>
The code seems to be working perfectly when I do not use the DOCTYPE declaration, but stops working when I do use it. Does anyone know how I can tweak this code so that it will work when using the DOCTYPE declaration?