function Validator(theForm)
{

  if (theForm.ime.value == "" )
  {
    alert(alert1);
    theForm.ime.focus();
    return (false);
  }
  if (theForm.priimek.value == "" )
  {
    alert(alert1);
    theForm.priimek.focus();
    return (false);
  }
  if (theForm.ulica.value == "")
  {
    alert(alert1);
    theForm.ulica.focus();
    return (false);
  }
  if (theForm.telefon.value == "")
  {
    alert(alert1);
    theForm.telefon.focus();
    return (false);
  }
  if (theForm.kraj.value == "")
  {
    alert(alert1);
    theForm.kraj.focus();
    return (false);
  }
  /*var good_email = theForm.telefon.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
  if (!good_email)
  {
  	alert(alert2_slo);
    theForm.email.focus();
    return (false);
  }*/
}

function Validator2(theForm)
{

  if (theForm.ime.value == "" )
  {
    alert(alert1);
    theForm.ime.focus();
    return (false);
  }
  if (theForm.priimek.value == "" )
  {
    alert(alert1);
    theForm.priimek.focus();
    return (false);
  }
  if (theForm.ulica.value == "")
  {
    alert(alert1);
    theForm.ulica.focus();
    return (false);
  }
  if (theForm.telefon.value == "")
  {
    alert(alert1);
    theForm.telefon.focus();
    return (false);
  }
  if (theForm.kraj.value == "")
  {
    alert(alert1);
    theForm.kraj.focus();
    return (false);
  }
  if (theForm.leto_rojstva.value == "")
  {
    alert(alert1);
    theForm.leto_rojstva.focus();
    return (false);
  }
  if (theForm.formalna_izobrazba.value == "")
  {
    alert(alert1);
    theForm.formalna_izobrazba.focus();
    return (false);
  }
  /*var good_email = theForm.telefon.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
  if (!good_email)
  {
  	alert(alert2_slo);
    theForm.email.focus();
    return (false);
  }*/
}