var fDesc=new Array(); fDesc[0] = "Color Harmony Generator is a web-based application that useful to generate harmonic colors in Monochromatic, Analogous, Complementary and or Triads, from a base color. Color Harmony Generator, basically, uses a PHP class, Color Harmony Class, and uses the tool palette of colors and jQuery UI Slider as an interface to get the base color."; 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 = ''; } }