            function gestionConsole(img)
            {
                if ( document.getElementById('telecommande_recherche').style.height == '0px' )
                {                     
                    consoleDown(img);
                }else{
                    consoleUp(img);
                }
            }
            function consoleDown(img)
            {
                //alert(img);
                divRech = document.getElementById('telecommande_recherche');
                height  = parseInt(divRech.style.height, 10);
                if ( divRech.style.display == 'none' )
                {
                    divRech.style.display = 'block';                    
                }
                if ( height < 100 )
                {
                    divRech.style.height = ( height + 20 ) + 'px';                                        
                    //divRech.style.marginTop= (-100 + ( height + 10 )) + 'px';  
                    setTimeout('consoleDown("none")', 10);
                }
                //document.getElementById('txtRech').innerHTML = 'Recherche Simple';
                if (img != "none"){
	                img.src = UrlBouton+'murHTML/recherche_simple.png';
                }
            }
            
            function consoleUp(img)
            {
                
                divRech = document.getElementById('telecommande_recherche');
                height  = parseInt(divRech.style.height, 10);
                if ( divRech.style.display == 'none' )
                {
                    divRech.style.display = 'block';
                }
                if ( height > 0 ) 
                {
                    divRech.style.height = ( height - 20 ) + 'px';
                    setTimeout('consoleUp("none")', 10);
                }
                //document.getElementById('txtRech').innerHTML = 'Recherche D&eacute;taill&eacute;e';
                if (img != "none"){
	                img.src = UrlBouton+'murHTML/recherche_avancee.png';
                }
            }
            
            function reinitialiseUrl(ptaPanier)
            {
            	if (ptaPanier == true){
            		sFormule    = parseInt(document.getElementById('f').value);
	            	sUrl        = '';
	            	sUrl += 'f'+sFormule;
                	sCriteres   = document.getElementById('f').options[document.getElementById('f').selectedIndex].text;
					sUrlTel = '/nos-telephones-'+sUrl+'page1.html';
            	}else{
	            	sUrl        = '';
            		sCriteres	= '';
            		sUrlTel = '/nos-telephones-mobiles-tous1page1.html';
                    //doAction('sCriteres', sCriteres); setTimeout('document.location.href = sUrlTel', 20); 
	                /*sUrl        = 'popularite1';
	                sCriteres   = ' | Popularite';
                	sUrlTel     = '/nos-telephones-portables.html';	*/  
            	}
                doAction('sCriteres', sCriteres, sUrlTel); /*setTimeout('document.location.href = sUrlTel', 20);*/ 
            }
            
            function createUrl(sPagination)
            {
                sPrix       = parseInt(document.getElementById('p').value);
                sMarque     = parseInt(document.getElementById('m').value);
                sFormule    = parseInt(document.getElementById('f').value);
                sPoids      = parseInt(document.getElementById('q').value);
                sAutonomie  = parseInt(document.getElementById('a').value);
                sPopularite = document.getElementById('popularite').checked;
                sNouveautes = document.getElementById('nouveautes').checked;
                //sFlash      = document.getElementById('flash').checked;
                //sPrestige   = document.getElementById('prestige').checked;
                sPromotions = document.getElementById('promotions').checked;
                sTopVentes  = document.getElementById('topventes').checked;
                sGps  = document.getElementById('gps').checked;		
                
                var sUrl        = '';
                var sCriteres   = '';
                var sTemp       = '';
                var strPrix       = '';
               
                if ( sPrix >= 0 )
                {
                    sUrl += 'p'+sPrix;
                    strPrix = document.getElementById('p').options[document.getElementById('p').selectedIndex].text;
                    for (var i=0; i<strPrix.length; i++) {
                        v = strPrix.charCodeAt(i);
                        if (v == '8364' ) {
                            sTemp += String.fromCharCode(69, 117, 114, 111);
                        }else{
                            sTemp += String.fromCharCode(v);
                        }
                    }
                    sCriteres += ' | '+sTemp;
                }
                if ( sMarque >= 0 )
                {
                    sUrl += 'm'+sMarque;
                    sCriteres += ' | '+document.getElementById('m').options[document.getElementById('m').selectedIndex].text;
                }
                if ( sFormule >= 0 )
                {
                    sUrl += 'f'+sFormule;
                    sCriteres += ' | '+document.getElementById('f').options[document.getElementById('f').selectedIndex].text;
                }
                if ( sPoids >= 0 )
                {
                    sUrl += 'q'+sPoids;
                    sCriteres += ' | '+document.getElementById('q').options[document.getElementById('q').selectedIndex].text;
                }
                if ( sAutonomie >= 0 )
                {
                    sUrl += 'a'+sAutonomie;
                    sCriteres += ' | '+document.getElementById('a').options[document.getElementById('a').selectedIndex].text;
                }
                if ( sPopularite )
                {
                    sUrl += 'popularite1';
                    sCriteres += " | Popularite";
                }
                if ( sNouveautes  )
                {
                    sUrl += 'nouveautes1';
                    sCriteres += ' | Nouveautes';
                }
                //if ( sFlash  )
                //{
                //    sUrl += 'flash1';
                //    sCriteres += ' | Ventes Flash';
                //}
                //if ( sPrestige  )
                //{
                //    sUrl += 'prestige1';
                //    sCriteres += ' | Prestige';
                //}
                if ( sPromotions  )
                {
                    sUrl += 'promotions1';
                    sCriteres += ' | Promotions';
                }
                if ( sTopVentes  )
                {
                    sUrl += 'topventes1';
                    //sCriteres += ' | Prix en baisse';
			sCriteres += ' | Bientot disponible';
					//sCriteres += ' | Les 15 jours PriXvilèges';
                }
				if( sGps ){
					sUrl += 'gps1';
                    sCriteres += ' | GPS';
				}
                iNb = document.getElementById('nbSelect').value;
                for ( i=1; i<=iNb; i++ ) {
                    if ( document.getElementById('b'+i).value >= 0 )
                    {
                        sUrl        += 'b'+document.getElementById('b'+i).value;
                        sCriteres   += ' | '+document.getElementById('b'+i).options[document.getElementById('b'+i).selectedIndex].text;
                    }
                }
                
                //alert(sUrl);
                if (sUrl != '')
                {	
                	if (typeof(sPagination) == 'undefined'){
                    	sUrlTel = '/nos-telephones-mobiles-'+sUrl+'page1.html';
                }else{
                		sUrlTel = '/nos-telephones-mobiles-'+sUrl+'page'+sPagination+'.html';
                	}
                    doAction('sCriteres', sCriteres, sUrlTel); 
                }else{
                	if (typeof(sPagination) == 'undefined'){
                    	sUrlTel = '/nos-telephones-mobiles-tous1page1.html';
                	}else{
                		sUrlTel = '/nos-telephones-mobiles-tous1page'+sPagination+'.html';
                	}
                    doAction('sCriteres', sCriteres, sUrlTel); 
                }
            }
