var fDesc=new Array(); fDesc[0] = "Canfast is a design and quotation package for the Canalis range of bus bar trunking. By inputting basic installation information, selected from a range of drop-down menus, it allows the user to quickly produce a bus bar quotation with the minimum amount of technical and product knowledge."; 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 = ''; } }