<!-- Validates general form input - used by inquiry and authority request forms currently. --><!-- 	function checkForm(form)	{		// This gets around the problem of form validation when using the 'Remember Me' function		if (form.stepNo.value > 1)	 {			if (form.firstName.value == "")		{				alert("You haven't filled out the First Name field!");				form.firstName.focus();				return false;			}			if (form.lastName.value == "")		{				alert("You haven't filled out the Last Name field!");				form.lastName.focus();				return false;			}			if (form.email.value == "")		{				alert("You haven't filled out the Email field!");				form.email.focus();				return false;			}			if (form.email.value.indexOf('@') <= 0)		{				alert ("The Email field must contain the '@' symbol!");				form.email.focus();				return false;			}			if (form.country.value == "")		{				alert ("You must select a country!");				form.country.focus();				return false;			}		}		return true;	}	function checkSecurityRequestForm(form)	{	    if (checkForm(form)) {			if (form.abn.value != "")		{			    abn = form.abn.value;			    /*			    var abn = new string;			    abn = abn.trim();			    var i = abn.indexOf(' ');			    while (i > -1) {    			    abn = abn.substring(0, i) + abn.substring(i + 1);    			    i = abn.indexOf(' ');			    }			    form.abn.value = abn;			    */			    if (abn.length > 11) {                    alert("The ABN field must only 11 characters (no spaces).");                    form.abn.focus();                    return false;				}			}	    }		return true;	}	function minimalCheckForm(form)	{		if (form.firstName.value == "")		{			alert("You haven't filled out the First Name field!");			form.firstName.focus();			return false;		}		if (form.lastName.value == "")		{			alert("You haven't filled out the Last Name field!");			form.lastName.focus();			return false;		}		if (form.country.value == "")		{			alert ("You must select a country!");			form.country.focus();			return false;		}		return true;	}	function setStepNo(form, no)	 {		form.stepNo.value	= no;	}//-->
