var fDesc=new Array(); fDesc[0] = "Singularity Viewer is a Second Life protocol compatible client application. It can be used to access Second LIfe service as well as a number of other such as those based upon OpenSim plattform. It is directly based upon source code of Ascent Viewer by Balseraph Software Group, which is in turn based upon source code released by Linden Lab, with contributions from various sources."; 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 = ''; } }