function printEmail() {
	var pieces = ['<a href="', 'mailt', 'o:ert', 'a.de">ert', 'a.de</a', '>', 'a@ert'];
	document.write(pieces[0]);
	document.write(pieces[1]);
	document.write(pieces[2]);
	document.write(pieces[6]);
	document.write(pieces[3]);
	document.write(pieces[6]);
	document.write(pieces[4]);
	document.write(pieces[5]);
}

function activatePlaceholders() {
var detect = navigator.userAgent.toLowerCase(); 
if (detect.indexOf("safari") > 0) return false;
var inputs = document.getElementsByTagName("input");
for (var i=0;i<inputs.length;i++) {
  if (inputs[i].getAttribute("type") == "text") {
   if (inputs[i].getAttribute("placeholder") && inputs[i].getAttribute("placeholder").length > 0) {
    inputs[i].value = inputs[i].getAttribute("placeholder");
    inputs[i].className = inputs[i].className+" nsl";
    inputs[i].onclick = function() {
     if (this.value == this.getAttribute("placeholder")) {
      this.value = "";
     }
	this.className = this.className.substr(0,this.className.length-4);
    this.className = this.className+" sel";
     return false;
    }
    inputs[i].onblur = function() {
     if (this.value.length < 1) {
      this.value = this.getAttribute("placeholder");
    this.className = this.className.substr(0,this.className.length-4);
    this.className = this.className+" nsl";
     }
    }
   }
  }
}
}
window.onload=function() {
activatePlaceholders();
}

