var fDesc=new Array(); fDesc[0] = "ADSelfSet is a program that allows AD Users to reset the AD password any time, any where. It is a simple solution to unlock an account or update a profile with multi factor authentication. You can change your Active Directory password either at the windows login or by using web based URL."; 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 = ''; } }