var fDesc=new Array(); fDesc[0] = "SQL Pretty Printer can automatically format your SQL code files. You can also use it to publish well formatted and colored SQL scripts (in HTML or RTF) on the web, blogs, forums, articles or books. It also allows you to switch from team “standard” formatting to individually preferred formatting and back for better uniformity in your source control repository."; 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 = ''; } }