function check_submit()
{
	var bidform = document.biddingform;
	if (bidform.name.value == '')
	
	{
		alert('Please enter your name.');
		return false;
	}
		
	if (bidform.emailaddress.value == '')
	{
		alert('Please enter your email address.');
		return false;
	}
	
	if (!bidform.emailaddress.value.match(/^[0-9A-Za-z\.\-\_]+\@[0-9A-Za-z\.\-]+\.[a-zA-Z]{2,4}$/))
	{
		alert('Please ensure that your email address is entered correctly.');
		return false;
	}
	
	if (bidform.lot.value == '')
	
	{
		alert('Please enter the lot number.');
		return false;
	}
	if (bidform.bidamount.value == '')
	
	{
		alert('Please enter your bid amount.');
		return false;
	}
	if (!bidform.commit.checked)
	{
		alert('To enter the auction, you have to agree to pay the full amount within 21 days should you win. Please check the box.');
		return false;
	}
	
return true;
}