function show_error(field){
   document.getElementById('errors').style.visibility = 'visible';
   document.getElementById(field).style.borderColor = '#FF7325';
   document.getElementById(field).style.borderWidth = '2px';
   }

function clear_error(field){
   document.getElementById(field).style.borderColor = '#A69D99';
   document.getElementById(field).style.borderWidth = '1px';
   }

function clear_error_list(list){
 for (i = 0; i<list.length; i++) clear_error(list[i]);
 }

function show_error1(field){
   document.getElementById('errors1').style.visibility = 'visible';
   document.getElementById(field).style.borderColor = '#FF7325';
   document.getElementById(field).style.borderWidth = '2px';
   }

