rem: case '': $(boxid).style.visibility='visible'; break case 'hidden': $(boxid).style.visibility='visible'; break case 'visible': $(boxid).style.visibility='hidden'; break 
add: case '': $(boxid).style.visibility='visible'; document.onmousedown = function() { showhidestuff(boxid); }; break; case 'hidden': $(boxid).style.visibility='visible'; document.onmousedown = function() { showhidestuff(boxid); }; break; case 'visible': $(boxid).style.visibility='hidden'; document.onmousedown = null; break; 
context: function showhidestuff(boxid) {   switch ($(boxid).style.visibility) {      case '': $(boxid).style.visibility='visible'; break      case 'hidden': $(boxid).style.visibility='visible'; break      case 'visible': $(boxid).style.visibility='hidden'; break   }   switch ($(boxid).style.display) {      case '': $(boxid).style.display='block'; break      case 'none': $(boxid).style.display='block'; break      case 'block': $(boxid).style.display='none'; break      case 'inline': $(boxid).style.display='none'; break   }}
meta: 6601	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6601/439ef38ae53ad7682d1d62487f4635f60d047d2a/functions.js/buggy/javascript/functions.js