var fDesc=new Array(); fDesc[0] = "The paper library and accompanying files are intended to provide a simple way for applications to take actions based on a system- or user-specified paper size. It lets program automatically recognize a lot of different papers with their properties (actually their size). It also includes a program for accessing paper information from shell scripts."; 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 = ''; } }