Isn't it time you learned to use a DEBUGGER????
As soon as I opened the page up and tried it in a debugger (happened to be using Chrome, but would have been same in MSIE 8+ or FireFox with Firebug) I got an error on this line:
is null (that is, non-existent).
And of course that is true! That's because parent
THIS PAGE is *ALREADY* the top window. There is *NO PARENT* for the top window!
On top of that, you said "...it'll automatically open that page in a new window".
WHAT NEW WINDOW????
You have ZERO code there that even *TRIES* to create a new window!
CHANGE that line to THIS:
and it works!
I have to tell you, that is some very very disorganized and ugly HTML code.
<font> tags are obsolete. And in any case, a <font> tag does *NOT* affect the size of text in an <input> that it encloses. (You are doing <font size="3"><input></font>, which is pointless.)
And why why why do this:
<td align="center" width="125">
If you wanted it aligned left, why did you first change it to center and than back to left?
You really really need to learn to use CSS. Stop coding inline styles into everything.
But mainly, you need to try to stop using nested tables for page layout. That went out of fashion about 1999.
Finally, as a general rule, if you only have one <form> on a page, you should put the <form> tag right after <body> and the </form> tag just before </body>. Only change that if you need to have multiples forms on a page.