// JavaScript Document
function ChangeMenu(id)
{
	document.getElementById("idpage").value=id;
	document.form0.submit();
}
//
function ChangeGammePro(id)
{
	document.form0.idgammepro.value=id;
	//document.form0.ancre.value="ChoixProfession";
	document.form0.submit();
}
//
function ProduitDetail(id)
{
	document.form0.idpage.value = 9;//Page PRODUITDETAIL
	document.form0.idproduit.value= id;
	document.form0.submit();
	
}
//
function PanierAchat(id)
{
	document.form0.idpage.value = 13;//Page PAIEMENT
	document.form0.idlogiciel.value= id;
	document.form0.submit();	
}
//
function AffichePanier()
{
	document.form0.idpage.value = "PAIEMENT";
	document.form0.submit();
}
//
function ChangeModuleBoutique()
{
	document.form0.idpage.value =  'EQUIPEMENT' ;
	//document.form0.idlogiciel.value = 0;
	//document.form0.idfamille.value = idfamille;
	document.form0.submit();
}
	//
function ChangeModuleProduits(mod, idlog)
{
	document.form0.idpage.value =  'PAIEMENT' ;
	document.form0.idlogiciel.value = idlog;
	document.form0.submit();
}
//
function ChangeFrmGoUser(act, env)
{
	//alert(env);
	document.getElementById('frmgouser').value = act;
	ChangeFrmGo(env);
}
//
function ChangeFrmGo(env)
{
	//alert(env);
	document.getElementById('idlogiciel').value = 0;
	document.getElementById('frmgo').value = env;
	document.form0.submit();
}
//
function ChangeGo(id, env, user)
{
	document.getElementById('idlogiciel').value = id;
	document.getElementById('frmgo').value = env;
	document.getElementById('ID_User').value = user;
	document.form0.submit();
}
//
function ChangePage(page, idlog)
{
	document.form0.idpage.value =  page ;
	document.form0.idproduit.value = idlog;
	document.form0.idlogiciel.value = idlog;
	document.form0.submit();
}
//
function Deconnexion()
{
	document.form0.idpage.value =  'ACCUEIL' ;
	document.form0.frmgo.value =  '' ;
	document.form0.frmgouser.value =  '' ;
	document.getElementById('Deconx').value = 1;
	document.form0.submit();
}
