var fDesc=new Array(); fDesc[0] = "It is designed to help the end user interactively learn Perl Compatible Regular Expressions. This tool is designed to help RSM end users design User Defined Quality Notices for RSM. The program offers the options to set PCRE regular expressions flag for calls to the POSIX compile and match functions. This program will allow you to create User Defined Quality Notices (UDQN)"; 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 = ''; } }