function checkform(){
var ok_flag=true;
if (document.all.fio.value.length<2) {ok_flag=false;window.alert("Укажите Ваше имя !");}
if ((document.all.tel.value.length<3)&&(document.all.email.value.length<3)) {ok_flag=false;window.alert("Укажите Ваш телефон или email !");}	
if (document.all.adress.value.length<2) {ok_flag=false;window.alert("Укажите адрес доставки !");}
return ok_flag;
}

