var otherProductOption = 16;	// Index of the 'other' option on products list.function demoRequestValidator(theForm){/*	Did we select a product? */	if (theForm.Product_Requested.selectedIndex <= 0)	{		alert("Please select an option from the products list.");		theForm.Product_Requested.focus();		return (false);	}  /*	If we selected 'other', did we provide details? */	if (theForm.Product_Requested.selectedIndex == otherProductOption)	{		if (theForm.Custom_Demo.value == "")		{			alert("To order a customised demo, please identify the activity for a custom demo version.")			theForm.Custom_Demo.focus();			return (false);		}	}	/*	Did we enter our operating system. */	if (theForm.Operating_System.selectedIndex <= 0)	{		alert("Please select an option from the operating systems list.");		theForm.Operating_System.focus();		return (false);	}	/*	Did we enter our name? */	if (theForm.Name.value == "")	{		alert("Please enter your name.");		theForm.Name.focus();		return (false);	}/*	Did we enter our title? */	if (theForm.Title.value == "")	{    		alert("Please enter your title.");		theForm.Title.focus();		return (false);	}	/*	Did we enter our phone number? */	if (theForm.Phone.value == "")	{		alert("Please enter your phone number.");		theForm.Phone.focus();		return (false);	}/*	Did we enter our email? */	if (theForm.Email.value == "")	{		alert("Please enter your email.");		theForm.Email.focus();		return (false);	}/*	Did we enter our organisation? */	if (theForm.Organisation.value == "")	{		alert("Please enter the name of your organisation.");		theForm.Organisation.focus();		return (false);	}/*	Did we enter our department or branch? */	if (theForm.Department_Branch.value == "")	{		alert("Please enter your department or branch (enter N/A if none).");		theForm.Department_Branch.focus();		return (false);	}/*	Did we enter our address? */	if (theForm.Address.value == "")	{		alert("Please enter your address.");		theForm.Address.focus();		return (false);	}/*	Did we enter our referral? */	if (theForm.Referral.selectedIndex <= 0)	{		alert("Please tell us how you found ASIS.");		theForm.Referral.focus();		return (false);	}	return (true);}