A runtime error has occured
Do you wish to debug?
Line: 7
Error: 'return' statement outside of function
<html>
<head>
<title>Contact Us - CodingMasters</title>
<script language="javascript">
<!--function checkform(){
{if (document.formmail.body.value ="") or (document.formmail.changes.value ="")
alert("You did not fill in the comments box!")
return false}
else return true;
}
//-->
</script>
</head>
<body>
<P align="center"><FONT size="7" color="brown">CodingMasters</FONT></P>
<P align="center">"We give you what <EM>you</EM> want!"</P>
<BR>
<BR>
<center>
Here you can contact us using this form<BR>
<BR>
If <FONT color="#ff0000">*</FONT> is next to a field, it is compulsary<BR>
<form name="formmail" action="/cgi-bin/formmail/formmail.cgi" method="post" onsubmit="return checkForm()">
<input type="hidden" name="recipient" value="codingmasters@yahoo.com.au" style="WIDTH: 185px; HEIGHT: 22px" size="23">
<p><b>Your Name:</b> <input name="realname" size="45"></p>
<br>
<p><b>Your Email Address:</b> <input name="email" size="45"></p>
<br>
<p><b>Comments or Suggestions:</b><br>
<TEXTAREA name="body" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>What would you change about the site:</b><br>
<TEXTAREA name="changes" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>Would you reccomend this site to your friends:</b><br>
<input type="radio" name="friends" value="Yes" checked><input type="radio" name="friends" value="No">
<FONT color="#ff0000">*</FONT>
<p><input type="submit" value="Send Email"> <input type="reset" value="Reset Form"></p>
</form>
<br>
<br>
E-Mail us @ <A HREF="mailto:codingmastershelp@yahoo.com.au">codingmastershelp@yahoo.com.au</A><BR>
<BR>
<A HREF="maillist.htm">Back</A>:<A HREF="index.html">Home</A><br>
This site is hosted by <A HREF="http://www.aurorahost.net">AuroraHost</A>
</center>
</body>
</html>
<html>
<head>
<title>Contact Us - CodingMasters</title>
<script language="javascript">
<!--function
formcheck;
if (document.formmail.body.value =="") || (document.formmail.changes.value =="");
{alert("You did not fill in the comments or changes box!");
return false};
else;
{return true};
//-->
</script>
</head>
<body>
<P align="center"><FONT size="7" color="brown">CodingMasters</FONT></P>
<P align="center">"We give you what <EM>you</EM> want!"</P>
<BR>
<BR>
<center>
Here you can contact us using this form<BR>
<BR>
If <FONT color="#ff0000">*</FONT> is next to a field, it is compulsary<BR>
<form name="formmail" action="/cgi-bin/formmail/formmail.cgi" method="post" onSubmit=return "formcheck">
<input type="hidden" name="recipient" value="codingmasters@yahoo.com.au" style="WIDTH: 185px; HEIGHT: 22px" size="23">
<p><b>Your Name:</b> <input name="realname" size="45"></p>
<br>
<p><b>Your Email Address:</b> <input name="email" size="45"></p>
<br>
<p><b>Comments or Suggestions:</b><br>
<TEXTAREA name="body" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>What would you change about the site:</b><br>
<TEXTAREA name="changes" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>Would you reccomend this site to your friends:</b><br>
<input type="radio" name="friends" value="Yes" checked><input type="radio" name="friends" value="No">
<FONT color="#ff0000">*</FONT>
<p><input type="submit" value="Send Email"> <input type="reset" value="Reset Form"></p>
</form>
<br>
<br>
E-Mail us @ <A HREF="mailto:codingmastershelp@yahoo.com.au">codingmastershelp@yahoo.com.au</A><BR>
<BR>
<A HREF="maillist.htm">Back</A>:<A HREF="index.html">Home</A><br>
This site is hosted by <A HREF="http://www.aurorahost.net">AuroraHost</A>
</center>
</body>
</html>
<html>
<head>
<title>Contact Us - CodingMasters</title>
<!-- Hide the script from non javascript browsers
<script language="javascript">
//function
formcheck;
if (document.formmail.body.value =="") || (document.formmail.changes.value =="");
{alert("You did not fill in the comments or changes box!");
return false};
else;
{return true};
//-End of function
</script>
-->
</head>
<body>
<P align="center"><FONT size="7" color="brown">CodingMasters</FONT></P>
<P align="center">"We give you what <EM>you</EM> want!"</P>
<BR>
<BR>
<center>
Here you can contact us using this form<BR>
<BR>
If <FONT color="#ff0000">*</FONT> is next to a field, it is compulsary<BR>
<form name="formmail" action="/cgi-bin/formmail/formmail.cgi" method="post" onSubmit=return "formcheck">
<input type="hidden" name="recipient" value="codingmasters@yahoo.com.au" style="WIDTH: 185px; HEIGHT: 22px" size="23">
<p><b>Your Name:</b> <input name="realname" size="45"></p>
<br>
<p><b>Your Email Address:</b> <input name="email" size="45"></p>
<br>
<p><b>Comments or Suggestions:</b><br>
<TEXTAREA name="body" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>What would you change about the site:</b><br>
<TEXTAREA name="changes" rows="8" wrap="virtual" cols="60"></TEXTAREA><FONT color="#ff0000">*</FONT></p>
<br>
<p><b>Would you reccomend this site to your friends:</b><br>
<input type="radio" name="friends" value="Yes" checked><input type="radio" name="friends" value="No">
<FONT color="#ff0000">*</FONT>
<p><input type="submit" value="Send Email"> <input type="reset" value="Reset Form"></p>
</form>
<br>
<br>
E-Mail us @ <A HREF="mailto:codingmastershelp@yahoo.com.au">codingmastershelp@yahoo.com.au</A><BR>
<BR>
<A HREF="maillist.htm">Back</A>:<A HREF="index.html">Home</A><br>
This site is hosted by <A HREF="http://www.aurorahost.net">AuroraHost</A>
</center>
</body>
</html>
I'm using VB6 and I'm doing a project on Space. I need to know how to create and delete an Image control