<!-- Begin
// Öppna Fönster Norrifrån
function NewWindowN() {
props=window.open('norrifran.htm', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=620, height=700, left = 10, top = 10');
}
// Öppna Fönster Söderifrån
function NewWindowS() {
props=window.open('soderifran.htm', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=620, height=700, left = 10, top = 10');
}

/*<![CDATA[*/ 
<!-- 
function validate_form(){ 
 
   var senderName = document.contactform.name.value; 
   var senderEmail = document.contactform.email.value; 
   var subject = document.contactform.subject.value; 
   var meddelande = document.contactform.meddelande.value; 
   var invalidChar = " /:,;"; 
   var atPos = document.contactform.sender_email.value.indexOf("@",1); 
   var periodPos = document.contactform.sender_email.value.indexOf(".",atPos); 
    
   if(senderName == ""){ // Name field cannot be empty 
      alert("Ditt namn är inte ifyllt") 
      document.contactform.name.focus() 
      return false; 
   } 
       
   if(senderEmail == ""){ // Email field cannot be empty 
      alert("Din e-postadress är inte ifylld") 
      document.contactform.sender_email.focus() 
      return false; 
   } 
    
   for(i=0; i<invalidChar.length; i++){ // Checking for invalid characters in email 
      badChar = invalidChar.charAt(i); 
      if(senderEmail.indexOf(badChar,0) > -1){ 
         alert("Ogiltig e-postadress"); 
         document.contactform.sender_email.focus() 
         document.contactform.sender_email.select() 
         return false; 
      } 
       
   } 
    
   if(atPos == -1){ // Email must contain an "@" symbol 
      alert("Ogiltig e-postadress"); 
      document.contactform.sender_email.focus() 
      document.contactform.sender_email.select() 
      return false; 
   } 
    
   if(senderEmail.indexOf("@",atPos+1) != -1){ // Email cannot have more then one "@" symbol 
      alert("Ogiltig e-postadress"); 
      document.contactform.sender_email.focus() 
      document.contactform.sender_email.select() 
      return false; 
   } 
    
   if(periodPos == -1){ // Must be a "." after the @ symbold in the email 
      alert("Ogiltig e-postadress"); 
      document.contactform.sender_email.focus() 
      document.contactform.sender_email.select() 
      return false; 
   } 
 
   if(periodPos+3 > senderEmail.length){ // Must be at least 2 characters after the dot 
      alert("Ogiltig e-postadress"); 
      document.contactform.sender_email.focus() 
      document.contactform.sender_email.select() 
      return false; 
   } 
       
   if(subject == ""){ // Subject field cannot be empty 
      alert("Ämne är inte ifyllt") 
      document.contactform.subject.focus() 
      return false; 
   } 
       
   if(meddelande == ""){ // Message cannot be empty 
      alert("Meddelande fältet får inte vara tomt") 
      document.contactform.meddelande.focus() 
      return false; 
   } 
       
   return true; 
}    
//--> 
/*]]>*/ 
// End -->	