Try doing this:
<form name="theform" method="post">
<input type="image" src="xxxx.gif" onClick="document.theform.action=file.cfm;
document.theform.submit();">
<input type="image" src="fffff.gif" onClick="document.theform.action=file2.cfm;
document.theform.submit();">
</form>
--------
Rob Keniger
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.