
function Form1_Validator(theForm)
{

  if (theForm.NAME.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.NAME.focus();
    return (false);
  }

  if (theForm.NAME.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Name\" field.");
    theForm.NAME.focus();
    return (false);
  }
  if (theForm.COMPANY.value == "")
  {
    alert("Please enter a value for the \"Company\" field.");
    theForm.COMPANY.focus();
    return (false);
  }

  if (theForm.COMPANY.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Company\" field.");
    theForm.COMPANY.focus();
    return (false);
  }

  if (theForm.EMAIL.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.EMAIL.focus();
    return (false);
  }

  if (theForm.EMAIL.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Email\" field.");
    theForm.EMAIL.focus();
    return (false);
  }

  if (theForm.URL.value == "")
  {
    alert("Please enter a value for the \"Web site URL\" field.");
    theForm.URL.focus();
    return (false);
  }

  if (theForm.URL.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Url\" field.");
    theForm.URL.focus();
    return (false);
  }
  if (theForm.ADDRESS.value == "")
  {
    alert("Please enter a value for the \"Address\" field.");
    theForm.ADDRESS.focus();
    return (false);
  }

  if (theForm.ADDRESS.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Address\" field.");
    theForm.ADDRESS.focus();
    return (false);
	}
	if (theForm.DISTRICT.value == "")
  {
    alert("Please enter a value for the \"District\" field.");
    theForm.DISTRICT.focus();
    return (false);
  }

  if (theForm.DISTRICT.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"District\" field.");
    theForm.DISTRICT.focus();
    return (false);
	}
	if (theForm.CITY.value == "")
  {
    alert("Please enter a value for the \"City\" field.");
    theForm.CITY.focus();
    return (false);
  }

  if (theForm.CITY.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"City\" field.");
    theForm.CITY.focus();
    return (false);
	}
	if (theForm.STATE.value == "")
  {
    alert("Please enter a value for the \"State\" field.");
    theForm.STATE.focus();
    return (false);
  }

  if (theForm.STATE.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"State\" field.");
    theForm.STATE.focus();
    return (false);
	}
  if (theForm.POSTCODE.value == "")
  {
    alert("Please enter a value for the \"Postcode\" field.");
    theForm.POSTCODE.focus();
    return (false);
  }

  if (theForm.POSTCODE.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Postcode\" field.");
    theForm.POSTCODE.focus();
    return (false);
  }
  if (theForm.COUNTRY.value == "")
  {
    alert("Please enter a value for the \"Country\" field.");
    theForm.COUNTRY.focus();
    return (false);
  }

  if (theForm.COUNTRY.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Country\" field.");
    theForm.COUNTRY.focus();
    return (false);
  }
  if (theForm.PHONE.value == "")
  {
    alert("Please enter a value for the \"Phone\" field.");
    theForm.PHONE.focus();
    return (false);
  }

  if (theForm.PHONE.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Phone\" field.");
    theForm.PHONE.focus();
    return (false);
  }
  if (theForm.FAX.value == "")
  {
    alert("Please enter a value for the \"Fax\" field.");
    theForm.FAX.focus();
    return (false);
  }

  if (theForm.FAX.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Fax\" field.");
    theForm.FAX.focus();
    return (false);
  }
 if (theForm.USERNAME.value == "")
  {
    alert("Please enter a value for the \"Username\" field.");
    theForm.USERNAME.focus();
    return (false);
  }

  if (theForm.USERNAME.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Username\" field.");
    theForm.USERNAME.focus();
    return (false);
}
  if (theForm.PASSWORD.value == "")
  {
    alert("Please enter a value for the \"Password\" field.");
    theForm.PASSWORD.focus();
    return (false);
  }

  if (theForm.PASSWORD.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Password\" field.");
    theForm.PASSWORD.focus();
    return (false);
	}
  
  
  if (theForm.INVEST.selectedIndex < 0)
  {
    alert("Please select one of the \"Please select your bid\" options.");
    theForm.INVEST.focus();
    return (false);
  }

  if (theForm.INVEST.selectedIndex == 0)
  {
    alert("  You must place your bid.  Please choose the bid option that suit you.");
    theForm.INVEST.focus();
    return (false);
  }

  return (true);
}
//-->
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
<!--
function click() {
if (event.button==2) {
alert ('Please apply to register your investment bid ');
}
}
document.onmousedown=click
// -->
