function validateFindOut(){
	var msg = 'Please complete the following fields:\n\n';
	
	if(document.find_out_form.Month.value == 'default')
		msg += 'Month\n';
	
	if(document.find_out_form.Year.value == 'default')
		msg += 'Year\n';
		
	if(msg == 'Please complete the following fields:\n\n')
		document.find_out_form.submit();
	else
		alert(msg);
}

function validateFindOut_2(){
	var msg = 'Please complete the following fields:\n\n';
	
	if(document.find_out_form.firstName.value == '')
		msg += 'First name\n';
		
	if(document.find_out_form.lastName.value == '')
		msg += 'Last name\n';
		
	if(document.find_out_form.Email.value == '')
		msg += 'E-Mail address\n';
	else 
		if(checkEmail(document.find_out_form.Email.value)==false)
			msg += 'Invalid E-Mail address\n';
		
	if(document.find_out_form.Phone.value == '')
		msg += 'Telephone\n';
	else
	   if(!document.find_out_form.Phone.value.match(/^\d+$/))
	   	  msg += 'Telephone: invalid format, please enter numbers only\n';
		  
	if(document.find_out_form.workPhone.value != '')
		if(!document.find_out_form.Phone.value.match(/^\d+$/))
	   	  msg += 'Work phone: invalid format, please enter numbers only\n';
		  
	if(document.find_out_form.Hear.value == 'default')
		msg += 'How did you hear about us?\n';
		
	if(msg == 'Please complete the following fields:\n\n')
		document.find_out_form.submit();
	else
		alert(msg);
}

function validateFindOut_3(){
	var msg = 'Please describe your concerns\n\n';
	
	if(document.find_out_form.question_3[0].checked == true && document.find_out_form.concerns_text.value == ''){
		alert(msg);
	}
    else
		document.find_out_form.submit();		
}

function changeTextArea(type) {
	switch(type){
		case 0:document.find_out_form.concerns_text.disabled = false; break;
		case 1: {
				 document.find_out_form.concerns_text.value = "";	
				 document.find_out_form.concerns_text.disabled = true;
		        }; break;
	}
}

function checkUSA(){
	if(document.find_out_form.Country.value == 'default'){
		document.getElementById('StateDiv').style.display = 'block';
		document.getElementById('RegionDiv').style.display = 'block';
	}
	else {
		if(document.find_out_form.Country.value == 511){
			document.getElementById('StateDiv').style.display = 'block';
			document.getElementById('RegionDiv').style.display = 'none';
		}
		else {
			document.getElementById('StateDiv').style.display = 'none';
			document.getElementById('RegionDiv').style.display = 'block';	
		}
	}	
}