var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to automatically generate passwords. Using check boxes, the user specifies the character sets to be used (a-z, A-Z, 0-9 and user-defined). There is another check box to force the use of at least one character from each of the other character sets. The user then enters the required number of passwords and the length of the passwords before starting. The passwords created are listed in the lower pane and can be copied to the clipboard for pasting or saved as a text or Excel file."; 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 = ''; } }