function checkKontakt(theForm) {

missinginfo = "";

if (document.contactform.namn.value == "") {
	missinginfo += "<br>- Ditt namn";
}

if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.contactform.epost.value)){
	missinginfo += "";
} else  {
	missinginfo += "<br>- Din e-postadress";

}
if(document.contactform.amne.value == "") {
	missinginfo += "<br>- Ärende (överskrift)";
}

if(document.contactform.meddelande.value == "") {
	missinginfo += "<br>- Meddelande";
}

if (missinginfo == "") {
	document.contactform.okey.value = "Skickar...";
	document.contactform.okey.disabled = true;
	return true;
} else {
	document.getElementById('info_notice_text').innerHTML='<b>Följande fält är inte korrekt ifyllda</b><br>' + missinginfo + '<br><br><b>Korrigera dessa fält och försök igen!</b>';
	document.getElementById('info_notice_image').src="img/ico_shout.png";
	document.getElementById('info_notice_box').style.display='block';
	document.body.scrollTOP=0;
	document.location="#wrapper";
	return false;
}

}