  function replaceAll(text, strA, strB) {
      while ( text.indexOf(strA) != -1) {
          text = text.replace(strA,strB);
      }
      return text;
  }  
  
  function removeQuotes(refThis){
    var inputText = refThis.value;
    inputText = replaceAll(inputText,"\'","");
    inputText = replaceAll(inputText,"\"","");
    refThis.value = inputText;
  }
  
  function formatBox(refThis,standardText){
    var inputText = refThis.value;
    if (inputText == standardText) {
      refThis.value = '';
    } else {
      refThis.value = inputText;
    }    
  }