﻿function textFieldFocus(object,defaultValue) {
  object.className = "text_focus";
  if (object.value == defaultValue) {
    object.value = "";
  }
}

function textFieldBlur(object,defaultValue) {
  object.className = "text";
  if (object.value == "") {
    object.value = defaultValue;
  }
}

function unhide(elid, el) {
  var eldiv = document.getElementById(elid);
  if (eldiv) {
    eldiv.style.display = "inline";
    el.style.display = "none";
  }
}
