function checkform()
{
	if(document.vermaufp.city[0].checked == false && document.vermaufp.city[1].checked == false && document.vermaufp.city[2].checked == false)
	{
		document.vermaufp.city[0].focus();
		alert("Por favor introduzca una ciudad o región en la que usted busca un apartamento.");
		return false;
	}

	if(document.vermaufp.object.value == "")
	{
		document.vermaufp.object.focus();
		alert("Por favor describa brevemente qué tipo de apartamento busca.");
		return false;
	}

	if(document.vermaufp.erlaeuterung.value.length>200)
	{
		document.vermaufp.erlaeuterung.focus();
		alert("La introducción en 'explicación' es damasiada larga (max. 200 letras).\Por favor use el campo 'explicación' adicional al final del formulario.");
		return false;
	}

	if(isNaN(document.vermaufp.auswahl1.value))
	{
		document.vermaufp. auswahl1.focus();
		alert("Este campo solamente es para números.");
		return false;
	}

	if(isNaN(document.vermaufp.auswahl2.value))
	{
		document.vermaufp. auswahl2.focus();
		alert("Este campo solamente es para números.");
		return false;
	}

	if(isNaN(document.vermaufp.auswahl3.value))
	{
		document.vermaufp. auswahl3.focus();
		alert("Este campo solamente es para números.");
		return false;
	}

	if(isNaN(document.vermaufp.auswahl4.value))
	{
		document.vermaufp. auswahl4.focus();
		alert("Este campo solamente es para números.");
		return false;
	}

	if(isNaN(document.vermaufp.auswahl5.value))
	{
		document.vermaufp. auswahl5.focus();
		alert("Este campo solamente es para números.");
		return false;
	}

	if(document.vermaufp.howmany[0].checked == false && document.vermaufp.howmany[1].checked == false)
	{
		document.vermaufp.howmany[0].focus();
		alert("Por favor especifique su solicitud : \nindividual / para varias personas, \nfumador / no fumador");
		return false;
	}

	if(document.vermaufp.start.value == "")
	{
		document.vermaufp.start.focus();
		alert("Por favor rellene el dato en el que usted se quiere instalar.");
		return false;
	}

	if(document.vermaufp.time[0].checked == false && document.vermaufp.time[1].checked == false && document.vermaufp.time[2].checked == false)
	{
		window.location.href = "#anker";
		alert("'Por favor elija una de las 3 opciones bajo 'Mi solicitud sirve'");
		return false;
	}

	if(document.vermaufp.rent.value == "")
	{
		document.vermaufp.rent.focus();
		alert("Por favor inscriba un precio máximo");
		return false;
	}

	if(document.vermaufp.notes.value.length>400)
	{
		document.vermaufp.notes.focus();
		alert("La inscripción bajo 'comentario' es demasiada larga (max. 400 letras).");
		return false;
	}

	if(document.vermaufp.name.value == "")
	{
		document.vermaufp.name.focus();
		alert("Por favor rellene su nombre completo.");
		return false;
	}

	if(document.vermaufp.vorname.value == "")
	{
		document.vermaufp.vorname.focus();
		alert("Por favor rellene su nombre completo.");
		return false;
	}

	if(document.vermaufp.adr1.value == "")
	{
		document.vermaufp.adr1.focus();
		alert("Por favor rellene su dirección completa.");
		return false;
	}

	if(document.vermaufp.plz.value == "")
	{
		document.vermaufp.plz.focus();
		alert("Por favor rellene su código postal.");
		return false;
	}

	if(document.vermaufp.ort.value == "")
	{
		document.vermaufp.ort.focus();
		alert("Por favor escriba su dirección completa.");
		return false;
	}

	if(document.vermaufp.dob.value == "")
	{
		document.vermaufp.dob.focus();
		alert("Por favor rellene su fecha de nacimiento.");
		return false;
	}

	if(document.vermaufp.fone1.value == "")
	{
		document.vermaufp.fone1.focus();
		alert("Por favor dénos un número de teléfono dónde lo podemos llamar.");
		return false;
	}


	if(document.vermaufp.idno.value == "")
	{
		document.vermaufp.idno.focus();
		alert("POr favor rellene su número de pasaporte por razones de autentificación.");
		return false;
	}

	if(document.vermaufp.idnat.value == "")
	{
		document.vermaufp.idnat.focus();
		alert("POr favor especifique su nacionalidad.");
		return false;
	}

	if(document.vermaufp.agreetoagb.checked == false)
	{
		document.vermaufp.agreetoagb.focus();
		alert("Por favor rellene el pedido de encargo y un aviso de que entendió las condiciones generales de contrato tocando el botón de abajo.");
		return false;
	}



	document.vermaufp.submit();
}