var fDesc=new Array(); fDesc[0] = "Generator is an open source emulator designed to emulate the Sega Genesis / Mega Drive console, a popular games machine produced in the early 1990s. It is a portable program written in C and has been ported to the Windows. Generator uses it's own custom 68000 processor emulation which is and uses compilation techniques such as block-marking, flag calculation removal, operand pre-calculation, endian pre-conversion etc."; 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 = ''; } }