/////////////////////////////////////////////////////////////////////////////////////
// Clair et Net. (c) 2006
/////////////////////////////////////////////////////////////////////////////////////

// fonction de changement de l'URL
// pour la sauvegarde dans l'historique
// en test
function changeURL(args){
	url = window.location.href;
	url = url.split("#");
	newUrl = url[0] + "#" + args;		
	window.location.href = newUrl;	
	
	switch(args.split("/")[0]){
		
		case "home" :		document.title = "ニコラ・フィアット シャンパン：ブリュット、キュヴェ、ヴィンテージ、グラン・クリュ";
		break;
		case "origines" :	document.title = "ニコラ・フィアット シャンパン：テロワール、ワイナリー、ブランド、醸造";
		break;
		case "champagnes" :	document.title = "ニコラ・フィアット シャンパン：ワイン、アペリティフ、レセプション、テイスティング";
		break;
		case "coffrets" :	document.title = "ニコラ・フィアット シャンパン：社用ギフト、パーティー、イベント";
		break;
		case "actualites" :	document.title = "ニコラ・フィアット シャンパン：最新情報、ニュース、ギフトボックス、キュヴェ";
		break;
		case "esprit" :		document.title = "ニコラ・フィアット シャンパン：暮らしのアート、レシピ、ゲーム、ガストロノミー";
		break;
		case "palmes" :		document.title = "シャンパン パルム・ドール：キュヴェ、 豪華、高級品、ヴィンテージ、デラックス";
		break;
		default :		document.title = "ニコラ・フィアット シャンパン：ブリュット、キュヴェ、ヴィンテージ、グラン・クリュ";
		break;
	}
	
	
	//document.title = "Champagne Nicolas Feuillatte :: " + args;
	
	//document.getElementById("history").innerHTML = '<iframe id="historyIframe" src="/history.php" frameborder="no" scrolling="yes"></iframe>';
	//frames["historyIframe"].location.href = "/history.php?href=" + args;
	
	//alert("test : " + frames["history"].location.href);
	
	//document.getElementById("history").src = "/history/" + args + ".html";
	
	//document.frames["history"].location.href = "/history.php?href=" + args;
	
}