I'd like to know as well. A quick glance though and I noticed this:
<input k="" size="50" type=" name=">
Looks like you have a syntax error somewhere...probably a missing quote. The code you pasted looks like it was generated using firebug or something similar. It will often try to fix missing quotes and you get weird stuff happening like the above.
Look at your code again for missing quotes. If the code you pasted wasn't from a debugging tool, then start by fixing the attributes on that input.