var fDesc=new Array(); fDesc[0] = "SmartJump is a tool designed to open PowerBuilder objects either directly from the script painter or through the SmartJump main window. To open an object, enter it in the edit field and press 'jump' . You can also enter the name of the object directly in the PB script painter and press the SmartJump hotkey."; 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 = ''; } }