
function Tjekform()
	{
		var strErrorMsg='';
		document.oplysninger.navn.style.background=''; 
		if(document.oplysninger.navn.value == "") {
			document.oplysninger.navn.style.background='#f7c1d4'; document.oplysninger.navn.focus();
			strErrorMsg+= '      * Navn \n';
	 		}
		document.oplysninger.adresse.style.background=''; 
		if(document.oplysninger.adresse.value == "") {
			document.oplysninger.adresse.style.background='#f7c1d4'; document.oplysninger.adresse.focus();
			strErrorMsg+= '      * Adresse \n';
	 		}
		document.oplysninger.postnr.style.background=''; 
		if(document.oplysninger.postnr.value == "") {
			document.oplysninger.postnr.style.background='#f7c1d4'; document.oplysninger.postnr.focus();
			strErrorMsg+= '      * Post nummer \n';
	 		}
		document.oplysninger.by.style.background=''; 
		if(document.oplysninger.by.value == "") {
			document.oplysninger.by.style.background='#f7c1d4'; document.oplysninger.by.focus();
			strErrorMsg+= '      * By \n';
	 		}
		document.oplysninger.telefon.style.background=''; 
		if(document.oplysninger.telefon.value == "") {
			document.oplysninger.telefon.style.background='#f7c1d4'; document.oplysninger.telefon.focus();
			strErrorMsg+= '      * Telefon \n';
	 		}
		document.oplysninger.email.style.background=''; 
		if(document.oplysninger.email.value == "") {
			document.oplysninger.email.style.background='#f7c1d4'; document.oplysninger.email.focus();
			strErrorMsg+= '      * E-mail \n';
	 		}
		if (strErrorMsg != '') {
			alert('Følgende felter er ikke udfyldt korrekt: \n\n'+strErrorMsg);
			return false;
			} 
	}
	
