//main SWF表示
function swf_navi(){
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="137" bgcolor="#FFFFFF" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/navi.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/navi.swf" loop="false" menu="false" quality="high" width="100%" height="137" bgcolor="#FDDDD5" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}

//main SWF表示
function swf_main_img(){
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="900" height="410" bgcolor="#FFFFFF" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/main_img.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/main_img.swf" loop="false" menu="false" quality="high" width="900" height="410" bgcolor="#FDDDD5" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}

//footer SWF表示
function swf_footer(){
	//フッタテキスト部とspice of a day
	document .write ('<table width="900" border="0" cellpadding="0" cellspacing="0">');
	document .write ('<tr><td class="S" valign="bottom">このWEBサイトは 株式会社アイシーエル及びアイビー株式会社の運営するブランド、Afternoon Tea のオフィシャルサイトです。<br>');
	document .write ('お客様の個人情報の取り扱いにつきましては、「<a href="privacy_policy/index.html">プライバシーポリシー</a>」をご覧ください。<br><img src="img/spacer.gif" width="200" height="5" border="0"></td>');
	document .write ('<td width="200"><a href="javascript:FT07();"><img src="img/spice_of_a_day.gif" width="200" height="61" border="0"></a></td></tr></table>');
	//
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="950" height="50" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/footer.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/footer.swf" loop="false" menu="false" quality="high" width="950" height="50" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}
	
//リクルートバナー(300幅)
function swf_recruit(){
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="210" height="85" bgcolor="#ffffff" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/banner_recruit300.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/banner_recruit.swf" loop="false" menu="false" quality="high" width="210" height="85" bgcolor="#ffffff" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}
	
//リクルートバナー(424幅)
function swf_recruit424(){
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="424" height="85" bgcolor="#ffffff" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/banner_recruit424.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/banner_recruit424.swf" loop="false" menu="false" quality="high" width="424" height="85" bgcolor="#ffffff" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}
	
//コクーニストバナー
function swf_co_banner(){
	document .write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="200" bgcolor="#ffffff" id="main" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
	document .write ('<param name="allowscriptaccess" value="samedomain">');
	document .write ('<param name="movie" value="navi/banner_080404_cocoonist.swf"><param name="quality" value="high">');
	document .write ('<embed src="navi/banner_080404_cocoonist.swf" loop="false" menu="false" quality="high" width="220" height="200" bgcolor="#ffffff" name="lift" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document .write ('</embed></object>');
	}
	
/*main_image*/
//デフォルト
function opimg(id){
	var obj = document.getElementById(id);
	obj.style.display = '';
	return false;
	}
function climg(id){
	var obj = document.getElementById(id);
	obj.style.display = 'none';
	return false;
	}

/*What's New BUCK NUMBER*/
//開く
function open_tr(id){
	var obj = document.getElementById(id);
	obj.style.display = '';
	return false;
	}
//閉じる
function close_tr(id){
	var obj = document.getElementById(id);
	obj.style.display = 'none';
	return false;
	}

//ナビ設定
var imgM = new Array();
		
		//メインイメージ設定
		imgM[10000] = new Image();  imgM[10000].src = "navi/main_img00.jpg";
		imgM[10001] = new Image();  imgM[10001].src = "navi/main_img01.jpg";
		imgM[10002] = new Image();  imgM[10002].src = "navi/main_img02.jpg";
		imgM[10003] = new Image();  imgM[10003].src = "navi/main_img03.jpg";
		imgM[10004] = new Image();  imgM[10004].src = "navi/main_img04.jpg";
		imgM[10005] = new Image();  imgM[10005].src = "navi/main_img05.jpg";
		imgM[10006] = new Image();  imgM[10006].src = "navi/main_img06.jpg";
		imgM[10007] = new Image();  imgM[10007].src = "navi/main_img07.jpg";
		imgM[10008] = new Image();  imgM[10008].src = "navi/main_img08.jpg";

		//UPボタン
		imgM[9000] = new Image();  imgM[9000].src = "img/up.gif";
		imgM[9001] = new Image();  imgM[9001].src = "img/up_ov.gif";
		
		//sitemapボタン
		imgM[9002] = new Image();  imgM[9002].src = "img/sitemap.gif";
		imgM[9003] = new Image();  imgM[9003].src = "img/sitemap_ov.gif";
		
		//ARCHIVESボタン
		imgM[9004] = new Image();  imgM[9004].src = "img/archives.gif";
		imgM[9005] = new Image();  imgM[9005].src = "img/archives_ov.gif";
		
		//BACKNUMBERボタン
		imgM[9006] = new Image();  imgM[9006].src = "img/backnumber.gif";
		imgM[9007] = new Image();  imgM[9007].src = "img/backnumber_ov.gif";
		
		//CLOSEボタン
		imgM[9008] = new Image();  imgM[9008].src = "img/close.gif";
		imgM[9009] = new Image();  imgM[9009].src = "img/close_ov.gif";
		
		//BACKボタン
		imgM[9010] = new Image();  imgM[9010].src = "img/back.gif";
		imgM[9011] = new Image();  imgM[9011].src = "img/back_ov.gif";

		//メルマガバナー
		imgM[9012] = new Image();  imgM[9012].src = "img/mag_banner.gif";
		imgM[9013] = new Image();  imgM[9013].src = "img/mag_banner_ov.gif";
		
		//GSバナー
		imgM[9016] = new Image();  imgM[9016].src = "navi/banner_ginza.gif";
		imgM[9017] = new Image();  imgM[9017].src = "navi/banner_ginza_ov.gif";
		
		//Shop Serch
		imgM[9022] = new Image();  imgM[9022].src = "img/shop_search.gif";
		imgM[9023] = new Image();  imgM[9023].src = "img/shop_search_ov.gif";
		
		//オンラインショップ商品ピックアップ
		imgM[9024] = new Image();  imgM[9024].src = "navi/online_pick_up_link.gif";
		imgM[9025] = new Image();  imgM[9025].src = "navi/online_pick_up_link_ov.gif";

		//オンラインショップ商品ピックアップ
		imgM[9026] = new Image();  imgM[9026].src = "navi/online_sonet_3rd_anv.gif";
		imgM[9027] = new Image();  imgM[9027].src = "navi/online_sonet_3rd_anv_ov.gif";
		

function Min(nam,num) {
	document.images[nam].src = imgM[num].src;
	}
function Mout(nam,num) {
	document.images[nam].src = imgM[num].src;
	}

//naviのリンク先を設定します。

w_home = "to_main.html";//Home
w_sp01 = "chocolate/index.html";//SP01
w_sp02 = "zoom_up/index.html";//SP02

w_zoom01 = "zoom_up/index.html";

w_lv01 = "living/editors_note/index.html";
w_lv02 = "living/zakka_1point_lesson/index.html";
w_lv03 = "living/gift_catalog/index.html";
w_lv04 = "living/freepaper/index.html";
w_lv05 = "living/csr/index.html";
w_lv06 = "living/gift_card/index.html";

w_tr01 = "tearoom/editors_note/index.html";
w_tr02 = "tearoom/menu/index.html";
w_tr03 = "tearoom/take_out/index.html";
w_tr04 = "tearoom/bridal/index.html";
w_tr05 = "tearoom/freepaper/index.html";
w_tr06 = "tearoom/food_quality/index.html";

w_school01 = "school/index.html";

w_ae01 = "essay/hirose/new/index.html";//廣瀬裕子
w_ae02 = "essay/romi/new/index.html";//いがらしろみ
w_ae03 = "essay/yamamura/new/index.html";//山村光春
w_ae04 = "essay/wool/new/index.html";//wool,cube,wool!
w_ae05 = "essay/chajin/new/index.html";//CHAJIN

w_ht01 = "hottopics/index.html";//Hot topics

w_down01 = "download/wallpaper/index.html";//wallpaper
w_down02 = "download/blogparts/index.html";//blogparts
w_down03 = "download/screensaver/index.html";//Screensaver

w_member01 = "members/index.html";//Members
w_member02 = "members/index.html#present";//present
w_member03 = "members/index.html#recipe";//Recipe

w_recruit01 = "recruit/index.html";//Recruit

w_shop01 = "online_shop/index.html";

w_ft01 = "shoplist/PC/index.cgi?print=50&not5=COC&or5=ATL&or5=ATR&or5=ATB&or5=ATS&or5=OUT&keys1%2C2%2C3%2C4%2C5%2C6%2C7%2C8=";
w_ft02 = "company/index.html";
w_ft03 = "contact/index.html";
w_ft04 = "website_policy/index.html";
w_ft05 = "privacy_policy/index.html";
w_ft06 = "sitemap/index.html";
//w_ft07 = "message/index.html";



//リンク先のfunction設定
function home() {
	document.location.href = w_home;
	}
function SP01() {
	document.location.href = w_sp01;
	}
function SP02() {
	document.location.href = w_sp02;
	}
	
function LV01() {
	document.location.href = w_lv01;
	}
function LV02() {
	document.location.href = w_lv02;
	}
function LV03() {
	document.location.href = w_lv03;
	}
function LV04() {
	document.location.href = w_lv04;
	}
function LV05() {
	document.location.href = w_lv05;
	}
function LV06() {
	document.location.href = w_lv06;
	}
function LV07() {
	window.open('living/shiori_recipe/index.html','mess','width=700,height=700,resizable=yes,scrollbars=yes,');
	}
		

function TR01() {
	document.location.href = w_tr01;
	}
function TR02() {
	document.location.href = w_tr02;
	}
function TR03() {
	document.location.href = w_tr03;
	}
function TR04() {
	document.location.href = w_tr04;
	}
function TR05() {
	document.location.href = w_tr05;
	}
function TR06() {
	document.location.href = w_tr06;
	}

function SCHOOL01() {
	document.location.href = w_school01;
	}

function AE01() {
	document.location.href = w_ae01;
	}
function AE02() {
	document.location.href = w_ae02;
	}
function AE03() {
	document.location.href = w_ae03;
	}
function AE04() {
	document.location.href = w_ae04;
	}
function AE05() {
	document.location.href = w_ae05;
	}

function HT01() {
	document.location.href = w_ht01;
	}

function DL01() {
	document.location.href = w_down01;
	}
function DL02() {
	document.location.href = w_down02;
	}
function DL03() {
	document.location.href = w_down03;
	}

function MN01() {
	document.location.href = w_member01;
	}
function MN02() {
	document.location.href = w_member02;
	}
function MN03() {
	document.location.href = w_member03;
	}

function RECRUIT01() {
	document.location.href = w_recruit01;
	}
	
function SHOP00() {
	document.location.href = w_shop01;
	}
	
function FT01() {
	document.location.href = w_ft01;
	}
function FT02() {
	document.location.href = w_ft02;
	}
function FT03() {
	document.location.href = w_ft03;
	}
function FT04() {
	document.location.href = w_ft04;
	}
function FT05() {
	document.location.href = w_ft05;
	}
function FT06() {
	document.location.href = w_ft06;
	}
function FT07() {
	window.open('message/index.html','mess','width=780,height=610,resizable=yes,scrollbars=yes,');
	}
