function epostaKontrol(sField) {
if(sField.value!='') {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(sField.value)){
return (true)
}
alert("E-posta adresiniz hatalı görünüyor, lütfen kontrol ediniz.  "); sField.focus();
return (false)
} else return(true)
}

function bosKontrol(sText,sField)
{
sText.style.backgroundColor=""; sText.style.color="#000000";
if (sText.value.length==0) { alert(sField+ ' alanı boş bırakılamaz. '); if (sText.type!="hidden") { sText.style.backgroundColor="#FF0000"; sText.style.color="#666"; sText.focus(); } return false; } else { return true; }
}
