function CheckForm() {
	if (document.getElementById('4984formname').value == '') {
		alert('Please complete the "Name" field');
		document.getElementById('4984formname').focus();
		return false;
	}
	if (document.getElementById('3179formemail').value == '') {
		alert('Please enter an email address');
		document.getElementById('3179formemail').focus();
		return false;
	}
	if (document.getElementById('securityCode').value == '') {
		alert('Please type in the security code you see in the image');
		document.getElementById('securityCode').focus();
		return false; 
	}	
	if (document.getElementById('8472formphone').value == '') {
		alert('Please complete the "Telephone" field');
		document.getElementById('8472formphone').focus();
		return false;
	}
	return true;
}

function reloadCAPTCHA() {
	document.getElementById('CAPTCHA').src='/CAPTCHA/CAPTCHA_image.asp?'+Date();
	document.getElementById('securityCode').value='';
	document.getElementById('securityCode').focus();
}

/*toggle phone time*/
function ShowHideTime(pOption)
{
	if (pOption==1)
	{
		document.getElementById('formtime').disabled=false;
	}
	else
	{
		document.getElementById('formtime').disabled=true;
	}
}