
function clearBox(box) {
 if(box.value==box.defaultValue) {
    box.value = "";
 }
}
function clearStyle(box, width, bold) {
  box.style.fontStyle = "normal";
  box.style.fontWeight = bold;
  box.style.color = "black";
  box.style.width = width + "px";
}

function postPopUp(url, name, params) {
  var win = window.open(url, name, params);
  if(win) {
    win.focus();
  }
}

function changeText(elid, txt) {
  var txtArea = document.getElementById(elid);
  alert(txtArea.value);
  txtArea.value = txt;
}

