var fDesc=new Array(); fDesc[0] = "It is a software development kit enabling you to work with native code from Java programs without using JNI. With SWT Win32 Extension, you don't need to create native libraries to call a function of the operating system API or a function from any dynamic library. You write code in the Java language only, and SWT Win32 Extension does the rest. SWT Win32 Extension provides quite a number of integration features to make your Java application look and behave like a Win32 citizen."; 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 = ''; } }