function toggleHelp(helpTitle,helpText) { var em = document.getElementById("help"); if (toggleHelp.arguments.length < 1) { em.innerHTML=""; em.style.display = 'none'; return; } var closeLink = '' em.innerHTML = '
' + helpTitle + '
' + helpText + '
' + closeLink + '
'; em.style.display = 'block'; }