function toggle(id) {
  if ($(id).style.display == 'none')
    $(id).style.display = 'block';
  else
    $(id).style.display = 'none';
}
