function compoui(FrmInsertion) {
document.FrmInsertion.Complementaire_Sante.value = "O";
}
function compnon(FrmInsertion) {
document.FrmInsertion.Complementaire_Sante.value = "N";
}

	function ouii(FrmInsertion)
	{
	document.FrmInsertion.Suivi_Medical.value = "O";
	}
	function nonn(FrmInsertion)
	{
	document.FrmInsertion.Suivi_Medical.value = "N";
	}
	function ouii2(FrmInsertion)
	{
	document.FrmInsertion.Suivi_Medical_Conjoint.value = "O";
	}
	function nonn2(FrmInsertion)
	{
	document.FrmInsertion.Suivi_Medical_Conjoint.value = "N";
	}
function rem1(FrmInsertion)
	{
	document.FrmInsertion.RemRegEntTxt.value = "P.S";
	}
function rem2(FrmInsertion)
	{
	document.FrmInsertion.RemRegEntTxt.value = "S";
	}
function rem3(FrmInsertion)
	{
	document.FrmInsertion.RemRegEntTxt.value = "T.S";
	}

function afficheroui1(FrmInsertion) { 
var testin =document.FrmInsertion.Suivi_Medical.value="O"; 
}       

function afficheroui2(FrmInsertion) { 
var testin =document.FrmInsertion.Suivi_Medical_Conjoint.value="O"; 
}       

function affichernon1(FrmInsertion) { 
var testin =document.FrmInsertion.Suivi_Medical.value="N"; 
}       

function affichernon2(FrmInsertion) { 
var testin =document.FrmInsertion.Suivi_Medical_Conjoint.value="N"; 
}       
function conjoint_oui(FrmInsertion) { 
var testin =document.FrmInsertion.TypeTxt.value="C"; 
var formulaire=document.FrmInsertion;
formulaire.Date_Naissance_ConjointTxt.checkMandatory = true;
formulaire.Regime_Social_ConjointTxt.checkMandatory = true;
} 
function conjoint_non(FrmInsertion) { 
var testin =document.FrmInsertion.TypeTxt.value="A"; 
var formulaire=document.FrmInsertion;
formulaire.Date_Naissance_ConjointTxt.checkMandatory = false;
formulaire.Regime_Social_ConjointTxt.checkMandatory = false;
}

function cond() {
switch (document.FrmInsertion.CiviliteTxt.value) {
    case "Mr":
      document.FrmInsertion.SexeTxt.value="H";
      break;	  
	  case "Mlle":
      document.FrmInsertion.SexeTxt.value="F";
      break;
	  case "Mme":
      document.FrmInsertion.SexeTxt.value="F";
      break;
	  }
}	
function cond2() {
switch (document.FrmInsertion.CiviliteTxt.value) {
    case "Mr":
      document.FrmInsertion.SexeConjointTxt.value="F";
      break;	  
	  case "Mlle":
      document.FrmInsertion.SexeConjointTxt.value="H";
      break;
	  case "Mme":
      document.FrmInsertion.SexeConjointTxt.value="H";
      break;
	  }
}

