/*fonction de selection des menus*/
/*Si possible ecrire du dhtml qui créer le menu et 
l'inclure dans chaque page à la place du menu*/
function get (x, y){
	if (x == 1)
	{
		switch (y) 
		{ 
		case '1': 
			document.location.href = '/index.html';
		break;
		default: 
		document.location.href = '/index.html';
		break; 
		}
	}
	else if (x == 2)
	{
		switch (y) 
		{ 
		case 1: 
		document.location.href = '#';
		break; 
		case 2: 
		document.location.href = '/puc.html';
		break; 
		case 3: 
				document.location.href = '/puc.html';
		break; 
		case 4: 
				document.location.href = '/puc.html';
		break;
		case 5: 
				document.location.href = '#';
		break;
		case 6: 
				document.location.href='/simulateur/SimulateurRentesSimple.html';
		break;   
		case 7: 
				document.location.href='/simulateur/SimulateurRentes.html';
		break; 
		case 8: 
				document.location.href='/simulateur/SimulateurMadelin.html';
		break; 
		case 9: 
				document.location.href='/simulateur/SimulateurPERP.html';
		break; 
		case 10: 
				document.location.href='/simulateur/ComparateurPERP.html';
		break; 

		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
	else if (x == 3)
	{
		switch (y) 
		{ 
		case 1: 
		document.location.href = '/puc.html';
		break; 
		case 2: 
		document.location.href = '/produits/perp.html';
		break; 
		case 3: 
				document.location.href = '/produits/madelin.html';
		break; 
		case 4: 
				document.location.href = '/produits/assurance-vie.html';
		break; 
		case 5: 
				document.location.href = '/produits/entreprise.html';
		break; 
		case 6: 
				document.location.href = '/puc.html';
		break; 
		case 7: 
				document.location.href = '/produits/entreprise_art83_axa.html';
		break; 
		case 8: 
				document.location.href = '/produits/entreprise_philosophia.html';
		break; 
		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
	else if (x == 4)
	{
		switch (y) 
		{ 
		case 1: 
				document.location.href = '/puc.html';
		break; 
		case 2: 
			document.location.href = '/solutions/pourquoiperp.html';
		break; 
		case 3: 
			document.location.href = '/solutions/pourquoimadelin.html';
		break; 
		case 4: 
			document.location.href = '/solutions/pourquoiassurancevie.html';
		break; 
		case 5: 
				document.location.href = '/solutions/produitsentreprise.html';
		break; 
		
		case 6: 
				document.location.href = '/demarches-retraite/demarches-preparer-retraite.html';
		break; 
		case 7: 
			document.location.href = '/retraite-regimes/retraite-regimes.html';
		break; 
		case 8: 
				document.location.href = '/dossier.html';
		break; 
		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
	else if (x == 5)
	{
		switch (y) 
		{ 
		case 1: 
			document.location.href = '/societe/societe.html';
		break; 
		case 2: 
			document.location.href = '/societe/notremission.html';
		break; 
		case 3: 
			document.location.href = '/societe/nospartnaires.html';
		break; 
		case 4: 
			document.location.href = '/contact.html';
		break; 
		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
	else if (x == 6)
	{
		switch (y) 
		{ 
		case 1: 
		document.location.href = '/faqs.html';
		break; 
		case 2: 
		document.location.href = '/puc.html';
		break; 
		case 3: 
				document.location.href = '/retraite-lexique/lexique-retraite.html';
		break; 
		case 4: 
				document.location.href = '/puc.html';
		break; 
		case 5: 
				document.location.href = '/puc.html';
		break; 
		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
	else if (x == 7)
	{
		switch (y) 
		{ 
		case 1: 
		document.location.href = '/puc.html';
		break; 
		case 2: 
		document.location.href = '/puc.html';
		break; 
		case 3: 
				document.location.href = '/puc.html';
		break; 
		case 4: 
				document.location.href = '/puc.html';
		break; 
		case 5: 
				document.location.href = '/puc.html';
		break; 
		case 6: 
				document.location.href = '/puc.html';
		break; 
		case 7: 
				document.location.href = '/puc.html';
		break; 
		case 8: 
				document.location.href = '/puc.html';
		break; 
		case 9: 
				document.location.href = '/puc.html';
		break; 
		default: 
		document.location.href = '/puc.html';
		break; 
		}
	}
}
