function ycheckall(all)
{
  var a = document.getElementsByName("yciker[]");
  for (var i=0; i<a.length; i++) a[i].checked = all.checked;
}