function formSubmit(thisForm, thisAction) {
    thisForm = eval(thisForm);
    thisForm.action = thisAction;
    thisForm.submit();
}
