//------------------------------------------------------------
//	Fonction s'occupant de faire la redirection vers le 
//	bon site
//------------------------------------------------------------
function choixCommune(element)
{
	if( isDefined(element.selectedIndex) )
	{
		if( element.options[element.selectedIndex].value != "un" )
		{
			newWindow	= window.open('','resultatRecherche','');
			newWindow.location.href	= element.options[element.selectedIndex].value;
			newWindow.focus();
		}
	}
}

//------------------------------------------------------------
//	Fonction de vérification d'existance
//------------------------------------------------------------
function isDefined(element)
{
	retour	= true;
	if( typeof element	== "undefined" )	retour	= false;

	return	retour;
}
