
function FormatText(Modo, Elemento, DValor){

  if (Modo == 1){
    if (Elemento.value == DValor){
      Elemento.value = '';
    }
  }

  if (Modo == 2){
    if (Elemento.value == ''){
      Elemento.value = DValor;
    }
  }
}

