function checkAll(field){

 for (i = 0; i < field.length; i++)
  field[i].checked = true ;

}//checkAll
//-----------------------------------//
function uncheckAll(field){

 for (i = 0; i < field.length; i++)
  field[i].checked = false ;

}uncheckAll
//-----------------------------------//
