var fDesc=new Array(); fDesc[0] = "ShaderDesigner is a tool for Windows and Linux designed to aid in the task of authoring GLSL vertex and fragment shaders. It allows the developer to work in a full featured IDE with realtime shader rendering, syntax highlighting, code help (e.g. tooltips, autocompletion, function parameter info), access to relevant OpenGL states, offline compilation and shader validation, multiple texture formats, plugin system, and much more."; 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 = ''; } }