var fDesc=new Array(); fDesc[0] = "With this program you can restrict or allow access to the Internet, based on the volume of data downloaded (or uploaded) from the Internet. For example, user 'Frank' is allowed to download 500 MB a month, and after this he is denied access to the Internet. User 'Mary' is assigned a quote of 10 MB per day; if she goes over the 10 MB limit, she is denied further access to the Internet on that day."; 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 = ''; } }