window.onload = function() {
  var contact = document.getElementById('contact');
  if (contact) {
    for (var x = 0, elem; elem = contact.elements[x++];) {
      if (elem.name) {
        elem.onfocus = function() { if (this.value == this.defaultValue) this.value = ""; };
        elem.onblur = function() { if (!this.value) this.value = this.defaultValue; };
      }
    }
  }
};
