I'm slowly changing all buttons on my site to this format and i've got one that doesnt work :


<input type="image" type="submit" src="http://www.kchat.org/images/leave.gif" name="logoff" value="Logoff" target="top">

When i click it instead of compeltly leaving the script like it does without an image it just fires the chatform to the top, if i take the image part out it works right. any ideas? It should break free from the script and frames.