function checkForm()
{

if (document.form1.cod.value=="" ||document.form1.st_ot.value=="" || document.form1.st_naz.value=="" || document.form1.prinad.value==""  || document.form1.kol_vag_cont.value=="" || document.form1.srok.value=="" || document.form1.firm.value=="" || document.form1.adress.value=="" || document.form1.phone.value=="" || document.form1.fio.value=="" || document.form1.e_mail.value=="")
{	alert ("Заполните обязательные поля, пожалуйста!");}
else
{	document.form1.submit();}


}

function checkForm_chat()
{

if (document.fr1.stotpr.value=="" || document.fr1.stnazn.value=="" || document.fr1.gruz.value=="" || document.fr1.ves.value=="" || document.fr1.vagon.value=="" ||  document.fr1.fio.value=="" || document.fr1.login.value=="" || document.fr1.tel.value=="" || document.fr1.city.value=="")
{	alert ("Заполните все поля, пожалуйста!\nPlease, fill all fields!");}
else
{	document.fr1.submit();}

}


function checkFormReg()
{

if (document.form1.company.value=="" ||document.form1.fio.value=="" || document.form1.pochta.value=="" || document.form1.email.value==""  || document.form1.tel.value=="" || document.form1.opisanie.value=="")
{	alert ("Заполните все поля, пожалуйста!");}
else
{	document.form1.submit();}


}