/**
 * @author jheithof
 */
function OnSubmitForm(form, value, SearchType)
{
  if(value == 'edit')
  {
     form.action ="simple_search.php?type=" + SearchType;
  }
  else
  if(value == 'new')
  {
     form.action ="simple_search.php";
  }
  else
  if(value == 'advanced')
  {
    form.action ="simple_search.php?type=advanced";
  }
  return true;
}
