TPRecherche=new Array();TPARecherche=new Array();TPARecherche[0]="Australie| (1)";TPRecherche[0]="0|Western Australia| (1)";TPARecherche[1]="Canada| (1547)";TPRecherche[1]="1|Île-du-Prince-Édouard| (3)";TPRecherche[2]="1|Nouveau-Brunswick| (24)";TPRecherche[3]="1|Ontario| (1)";TPRecherche[4]="1|Québec| (1519)";TPARecherche[2]="Mexique| (1)";TPRecherche[5]="2|Quintana Roo| (1)";TPARecherche[3]="United States| (2)";TPRecherche[6]="3|Vermont| (2)";function MAJPaysRecherche(A){nbOptions=A.length;for(indPays=0;indPays<nbOptions;indPays++){A[0]=null}A.options[0]=new Option("1 - Sélectionnez un pays *","");for(indPaysOpt=1;indPaysOpt<(TPARecherche.length+1);indPaysOpt++){tableauPaysValeur=TPARecherche[indPaysOpt-1].split("|");A.options[indPaysOpt]=new Option(tableauPaysValeur[0]+" "+tableauPaysValeur[1],tableauPaysValeur[0])}}function MAJProvincesRecherche(pays,province,formulaire){var nomChamps=pays.name;if(typeof (formulaire)=="undefined"){formulaire="document.Donnees."}obj=eval(formulaire+nomChamps+"Autre");if(typeof (obj)!="undefined"){if(pays[pays.selectedIndex].value=="Autre"){obj.disabled=false}else{obj.disabled=true;obj.value=""}}nbOptions=province.length;for(indOpt=0;indOpt<nbOptions;indOpt++){province[0]=null}bonNoPays=-1;for(indPays=0;indPays<TPARecherche.length;indPays++){tableauPaysValeur=TPARecherche[indPays].split("|");if(tableauPaysValeur[0]==pays[pays.selectedIndex].value){bonNoPays=indPays;i=TPARecherche.length}}cptProvince=0;province.options[0]=new Option("2 - Sélectionnez une province *","");for(indProv=1;indProv<(TPRecherche.length+1);indProv++){tableauProvincePaysValeur=TPRecherche[indProv-1].split("|");if(tableauProvincePaysValeur[0]==bonNoPays){cptProvince=cptProvince+1;province.options[cptProvince]=new Option(tableauProvincePaysValeur[1]+" "+tableauProvincePaysValeur[2],tableauProvincePaysValeur[1])}}if(province.selectedIndex==-1){province.options[0].selected=true}}function MAJProvincesAutresRecherche(province,formulaire){var nomChamps=province.name;if(typeof (formulaire)=="undefined"){formulaire="document.Donnees."}obj=eval(formulaire+nomChamps+"Autre");if(typeof (obj)!="undefined"){if(province[province.selectedIndex].value=="Autre"){obj.disabled=false}else{obj.disabled=true;obj.value=""}}}function ActiverChampsAutreRecherche(A,C,B){obj=document.getElementById(A);obj2=document.getElementById(B);if(C[C.selectedIndex].value=="Autre"){obj.className=""}else{obj.className="desactive";obj2.disabled="disabled";obj2.value=""}};