function perform_action(link,form_handled) { var form=document.forms[form_handled]; form.action=link; form.submit(); } ####
...
##
##