<!--
var col_transact=new Array();var col_region=new Array();var col_ville=new Array();var col_type=new Array();var col_piece=new Array();col_transact[0]='L';col_region[0]='REGION EST';col_ville[0]='SAINT ANDRE';col_type[0]='L';col_piece[0]=2;col_transact[1]='L';col_region[1]='REGION EST';col_ville[1]='SAINT ANDRE';col_type[1]='V';col_piece[1]=4;col_transact[2]='L';col_region[2]='REGION EST';col_ville[2]='SAINT ANDRE';col_type[2]='V';col_piece[2]=4;col_transact[3]='L';col_region[3]='REGION EST';col_ville[3]='SAINT ANDRE';col_type[3]='A';col_piece[3]=3;col_transact[4]='L';col_region[4]='REGION NORD';col_ville[4]='LA MONTAGNE';col_type[4]='V';col_piece[4]=4;col_transact[5]='L';col_region[5]='REGION NORD';col_ville[5]='LE PORT';col_type[5]='A';col_piece[5]=3;col_transact[6]='L';col_region[6]='REGION NORD';col_ville[6]='SAINT DENIS';col_type[6]='A';col_piece[6]=1;col_transact[7]='L';col_region[7]='REGION NORD';col_ville[7]='SAINT DENIS';col_type[7]='A';col_piece[7]=2;col_transact[8]='L';col_region[8]='REGION NORD';col_ville[8]='SAINT DENIS';col_type[8]='A';col_piece[8]=3;col_transact[9]='L';col_region[9]='REGION NORD';col_ville[9]='SAINT DENIS';col_type[9]='A';col_piece[9]=4;col_transact[10]='L';col_region[10]='REGION NORD';col_ville[10]='SAINT DENIS';col_type[10]='A';col_piece[10]=1;col_transact[11]='L';col_region[11]='REGION NORD';col_ville[11]='SAINT DENIS';col_type[11]='A';col_piece[11]=3;col_transact[12]='L';col_region[12]='REGION NORD';col_ville[12]='SAINT DENIS';col_type[12]='A';col_piece[12]=3;col_transact[13]='L';col_region[13]='REGION NORD';col_ville[13]='SAINT DENIS';col_type[13]='A';col_piece[13]=3;col_transact[14]='L';col_region[14]='REGION NORD';col_ville[14]='SAINT DENIS';col_type[14]='A';col_piece[14]=5;col_transact[15]='L';col_region[15]='REGION NORD';col_ville[15]='SAINT DENIS';col_type[15]='L';col_piece[15]=1;col_transact[16]='L';col_region[16]='REGION NORD';col_ville[16]='SAINT DENIS';col_type[16]='A';col_piece[16]=4;col_transact[17]='L';col_region[17]='REGION NORD';col_ville[17]='SAINT DENIS';col_type[17]='A';col_piece[17]=3;col_transact[18]='L';col_region[18]='REGION NORD';col_ville[18]='SAINT DENIS';col_type[18]='A';col_piece[18]=1;col_transact[19]='L';col_region[19]='REGION NORD';col_ville[19]='SAINT DENIS';col_type[19]='A';col_piece[19]=1;col_transact[20]='L';col_region[20]='REGION NORD';col_ville[20]='SAINT DENIS';col_type[20]='A';col_piece[20]=1;col_transact[21]='L';col_region[21]='REGION NORD';col_ville[21]='SAINT DENIS';col_type[21]='A';col_piece[21]=1;col_transact[22]='L';col_region[22]='REGION NORD';col_ville[22]='SAINT DENIS';col_type[22]='L';col_piece[22]=1;col_transact[23]='L';col_region[23]='REGION NORD';col_ville[23]='SAINT DENIS';col_type[23]='A';col_piece[23]=2;col_transact[24]='L';col_region[24]='REGION NORD';col_ville[24]='SAINT DENIS';col_type[24]='A';col_piece[24]=5;col_transact[25]='L';col_region[25]='REGION NORD';col_ville[25]='SAINT DENIS';col_type[25]='A';col_piece[25]=2;col_transact[26]='L';col_region[26]='REGION NORD';col_ville[26]='SAINT DENIS';col_type[26]='A';col_piece[26]=2;col_transact[27]='L';col_region[27]='REGION NORD';col_ville[27]='SAINT DENIS';col_type[27]='A';col_piece[27]=4;col_transact[28]='L';col_region[28]='REGION NORD';col_ville[28]='SAINT DENIS';col_type[28]='L';col_piece[28]=1;col_transact[29]='L';col_region[29]='REGION NORD';col_ville[29]='SAINT DENIS';col_type[29]='A';col_piece[29]=4;col_transact[30]='L';col_region[30]='REGION NORD';col_ville[30]='SAINT DENIS';col_type[30]='A';col_piece[30]=3;col_transact[31]='L';col_region[31]='REGION NORD';col_ville[31]='SAINT DENIS';col_type[31]='A';col_piece[31]=1;col_transact[32]='L';col_region[32]='REGION NORD';col_ville[32]='SAINT DENIS';col_type[32]='A';col_piece[32]=1;col_transact[33]='L';col_region[33]='REGION NORD';col_ville[33]='SAINT DENIS';col_type[33]='A';col_piece[33]=1;col_transact[34]='L';col_region[34]='REGION NORD';col_ville[34]='SAINT DENIS';col_type[34]='A';col_piece[34]=1;col_transact[35]='L';col_region[35]='REGION NORD';col_ville[35]='SAINT DENIS';col_type[35]='A';col_piece[35]=1;col_transact[36]='L';col_region[36]='REGION NORD';col_ville[36]='SAINT DENIS';col_type[36]='A';col_piece[36]=2;col_transact[37]='L';col_region[37]='REGION NORD';col_ville[37]='SAINT DENIS';col_type[37]='A';col_piece[37]=3;col_transact[38]='L';col_region[38]='REGION NORD';col_ville[38]='SAINT DENIS';col_type[38]='A';col_piece[38]=3;col_transact[39]='L';col_region[39]='REGION NORD';col_ville[39]='SAINT DENIS';col_type[39]='A';col_piece[39]=2;col_transact[40]='L';col_region[40]='REGION NORD';col_ville[40]='SAINT DENIS';col_type[40]='A';col_piece[40]=2;col_transact[41]='L';col_region[41]='REGION NORD';col_ville[41]='SAINT DENIS';col_type[41]='A';col_piece[41]=3;col_transact[42]='L';col_region[42]='REGION NORD';col_ville[42]='SAINT DENIS';col_type[42]='A';col_piece[42]=2;col_transact[43]='L';col_region[43]='REGION NORD';col_ville[43]='SAINT DENIS';col_type[43]='A';col_piece[43]=4;col_transact[44]='L';col_region[44]='REGION NORD';col_ville[44]='SAINT DENIS';col_type[44]='A';col_piece[44]=3;col_transact[45]='L';col_region[45]='REGION NORD';col_ville[45]='SAINT DENIS';col_type[45]='A';col_piece[45]=5;col_transact[46]='L';col_region[46]='REGION NORD';col_ville[46]='SAINT DENIS';col_type[46]='A';col_piece[46]=1;col_transact[47]='L';col_region[47]='REGION NORD';col_ville[47]='SAINT DENIS';col_type[47]='A';col_piece[47]=3;col_transact[48]='L';col_region[48]='REGION NORD';col_ville[48]='SAINT DENIS';col_type[48]='A';col_piece[48]=3;col_transact[49]='L';col_region[49]='REGION NORD';col_ville[49]='SAINT DENIS';col_type[49]='A';col_piece[49]=0;col_transact[50]='L';col_region[50]='REGION NORD';col_ville[50]='SAINT DENIS';col_type[50]='A';col_piece[50]=2;col_transact[51]='L';col_region[51]='REGION NORD';col_ville[51]='SAINT DENIS';col_type[51]='A';col_piece[51]=4;col_transact[52]='L';col_region[52]='REGION NORD';col_ville[52]='SAINT DENIS';col_type[52]='A';col_piece[52]=3;col_transact[53]='L';col_region[53]='REGION NORD';col_ville[53]='SAINT DENIS';col_type[53]='A';col_piece[53]=0;col_transact[54]='L';col_region[54]='REGION NORD';col_ville[54]='SAINT DENIS';col_type[54]='A';col_piece[54]=2;col_transact[55]='L';col_region[55]='REGION NORD';col_ville[55]='SAINT DENIS';col_type[55]='A';col_piece[55]=2;col_transact[56]='L';col_region[56]='REGION NORD';col_ville[56]='SAINT DENIS';col_type[56]='A';col_piece[56]=5;col_transact[57]='L';col_region[57]='REGION NORD';col_ville[57]='SAINT DENIS';col_type[57]='V';col_piece[57]=6;col_transact[58]='L';col_region[58]='REGION NORD';col_ville[58]='SAINT DENIS';col_type[58]='V';col_piece[58]=3;col_transact[59]='L';col_region[59]='REGION NORD';col_ville[59]='SAINT DENIS';col_type[59]='A';col_piece[59]=2;col_transact[60]='L';col_region[60]='REGION NORD';col_ville[60]='SAINT DENIS';col_type[60]='L';col_piece[60]=1;col_transact[61]='L';col_region[61]='REGION NORD';col_ville[61]='SAINT DENIS';col_type[61]='L';col_piece[61]=1;col_transact[62]='L';col_region[62]='REGION NORD';col_ville[62]='SAINT DENIS';col_type[62]='A';col_piece[62]=1;col_transact[63]='L';col_region[63]='REGION NORD';col_ville[63]='SAINT DENIS';col_type[63]='A';col_piece[63]=1;col_transact[64]='L';col_region[64]='REGION NORD';col_ville[64]='SAINT DENIS';col_type[64]='A';col_piece[64]=2;col_transact[65]='L';col_region[65]='REGION NORD';col_ville[65]='SAINT DENIS';col_type[65]='V';col_piece[65]=4;col_transact[66]='L';col_region[66]='REGION NORD';col_ville[66]='SAINTE CLOTILDE';col_type[66]='L';col_piece[66]=2;col_transact[67]='L';col_region[67]='REGION NORD';col_ville[67]='SAINTE CLOTILDE';col_type[67]='A';col_piece[67]=2;col_transact[68]='L';col_region[68]='REGION NORD';col_ville[68]='SAINTE CLOTILDE';col_type[68]='V';col_piece[68]=5;col_transact[69]='L';col_region[69]='REGION NORD';col_ville[69]='SAINTE CLOTILDE';col_type[69]='A';col_piece[69]=4;col_transact[70]='L';col_region[70]='REGION NORD';col_ville[70]='SAINTE CLOTILDE';col_type[70]='V';col_piece[70]=5;col_transact[71]='L';col_region[71]='REGION NORD';col_ville[71]='SAINTE CLOTILDE';col_type[71]='A';col_piece[71]=1;col_transact[72]='L';col_region[72]='REGION NORD';col_ville[72]='SAINTE CLOTILDE';col_type[72]='A';col_piece[72]=3;col_transact[73]='L';col_region[73]='REGION NORD';col_ville[73]='SAINTE CLOTILDE';col_type[73]='A';col_piece[73]=3;col_transact[74]='L';col_region[74]='REGION NORD';col_ville[74]='SAINTE CLOTILDE';col_type[74]='A';col_piece[74]=1;col_transact[75]='L';col_region[75]='REGION NORD';col_ville[75]='SAINTE CLOTILDE';col_type[75]='A';col_piece[75]=2;col_transact[76]='L';col_region[76]='REGION OUEST';col_ville[76]='SAINT LEU';col_type[76]='L';col_piece[76]=7;col_transact[77]='L';col_region[77]='REGION OUEST';col_ville[77]='SAINT LEU';col_type[77]='L';col_piece[77]=31;col_transact[78]='L';col_region[78]='REGION OUEST';col_ville[78]='SAINT PAUL';col_type[78]='A';col_piece[78]=4;col_transact[79]='L';col_region[79]='REGION OUEST';col_ville[79]='SAINT PAUL';col_type[79]='L';col_piece[79]=1;col_transact[80]='L';col_region[80]='REGION OUEST';col_ville[80]='SAINT PAUL';col_type[80]='A';col_piece[80]=3;col_transact[81]='L';col_region[81]='REGION OUEST';col_ville[81]='ST GILLES LES BAINS';col_type[81]='A';col_piece[81]=4;col_transact[82]='L';col_region[82]='REGION OUEST';col_ville[82]='ST GILLES LES BAINS';col_type[82]='A';col_piece[82]=2;col_transact[83]='L';col_region[83]='REGION OUEST';col_ville[83]='ST GILLES LES BAINS';col_type[83]='A';col_piece[83]=1;col_transact[84]='L';col_region[84]='REGION SUD';col_ville[84]='ENTRE-DEUX';col_type[84]='V';col_piece[84]=4;col_transact[85]='L';col_region[85]='REGION SUD';col_ville[85]='LE TAMPON';col_type[85]='A';col_piece[85]=4;col_transact[86]='L';col_region[86]='REGION SUD';col_ville[86]='LE TAMPON';col_type[86]='V';col_piece[86]=3;col_transact[87]='L';col_region[87]='REGION SUD';col_ville[87]='LE TAMPON';col_type[87]='V';col_piece[87]=3;col_transact[88]='L';col_region[88]='REGION SUD';col_ville[88]='LE TAMPON';col_type[88]='V';col_piece[88]=3;col_transact[89]='L';col_region[89]='REGION SUD';col_ville[89]='PETITE ILE';col_type[89]='V';col_piece[89]=6;col_transact[90]='L';col_region[90]='REGION SUD';col_ville[90]='RAVINE DES CABRIS';col_type[90]='V';col_piece[90]=4;col_transact[91]='L';col_region[91]='REGION SUD';col_ville[91]='RAVINE DES CABRIS';col_type[91]='V';col_piece[91]=5;col_transact[92]='L';col_region[92]='REGION SUD';col_ville[92]='SAINT LOUIS';col_type[92]='L';col_piece[92]=1;col_transact[93]='L';col_region[93]='REGION SUD';col_ville[93]='SAINT LOUIS';col_type[93]='L';col_piece[93]=1;col_transact[94]='L';col_region[94]='REGION SUD';col_ville[94]='SAINT PIERRE';col_type[94]='A';col_piece[94]=5;col_transact[95]='L';col_region[95]='REGION SUD';col_ville[95]='SAINT PIERRE';col_type[95]='A';col_piece[95]=3;col_transact[96]='L';col_region[96]='REGION SUD';col_ville[96]='SAINT PIERRE';col_type[96]='A';col_piece[96]=3;col_transact[97]='L';col_region[97]='REGION SUD';col_ville[97]='SAINT PIERRE';col_type[97]='A';col_piece[97]=3;col_transact[98]='L';col_region[98]='REGION SUD';col_ville[98]='SAINT PIERRE';col_type[98]='L';col_piece[98]=0;col_transact[99]='L';col_region[99]='REGION SUD';col_ville[99]='SAINT PIERRE';col_type[99]='A';col_piece[99]=3;col_transact[100]='L';col_region[100]='REGION SUD';col_ville[100]='SAINT PIERRE';col_type[100]='A';col_piece[100]=3;col_transact[101]='L';col_region[101]='REGION SUD';col_ville[101]='SAINT PIERRE';col_type[101]='A';col_piece[101]=2;col_transact[102]='L';col_region[102]='REGION SUD';col_ville[102]='SAINT PIERRE';col_type[102]='A';col_piece[102]=2;col_transact[103]='L';col_region[103]='REGION SUD';col_ville[103]='SAINT PIERRE';col_type[103]='A';col_piece[103]=3;col_transact[104]='L';col_region[104]='REGION SUD';col_ville[104]='SAINT PIERRE';col_type[104]='A';col_piece[104]=4;col_transact[105]='L';col_region[105]='REGION SUD';col_ville[105]='SAINT PIERRE';col_type[105]='A';col_piece[105]=3;col_transact[106]='L';col_region[106]='REGION SUD';col_ville[106]='SAINT PIERRE';col_type[106]='A';col_piece[106]=3;col_transact[107]='L';col_region[107]='REGION SUD';col_ville[107]='SAINT PIERRE';col_type[107]='L';col_piece[107]=1;col_transact[108]='L';col_region[108]='REGION SUD';col_ville[108]='SAINT PIERRE';col_type[108]='L';col_piece[108]=3;col_transact[109]='L';col_region[109]='REGION SUD';col_ville[109]='SAINT PIERRE';col_type[109]='A';col_piece[109]=2;col_transact[110]='L';col_region[110]='REGION SUD';col_ville[110]='SAINT PIERRE';col_type[110]='V';col_piece[110]=3;col_transact[111]='L';col_region[111]='REGION SUD';col_ville[111]='SAINT PIERRE';col_type[111]='A';col_piece[111]=3;col_transact[112]='V';col_region[112]='REGION SUD';col_ville[112]='SAINT PIERRE';col_type[112]='A';col_piece[112]=4;col_transact[113]='L';col_region[113]='REGION SUD';col_ville[113]='SAINT PIERRE';col_type[113]='A';col_piece[113]=4;col_transact[114]='L';col_region[114]='REGION SUD';col_ville[114]='SAINT PIERRE';col_type[114]='A';col_piece[114]=3;col_transact[115]='L';col_region[115]='REGION SUD';col_ville[115]='SAINT PIERRE';col_type[115]='A';col_piece[115]=3;col_transact[116]='L';col_region[116]='REGION SUD';col_ville[116]='SAINT PIERRE';col_type[116]='A';col_piece[116]=1;col_transact[117]='L';col_region[117]='REGION SUD';col_ville[117]='SAINT PIERRE';col_type[117]='A';col_piece[117]=2;col_transact[118]='L';col_region[118]='REGION SUD';col_ville[118]='SAINT PIERRE';col_type[118]='A';col_piece[118]=4;col_transact[119]='L';col_region[119]='REGION SUD';col_ville[119]='SAINT PIERRE';col_type[119]='A';col_piece[119]=2;col_transact[120]='L';col_region[120]='REGION SUD';col_ville[120]='SAINT PIERRE';col_type[120]='A';col_piece[120]=2;col_transact[121]='L';col_region[121]='REGION SUD';col_ville[121]='SAINT PIERRE';col_type[121]='A';col_piece[121]=5;col_transact[122]='L';col_region[122]='REGION SUD';col_ville[122]='SAINT PIERRE';col_type[122]='A';col_piece[122]=2;col_transact[123]='L';col_region[123]='REGION SUD';col_ville[123]='SAINT PIERRE';col_type[123]='A';col_piece[123]=2;col_transact[124]='L';col_region[124]='REGION SUD';col_ville[124]='SAINT PIERRE';col_type[124]='A';col_piece[124]=3;col_transact[125]='L';col_region[125]='REGION SUD';col_ville[125]='SAINT PIERRE';col_type[125]='A';col_piece[125]=3;col_transact[126]='L';col_region[126]='REGION SUD';col_ville[126]='SAINT PIERRE';col_type[126]='A';col_piece[126]=3;col_transact[127]='L';col_region[127]='REGION SUD';col_ville[127]='SAINT PIERRE';col_type[127]='A';col_piece[127]=2;col_transact[128]='L';col_region[128]='REGION SUD';col_ville[128]='SAINT PIERRE';col_type[128]='A';col_piece[128]=2;col_transact[129]='L';col_region[129]='REGION SUD';col_ville[129]='SAINT PIERRE';col_type[129]='L';col_piece[129]=1;col_transact[130]='L';col_region[130]='REGION SUD';col_ville[130]='SAINT PIERRE';col_type[130]='A';col_piece[130]=3;col_transact[131]='L';col_region[131]='REGION SUD';col_ville[131]='SAINT PIERRE';col_type[131]='L';col_piece[131]=1;col_transact[132]='L';col_region[132]='REGION SUD';col_ville[132]='SAINT PIERRE';col_type[132]='A';col_piece[132]=2;col_transact[133]='L';col_region[133]='REGION SUD';col_ville[133]='SAINT PIERRE';col_type[133]='A';col_piece[133]=2;col_transact[134]='L';col_region[134]='REGION SUD';col_ville[134]='SAINT PIERRE';col_type[134]='L';col_piece[134]=10;col_transact[135]='L';col_region[135]='REGION SUD';col_ville[135]='SAINT PIERRE';col_type[135]='A';col_piece[135]=4;col_transact[136]='L';col_region[136]='REGION SUD';col_ville[136]='SAINT PIERRE';col_type[136]='L';col_piece[136]=0;col_transact[137]='L';col_region[137]='REGION SUD';col_ville[137]='SAINT PIERRE';col_type[137]='A';col_piece[137]=4;col_transact[138]='L';col_region[138]='REGION SUD';col_ville[138]='SAINT PIERRE';col_type[138]='A';col_piece[138]=1;col_transact[139]='L';col_region[139]='REGION SUD';col_ville[139]='SAINT PIERRE';col_type[139]='A';col_piece[139]=2;col_transact[140]='L';col_region[140]='REGION SUD';col_ville[140]='SAINT PIERRE';col_type[140]='A';col_piece[140]=2;col_transact[141]='L';col_region[141]='REGION SUD';col_ville[141]='SAINT PIERRE';col_type[141]='A';col_piece[141]=3;col_transact[142]='L';col_region[142]='REGION SUD';col_ville[142]='SAINT PIERRE';col_type[142]='A';col_piece[142]=3;var tab=new Array(col_transact,col_region,col_ville,col_type,col_piece); 
function immapt_cl()
{
	//alert(col_transact.length);
	var location=false;
	var achat=false;
	var code='';
	
	//var type=document.type_bien.value;
	var type=(document.forms["form_rech"].elements["type_bien"].value);
	for (i=0;i<col_transact.length;i++)
	{
		
		if((tab[3][i]==type) && (tab[0][i]=='V')){achat=true;}
		if((tab[3][i]==type) && (tab[0][i]=='L')){location=true;}
	}
	
	if (achat==true && location==false)
	{
		code+="<input name='rd_transact' type='radio' value='L'  class='texte_rechercher'>&nbsp;Location";
		code+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name='rd_transact' disabled='true' type='radio' value='V'  class='texte_rechercher'>&nbsp;Achat";
	}
	
	if (location==true && achat==false)
	{
		code+="<input name='rd_transact'  type='radio' value='L'  class='texte_rechercher'>&nbsp;Location";
		code+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name='rd_transact' disabled='true' type='radio' value='V'  class='texte_rechercher'>&nbsp;Achat";
	}
	
	if (location==true && achat==true)
	{
		code+="<input name='rd_transact' type='radio' value='L'  class='texte_rechercher'>&nbsp;Location";
		code+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name='rd_transact' type='radio' value='V'  class='texte_rechercher'>&nbsp;Achat";
	}
	if (location==false && achat==false)
	{
		code+="<input name='rd_transact' disabled='true' type='radio' value='L'  class='texte_rechercher'>&nbsp;Location";
		code+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name='rd_transact' disabled='true' type='radio' value='V'  class='texte_rechercher'>&nbsp;Achat";
	}
	document.getElementById('blocRadio').innerHTML = code;
}
function region_cl(region)
{
	var ville="";
	var i=0;
	var code="&nbsp;<select name='lst_ville' onChange='commune_cl()' class='texte_rechercher'><option value=''>&nbsp;&nbsp;&nbsp;--&nbsp;Indifférent&nbsp;--&nbsp;&nbsp;&nbsp;</option>";
	var typ=document.forms["form_rech"].elements["type_bien"].value;
	if (document.forms["form_rech"].elements["rd_transact"][0].checked){trans='L';}else{trans='V';} 
	if (region!='')
	{
		for (i=0;i<col_transact.length;i++)
		{
			if((tab[2][i]!=ville) && (tab[1][i]==region))
			{
				code=code + "<option value='" + tab[2][i]+ "'>" + tab[2][i] + "</option>";
				ville=tab[2][i];
			}
			
		}
	}
	else
	{
		for (i=0;i<col_transact.length;i++)
		{
			if(tab[2][i]!=ville)
			{
				code=code + "<option value='" + tab[2][i]+ "'>" + tab[2][i] + "</option>";
				ville=tab[2][i];
			}
			
		}
	}
	code+="</select>";
	document.getElementById('blocVille').innerHTML = code;
}
//-->