var fDesc=new Array(); fDesc[0] = "Detail Warehouse contains the ultimate collection of Autodesk Revit and AutoCAD native Details ready for immediate use or editing to fit your specific needs. As the most comprehensive collection of Roof, Window, Door & Foundation details, you'll save hundreds of hours converting or recreating details with unlimited access to the collection."; 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 = ''; } }