var fDesc=new Array(); fDesc[0] = "OpenFilters is an open source software for the design of optical interference filters. It offers multiple tools for the design and optimization of optical interference coatings, including refinement, the needle method, the step method, the Fourier transform method and multiband rugates. It can calculate the transmission, the reflection, the absorption, ellipsometric variables, phase, group delay, group delay dispersion, the circle and admittance diagrams, the electric field distribution and the color of the filter."; 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 = ''; } }