getting an error on line 11. See what im trying to do? When the pop up triggers im trying to auto-send a file using meta refresh... I dont have to do it this way though... Any ideas?
<head>
<title>Download Software Agreement</title>
<script language="JavaScript">
<!--
function PopIt(label, msg)
{
<!-- Set up Page Colors & Table for pop up window //-->
var s1 =
"<TITLE>Software_Download</TITLE><META HTTP-EQUIV="refresh" CONTENT="5; URL=ssc.exe">" +
"<BODY BGCOLOR='ffffff'><TABLE BORDER=0><TR>" +
"<TD WIDTH=90% HEIGHT=90 VALIGN=TOP ALIGN=LEFT>"+
"<FONT SIZE=4>"
var s2 = "<FONT COLOR='FF0000'><B>"+label+"</B></FONT><P>"
var s3 =
"</TD><TD WIDTH=10%> </TD></TR><TR><TD> </TD>"+
"<TD VALIGN=TOP ALIGN=RIGHT>"+
"<FORM><INPUT TYPE='BUTTON' VALUE='Close'" +
"onClick='self.close()'>" +
"</FORM></TD></TR></TABLE></BODY>"
popup = window.open("","popDialog","height=160,width=300,scrollbars=no")
popup.document.write(s1+s2+msg+s3)
popup.document.close()
}
function popHelp()
{
PopIt('lancekane Download', 'Your file is " ' +
'coming shortly...')
}
//-->
</script>
<script language="JavaScript">
<!--
function yess() {
var yes;
yes=document.agree.yex.value
if (yes== "") window.status=('Please type "yes" to proceed.')
if (yes=="YES")
{
popHelp()
}
else {
alert('\nYou must type "YES". Please check spelling and caps.');
}
}
function no() {
window.location="index.htm";
}
//-->
</script>
</head>
<!-- set up tables in body //-->
<body bgcolor="#000000" text="#fffafa">
<table width="100%" height="100%" border="6">
<tr>
<td bgcolor="#666666" align="center" valign="center">
<table width="500" height="100%" border="5">
<tr>
<td bgcolor="#0000cc" align="center" valign="center">
<!-- end table setup //-->
<font face="verdana">
<b>Lancekane Evaluation Software Agreement</b>
<br><br>Lancekane, Inc., hereby
grants the user a 45-day evaluation license for the software being downloaded.
After 45 days the user may either purchase a software license or destroy
the software and all related documentation.
<br><br>The software is provided
here solely for evaluation as a precursor to purchase of a license. Any
other use of the software, including decompilation, disassembly, or reverse
engineering is strictly forbidden. Replication of the user interface, including,
but not limited to, screen captures, photography, photocopy, or otherwise
is strictly forbidden. The software may not be copied, duplicated, or otherwise
reproduced.
<br><br>Lancekane makes no
warranties, implied or otherwise, as to the nature or usefulness of the
functionality of evaluation copies of software. Problem reports, enhancement
requests, and other feedback should be directed to <A HREF="mailto:support@nowhere.com">support@nowhere.com</A>,
or you may call us at 123-445-7890.
<br><br>For pricing information, please direct
your call to Inside Sales at 123-456-7890 or send and email to <A HREF="mailto:sales@nowhere.com">sales@nowhere.com</A>.
<br><br>
If you agree to these terms please type "YES" in all caps and click "Yes, I agree".
<br><br>
</font>
<form name="agree">
<input type="text" maxlength="3" name="yex">
<br><br>
<input type="button" value="Yes, I agree." name="bone" onClick="yess()">
<input type="button" value="No, I do not agree." name="btwo" onClick="no()">
</form>
<br>
<!-- begin table close //-->
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end table close //-->
</body>