var fDesc=new Array(); fDesc[0] = "It simulates a microcontroller as defined by the OCR A2 Electronics specification. It depends only on GTK 2.18, GLib 2.16 and GtkSourceView 2.0, and features useful code editing features, such as syntax and error highlighting, as well as limited context-sensitive help for errors. It also features step-through debugging, as well as variable clock speed."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }