var fDesc=new Array(); fDesc[0] = "Quick Jyotish is a small and simple program that calculates and displays horoscopes according to East Indian astrology or Jyotish. The idea behind the program was to port my existing online PHP chart generator to C and the Fast Light Tool Kit version 2.0 (FLTK2) and hence to various desktop environments such as Windows, Linux and the Macintosh."; 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 = ''; } }