
function validate_required(community, alerttxt)
{
   with (community)
   {
     if (community.value=="default")
       {alert(alerttxt);return false}
     else {return true}
   }
}

function validate_form(thisform)
{
  with (thisform)
  {
    if (validate_required(community,"Community selection required.")==false)
    {community.focus();return false}
  }
}
