/*
 * All the various functions for handling the order form
 *
 */
 
// stop the enter key forcing a form submit
// until the submit button has focus
var submit_has_focus = false;

function SubmitFound() 
{ submit_has_focus = true; }

function SubmitLost() 
{ submit_has_focus = false; }

function ValidSubmit() 
{ 
  return (submit_has_focus);
}

function InputFocus()
{
  // give focus to the first form field
  document.getElementsByTagName('input')[0].focus();
}

// not for single partners - so move into individual files as required
// (e.g. shop?) addLoadEvent( InputFocus );


