var fDesc=new Array(); fDesc[0] = "Logikal is a program that allows you to create windows, doors, facades, shop front items, sliding doors and folding walls of nearly any type and size at all. You can define the properties of each element step by step. The program leads you through the entire design process and ensures that not a single detail is forgotten. Based on your input, the purchase terms you've defined and the manufacturer's pricing information stored in the database, LogiKal calculates the purchase costs for your project."; 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 = ''; } }