var fDesc=new Array(); fDesc[0] = "StackBuilder is a simple palettization software tool (homogeneous case stacking). It helps you solve 3 problems: palettization (given a case and a pallet, find the best layout to stack the case), case filling (given a set of cases, find the best case and the best way to fill it), and optimal case search (given a box, a number of box per case and a pallet type, find the optimal case layout and dimensions)."; 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 = ''; } }