  <!--- 
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header

var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.biz)|(\.int)|(\.arpa)|(\.aero)|(\.name)|(\.coop)|(\.pro)|(\.museum)|(\.info)|(\..{2,2}))$)\b/gi);
if (goodEmail){
   good = true
} else {
   alert('Tyvärr, mejl-adressen verkar inte vara korrekt.')
   field.focus()
   field.select()
   good = false
   }
}

function mailThisUrl(){
	u = window.location;
	m = "Humor med apor";
   good = false
   checkEmailAddress(document.eMailer.address)
   if (good){
      // the following expression must be all on one line...
      window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
   }
}

function kontakt(){
	km = "Ap-Kul";
	ks = "kul";
	kd = "humor";
      window.location = "mailto:"+ks+'.'+ks+'@'+kd+'.zzn.com'+"?subject="+km;
}

// markea ny
function checknew(date) {
expdate = new Date(date);
curdate = new Date();
if (expdate.getTime() > curdate.getTime())
document.write(" <strong><font face='comic sans ms' color=#ff0000>ny</font></strong>");
}


  //  --->
