//Copyright Andréa Claude MAIRE
//Pyxis Ingeniérie
//pour toute duplication contactez nous :am@pyxis.fr

//Définition devises
var Val_euro=6.55957;
// Définition des tarifs des abonnements


//Tarif de l'Abonnement unitaire pour la France
//Tarif pour les particuliers pour la France
//Tarif en francs
var Val_ab_partfr_fr=118.07;
//Tarif en euros
var Val_ab_partfr_eu=18.00;
//Tarif pour les institutions pour la France
//Tarif en francs
var Val_ab_instfr_fr=157.42;
//Tarif en euros
var Val_ab_instfr_eu=24.00;


//Tarif de l'Abonnement unitaire pour l'Etranger en Europe
//Tarif pour les particuliers pour l'Etranger en Europe
var Val_ab_partet_fr=144.31;
//Tarif en euros
var Val_ab_partet_eu=22.00;
//Tarif pour les institutions pour l'Etranger en Europe
//Tarif en francs
var Val_ab_instet_fr=183.66;
//Tarif en euros
var Val_abinstet_eu=28.00;


//Tarif de l'Abonnement unitaire pour l'Etranger Hors Europe
//Tarif pour les particuliers pour l'Etranger Hors Europe
var Val_ab_partetInt_fr=144.31;
//Tarif en euros
var Val_ab_partetInt_eu=22.00;
//Tarif pour les institutions pour l'Etranger Hors Europe
//Tarif en francs
var Val_ab_instetInt_fr=183.66;
//Tarif en euros
var Val_abinstetInt_eu=28.00;


//remise en % pour plus de 5 Abonnements
Val_remise=10.00;
//remise en % pour 10 Abonnements
Val_remise2=20.00;



//**************************************************************************************************
//**************************************************************************************************
//*******PAS TOUCHE !!!!!*****************************
//**************************************************************************************************
//**************************************************************************************************
Val_port_fr=0.00;
Val_port_et=0.00;

//définition de variables pour la séléction particulier ou Institution


var val_statut,val_stat_inst,val_stat_part="";
var val_stat_inst,val_stat_part=0;


//Application des  tarifs Numéro sur variables
Tarif_fr_abopart=Val_ab_partfr_fr;
Tarif_fr_aboinst=Val_ab_instfr_fr;


Tarif_fr_num95=0.00;
Tarif_fr_num94=0.00;
Tarif_fr_num9091=50.00;






//************************************************************************//
//PAS TOUCHE ---- Non Mais !!
//************************************************************************//
//Définition de variables programme
// Définition de l'abréviation : "f"
f = document.Abon;


var new_abonnement,anc_abonnement,num_anc_abonnement="";
var sel_new_abonnement,sel_anc_abonnement,sel_abonnement_offert,sel_reabonnement_offert=0;

var resul_0,resul_1,resul_2,resul_3,resul_4 =0

var Select_94,Select_abpart,Select_abinst,Select_9091,Select_89=0;
var Qte_94,Qte_abpart,Qte_abinst,Select_89,Qte_9091,Qte_89=0.00;

var poste_ab_part_fr,poste_ab_part_eu,poste_ab_inst_fr,poste_ab_inst_eu=0;


var Nombre_Tot_num_com=0;
var Mont_fr_inter,Mont_eu_inter,Mont_fr,Mont_eu=0.00;
var Sel_pays_fr1,Sel_pays_fr2,Sel_pays_et1,Sel_pays_et2=0;
var Sel_adrlivsim=0;
//variable calcul de port
var Valportcalc=0.00;
var Mont_prt_fr_inter,Mont_prt_eu_inter=0.00;
var Mont_prt_fr,Mont_prt_eu=0.00;


var Total_prt_fr,Total_prt_eu=0.00;
var Total_com_fr,Total_com_eu=0.00;
var Total_gene_fr,Total_gene_eu=0.00;
var Remise_s_comfr,Remise_s_comeu=0.00;




	
//function effacement()
//{
	//alert("function effacement lancée ..");
	//document.Abon.reset();

//}

function effacement()
{
	//alert("Function effacement");
	//document.Abon.reset();
	window.location.reload(true); 
	//fct_init();
}

function fct_init()
{
	//alert("Function init");
	document.Abon.adrlivsim.checked=1;
	document.Abon.Comment_adresse.value="Identique à l'adresse de facturation";
	document.Abon.pays_frdom.checked=1;
	document.Abon.pays_frdom2.checked=1;
	document.Abon.pays.value="FRANCE";
	document.Abon.pays_livr.value="FRANCE";
	document.Abon.Mode_reglement.value="Indéterminé !!";
	document.Abon.Prix_abo.value="0.00 FF";
	document.Abon.Prix_abo2.value="0.00 Eu";
}



function confirm_print()
{
resul_1 =0;
resul_1 = confirm('Vos données sont elles valides ...Voulez vous imprimer votre commande ? ');
if(resul_1=="1")
	print();
}



function Sel_ReaAbon()
{
//var new_abonnement,anc_abonnement,num_anc_abonnement="";
//var sel_new_abonnement,sel_anc_abonnement=0;
sel_anc_abonnement=0;
sel_anc_abonnement=document.Abon.Reabon.checked;
if (sel_anc_abonnement==1)
	{
		//alert("Début fonction --> Sel_ReaAbon()");
		document.Abon.Abon_new.checked=0;
		document.Abon.Abon_offert.checked=0;
		document.Abon.Reabon_offert.checked=0;		
		document.Abon.type_Abonnement.value="";
		document.Abon.type_Abonnement.value="Réabonnement";
		alert("Veuillez indiquer, si vous le connaissez, votre N° d'Abonné S.V.P !");
		document.Abon.focus();
		document.Abon.Num_Abonnement.select();
		//alert("Fin fonction --> Sel_ReaAbon()");
		return(false);
		
	}
}



function Sel_ReaAbon_offert()
{
//var new_abonnement,anc_abonnement,num_anc_abonnement="";
//var sel_new_abonnement,sel_anc_abonnement=0;
//var sel_new_abonnement,sel_anc_abonnement,sel_abonnement_offert,sel_reabonnement_offert=0;
sel_reabonnement_offert=0;
sel_reabonnement_offert=document.Abon.Reabon_offert.checked;
if (sel_reabonnement_offert==1)
	{
		document.Abon.Abon_new.checked=0;
		document.Abon.Abon_offert.checked=0;
		document.Abon.Reabon.checked=0;	
		document.Abon.type_Abonnement.value="Réabonnement offert";
		alert("Veuillez indiquer, si vous le connaissez, le N° d'Abonné du destinataire S.V.P !");
		document.Abon.Num_Abonnement.focus();
		document.Abon.Num_Abonnement.select();
		return(false);
	}
}

function Type_Abon()
{
 //Sel_Abon();
 //Sel_Abon_offert();
 //Sel_ReaAbon();
 return(false);
}

function Verif_Abon()

{
		sel_anc_abonnement=0;
		sel_anc_abonnement=document.Abon.Reabon.checked;
		sel_reabonnement_offert=0;
		sel_reabonnement_offert=document.Abon.Reabon_offert.checked;

		if ( sel_anc_abonnement==0 && sel_reabonnement_offert==0)
			{
				alert(" Veuillez indiquer s'il sagit :\n - D'un Réabonnement.\n - D'un Réabonnement que vous offrez.\nRubrique TYPE D'ABONNEMENT");
				document.Abon.Reabon.focus();
				document.Abon.Reabon.select(); 
				return(false);
			}
 //Sel_Abon();
 //Sel_Abon_offert();
 //Sel_ReaAbon();
	}




function Fct_verif_pays()
{ 
alert("function Fct_verif_pays() lancée !");
val_paysfrdomlivr=0;
val_paysetrlivr=0;
val_paysfrdomlivr2=0;
val_paysetrlivr2=0;
val_paysfrdomlivr=document.Abon.pays_frdom.checked;
val_paysetrlivr=document.Abon.pays_etrang.checked;
val_paysfrdomlivr2=document.Abon.pays_frdom2.checked;
val_paysetrlivr2=document.Abon.pays_etrang2.checked;
if(val_paysfrdomlivr=="0" & val_paysfrdomlivr=="0")
	{
		alert("Veuillez sélectionner la zone géographique du pays de Facturation !");
	}
if(val_paysfrdomlivr2=="0" & val_paysfrdomlivr2=="0")
	{
		alert("Veuillez sélectionner la zone géographique du pays de livraison !");
	}
}



function affect_cout_port()
{
	Fct_Sel_paysfr2();
	Fct_Sel_payset2();
	Fct_Sel_payset10();
	Fct_Sel_payset20();
}

//fonction de selection pays FRANCE de Facturation 
function Fct_Sel_paysfr1()
{
	Sel_pays_fr1=0;	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Sel_pays_fr1=document.Abon.pays_frdom.checked;
	if(Sel_pays_fr1==1)
		{
			document.Abon.pays_etrang.checked=0;
			document.Abon.pays_etrang_int.checked=0;
			document.Abon.pays.value="FRANCE";
		}
	if(Sel_adrlivsim==1)
		{
			document.Abon.pays_frdom2.checked=1;
			document.Abon.pays_etrang_int.checked=0;
			document.Abon.pays_etrang2.checked=0;
			document.Abon.pays_etrang_int2.checked=0;
			document.Abon.pays_livr.value="FRANCE";
		}	
	affect_prix_livr();		
}

//fonction de selection pays de Facturation etranger EUROPE
function Fct_Sel_payset1()
{
	Val_pay1="";
	Val_pay1=document.Abon.pays.value
	Val_pay2="";
	Val_pay2=document.Abon.pays_livr.value;
	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Sel_pays_et1=0;
	Sel_pays_et1=document.Abon.pays_etrang.checked;
	if(Sel_pays_et1==1)
		{
			document.Abon.pays_frdom.checked=0;
			document.Abon.pays_etrang_int.checked=0;
			if (Val_pay1=="FRANCE")
				{
					document.Abon.pays.value="";
				}
			if(Sel_adrlivsim==1)
				{
					document.Abon.pays_frdom.checked=0;
					document.Abon.pays_frdom2.checked=0;
					document.Abon.pays_etrang_int.checked=0;
					document.Abon.pays_etrang2.checked=1;
					document.Abon.pays_etrang_int2.checked=0;
					if (Val_pay2=="FRANCE")
						{
							document.Abon.pays_livr.value="";
						}

				}	

		}
	
	affect_prix_livr();
}


//fonction de selection pays de Facturation etranger international
function Fct_Sel_payset10()
{
	Val_pay1="";
	Val_pay1=document.Abon.pays.value
	Val_pay2="";
	Val_pay2=document.Abon.pays_livr.value;
	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Sel_pays_et10=0;
	Sel_pays_et10=document.Abon.pays_etrang_int.checked;
	if(Sel_pays_et10==1)
		{
			document.Abon.pays_frdom.checked=0;
			document.Abon.pays_etrang.checked=0;
			
			if (Val_pay1=="FRANCE")
				{
					document.Abon.pays.value="";
				}
			if(Sel_adrlivsim==1)
				{
					document.Abon.pays_frdom.checked=0;
					document.Abon.pays_frdom2.checked=0;
					document.Abon.pays_etrang.checked=0;
					document.Abon.pays_etrang2.checked=0;
					document.Abon.pays_etrang_int2.checked=1;
					
					if (Val_pay2=="FRANCE")
						{
							document.Abon.pays_livr.value="";
						}

				}	

		}
	
	affect_prix_livr();
}

//fonction de selection  de livraison en France
function Fct_Sel_paysfr2()
{
	//alert("Function Fct_Sel_paysfr2()");
	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Sel_pays_fr2=0;
	Sel_pays_fr2=document.Abon.pays_frdom2.checked;
	if(Sel_pays_fr2==1)
		{
			document.Abon.pays_etrang2.checked=0;
			document.Abon.pays_etrang_int2.checked=0;
			document.Abon.pays_livr.value="FRANCE";
			if(Sel_adrlivsim==1)
				{
					document.Abon.pays_frdom.checked=1;
					document.Abon.pays_etrang.checked=0;
					document.Abon.pays_etrang2.checked=0;
					document.Abon.pays_etrang_int2.checked=0;
					document.Abon.pays.value="FRANCE";
				}
		}		
	affect_prix_livr();
}


//fonction de selection pays de livraison etranger Europe
function Fct_Sel_payset2()
{
	//alert("Function Fct_Sel_payset2()");
	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Val_pay1="";
	Val_pay1=document.Abon.pays.value
	Sel_pays_et2=0;Val_pay2="";
	Val_pay2=document.Abon.pays_livr.value;
	Sel_pays_et2=document.Abon.pays_etrang2.checked;
	//alert("Test de pay etranger livraison OK ou NON Function Fct_Sel_payset2()");
	if(Sel_pays_et2==1)
		{
			//alert("pays etranger livraison OK Function Fct_Sel_payset2()");
			document.Abon.pays_frdom2.checked=0;
			document.Abon.pays_etrang_int2.checked=0;
			
	   		if (Val_pay2=="FRANCE")
				{
					document.Abon.pays_livr.value="";
				}
			if(Sel_adrlivsim==1)
				{
					document.Abon.pays_frdom.checked=0;
					document.Abon.pays_frdom2.checked=0;
					document.Abon.pays_etrang_int.checked=0;
					if (Val_pay1=="FRANCE")
						{
							document.Abon.pays.value="";
						}
				}
		}
	affect_prix_livr();
}


//fonction de selection pays de livraison etranger international
function Fct_Sel_payset20()
{
	//alert("Function Fct_Sel_payset20()");
	Sel_adrlivsim=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Val_pay1="";
	Val_pay1=document.Abon.pays.value
	Sel_pays_et20=0;Val_pay20="";
	Val_pay20=document.Abon.pays_livr.value;
	Sel_pays_et20=document.Abon.pays_etrang_int2.checked;
	//alert("Test de pays etranger livraison OK ou NON Function Fct_Sel_payset2()");
	if(Sel_pays_et20==1)
		{
			//alert("pays etranger livraison OK Function Fct_Sel_payset2()");
			document.Abon.pays_frdom2.checked=0;
			document.Abon.pays_etrang2.checked=0;

			
	   		if (Val_pay20=="FRANCE")
				{
					document.Abon.pays_livr.value="";
				}
			if(Sel_adrlivsim==1)
				{
					document.Abon.pays_frdom.checked=0;
					document.Abon.pays_etrang.checked=0;
					document.Abon.pays_etrang_int.checked=1;
			   		if (Val_pay1=="FRANCE")
						{
							document.Abon.pays.value="";
						}
				}
		}
	affect_prix_livr();
}



function affect_prix_livr()
{
	//alert (" function affect_prix_livr() lancée");
	Sel_adrlivsim=0;
	Sel_pays_fr1=0;
	Sel_pays_et1=0;
	Sel_pays_et10=0;
	Sel_pays_fr2=0;
	Sel_pays_et2=0;
	Sel_pays_et20=0;
	Sel_adrlivsim=document.Abon.adrlivsim.checked;
	Sel_pays_fr1=document.Abon.pays_frdom.checked;
	Sel_pays_et1=document.Abon.pays_etrang.checked;
	Sel_pays_et10=document.Abon.pays_etrang_int.checked;
	Sel_pays_fr2=document.Abon.pays_frdom2.checked;
	Sel_pays_et2=document.Abon.pays_etrang2.checked;
	Sel_pays_et20=document.Abon.pays_etrang_int2.checked;
	
	//adresse facturation & LIvraison similaire !!
	if(Sel_adrlivsim==1)
		{
			//cas pays adresse facturation france sélectionné !
			if(Sel_pays_fr1==1)
				{
					//affectation tarif france
					Valportcalc=0.00;
					Tarif_fr_abopart=Val_ab_partfr_fr;
					Tarif_fr_aboinst=Val_ab_instfr_fr;
				}
			if(Sel_pays_fr2==1)
				{
					//alert("Function -->Sel_adrlivsim-->sélecteur France Livraison activé");
					document.Abon.pays_frdom.checked=1;
					document.Abon.pays_etrang.checked=0;
					document.Abon.pays_etrang2.checked=0;
					document.Abon.pays_etrang_int2.checked=0;
					//important remise a zero à laisser
					Sel_pays_et20=0;Sel_pays_et10=0;
					//alert("Sel_adrlivsim-->sélecteur France Livraison activé-->Selecteur autre mis a zero");
					//alert("Sel_adrlivsim-->Valeur de Sel_pays_et20-->"+Sel_pays_et20);
					document.Abon.pays.value="FRANCE";
					document.Abon.pays_livr.value="FRANCE";
					//affectation tarif france
					Valportcalc=0.00;
					Tarif_fr_abopart=Val_ab_partfr_fr;
					Tarif_fr_aboinst=Val_ab_instfr_fr;
				}
			if(Sel_pays_et1==1)
				{
						document.Abon.pays_frdom.checked=0;
						document.Abon.pays_frdom2.checked=0;				
						document.Abon.pays_etrang2.checked=1;
						document.Abon.pays_etrang_int2.checked=0;
						Val_pay1="";
						Val_pay1=document.Abon.pays.value;
						Val_pay2="";
						Val_pay2=document.Abon.pays_livr.value;
						if (Val_pay1=="FRANCE")
							{
								document.Abon.pays.value="";
							}
						if (Val_pay2=="FRANCE")
							{
								document.Abon.pays_livr.value="";
							}
						//affectation tarif etranger			
						Valportcalc=0.00;
						Tarif_fr_abopart=Val_ab_partet_fr;
						Tarif_fr_aboinst=Val_ab_instet_fr;
					}
			
			
			
			if(Sel_pays_et10==1)
				{
						//alert("Function -->Sel_adrlivsim-->sélecteur International Facturation activé");
						document.Abon.pays_frdom.checked=0;
						document.Abon.pays_frdom2.checked=0;				
						//ini
						//document.Abon.pays_etrang2.checked=1;
						document.Abon.pays_etrang2.checked=0;
						document.Abon.pays_etrang_int.checked=1;
						
						Val_pay1="";
						Val_pay1=document.Abon.pays.value;
						Val_pay2="";
						Val_pay2=document.Abon.pays_livr.value;
						if (Val_pay1=="FRANCE")
							{
								document.Abon.pays.value="";
							}
						if (Val_pay2=="FRANCE")
							{
								document.Abon.pays_livr.value="";
							}
						//affectation tarif etranger			
						Valportcalc=0.00;
						//ini
						//Tarif_fr_abopart=Val_ab_partet_fr;
						Tarif_fr_abopart=Val_ab_partetInt_fr;
						
						//ini
						//Tarif_fr_aboinst=Val_ab_instet_fr;
						Tarif_fr_aboinst=Val_ab_instetInt_fr;
						
						
					}
		
			
			
			
			
			if( Sel_pays_et2==1)
					{
						//alert("Function -->Sel_adrlivsim-->sélecteur International Livraison activé");
						document.Abon.pays_frdom.checked=0;
						document.Abon.pays_frdom2.checked=0;				
						document.Abon.pays_etrang.checked=1;
						
						Val_pay1="";
						Val_pay1=document.Abon.pays.value;
						Val_pay2="";
						Val_pay2=document.Abon.pays_livr.value;
						if (Val_pay1=="FRANCE")
							{
								document.Abon.pays.value="";
							}
						if (Val_pay2=="FRANCE")
							{
								document.Abon.pays_livr.value="";
							}
						//affectation tarif etranger			
						Valportcalc=0.00;
						Tarif_fr_abopart=Val_ab_partet_fr;
						Tarif_fr_aboinst=Val_ab_instet_fr;
					}
					
					
					
					
			if( Sel_pays_et20==1)
					{
						//alert("fonction affectation de prix -->Sélecteur Pays internatinal VALIDE");
						document.Abon.pays_frdom.checked=0;
						document.Abon.pays_frdom2.checked=0;				
						document.Abon.pays_etrang.checked=0;
						document.Abon.pays_etrang2.checked=0;						
						document.Abon.pays_etrang_int.checked=1;
						Val_pay1="";
						Val_pay1=document.Abon.pays.value;
						Val_pay2="";
						Val_pay2=document.Abon.pays_livr.value;
						if (Val_pay1=="FRANCE")
							{
								document.Abon.pays.value="";
							}
						if (Val_pay2=="FRANCE")
							{
								document.Abon.pays_livr.value="";
							}
						
						
						//affectation tarif etranger			
						Valportcalc=0.00;
						//ini
						//Tarif_fr_abopart=Val_ab_partet_fr;
						Tarif_fr_abopart=Val_ab_partetInt_fr;
						
						//ini
						//Tarif_fr_aboinst=Val_ab_instet_fr;
						Tarif_fr_aboinst=Val_ab_instetInt_fr;
						
					}				
						
		}
	//alert("Fin de fonction adresse similaire");
	calculer();
}



//emplacement Fct_paysfr()
//emplacement Fct_payslivr()


//***************************************************************
//***************************************************************
function sel_nb_inst ()
{
	//sélecteur
	sel_nbinst="";
	val_sel_nbinst="";
	document.Abon.selection_abpart.checked=0;
	document.Abon.Nb_qt_ab_part.selectedIndex=0;
	document.Abon.Qte_ab_part.value=0;
	document.Abon.Montant_eu_ab_part.value="0.00 Eu"
	document.Abon.Montant_fr_ab_part.value="0.00 FF";

	sel_nbinst=document.Abon.Nb_qt_ab_inst.selectedIndex;
	val_sel_nbinst=document.Abon.Nb_qt_ab_inst.options[sel_nbinst].value;
	switch (val_sel_nbinst)
		{
   		case "0" :
			  document.Abon.Qte_ab_inst.value=0;
			  document.Abon.statut.value="";
			  calculer ();
    		  break;
   		case "1" :
    		  document.Abon.Qte_ab_inst.value=1;
			  calculer ();
    		  break;
   		case "2" :
    		  document.Abon.Qte_ab_inst.value=2;
			  calculer ();
    		  break;
		case "3" :
    		  document.Abon.Qte_ab_inst.value=3;
			  calculer ();
    		  break;
		case "4" :
    		  document.Abon.Qte_ab_inst.value=4;
			  calculer ();
    		  break;
		case "5" :
    		  document.Abon.Qte_ab_inst.value=5;
			  calculer ();
    		  break;
		case "6" :
    		  document.Abon.Qte_ab_inst.value=6;
			  calculer ();
    		  break;
		case "7" :
    		  document.Abon.Qte_ab_inst.value=7;
			  calculer ();
    		  break;
		case "8" :
    		  document.Abon.Qte_ab_inst.value=8;
			  calculer ();
    		  break;
		case "9" :
    		  document.Abon.Qte_ab_inst.value=9;
			  calculer ();
    		  break;
		case "10" :
    		  document.Abon.Qte_ab_inst.value=10;
			  calculer ();
    		  break;
		case "11" :
    		  document.Abon.Qte_ab_inst.value=11;
			  calculer ();
    		  break;	  
   	   	default : 
			alert("Veuillez sélectionner un nombre d'exemplaire ...");
			document.Abon.Nb_qt_ab_inst.selectedIndex=0;
		}	


verif_select_abo ();
}

//***************************************************************
//***************************************************************
function sel_nb_part ()
{
	//sélecteur
	sel_nbpart="";
	val_sel_nbpart="";
	document.Abon.selection_abinst.checked=0;
	document.Abon.Nb_qt_ab_inst.selectedIndex=0;
	document.Abon.Qte_ab_inst.value=0;
	document.Abon.Montant_eu_ab_inst.value="0.00 Eu";
	document.Abon.Montant_fr_ab_inst.value="0.00 FF";
	sel_nbpart=document.Abon.Nb_qt_ab_part.selectedIndex;
	val_sel_nbpart=document.Abon.Nb_qt_ab_part.options[sel_nbpart].value;
	switch (val_sel_nbpart)
		{
   		case "0" :
    		  document.Abon.Qte_ab_part.value=0;
			  document.Abon.statut.value="";
			  calculer ();
    		  break;
   		case "1" :
    		  document.Abon.Qte_ab_part.value=1;
			  calculer ();
    		  break;
   		case "2" :
    		  document.Abon.Qte_ab_part.value=2;
			  calculer ();
    		  break;
		case "3" :
    		  document.Abon.Qte_ab_part.value=3;
			  calculer ();
    		  break;
		case "4" :
    		  document.Abon.Qte_ab_part.value=4;
			  calculer ();
    		  break;
		case "5" :
    		  document.Abon.Qte_ab_part.value=5;
			  calculer ();
    		  break;
		case "6" :
    		  document.Abon.Qte_ab_part.value=6;
			  calculer ();
    		  break;
		case "7" :
    		  document.Abon.Qte_ab_part.value=7;
			  calculer ();
    		  break;
		case "8" :
    		  document.Abon.Qte_ab_part.value=8;
			  calculer ();
    		  break;
		case "9" :
    		  document.Abon.Qte_ab_part.value=9;
			  calculer ();
    		  break;
		case "10" :
    		  document.Abon.Qte_ab_part.value=10;
			  calculer ();
    		  break;
	  	case "11" :
    		  document.Abon.Qte_ab_part.value=11;
			  calculer ();
    		  break;
   	   	default : 
			alert("Veuillez sélectionner un nombre d'exemplaire ...");
			document.Abon.Nb_qt_ab_part.selectedIndex=0;
		}	


verif_select_abo ();
}




function verif_select_abo ()
{
	if(document.Abon.selection_abinst.checked==0 && document.Abon.selection_abpart.checked==0)
	{
		document.Abon.statut.value="";
		alert("Veuillez choisir le type d'abonnement désiré (Institution ou Particulier)\n dans la rubrique\nINSTITUTIONS / PARTICULIERS");
		document.Abon.selection_abinst.focus();
		document.Abon.selection_abinst.select();
		return false;
	
	}

}




//***************************************************************
//***************************************************************
 // Fonction de remplacement de virgules dans la chaîne s
 // par des points décimaux permettant d'effectuer des calculs.
 // En résultat, c'est la chaîne s2 qui est formée et retournée
function PasVirgule (s)
{
	s2 = "";
	for (i = 0; i < s.length; i++)
		{
			// Si, en parcourant s, nous trouvons une virgule (",") nous ajoutons un
			// point (".") à s2. Dans le cas contraire, nous reprenons le caractère en l'état
			if (s.charAt (i) == ',')
				s2 += '.';
			else
				s2 += s.charAt (i);
		}
    return s2;
}


// Cette fonction formate une chaîne saisie ou un signe d'égalité de manière 
// à ce qu'après une virgule (",") il y ait exactement deux décimales.
// La saisie est d'abord convertie en string (s'il s'agit déjà d'une chaîne, il ne se passe rien)
function format (s)
{
	s = "" + s;
    // Puis nous déterminons la position du point décimal dans la chaîne
    // S'il n'y a pas de point décimal "(i == -1)", nous ajoutons la chaîne ",00" 
	//à la saisie et c'est tout.
    i = s.indexOf (".");
    if (i == -1)
    	s2 = s + ",00";
    else
		 {
          // Si la chaîne contient un point décimal Nous complétons par sécurité
          // par deux zéros et formaon le résultat à partir de la chaîne partielle avant le point décimal, une
          // virgule et les deux premiers caractères après le point décimal
          s = s + "00";
          s2 = s.substring (0, i) + ",";
          s2 = s2 + s.substring (i+1, i+3)
	     }
        
    return s2;
}
    
    function calculer () {
      
      //
      // Cette calcule les prix des postes individuels dans le formulaire, le montant
      // de la commande et le volume total
      
	  // Définition de l'abréviation : "f"
	  f = document.Abon;
   	  //f.ChampTotal.value =0;
   	  //f.ChampTotal2.value =0;
	  Quantite_num=0;
	  Portunit_num_fr=0;
	  Portunit_num_etr=0;
	  Valport=0.00;
      ValportFrc=0.00;
	  ValportEur=0.00;
		
      verif_case(); 

	  //Calcul Quantité
  	  Quantite_num=0;
	  //Quantite_num =Qte_94 *1;
	  Quantite_num =(f.Qte_ab_part.value*1);
	  //alert("Valeur de Quantite_num "+ Quantite_num);
	  Quantite_num =Quantite_num + (f.Qte_ab_inst.value*1);
	  //alert("quantité numéro"+ Quantite_num);	  
	  f.Qte_Tot_Abo.value=Quantite_num;
	  
	  
	  //Module de calcul du port
      ValportFrc=0.00;
	  ValportEur=0.00;
	  
	  //La valeur du port varie suivant la france & dom tom et l'Etranger
	  //grace à l'affectation de la variable: Valportcalc
	  //si en france 
	  //ValportFrc= Quantite_num*Val_port_fr;
	  
// Affectation des prix
	  
		//alert("Fonction calculer-->Affectation des prix");
		Sel_pays_fr2=0;Sel_adrlivsim=0;
		Sel_pays_fr2=document.Abon.pays_frdom2.checked;
		Sel_pays_et2=0;
		Sel_pays_et2=document.Abon.pays_etrang2.checked;
		Sel_pays_et20=0;
		Sel_pays_et20=document.Abon.pays_etrang_int2.checked;
//		alert("Sel_pays_fr2= "+Sel_pays_fr2+"\n Sel_pays_et2= "+ Sel_pays_et2);
//		alert("Controle si Sel_pays_fr2=0 et  Sel_pays_et2=0 ");
//		if (Sel_pays_fr2==0 && Sel_pays_et2==0)
//			{
//				alert("Veuillez sélectionner le secteur géographique de livraison de votre revue ");
//				document.Abon.pays_frdom.focus();
//				document.Abon.pays_frdom.select();
//				return false;
//			}
		
		if(Sel_pays_fr2==1)
			{
				//alert("Fonction calculer-->Sélecteur pays de livraison France activé");
				document.Abon.pays_etrang.checked=0;
				document.Abon.pays_etrang2.checked=0;
				document.Abon.pays_etrang_int2.checked=0;
			    Valportcalc=0.00;
			 	//Valportcalc=Val_port_fr;
				Tarif_fr_abopart=Val_ab_partfr_fr;
				Tarif_fr_aboinst=Val_ab_instfr_fr;
				//alert("Valeur du port = Val_port_fr : "+Val_port_fr);
				//alert("Fonction calculer-->Fin de traitement Sélecteur pays de livraison France activé");
			}
		if(Sel_pays_et2==1)
			{
				document.Abon.pays_frdom2.checked=0;
				document.Abon.pays_etrang_int2.checked=0;
			    Valportcalc=0.00;
				//Valportcalc=Val_port_et;
				Tarif_fr_abopart=Val_ab_partet_fr;
				Tarif_fr_aboinst=Val_ab_instet_fr;
				//alert("Valeur du port = Val_port_et : "+Val_port_et);
			}
		
		if(Sel_pays_et20==1)
			{
				document.Abon.pays_frdom2.checked=0;
				document.Abon.pays_etrang2.checked=0;
			    Valportcalc=0.00;
				//Valportcalc=Val_port_et;
				Tarif_fr_abopart=Val_ab_partetInt_fr;
				Tarif_fr_aboinst=Val_ab_instetInt_fr;
				//alert("Valeur du port = Val_port_et : "+Val_port_et);
				
			}

	  
	  


// Calcul des prix des postes individuels
//***************************************************************
//***************************************************************
// Calcul des prix abonnement particuliers
	  poste_ab_part_fr =0;
      poste_ab_part_fr = f.Qte_ab_part.value * Tarif_fr_abopart;
	  poste_ab_part_eu = (f.Qte_ab_part.value* Tarif_fr_abopart)/Val_euro;
//***************************************************************
// Calcul des prix abonnement Institutionnel
	  poste_ab_inst_fr =0;	
      poste_ab_inst_fr = f.Qte_ab_inst.value * Tarif_fr_aboinst;
	  poste_ab_inst_eu = (f.Qte_ab_inst.value* Tarif_fr_aboinst)/Val_euro;
//***************************************************************
//***************************************************************
//Début affichage du prix unitaire
	  val_nb_abpart=0;
	  val_nb_abint=0;
	  val_nb_abpart=f.Qte_ab_part.value;
	  val_nb_abint=f.Qte_ab_inst.value;
	  
	  if (val_nb_abpart==0 && val_nb_abint==0)
	  	{
			f.Prix_abo.value="0.00 FF";
			f.Prix_abo2.value="0.00 Eu";
		}
	  
	  
	  if (val_nb_abpart>0)
		  {
		  	
			f.Prix_abo.value=format (Tarif_fr_abopart)+ " FF";
			Val_prix_unit2=0.00;
			Val_prix_unit2=(Tarif_fr_abopart/Val_euro)
			Val_prix_unit2= Math.round (Val_prix_unit2 * 100) / 100;
			f.Prix_abo2.value=format (Val_prix_unit2)+ " Eu";
		  }
	  else
		  {
		  	
			f.Prix_abo.value=0.00;
			if (val_nb_abint>0)
	  			{

					f.Prix_abo.value=format (Tarif_fr_aboinst)+ " FF";
					Val_prix_unit2=0.00;
					Val_prix_unit2=(Tarif_fr_aboinst/Val_euro)
					Val_prix_unit2= Math.round (Val_prix_unit2 * 100) / 100;
					f.Prix_abo2.value=format (Val_prix_unit2)+ " Eu";

	  			}
		  }

	  if (val_nb_abint>0)
	  	{
	  		f.Prix_abo.value=format (Tarif_fr_aboinst)+ " FF";
			Val_prix_unit2=0.00;
			Val_prix_unit2=(Tarif_fr_aboinst/Val_euro)
			Val_prix_unit2= Math.round (Val_prix_unit2 * 100) / 100;
			f.Prix_abo2.value=format (Val_prix_unit2)+ " Eu";

	  	}
	  else
	 	 {
	 	 	f.Prix_abo.value=0.00;
			if (val_nb_abpart>0)
		  		{
		  			f.Prix_abo.value=format (Tarif_fr_abopart)+ " FF";
					Val_prix_unit2=0.00;
					Val_prix_unit2=(Tarif_fr_abopart/Val_euro)
					Val_prix_unit2= Math.round (Val_prix_unit2 * 100) / 100;
					f.Prix_abo2.value=format (Val_prix_unit2)+ " Eu";

		  		}
	 	 }
//Fin affichage du prix unitaire
//***************************************************************
      poste_ab_part_fr = Math.round (poste_ab_part_fr * 100) / 100;
      poste_ab_part_eu = Math.round (poste_ab_part_eu * 100) / 100;
//***************************************************************
      poste_ab_inst_fr = Math.round (poste_ab_inst_fr * 100) / 100;
      poste_ab_inst_eu = Math.round (poste_ab_inst_eu * 100) / 100;
//***************************************************************
//***************************************************************
//***************************************************************


//***************************************************************
      if (poste_ab_part_fr)
	  	{
		f.Montant_fr_ab_part.value= format (poste_ab_part_fr)+" FF";		
		}
      if (poste_ab_part_eu)
	  	{
        f.Montant_eu_ab_part.value= format (poste_ab_part_eu)+" Eu";
		}
//***************************************************************
      if (poste_ab_inst_fr)
        {
		f.Montant_fr_ab_inst.value= format (poste_ab_inst_fr)+" FF";
		}
      if (poste_ab_inst_eu)
        {
        f.Montant_eu_ab_inst.value= format (poste_ab_inst_eu)+" Eu";;
		}
//***************************************************************
//***************************************************************
//***************************************************************



	  // Le "véritable" prix total est alors la somme des postes individuels
      //Total Francs
	  total = 0.0;
      //Total Euro
	  total2 = 0.0;

//***************************************************************
      if (poste_ab_part_fr)
		{	  
			total += poste_ab_part_fr;
		}	
      if (poste_ab_part_eu)
		{	  
			total2 += poste_ab_part_eu;
		}	
//***************************************************************
      if (poste_ab_inst_fr)
        {
			total += poste_ab_inst_fr;
		}	
      if (poste_ab_inst_eu)
        {
			total2 += poste_ab_inst_eu;
		}	
//***************************************************************

      
	  //alert("BREAK");
	  //alert("Valeur de total2 final: "+total2);
      Total_com_fr=0.00;
	  Total_com_eu=0.00;
	  Total_com_fr=total;
  	  //alert("Valeur de l'Euro : "+Val_euro);
	  Total_com_eu=total/Val_euro;
	  //alert("Valeur de Total_com_eu : "+Total_com_eu);
	  // Ici aussi, arrondi
	  Total_com_fr=Math.round ((Total_com_fr) * 100) / 100;
  	  Total_com_eu=Math.round ((Total_com_eu) * 100) / 100;
	  f.Mont_Com_Fr.value=format (Total_com_fr)+" FF";
  	  f.Mont_Com_Eu.value=format (Total_com_eu)+" Eu";
	  
	  //Module d'ajout du port
	  
	  //alert("Total sans port "+total);
	  total=total+ValportFrc;
      //alert("Total avec port "+total);
	  total = Math.round ((total) * 100) / 100;
      if (total)
        //f.ChampTotal.value = format (total);
		
	  total2 =total2+ValportEur;	 
	  total2 = Math.round ((total2) * 100) / 100;
      if (total2)
        //f.ChampTotal2.value = format (total2);	 
		
		//Module de remise
		Remise_s_comfr=0.00;Remise_s_comeu=0.00;
		if (f.Qte_Tot_Abo.value>10)
				{
				
						//Remise en francs
						document.Abon.ValeurRemise.value=Val_remise2+ " %";
						Remise_s_comfr=(total*Val_remise2/100);
						Remise_s_comfr=Math.round ((Remise_s_comfr) * 100) / 100;
						Remise_s_comfr=(Remise_s_comfr*1);
						//Remise en euro
						Remise_s_comeu=Remise_s_comfr/Val_euro;
						Remise_s_comeu=Math.round ((Remise_s_comeu) * 100) / 100;
						Remise_s_comeu=(Remise_s_comeu*1);
						//afichage
						f.ChampRemise_fr.value= format (Remise_s_comfr)+" FF";
						f.ChampRemise_eu.value= format (Remise_s_comeu)+" Eu";
						Total_gene_fr=0.00;	Total_gene_eu=0.00;
						Total_gene_fr=(total-Remise_s_comfr);
						Total_gene_eu=(total2-Remise_s_comeu);
						//afichage
						f.Total_Gen_fr.value= format (Total_gene_fr)+" FF";
						f.Total_Gen_eu.value= format (Total_gene_eu)+" Eu";
						f.Mont_reg_fr.value= format (Total_gene_fr)+" FF";
						f.Mont_reg_eu.value= format (Total_gene_eu)+" Eu";						
						alert("Votre commande comporte plus de 10 Abonnement°,\nVeuillez nous contacter afin que nous puissions vous faire bénéficier d'un tarif préférentiel ...");				
				
				
				}		
		
		
		
		
		
		if (f.Qte_Tot_Abo.value>10)
				{
						//Remise en francs
						document.Abon.ValeurRemise.value=Val_remise2+ " %";
						Remise_s_comfr=(total*Val_remise2/100);
						Remise_s_comfr=Math.round ((Remise_s_comfr) * 100) / 100;
						Remise_s_comfr=(Remise_s_comfr*1);
						//Remise en euro
						Remise_s_comeu=Remise_s_comfr/Val_euro;
						Remise_s_comeu=Math.round ((Remise_s_comeu) * 100) / 100;
						Remise_s_comeu=(Remise_s_comeu*1);
						//afichage
						f.ChampRemise_fr.value= format (Remise_s_comfr)+" FF";
						f.ChampRemise_eu.value= format (Remise_s_comeu)+" Eu";
						Total_gene_fr=0.00;	Total_gene_eu=0.00;
						Total_gene_fr=(total-Remise_s_comfr);
						Total_gene_eu=(total2-Remise_s_comeu);
						//afichage
						f.Total_Gen_fr.value= format (Total_gene_fr)+" FF";
						f.Total_Gen_eu.value= format (Total_gene_eu)+" Eu";
						f.Mont_reg_fr.value= format (Total_gene_fr)+" FF";
						f.Mont_reg_eu.value= format (Total_gene_eu)+" Eu";						
												
	    				//alert("Votre commande comporte plus de 10 N°,\nVeuillez nous contacter afin que nous puissions vous faire bénéficier d'un tarif préférentiel ...");
				}
			else
				{
					if (f.Qte_Tot_Abo.value==10)
						{
							//Remise en francs
							document.Abon.ValeurRemise.value=Val_remise2+ " %";
							Remise_s_comfr=(total*Val_remise2/100);
							Remise_s_comfr=Math.round ((Remise_s_comfr) * 100) / 100;
							Remise_s_comfr=(Remise_s_comfr*1);
							//Remise en euro
							Remise_s_comeu=Remise_s_comfr/Val_euro;
							Remise_s_comeu=Math.round ((Remise_s_comeu) * 100) / 100;
							Remise_s_comeu=(Remise_s_comeu*1);
							//afichage
							f.ChampRemise_fr.value= format (Remise_s_comfr)+" FF";
							f.ChampRemise_eu.value= format (Remise_s_comeu)+" Eu";
							Total_gene_fr=0.00;	Total_gene_eu=0.00;
							Total_gene_fr=(total-Remise_s_comfr);
							Total_gene_eu=(total2-Remise_s_comeu);
							//afichage
							f.Total_Gen_fr.value= format (Total_gene_fr)+" FF";
							f.Total_Gen_eu.value= format (Total_gene_eu)+" Eu";
							f.Mont_reg_fr.value= format (Total_gene_fr)+" FF";
							f.Mont_reg_eu.value= format (Total_gene_eu)+" Eu";						

	    				}

					else
						{

							if (f.Qte_Tot_Abo.value>5)
								{
									//Remise en francs
									document.Abon.ValeurRemise.value=Val_remise+ " %";
									Remise_s_comfr=(total*Val_remise/100);
									Remise_s_comfr=Math.round ((Remise_s_comfr) * 100) / 100;
									Remise_s_comfr=(Remise_s_comfr*1);
									//Remise en euro
									Remise_s_comeu=Remise_s_comfr/Val_euro;
									Remise_s_comeu=Math.round ((Remise_s_comeu) * 100) / 100;
									Remise_s_comeu=(Remise_s_comeu*1);
									//afichage
									f.ChampRemise_fr.value= format (Remise_s_comfr)+" FF";
									f.ChampRemise_eu.value= format (Remise_s_comeu)+" Eu";
									Total_gene_fr=0.00;	Total_gene_eu=0.00;
									Total_gene_fr=(total-Remise_s_comfr);
									Total_gene_eu=(total2-Remise_s_comeu);
									//afichage
									f.Total_Gen_fr.value= format (Total_gene_fr)+" FF";
									f.Total_Gen_eu.value= format (Total_gene_eu)+" Eu";
									f.Mont_reg_fr.value= format (Total_gene_fr)+" FF";
									f.Mont_reg_eu.value= format (Total_gene_eu)+" Eu";						

							    }
  							else
								{
									//afichage
									document.Abon.ValeurRemise.value=0+ " %";
									f.Total_Gen_fr.value= format (total)+" FF";
									f.Total_Gen_eu.value= format (total2)+" Eu";
									f.Mont_reg_fr.value= format (total)+" FF";
									f.Mont_reg_eu.value= format (total2)+" Eu";						
									f.ChampRemise_fr.value=format ("0")+" FF";
									f.ChampRemise_eu.value=format ("0")+" Eu";
								}
				
						}
				}				
}
//Etat_checkbox





//****************************************************************************
//** Début Numero 95** 
//****************************************************************************

function case_num95()
{
  Select_95=0;
  Select_95=document.Abon.selection_num95.checked;
  if(Select_95==1)
  	{
	   	Qte_95=0;
		Qte_95=document.Abon.Qte_num_95.value;
		if(Qte_95==0)
			{
				document.Abon.Qte_num_95.value=1;
				calculer ();
			}
		else
			{
				calculer ();
			}	
	}
   else
	{
		//alert("Invalidé !");
		f.Qte_num_95.value=0;f.Montant_fr_num_95.value="0.00 FF";f.Montant_eu_num_95.value="0.00 Eu";calculer ();
	}	

}






//****************************************************************************
//** Fin Numero 95** 
//****************************************************************************
//****************************************************************************
//** Début Abonnement destiné aux particuliers (93)** 
//****************************************************************************
function case_abpart()
{
  //alert("Fonction case_abpart() lancée !!");
  Select_abpart=0;
  Select_abpart=document.Abon.selection_abpart.checked;
  if(Select_abpart==1)
  	{
	   	Qte_abpart=0;
		Qte_abpart=document.Abon.Qte_ab_part.value;
		document.Abon.statut.value="Particulier";
		//suppression des valeurs pour les institutions 
		document.Abon.selection_abinst.checked=0;
		document.Abon.Nb_qt_ab_inst.selectedIndex=0;
		document.Abon.Qte_ab_inst.value=0;
		document.Abon.Montant_fr_ab_inst.value="0,00 FF";
		document.Abon.Montant_eu_ab_inst.value="0,00 Eu";

		if(Qte_abpart==0)
			{
				document.Abon.Qte_ab_part.value=1;
				document.Abon.Nb_qt_ab_part.selectedIndex=1;
				document.Abon.statut.value="Particulier";
				calculer ();
			}
		else
			{
				//alert("Veuillez le nombre de Numéro S.V.P !");
				calculer ();
			}	
	}
   else
	{
		//alert("Invalidé !");
		f.Qte_ab_part.value=0;f.Montant_fr_ab_part.value="0.00 FF";f.Montant_eu_ab_part.value="0.00 Eu";calculer ();
		calculer ();
	}	

}
//** Fin Abonnement destiné aux particuliers (93)** 
//****************************************************************************
//****************************************************************************
//** Début Abonnement destiné aux institutions ( 92)** 
function case_abinst()
{
  //alert("Fonction case_abinst() lancée !!");
  Select_abinst=0;
  Select_abinst=document.Abon.selection_abinst.checked;
  if(Select_abinst==1)
  	{
	   	Qte_abinst=0;
		Qte_abinst=document.Abon.Qte_ab_inst.value;
		document.Abon.statut.value="Institution";
		//suppression des valeurs pour les Particuliers 
		document.Abon.selection_abpart.checked=0;
		document.Abon.Nb_qt_ab_part.selectedIndex=0;
		document.Abon.Qte_ab_part.value=0;
		document.Abon.Montant_fr_ab_part.value="0,00 FF";
		document.Abon.Montant_eu_ab_part.value="0,00 Eu";

		if(Qte_abinst==0)
			{
				document.Abon.Qte_ab_inst.value=1;
				document.Abon.Nb_qt_ab_inst.selectedIndex=1;
				document.Abon.statut.value="Institution";
				calculer ();
			}
		else
			{
				//alert("Veuillez le nombre de Numéro S.V.P !");
				calculer ();
			}	
	}
   else
	{
		//alert("Invalidé !");
		document.Abon.Qte_ab_inst.value=0;document.Abon.Montant_fr_ab_inst.value="0.00 FF";document.Abon.Montant_eu_ab_inst.value="0.00 Eu";calculer ();
		calculer ();document.Abon.statut.value="";
	}	

}

//** Fin Abonnement destiné aux institutions ( 92)**
//****************************************************************************
//****************************************************************************
//** Début Numero 9091** 
function case_num9091()
{
  //alert("Function case_num9091 lancée !");
  Select_9091=0;
  Select_9091=document.Abon.selection_num9091.checked;
  if(Select_9091==1)
  	{

		Qte_9091=0;
		Qte_9091=document.Abon.Qte_num_9091.value;
		if(Qte_9091==0)
			{
				 document.Abon.Qte_num_9091.value=1;
				 calculer ();
			}
		else
			{
				//alert("Veuillez le nombre de Numéro S.V.P !");
				calculer ();
			}	
	}
   else
	{
		//alert("Invalidé !");
		f.Qte_num_9091.value=0;f.Montant_fr_num_9091.value=0;f.Montant_eu_num_9091.value=0;calculer ();
		document.Abon.statut.value="";
		calculer ();
	}	

}





function verif_case()
{
//*******************************************************************************
//Début Particulier (93)
//*******************************************************************************

  Sel_abpart=0;Nb_ex93=0;
  Sel_abpart=document.Abon.selection_abpart.checked;
  Nb_ex93=document.Abon.Qte_ab_part.value;
  if(Nb_ex93>=1)
  	{
		//alert("Abonnment particulier (93) >=1");
		
		if(Sel_abpart==0)
			{
		  		//alert("selecteur Abonnment particulier à 0");
				document.Abon.selection_abpart.checked=1;
				document.Abon.statut.value="Particulier";
			}
		  else
		    {
				//Ok
		  	}
	}		
  else
	{
		f.selection_abpart.checked=0;
		f.Qte_ab_part.value=0;
		f.Montant_fr_ab_part.value="0.00 FF"
		f.Montant_eu_ab_part.value="0.00 Eu";
	}	
//*******************************************************************************
//Fin Abonnment particulier (93)
//*******************************************************************************
//Début Abonnment Institution (92)
//*******************************************************************************

		
  Sel_abinst=0;Nb_ex92=0;
  Sel_abinst=document.Abon.selection_abinst.checked;
  Nb_ex92=document.Abon.Qte_ab_inst.value;
  if(Nb_ex92>=1)
  	{
		//alert("Abonnement Institution  >=1");
		if(Sel_abinst==0)
			{
		  		//alert("selecteur 92 à 0");
				document.Abon.selection_abinst.checked=1;
				document.Abon.statut.value="Institution";				
				
			}
		  else
		    {
				//Ok
		  	}
	}		
  else
	{
		f.selection_abinst.checked=0;
		f.Qte_ab_inst.value=0;
		f.Montant_fr_ab_inst.value="0.00 FF";
		f.Montant_eu_ab_inst.value="0.00 Eu";
		
	}	

//*******************************************************************************
//Fin Abonnment Institution (92)
//*******************************************************************************

//Fin FUNCTION VERIF_SEL	
}	





