
function writeit(text, id) //v1.1
{
  if (document.getElementById) {
    x = document.getElementById(id);
    if (x) {
      x.innerHTML = '';
      x.innerHTML = text;
    }
  }
  else if (document.all) {
    x = document.all[id];
    if (x) {
      x.innerHTML = text;
    }
  }
  else if (document.layers) {
    x = document.layers[id];
    if (x) {
      x.document.open();
      x.document.write(text);
      x.document.close();
    }
  }
} function closeError(div) {	document.getElementById(div).style.display = "none";}