var repopulate = function() { unitswitch(document.getElementById('cunit').value); baselineswitch(); checkbuttons("cdoppler",["doppler0","doppler1"]); checkbuttons("cframe",["frame0","frame1"]); selectFiles(); selectIFs(); selectSources(); var sumtext = document.getElementById('sum').value; if (sumtext == "") { document.getElementById('summary').style.display = 'none'; } else { document.getElementById('summary').style.display = 'inline'; } var csource = document.getElementById('csource').value; if (csource == "") { document.getElementById('sourcelbl').style.display = 'none'; } else { document.getElementById('sourcelbl').style.display = 'inline'; } } function summaryPopUp() { var sumtext = document.getElementById('sum').value; if (sumtext == "") {return false;} TheNewWin = window.open('','name','height=500,width=600,toolbar=no,directories=no,status=no,menubar=no'); TheNewWin.document.write(''); TheNewWin.document.write('
'); TheNewWin.document.write(sumtext); TheNewWin.document.write('