rem: elems[i].style.display = state; 
add: if (elems[i].style.display == 'block') { elems[i].style.display = 'none'; } else { elems[i].style.display = 'block'; } 
context: function toggleAll(className,state) {  var elems = document.getElementsByClassName(className);  for (var i = 0; i < elems.length; i++) {    elems[i].style.display = state;  }}
meta: 3283	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3283/c63833401da2d0fbb96e8ed38f088cb7936da048/toggle_notes.js/buggy/tracks/public/javascripts/toggle_notes.js