<!--
// submitonce.js:
// When called by a form's onSubmit event, permits the form to be submitted
// only once.
//
// $Source: /home/chris/CVS/offloadonline/submitonce.js,v $
// $Revision: 1.4 $
// $Author: chris $

var submitcount = 0;

function submitOnce()
{
  if (submitcount == 0)
    {
      submitcount++;
      return true;
    }
  else 
    {
      alert("This form has already been submitted, thanks.  Please wait...");
      return false;
    }
}
//  End -->

