There is no such thing as document.pressed. If FF allows it, you are just lucky.
In any case, there is a *MUCH* easier way to do this.
Code:
<input type="submit" value = 'Save' name='does_not_matter'
onclick = "this.form.action='url1'; return true;" />
<input type="submit" value = 'Run' name='who_cares'
onclick = "this.form.action='url2'; return true;" />
Presto. Done.
No need for the onSubmitForm function any more.
Replace url1 and url2 with the actual URLs you need, of course.