function f_Action(p_Action){
	
	//alert(window.parent.document.FORM_MULTIUSE.name);
	//return;
	switch (parseInt(p_Action)){
		case 0 :
			return;
		break;
		// DEMANDE DE DEVIS SANTE
		case 1 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DM/Particulier/Asp/V3_InscriptionParticulier.asp"
		break;
		// EN SAVOIR + DEVIS SANTE
		case 2 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DM/General/Asp/GuidePratique.asp"
		break;
		// DEMANDE DE DEVIS SANTE ENTREPRISE
		case 3 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DM/Entreprise/Asp/InscriptionEntreprise.asp"
		break;
		// EN SAVOIR + DEVIS SANTE ENTREPRISE
		case 4 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DM/General/Asp/GuidePratiqueEntreprise.asp"
		break;
		// ACCUEIL ENTREPRISE
		case 5 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DM/Entreprise.asp"
		break;
		// DEMANDE DE DEVIS PREVOYANCE
		case 11 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DP/Particulier/Asp/InscriptionParticulier.asp"
		break;
		// EN SAVOIR + DEVIS PREVOYANCE
		case 12 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DP/General/Asp/GuidePratique.asp"
		break;
		// DEMANDE DE DEVIS AUTO
		case 13 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DA/Particulier/Asp/InscriptionParticulierAUTO.asp"
		break;
		// DEMANDE DE DEVIS DEFISCALISATION
		case 14 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/DD/Particulier/Asp/InscriptionParticulier4.asp"
				break;
		// DEMANDE DE DEVIS EMPRUNTEUR
		case 15 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/AP/Particulier/Asp/InscriptionParticulierAP.asp"
				break;		
		// DEMANDE DE DEVIS CREDIT
		case 16 :
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/KC/Particulier/Asp/InscriptionParticulier.asp"
				break;
		// DEMANDE DE DEVIS HABITATION
		case 17 : 
			document.FORM_MULTIUSE.target="_blank"
			document.FORM_MULTIUSE.action="/KH/Particulier/Asp/InscriptionParticulierKH.asp"
				break;		
	}

	document.FORM_MULTIUSE.submit()
}

var v_Nb_Blocs = 10

function f_InitialiserBlocs() {

    var v_Bloc_Affiche_En_Premier = "bloc_1"
    for (i=1;i<=v_Nb_Blocs;i++) {
        //alert("bloc_"+i);
        document.getElementById("bloc_"+i).className = "bloc_invisible";
    }
    document.getElementById(v_Bloc_Affiche_En_Premier).className = "bloc_visible";
}


function f_ChangerBloc (p_ObjetBloc, p_Direction) {
    t_Id = p_ObjetBloc.split("_");
    v_Id = parseInt(t_Id[1]);
    if (p_Direction == "s") {
        if (v_Id == v_Nb_Blocs) {
            v_Id_A_Traiter = 1
        }
        else {
            v_Id_A_Traiter = v_Id + 1;
        }
    }
    else {
        if (v_Id == 1) {
            v_Id_A_Traiter = v_Nb_Blocs
        }
        else {
            v_Id_A_Traiter = v_Id - 1;
        }
    }
    document.getElementById(p_ObjetBloc).className = "bloc_invisible";
    document.getElementById("bloc_"+v_Id_A_Traiter).className = "bloc_visible";
    return;
}
