//add event function
function addEvent(obj, evType, fn){ 
 if (obj.addEventListener){ 
   obj.addEventListener(evType, fn, true); 
   return true; 
 } else if (obj.attachEvent){ 
   var r = obj.attachEvent("on"+evType, fn); 
   return r; 
 } else { 
   return false; 
 } 
}

// Find all link elements and add an onfocus attribte and value
function hideFocusBorders(){
var theahrefs = document.getElementsByTagName("a");
if (!theahrefs){return;}
for(var x=0;x!=theahrefs.length;x++){
theahrefs[x].onfocus = function stopLinkFocus(){this.hideFocus=true;};
}
}

//event added using the addEvent() function above
addEvent(window, 'load', hideFocusBorders);

function mejlme(etttvatre, fyrafemsex)
{
document.write("<a href=" + "ma" + "ilt" + "o:" + etttvatre + "&#64;" + fyrafemsex + " title=" + etttvatre + "&#64;" + fyrafemsex + ">" + etttvatre + "&#64;" + fyrafemsex+ "</a>")
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=250,height=150,left = 220,top = 450');");
}