var page_cible = window.location.hash.substring(1);
//alert('page_cible : '+page_cible);
if(page_cible == ''){
	//page_cible = window.location.replace("http://"+window.location.hostname +"/"+ decodeURIComponent(page_cible));
	var uri_courant = window.location.pathname;
	//alert('uri_courant : ' + uri_courant);
	
	var nom_page = uri_courant.substring(uri_courant.lastIndexOf('/')+1); // Plus 1 car on ne veut pas le '/'
	//alert('nom_page : ' + nom_page); 
	
	switch(nom_page){
		case 'accueil' : case 'accueil.html' : {
			page_cible = 'accueil';
		break;}
		case 'forfait-edition-speciale' : case 'forfait-edition-speciale.html' : {
			page_cible = 'forfait-edition-speciale';
		break;}
		case 'gagner-nokia-c3' : case 'gagner-nokia-c3.html' : {
			page_cible = 'gagner-nokia-c3';
		break;}
		case 'nouveau-nokia-c3' : case 'nouveau-nokia-c3.html' : {
			page_cible = 'nouveau-nokia-c3';
		break;}
		case 'encore-bon-plan' : case 'encore-bon-plan.html' : {
			page_cible = 'encore-bon-plan';
		break;}
		default : {
			page_cible = '';
		}
	}
	
	//alert('page_cible : ' + page_cible); 
	if(page_cible != '')
	{	jQuery.history.load(page_cible);}
}
delete uri_courant;
delete page_cible;
delete nom_page;











