
function savoirtypepeau(){
var indice_selectionne=document.typepeau.select_type_peau.selectedIndex;
var chango=document.typepeau.select_type_peau.options[indice_selectionne].value; switch (chango){
case "t_peau":location.href="http://www.huiles-et-sens.com";break;
case "seche":location.href="http://www.huiles-et-sens.com/Peaux-seches";break;
case "sensibles":location.href="http://www.huiles-et-sens.com/Peaux-sensibles";break;
case "matures":location.href="http://www.huiles-et-sens.com/Peaux-matures";break;
case "mixte_et_grasse":location.href="http://www.huiles-et-sens.com/Peaux-mixtes-et-grasses";break;
case "acneique":location.href="http://www.huiles-et-sens.com/Peaux-a-probleme";break;
case "tout_type":location.href="http://www.huiles-et-sens.com/Peaux-tout-type";break;
}
}


function savoirtypecorps(){
var indice_selectionne=document.typecorps.select_type_corps.selectedIndex;
var chango=document.typecorps.select_type_corps.options[indice_selectionne].value; switch (chango){
case "t_corps":location.href="http://www.huiles-et-sens.com";break;
case "aisselles":location.href="http://www.huiles-et-sens.com/Aisselles";break;
case "buste_et_poitrine":location.href="http://www.huiles-et-sens.com/Buste-et-poitrine";break;
case "corps":location.href="http://www.huiles-et-sens.com/Corps";break;
case "levres":location.href="http://www.huiles-et-sens.com/Levres";break;
case "cheveux_cuir_chevelu":location.href="http://www.huiles-et-sens.com/Cheveux-et-cuir-chevelu";break;
case "contouryeux":location.href="http://www.huiles-et-sens.com/Contour-des-yeux";break;
case "main":location.href="http://www.huiles-et-sens.com/Mains-et-ongles";break;
case "visage":location.href="http://www.huiles-et-sens.com/Visage-et-cou";break;
}
}




function savoirtypesoin(){
var indice_selectionne=document.typesoin.select_type_soin.selectedIndex;
var chango=document.typesoin.select_type_soin.options[indice_selectionne].value; switch (chango){
case "t_soin":location.href="http://www.huiles-et-sens.com/soin";break;
case "apres_rasage":location.href="http://www.huiles-et-sens.com/apres-rasage";break;
case "baume":location.href="http://www.huiles-et-sens.com/baume";break;
case "creme":location.href="http://www.huiles-et-sens.com/creme";break;
case "gel":location.href="http://www.huiles-et-sens.com/gel";break;
case "huile":location.href="http://www.huiles-et-sens.com/huile";break;
case "lotion":location.href="http://www.huiles-et-sens.com/lotion";break;
case "masque":location.href="http://www.huiles-et-sens.com/masque";break;
case "pour_le_bain":location.href="http://www.huiles-et-sens.com/pour-le-bain";break;
}
}

function savoirtypemaquillage(){
var indice_selectionne=document.typemaquillage.select_type_maquillage.selectedIndex;
var chango=document.typemaquillage.select_type_maquillage.options[indice_selectionne].value; switch (chango){
case "t_maquillage":location.href="http://www.huiles-et-sens.com/maquillage";break;
case "baume_colore":location.href="http://www.huiles-et-sens.com/baume-colore";break;
case "fard":location.href="http://www.huiles-et-sens.com/fard";break;
case "ombre_a_paupieres":location.href="http://www.huiles-et-sens.com/ombre-a-paupieres";break;
case "mascara":location.href="http://www.huiles-et-sens.com/mascara";break;
}
}


function savoirtypehygiene(){
var indice_selectionne=document.typehygiene.select_type_hygiene.selectedIndex;
var chango=document.typehygiene.select_type_hygiene.options[indice_selectionne].value; switch (chango){
case "t_hygiene":location.href="http://www.huiles-et-sens.com/hygiene";break;
case "dentifrice":location.href="http://www.huiles-et-sens.com/dentifrice";break;
case "deodorant":location.href="http://www.huiles-et-sens.com/deodorant";break;
case "gel_douche":location.href="http://www.huiles-et-sens.com/gel-douche";break;
case "gomma	ge":location.href="http://www.huiles-et-sens.com/gommage";break;
case "lait":location.href="http://www.huiles-et-sens.com/lait";break;
case "savon":location.href="http://www.huiles-et-sens.com/savon";break;
}
}

function savoirtypecapillaire(){
var indice_selectionne=document.typecapillaire.select_type_capillaire.selectedIndex;
var chango=document.typecapillaire.select_type_capillaire.options[indice_selectionne].value; switch (chango){
case "t_capillaire":location.href="http://www.huiles-et-sens.com/capillaire";break;
case "apres_shampooing":location.href="http://www.huiles-et-sens.com/apres-shampooing";break;
case "masque_cheveux":location.href="http://www.huiles-et-sens.com/masque-cheveux";break;
case "shampooing":location.href="http://www.huiles-et-sens.com/shampooing";break;
}
}



function savoirtypeaction(){
var indice_selectionne=document.typeaction.select_type_action.selectedIndex;
var chango=document.typeaction.select_type_action.options[indice_selectionne].value; switch (chango){
case "action":location.href="http://www.huiles-et-sens.com";break;
case "anti_age":location.href="http://www.huiles-et-sens.com/Soin-anti-age";break;
case "apaisant":location.href="http://www.huiles-et-sens.com/Apaiser";break;
case "hydratant":location.href="http://www.huiles-et-sens.com/Hydrater";break;
case "nettoyant":location.href="http://www.huiles-et-sens.com/Nettoyer";break;
case "reequilibrant":location.href="http://www.huiles-et-sens.com/Reequilibrer";break;
case "regenerant":location.href="http://www.huiles-et-sens.com/Regenerer";break;
case "remineralisant":location.href="http://www.huiles-et-sens.com/Remineraliser";break;
case "reparateur":location.href="http://www.huiles-et-sens.com/Reparer";break;
case "tonifiant":location.href="http://www.huiles-et-sens.com/Tonifier-et-raffermir";break;
case "protecteur":location.href="http://www.huiles-et-sens.com/Proteger";break;
case "nourrissant":location.href="http://www.huiles-et-sens.com/Nourrir";break;
case "exfoliant":location.href="http://www.huiles-et-sens.com/Exfolier";break;
case "anti_oxydant":location.href="http://www.huiles-et-sens.com/Soin-anti-oxydant";break;
case "eclat_du_teint":location.href="http://www.huiles-et-sens.com/Soin-eclat-du-teint";break;
case "repulsif":location.href="http://www.huiles-et-sens.com/Soin-repulsif";break;
}
}


function multiply2(){
				
				var quantitetotale_av=(!isNaN(document.getElementById('qtetotale_av').value))?Number(document.getElementById('qtetotale_av').value):"x";
				
				var pourcentage_av=(!isNaN(document.getElementById('pourcent_av').value))?Number(document.getElementById('pourcent_av').value):"x";
				var pourcentage_av2=(!isNaN(document.getElementById('pourcent_av2').value))?Number(document.getElementById('pourcent_av2').value):"x";
				var pourcentage_av3=(!isNaN(document.getElementById('pourcent_av3').value))?Number(document.getElementById('pourcent_av3').value):"x";
				var pourcentage_av4=(!isNaN(document.getElementById('pourcent_av4').value))?Number(document.getElementById('pourcent_av4').value):"x";
				var pourcentage_av5=(!isNaN(document.getElementById('pourcent_av5').value))?Number(document.getElementById('pourcent_av5').value):"x";
			   
			   	document.getElementById('tot_av').value=(quantitetotale_av!="x" && pourcentage_av!="x")?quantitetotale_av*pourcentage_av/100*25:'???';
				document.getElementById('tot_av2').value=(quantitetotale_av!="x" && pourcentage_av2!="x")?quantitetotale_av*pourcentage_av2/100*25:'???';
				document.getElementById('tot_av3').value=(quantitetotale_av!="x" && pourcentage_av3!="x")?quantitetotale_av*pourcentage_av3/100*25:'???';
				document.getElementById('tot_av4').value=(quantitetotale_av!="x" && pourcentage_av4!="x")?quantitetotale_av*pourcentage_av4/100*25:'???';
				document.getElementById('tot_av5').value=(quantitetotale_av!="x" && pourcentage_av5!="x")?quantitetotale_av*pourcentage_av5/100*25:'???';
				
				document.getElementById('tot2_av').value=(quantitetotale_av!="x" && pourcentage_av!="x")?quantitetotale_av-quantitetotale_av*(pourcentage_av+pourcentage_av2+pourcentage_av3+pourcentage_av4+pourcentage_av5)/100:'???';
				
}		

