function checkMail(){if(document.forms["email_news"].navn.value==""||document.forms["email_news"].navn.value=="Dit navn"){alert("Indtast navn");return;}var x=document.forms["email_news"].email.value;var y=document.forms["email_news"].navn.value;var _3=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!_3.test(x)){alert("Indtast en gyldig e-mail adresse!");return;}window.location="/nyhedsbrev/tilmeld.html?email="+x+"&navn="+y;}function checkMail2(){var x=document.forms["email_news"].email.value;var _5=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!_5.test(x)){alert("Indtast en gyldig e-mail adresse!");return;}window.location="/nyhedsbrev/afmeld.html?email="+x;}function checkMail_uk(){if(document.forms["email_news"].navn.value==""||document.forms["email_news"].navn.value=="Your name"){alert("Please fill in your name");return;}var x=document.forms["email_news"].email.value;var y=document.forms["email_news"].navn.value;var _8=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!_8.test(x)){alert("Please fill in a valid e-mail address!");return;}window.location="/nyhedsbrev/tilmeld.html?email="+x+"&navn="+y+"&sprog=uk";}function checkMail2_uk(){var x=document.form.email.value;var _a=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!_a.test(x)){alert("Indtast en gyldig e-mail adresse!");return;}window.location="/nyhedsbrev/afmeld.html?email="+x;}function checkMobile(){var x=document.form2.mobilnr.value;var _c=/^([2-6]{1})+([0-9]{7})+$/;if(!_c.test(x)){alert("Indtast venligst et gyldigt 8-cifret mobilnummer.\nUndlad +45 i indtastningen.");return;}window.location="./nyhedsbrev/tilmeldsms.html?mobile="+x;}function checkMobile2(){var x=document.form2.mobilnr.value;var _e=/^([2-6]{1})+([0-9]{7})+$/;if(!_e.test(x)){alert("Indtast venligst et gyldigt 8-cifret mobilnummer");return;}window.location="./nyhedsbrev/afmeldsms.html?mobile="+x;}
