var cagrwinopen = 0; var cagrwin; function openCAGRpopup() { if (document.cagrform.symbol.value == "") { alert("Please enter a symbol"); } else { if (cagrwinopen++ > 0) cagrwin.close(); var comparechecked = 0; for(var i=1; i<5; i++) { if (document.cagrform.compareto[i].checked) { comparechecked=i; i=5; } } cagrwin=window.open("","GrowthChart"+cagrwinopen,"width=740,height=640,resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no"); cagrwin.document.writeln(''+ 'Growth of $10K investment'); cagrwin.document.writeln(''+ ''); cagrwin.document.writeln(''+ 'close window'+ ''+ ''); } return false; } document.writeln(''); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln('
Start date:'); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln('
End date:'); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln('
'); document.writeln(' '); document.writeln('
'); document.writeln(' Compare to:'); document.writeln(' None, '); document.writeln(' S&P 500,
'); document.writeln(' '); document.writeln(' Nasdaq 100, '); document.writeln(' Dow 30,
'); document.writeln(' '); document.writeln(' Other: '); document.writeln(' '); document.writeln('
'); document.writeln('
'); document.writeln(' ');