function moveToSousCat()
{
	
	//alert('Veuillez choisir une catégorie ');
	
	
	var cat =getSelectValue('categorieID')
	
	viewSousCat(cat)

	
}
function moveToSousSousCat(cat)
{
	
	//alert('Veuillez choisir une  sous catégorie ');
	
	
	
	var souscat =getSelectValue('sousSousCategorieID')
	
	viewSousSousCat(cat,souscat )

	
}

function viewSousCat(catx)
{
	
	window.location.href='index.php?option=identification&menuM=3&envoi=yes&sousCatTest=yes&cat='+catx;  

	
}
function viewSousSousCat(catx, sousCatx)
{
	
	window.location.href='index.php?option=identification&menuM=3&envoi=yes&sousCatTest=yes&sousSousCatTest=yes&cat='+catx+'&sousCat='+sousCatx;  

	
}

function getSelectValue(selectId)
{
 	   			var elmt = document.getElementById(selectId);
 	  			 if(elmt.multiple == false)
				{
				  return elmt.options[elmt.selectedIndex].value;
   				}
   				 var values = new Array();
   				 for(var i=0; i< elmt.options.length; i++)
   				 {
					if(elmt.options[i].selected == true)
      			 	 {
				 	 values[values.length] = elmt.options[i].value;
       				 }
    			}    
    			return values;    
}