var fDesc=new Array(); fDesc[0] = "Color Coder II is a small, easy to use, and very helpful application that translates the color you see into the RGB and hexadecimal codes you need to create web pages and other programs. Color Coder II allows you to choose colors several different ways. You can set decimal RGB (red, green, blue) values or you can enter the six-character hexadecimal code."; 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 = ''; } }