﻿var nWin;

/* openWindow */
function openWindow(file,nm,w,h) {
	nWin = window.open(file,nm, 'width=' + w + ', height=' + h + ', menubar=yes, toolbar=no, scrollbars=yes');
	nWin.focus();
}

/* openWindow */
function openWindow2(file,nm,w,h) {
	win = window.open(file,nm, 'width=' + w + ', height=' + h + ', menubar=no, toolbar=no, scrollbars=yes');
	win.moveTo(0,0);
	win.focus();
}




//headerNav
function headerNav(){
	var loadHeaderNav = ''
	+ '<ul class="nav utility">'
	+ '<li><a href="/sitemap.html"><img src="/cmn/img/nvh01.gif" width="66" height="11" alt="サイトマップ" /></a></li><!-- '
	+ '--><li><a href="/recruit.html"><img src="/cmn/img/nvh02.gif" width="53" height="11" alt="求人情報" /></a></li><!-- '
	+ '--><li><a href="/inquiry/index.html"><img src="/cmn/img/nvh03.gif" width="72" height="11" alt="お問い合わせ" /></a></li><!-- '
	+ '--><li class="last"><a href="https://www.shop.aromatiqueltd.com/" target="_blank"><img src="/cmn/img/nvh_onlineshop.gif" width="122" height="25" alt="オンラインショップ" /></a></li>'
	+ '<!-- // .nav--></ul>'
	+'';
	document.write(loadHeaderNav);
}

//globalNav
function globalNav(){
	var loadGlobalNav = ''
	+ '<ul id="global" class="nav">'
	+ '<li><a href="/about/"><img src="/cmn/img/nvg01.gif" width="142" height="17" alt="About Aromatique" /></a></li><!-- '
	+ '--><li><a href="/products/"><img src="/cmn/img/nvg02.gif" width="142" height="17" alt="Products" /></a></li><!-- '
	+ '--><li><a href="/shop/"><img src="/cmn/img/nvg03.gif" width="142" height="17" alt="Shop &amp; Salon" /></a></li><!--'
	+ '--><li><a href="/school/"><img src="/cmn/img/nvg04.gif" width="142" height="17" alt="School" /></a></li><!-- '
	+ '--><li class="last"><a href="/news/"><img src="/cmn/img/nvg05.gif" width="134" height="17" alt="News &amp; Media" /></a></li>'
	+ '<!-- // #global--></ul>'
	+'';
	document.write(loadGlobalNav);
	
}

//footer
function footer(){
	var loadFooter = ''
	+ '<ul class="nav utility">'
	+ '<li><a href="/rule.html"><img src="/cmn/img/nvf01.gif" width="56" height="10" alt="ご利用規約" /></a></li><!--'
	+ '--><li><a href="/policy.html"><img src="/cmn/img/nvf02.gif" width="98" height="10" alt="プライバシーポリシー" /></a></li>'
	+ '<!-- // .nav--></ul>'
	+ '<address class="copyright"><img src="/cmn/img/copyright.gif" width="275" height="12" alt="Copyright（C）2009 AROMATIQUE Ltd. All Rights Reserved." /></address>'
	+'';
	document.write(loadFooter);
}


//sideBnrList
function sideBnrList(){
	var loadSideBnrList = ''
	+'<ul id="sideBnrList">'
	+'<li><a href="https://www.shop.aromatiqueltd.com/pr/mama_and_baby/index.shtml" target="_blank"><img src="/cmn/img/bnr_mama_and_baby.jpg" width="197" height="77" alt="Mama &amp; Baby" /></a></li><!-- '
	+'--><li><a href="https://www.shop.aromatiqueltd.com/pr/new_arrival/index.shtml" target="_blank"><img src="/cmn/img/bnr_newarrival.jpg" width="197" height="77" alt="New Arrival" /></a></li>'
	+'<!-- // #sideBnrList--></ul>'
	+'';
	document.write(loadSideBnrList);
}


//relatedLinkList
function relatedLinkList(){
	var loadRelatedLinkList = ''
	+'<ul id="relatedLinkList" class="bnrList">'
	+'<li><a href="https://www.shop.aromatiqueltd.com/pr/mama_and_baby/index.shtml" target="_blank"><img src="/cmn/img/bnr_mama_and_baby.jpg" width="197" height="77" alt="Mama &amp; Baby" /></a></li><!-- '
	+'--><li><a href="https://www.shop.aromatiqueltd.com/pr/new_arrival/index.shtml" target="_blank"><img src="/cmn/img/bnr_newarrival.jpg" width="197" height="77" alt="New Arrival" /></a></li><!-- '
	+'--><li><a href="http://aromatique.jp/" target="_blank"><img src="/cmn/img/bnr_diary.jpg" width="197" height="77" alt="中村あづさのアロマティークダイアリー" /></a></li><!-- '
	+'--><li><a href="https://www.shop.aromatiqueltd.com/" target="_blank"><img src="/cmn/img/bnr_shop.jpg" width="197" height="77" alt="AROMATIQUEオンラインショップ アロマティークの商品がネットでも買えます！" /></a></li><!-- '
	+'--><li><a href="http://www.jpas.info/" target="_blank"><img src="/cmn/img/bnr_jpas.jpg" width="197" height="77" alt="志を持つすべてのアロマセラピストへ JAPAN PROFESSIONAL AROMATHERAPIST SOCIETY" /></a></li>'

//	+'<li><a href="http://aromatique.jp/" target="_blank"><img src="/cmn/img/bnr_diary.jpg" width="197" height="77" alt="中村あづさのアロマティークダイアリー" /></a></li><!-- '
//	+'--><li><a href="https://gt303.secure.ne.jp/~gt303083/inquiry/mt_yoyaku.html" target="_blank"><img src="/cmn/img/bnr_reserve.jpg" width="197" height="77" alt="中村あづさのトリートメントご予約" /></a></li><!-- '
//	+'--><li><a href="http://www.jpas.info/" target="_blank"><img src="/cmn/img/bnr_jpas.jpg" width="197" height="77" alt="JPAS" /></a></li>'
	+'<!-- // #sideBnrList--></ul>'
	+'';
	document.write(loadRelatedLinkList);
}

//relatedLinkList
function relatedLinkListTop(){
	var loadRelatedLinkList = ''
	+'<ul id="relatedLinkList" class="bnrList">'
	+'<li><a href="http://aromatique.jp/" target="_blank"><img src="/cmn/img/bnr_diary.jpg" width="197" height="77" alt="中村あづさのアロマティークダイアリー" /></a></li><!-- '
	+'--><li><a href="https://www.shop.aromatiqueltd.com/" target="_blank"><img src="/cmn/img/bnr_shop.jpg" width="197" height="77" alt="AROMATIQUEオンラインショップ アロマティークの商品がネットでも買えます！" /></a></li><!-- '
	+'--><li><a href="http://www.jpas.info/" target="_blank"><img src="/cmn/img/bnr_jpas.jpg" width="197" height="77" alt="志を持つすべてのアロマセラピストへ JAPAN PROFESSIONAL AROMATHERAPIST SOCIETY" /></a></li>'
	+'<!-- // #sideBnrList--></ul>'
	+'';
	document.write(loadRelatedLinkList);
}




//localNavAbout
function localNavAbout(param){
	
	stay = param;
	
	document.write('<ul id="local" class="nav">');

	//01　代表挨拶
	if (stay == "about01"){
		document.write('<li><a href="/about/index.html"><img src="/about/img/nvl01_r.gif" width="197" height="40" alt="代表挨拶" /></a></li>');
	}else{
		document.write('<li><a href="/about/index.html"><img src="/about/img/nvl01.gif" width="197" height="40" alt="代表挨拶" class="imgover" /></a></li>');
	}

	//02　会社概要
	if (stay == "about02"){
		document.write('<li><a href="/about/company.html"><img src="/about/img/nvl02_r.gif" width="197" height="40" alt="会社概要" /></a></li>');
	}else{
		document.write('<li><a href="/about/company.html"><img src="/about/img/nvl02.gif" width="197" height="40" alt="会社概要" class="imgover" /></a></li>');
	}

	//03　事業内容
	if (stay == "about03"){
		document.write('<li><a href="/about/business/index.html"><img src="/about/img/nvl03_r.gif" width="197" height="40" alt="事業内容" /></a></li>');
	}else{
		document.write('<li><a href="/about/business/index.html"><img src="/about/img/nvl03.gif" width="197" height="40" alt="事業内容" class="imgover" /></a></li>');
	}

	//04　沿革
	if (stay == "about04"){
		document.write('<li><a href="/about/history.html"><img src="/about/img/nvl04_r.gif" width="197" height="40" alt="沿革" /></a></li>');
	}else{
		document.write('<li><a href="/about/history.html"><img src="/about/img/nvl04.gif" width="197" height="40" alt="沿革" class="imgover" /></a></li>');
	}

	//05　社会貢献活動について
	if (stay == "about05"){
		document.write('<li><a href="/about/activity/index.html"><img src="/about/img/nvl05_r.gif" width="197" height="40" alt="社会貢献活動について" /></a></li>');
	}else{
		document.write('<li><a href="/about/activity/index.html"><img src="/about/img/nvl05.gif" width="197" height="40" alt="社会貢献活動について" class="imgover" /></a></li>');
	}

	//06　リンク集
	if (stay == "about06"){
		document.write('<li><a href="/about/link.html"><img src="/about/img/nvl06_r.gif" width="197" height="40" alt="リンク集" /></a></li>');
	}else{
		document.write('<li><a href="/about/link.html"><img src="/about/img/nvl06.gif" width="197" height="40" alt="リンク集" class="imgover" /></a></li>');
	}

	document.write('<!-- // ul --></ul>');

}


//localNavShop
function localNavProducts(param){
	
	stay = param;
	
	document.write('<ul id="local" class="nav">');

	//01　Materia Aromatica
	if (stay == "shop01"){
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/materia_aromatica.shtml"><img src="/products/img/nvl01_r.gif" width="197" height="40" alt="Materia Aromatica" /></a></li>');
	}else{
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/materia_aromatica.shtml"><img src="/products/img/nvl01.gif" width="197" height="40" alt="Materia Aromatica" class="imgover" /></a></li>');
	}

	//02　AROMATIQUE
	if (stay == "shop02"){
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/aromatique.shtml" target="_blank"><img src="/products/img/nvl02_r.gif" width="197" height="40" alt="AROMATIQUE" /></a></li>');
	}else{
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/aromatique.shtml" target="_blank"><img src="/products/img/nvl02.gif" width="197" height="40" alt="AROMATIQUE" class="imgover" /></a></li>');
	}

	//03　Traditional Medicinals
	if (stay == "shop03"){
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/syohin.php?act=LIST&cgl=16" target="_blank"><img src="/products/img/nvl03_r.gif" width="197" height="40" alt="Traditional Medicinals" /></a></li>');
	}else{
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/syohin.php?act=LIST&cgl=16" target="_blank"><img src="/products/img/nvl03.gif" width="197" height="40" alt="Traditional Medicinals" class="imgover" /></a></li>');
	}

	//04　アクセサリー&amp;その他
	if (stay == "shop04"){
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/syohin.php?act=LIST&cgl=80" target="_blank"><img src="/products/img/nvl04_r.gif" width="197" height="40" alt="アクセサリー&amp;その他" /></a></li>');
	}else{
		document.write('<li><a href="https://www.shop.aromatiqueltd.com/syohin/syohin.php?act=LIST&cgl=80" target="_blank"><img src="/products/img/nvl04.gif" width="197" height="40" alt="アクセサリー&amp;その他" class="imgover" /></a></li>');
	}

	//05　新製品情報
	if (stay == "shop05"){
		document.write('<li><a href="/products/new/"><img src="/products/img/nvl05_r.gif" width="197" height="40" alt="新製品情報" /></a></li>');
	}else{
		document.write('<li><a href="/products/new/"><img src="/products/img/nvl05.gif" width="197" height="40" alt="新製品情報" class="imgover" /></a></li>');
	}

	//06　商品カタログ
	document.write('<li><a href="/products/pdf/ar.pdf" target="_blank"><img src="/products/img/nvl06.gif" width="197" height="40" alt="商品カタログ" class="imgover" /></a></li>');

	document.write('<!-- // ul --></ul>');

}

//localNavShop
function localNavShop(param){
	
	stay = param;
	
	document.write('<ul id="local" class="nav">');

	//01　AROMATIQUE　東京ミッドタウン店（東京）
	if (stay == "shop01"){
		document.write('<li><a href="/shop/shop01.html"><img src="/shop/img/nvl01_r.gif" width="197" height="40" alt="AROMATIQUE　東京ミッドタウン店（東京）" /></a></li>');
	}else{
		document.write('<li><a href="/shop/shop01.html"><img src="/shop/img/nvl01.gif" width="197" height="40" alt="AROMATIQUE　東京ミッドタウン店（東京）" class="imgover" /></a></li>');
	}

	//02　be my self店
	if (stay == "shop02"){
		document.write('<li><a href="http://bemyself.jp/" target="_blank"><img src="/shop/img/nvl02_r.gif" width="197" height="40" alt="be my self店" /></a></li>');
	}else{
		document.write('<li><a href="http://bemyself.jp/" target="_blank"><img src="/shop/img/nvl02.gif" width="197" height="40" alt="be my self店" class="imgover" /></a></li>');
	}

	//03　青森店
	if (stay == "shop03"){
		document.write('<li><a href="/shop/shop03.html"><img src="/shop/img/nvl03_r.gif" width="197" height="40" alt="AROMATIQUE 青森店" /></a></li>');
	}else{
		document.write('<li><a href="/shop/shop03.html"><img src="/shop/img/nvl03.gif" width="197" height="40" alt="AROMATIQUE 青森店" class="imgover" /></a></li>');
	}

	//04　前田産婦人科　アロマティークトリートメントルーム（平塚）
/*
	if (stay == "shop04"){
		document.write('<li><a href="/shop/shop04.html"><img src="/shop/img/nvl04_r.gif" width="197" height="40" alt="前田産婦人科　アロマティークトリートメントルーム（平塚）" /></a></li>');
	}else{
		document.write('<li><a href="/shop/shop04.html"><img src="/shop/img/nvl04.gif" width="197" height="40" alt="前田産婦人科　アロマティークトリートメントルーム（平塚）" class="imgover" /></a></li>');
	}
*/

	//05　千里リハビリテーション病院　アロマセラピートリートメントルーム
	if (stay == "shop05"){
		document.write('<li><a href="/shop/shop05.html"><img src="/shop/img/nvl05_r.gif" width="197" height="40" alt="千里リハビリテーション病院　アロマセラピートリートメントルーム" /></a></li>');
	}else{
		document.write('<li><a href="/shop/shop05.html"><img src="/shop/img/nvl05.gif" width="197" height="40" alt="千里リハビリテーション病院　アロマセラピートリートメントルーム" class="imgover" /></a></li>');
	}

	document.write('<!-- // ul --></ul>');

}



//localNavSchool
function localNavSchool(param){
	
	stay = param;
	
	document.write('<ul id="local" class="nav">');

	//01　プロフェッショナルアロマセラピストコース
	if (stay == "school01"){
		document.write('<li><a href="/school/index.html"><img src="/school/img/nvl01_r.gif" width="197" height="40" alt="プロフェッショナルアロマセラピストコース" /></a></li>');
	}else{
		document.write('<li><a href="/school/index.html"><img src="/school/img/nvl01.gif" width="197" height="40" alt="プロフェッショナルアロマセラピストコース" class="imgover" /></a></li>');
	}

	//02　アドバンスコース
	if (stay == "school02"){
		document.write('<li><a href="/school/advance.html"><img src="/school/img/nvl02_r.gif" width="197" height="40" alt="アドバンスコース" /></a></li>');
	}else{
		document.write('<li><a href="/school/advance.html"><img src="/school/img/nvl02.gif" width="197" height="40" alt="アドバンスコース" class="imgover" /></a></li>');
	}

	//03　ITHMA（英国IFPA主要認定校）のご紹介
	if (stay == "school03"){
		document.write('<li><a href="/school/ifpa.html"><img src="/school/img/nvl03_r.gif" width="197" height="40" alt="ITHMA（英国IFPA主要認定校）のご紹介" /></a></li>');
	}else{
		document.write('<li><a href="/school/ifpa.html"><img src="/school/img/nvl03.gif" width="197" height="40" alt="ITHMA（英国IFPA主要認定校）のご紹介" class="imgover" /></a></li>');
	}

	document.write('<!-- // ul --></ul>');

}




//localNavNews
function localNavNews(param){
	
	stay = param;
	
	document.write('<ul id="local" class="nav">');

	//01　ニュースリリース
	if (stay == "news01"){
		document.write('<li><a href="/news/release/index.html"><img src="/news/img/nvl01_r.gif" width="197" height="40" alt="ニュースリリース" /></a></li>');
	}else{
		document.write('<li><a href="/news/release/index.html"><img src="/news/img/nvl01.gif" width="197" height="40" alt="ニュースリリース" class="imgover" /></a></li>');
	}

	//02　トピックス
	if (stay == "news02"){
		document.write('<li><a href="/news/topics/index.html"><img src="/news/img/nvl02_r.gif" width="197" height="40" alt="トピックス" /></a></li>');
	}else{
		document.write('<li><a href="/news/topics/index.html"><img src="/news/img/nvl02.gif" width="197" height="40" alt="トピックス" class="imgover" /></a></li>');
	}

	//03　雑誌・図書
	if (stay == "news03"){
		document.write('<li><a href="/news/books/index.html"><img src="/news/img/nvl03_r.gif" width="197" height="40" alt="雑誌・図書" /></a></li>');
	}else{
		document.write('<li><a href="/news/books/index.html"><img src="/news/img/nvl03.gif" width="197" height="40" alt="雑誌・図書" class="imgover" /></a></li>');
	}

	//04　Web・その他
	if (stay == "news04"){
		document.write('<li><a href="/news/web/index.html"><img src="/news/img/nvl04_r.gif" width="197" height="40" alt="Web・その他" /></a></li>');
	}else{
		document.write('<li><a href="/news/web/index.html"><img src="/news/img/nvl04.gif" width="197" height="40" alt="Web・その他" class="imgover" /></a></li>');
	}

	document.write('<!-- // ul --></ul>');

}









