help with my code
<script language="JavaScript">
function validate(returnvalue)
{
//Validation Control Center
//Use validateNotEmpty(fieldname,errormessage) to check if the field is empty
//Use validateEMailCheck(fieldname,errormessage) to check if the email address is valid
//These must go inside if statement
var anError
if(validateNotEmpty(document.MailingList.Email.val ue,"You must enter your e-mail address")==false){anError=true}else{
if(validateEMailCheck(document.MailingList.Email.v alue,"You must enter a valid e-mail address for yourself")==false){anError=true}else{
if(document.MailingList.SportsMailing.checked==fal se && document.MailingList.GamingMailing.checked==false) {alert("You must choose at least one topic");anError=true;}}}
if(anError==true)
{return false;}else{NewWindow('','Mailing',452,325,'no');r eturn true}
}
</script>
i keep getting this error:
line 32 (highlighted in red), char 2
'object expected'
|