var fDesc=new Array(); fDesc[0] = "Basic Micro Studio is the main piece of software that is used to write your code for any of the Basic Micro products such as BasicATOMs or BasicATOM Pro modules. It is commonly referred to as an Integrated Development Environment or IDE for short. The IDE contains 3 main parts. A text editor for writing programs, a compiler to translate your program into something the microcontroller will understand and a loader to download your program to the microcontroller."; 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 = ''; } }