function ValidateProv(theForm)
{
  if (theForm.R1[0].checked) 
  {
  	if (theForm.C_Prov1.selectedIndex <= 0) 
	{
    	alert("Veuillez choisir votre province.");
		theForm.C_Prov1.focus();
		return false;
	}
	theForm.Prov.value = theForm.C_Prov2.options[theForm.C_Prov1.selectedIndex].value;
	theForm.Country.value = 'Canada';
  } 
  else if (theForm.R1[1].checked)
  {
  	if (theForm.C_Prov2.selectedIndex <= 0) 
	{
    	alert("Veuillez choisir votre état.");
		theForm.C_Prov2.focus();
		return false;
	}
	theForm.Prov.value = theForm.C_Prov2.options[theForm.C_Prov2.selectedIndex].value;
	theForm.Country.value = 'USA';
  } 
  else if (theForm.R1.length == 3) // allow other countries
  {
   if (theForm.R1[2].checked)
   {
   /*
  	if (theForm.C_Country.value == "") 
	{
    	alert("Veuillez écrire votre nom de pays/région.");
		theForm.C_Country.focus();
		return false;
	}
	*/
  	if (theForm.C_Country.selectedIndex <= 0) 
	{
    	alert("Veuillez choisir votre pays.");
		theForm.C_Country.focus();
		return false;
	}
  	if (theForm.C_Prov3.value == "") 
	{
    	alert("Veuillez écrire votre nom de province/état.");
		theForm.C_Prov3.focus();
		return false;
	}
	theForm.Prov.value = theForm.C_Prov3.value;
//	theForm.Country.value = theForm.C_Country.value;
	theForm.Country.value = theForm.C_Country.options[theForm.C_Country.selectedIndex].value;
   }
   else	// no country checked
   {
   		alert("Veuillez choisir votre pays.")
		return false;
   }
  }
  else // no country checked
  {
   		alert("Veuillez choisir votre pays.")
		return false;
  }

  return (true);
}
