function validate_form()
{
	names = document.getElementById('name');
	home_phones = document.getElementById('tel');
	emails = document.getElementById('email');
	mfcitys = document.getElementById('mfcity');
	mtcitys = document.getElementById('mtcity');
	months = document.getElementById('month');
	dates = document.getElementById('date');
	years = document.getElementById('year');
   if (names.value == '')
   {
   alert('You did not provide your name')
   return false
   }
   if ((emails.value == '') && (home_phones.value == ''))
   {
   alert('You did not provide any details to contact you. Please, write your phone or email')
   return false
   }
   if ((months.value == '') || (dates.value == '') || (years.value == ''))
   {
   alert('You did not provide the date of your moving. Please write approximate date!')
   return false
   }
   if ((mfcitys.value == '') || (mtcitys.value == ''))
   {
   alert('You did not provide the cities of your moving to and from!')
   return false
   }
   
}
function loadCSS(){
document.getElementById('otstup').innerHTML='';
}
window.onload = loadCSS;