%
my( $formname, $fields, $action, $url_or_message, $key ) = @_;
$key = '' unless defined $key;
my $url_or_message_link;
if ( ref($url_or_message) ) { #its a message or something
$url_or_message_link =
'message='. uri_escape( $url_or_message->{'message'} )
} else {
$url_or_message_link = "url=$url_or_message";
}
%>
<%= include('/elements/xmlhttp.html',
'method' => 'POST',
'url' => $action,
'subs' => [ 'start_job' ],
'key' => $key,
)
%>