<input type="image" src="html_files/i_107.gif" name=image1 width=58 height=22 border="0" onclick="form.submit();">
<input type="image" src="html_files/i_108.gif" name=image2 width=58 height=22 border="0" onclick="form.submit();">
<input type="image" src="html_files/i_108.gif" name=image2 width=58 height=22 border="0" onclick="form.submit();">
b.gif onClick="action=grlogin_1.php?dd=b"
再根据dd来做条件判断就可以啦