
//------------------- for clearing and replacing text in form input fields and textareas -------------------//
function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
} 
function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}

// generic window //
function EZowin(url) { //1.0
  window.open(url,'ezPopUp','width=600, height=400, resizable=0,scrollbars=yes,menubar=no,directories=0,status=0,copyhistory=0,minimise=no,maximise=no,left=0,top=0');
}
