function removeFocusBorders() {
  var tags = [ "img", "a" ];
  for (var i=0; i<tags.length; i++) {
    var nodes = document.getElementsByTagName(tags[i]);
    for (var j=0; j<nodes.length; j++)
      if ((tags[i] == "input" && nodes[j].getAttribute("type") != "text" && nodes[j].getAttribute("type") != "password" && nodes[j].getAttribute("type") != "file") || tags[i] != "input")
        nodes[j].onfocus = function() { if(this.blur) this.blur(); }
  }
}

function buildMailTo(){
  var beforeAt = "we"+"bd"+"es"+"ig"+"n";
  var behindAt = "un"+"ea"+"rt"+"h."+"de";
  document.location.href = "ma"+"il"+"to:" + beforeAt + "@" + behindAt;
}

function closeError(){
	new Effect.Fade('error',{duration:1.5});
}
function openError(){
	new Effect.Appear('error',{duration:1.5});
}


