function sf() {
  if (!document.forms.length) return;
  var e = 0;
  var myform = document.forms[0];
  while (e < myform.elements.length) {
    if (myform.elements[e].type == "text") {
      myform.elements[e].focus();
      break;
    }
    e++;
  }
}

function ob(which, text) {
  if (which.value == '') { which.value = text; }
}

function of(which, text) {
  if (which.value == text) { which.value = ''; }
}

function mi(which) { which.style.background="#336699"; }
function mo(which) { which.style.background="#000080"; }
