/* author: Agency Mariage */
/* Generated by AceHTML Freeware http://freeware.acehtml.com */
/* Creation date: 6/21/02 */

function noEntry() {
mE=document.form.E_mail.value;
mU=document.form.url.value;
mP=document.form.password.value;
mR=document.form.repeat.value;
mD=document.form.description.value;
if ((mE.length<1)||(mE.indexOf("*")!=-1)) {
alert("Your E_mail is requred !\nВашият E_mail се изисква !");
document.form.E_mail.value="** Fill / Попълнете";
document.form.E_mail.focus();
document.form.E_mail.select();
return false;
	}
	if ((mE.length<7)||(mE.indexOf("@")==-1)||(mE.indexOf(".")==-1)) {
	alert("This is not a valid E_mail address !.\nТова не е валиден E-mail адрес !");
	document.form.E_mail.focus();
	return false;
	  }
		else if ((mP.length<3)) {
	    alert("At least 3 chars for your pass needed !.\nНужни са поне 3 знака за парола !");
	    document.form.password.value="***";
	    document.form.password.focus();
	    document.form.password.select();
	    return false;
	      }
		  else if ((mP!=mR)) {
	      alert("You have typed two defferent passwords ! !.\nНаписахте две различни пароли !");
	      document.form.password.focus();
	      document.form.password.select();
		  return false;
	        }
			else if (mD.indexOf("<")!=-1) {
	alert("These tags not allowed");
	document.form.description.focus();
	return false;
	  }
			
	      else  return true;
}


/* Creation date: 6/21/02 */

function checkE_mail() {
mE=document.formMail.E_mail.value;
if ((mE.length<1)||(mE.indexOf("*")!=-1)) {
alert("The entry must be completed (E_mail).\nПолето трябва да се попълни (E_mail)!");
document.formMail.E_mail.value="** Fill / Попълнете";
document.formMail.E_mail.focus();
document.formMail.E_mail.select();
return false;
	}
	if ((mE.length<7)||(mE.indexOf("@")==-1)||(mE.indexOf(".")==-1)||(mE.indexOf(" ")!=-1)) {
	alert("This is not a valid E_mail address!.\nТрябва да напишете валиден E-mail!");
	document.formMail.E_mail.focus();
	return false;
	}
	else  return true;
}
