buonanotte a tutti...

vorrei inserire un controllo su questo form di iscrizione eamil, ma il code non funziona dove sbaglio???

<%
Response.Buffer = True
Set adoCon = Nothing
Set strCon = Nothing
%>
<html>
<head>
<title>Mailing List</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="copyright" content="Copyright (C) 2001-2002">

<script language="JavaScript">
<!--
function submitIt(theform) {

if ((theform.email.value =="")||

(theform.email.value.indexOf("@") == -1) ||
(theform.email.value.indexOf(".") == -1) ||
(theform.email.value.length < 7))
{
alert("Manca email...");
theform.email.focus();
return false;
}

-->
</script>
<base target="_blank">
</head>

<form name="frmMailingList" method="post" action="list.asp" target="mailingList" onSubmit="window.open('', 'mailingList', 'toolbar=0,location=0,status=0,menubar=0,scrollbar s=0,resizable=1,width=400,height=200')">
<table width="143" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
</tr>
<tr>
<td>
<p style="margin-bottom: 8">
<input type="text" name="email" maxlength="35" size="20" style="background-color: #FFFFCC">
</p>
</td>
</tr>
<tr>
<td align="left" class="text">
<input type="radio" name="mode" value="add" id="add" checked><label for="add">Iscrizione</label>

<input type="radio" name="mode" value="delete" id="delete"><label for="delete">Cancellazione</label></td>
</tr>
<tr>
<td align="center">
<p style="margin-top: 4; margin-bottom: 4">
<input type="submit" name="Submit" value="Invia" style="font-weight: bold; background-color: #FFCC00">
</td>
</tr>
</table>
</form>
<center>
</center>