var fDesc=new Array(); fDesc[0] = "mikroC PRO for 8051 is a full-featured ANSI C compiler for 8051 devices from Atmel and Sillicon Labs. It features an intuitive IDE, powerful compiler with advanced optimizations, lots of hardware and software libraries and additional tools that will help you in your work."; 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 = ''; } }