		function BuildRequestDepArr (p_form, psTypeRecherche, psDepArr, psNbSoluce)
		{
			var ls_Request;
			var modifbool;
			var liNbSoluce
			
			psNbSoluce = psNbSoluce.replace(',','.')
			liNbSoluce = parseFloat(psNbSoluce)
			ls_Request = "";
			modifbool = false;
			resolubool = false;
			
			if (liNbSoluce<1)
				{
					ls_Request = ls_Request + psTypeRecherche;
					ls_Request = ls_Request + '|';
					ls_Request = ls_Request + p_form.elements[psDepArr+'Name'].value;
					ls_Request = ls_Request + '|';
					ls_Request = ls_Request + p_form.elements[psDepArr+'CityName'].value;
					ls_Request = ls_Request +'|||';
				}
			if (liNbSoluce == 1)
				{resolubool = true;
				if (p_form.elements[psDepArr+'Point'].value != '')
					{ls_Request = ls_Request + p_form.elements[psDepArr+'Point'].value;}
				else {ls_Request = ls_Request +p_form.elements[psDepArr+'EntryPointList'].options[p_form.elements[psDepArr+'EntryPointList'].selectedIndex].value;}}
			if (liNbSoluce > 1)
				{
				if (p_form.elements[psDepArr+'EntryPointList'].options[p_form.elements[psDepArr+'EntryPointList'].selectedIndex].value != '')
					{
					if (p_form.elements[psDepArr+'EntryPointList'].options[p_form.elements[psDepArr+'EntryPointList'].selectedIndex].value != 'back')
						{resolubool = true; ls_Request = p_form.elements[psDepArr+'EntryPointList'].options[p_form.elements[psDepArr+'EntryPointList'].selectedIndex].value;}
					else {modifbool = true; ls_Request = p_form.elements[psDepArr+'Request'].value;}
					}
				else 
					{ls_Request = p_form.elements[psDepArr+'Request'].value;}
				}
			ls_Request = escape(ls_Request);
			if (modifbool == true) {ls_Request = ls_Request + '&'+ psDepArr +'modif=1';}
			if (resolubool == true) {ls_Request = psDepArr + 'Point='+ ls_Request;}
			else {ls_Request = psDepArr + 'Request='+ ls_Request;}
			
			return ls_Request;
		}
		
		function BuildDate(p_form)
		{
			var ls_string
			
			ls_string = ''
			if (p_form.AnneeMois.selectedIndex != 0 && p_form.Jour.selectedIndex != 0)
				{
				ls_string = p_form.AnneeMois.options[p_form.AnneeMois.selectedIndex].value;
				ls_string = ls_string +'|';
				ls_string = ls_string +p_form.Jour.options[p_form.Jour.selectedIndex].value;
				}
			ls_string = escape(ls_string);
			return ls_string;
		}
		
		function BuildTime(p_form)
		{
			var ls_string
			
			ls_string = ''
			if (p_form.Heure.selectedIndex != 0 && p_form.Minute.selectedIndex != 0)
				{
				ls_string = p_form.TypeHeureDep.options[p_form.TypeHeureDep.selectedIndex].value;
				ls_string = ls_string +'|';
				ls_string = ls_string + p_form.Heure.options[p_form.Heure.selectedIndex].value;
				ls_string = ls_string +'|';
				ls_string = ls_string + p_form.Minute.options[p_form.Minute.selectedIndex].value;
				}
			ls_string = escape(ls_string);
			return ls_string;
		}
		
		function BuildCriteria(p_form)
		{
			var ls_string
			
			ls_string = p_form.Filter.options[p_form.Filter.selectedIndex].value;
			ls_string = ls_string +'||';
			ls_string = escape(ls_string);
			return ls_string;
		}
		

