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