function normalizeForm(form) {
  var elements = Form.getElements(form);
  elements.each(function (element) {
    new Element.ClassNames(element).remove('inputTextError');
  });
}

function bindNormalization(form) {
  var elements = Form.getElements(form);
  elements.each(function (input) {
      Event.observe(input, 'focus', function (e) {normalizeForm(form)})
  });
}
