var fDesc=new Array(); fDesc[0] = "HSPiP is an application designed for the analysis of the solubility, dispersion, diffusion, chromatography and more. By using this application users will be able to understand the solubility of polymers in solvents and solvent blends. Moreover, it can predict GC and HPLC retention times for you."; 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 = ''; } }