//============================
//callmenu
//============================


var dpass;
var gmenu;
var banst;


//グローバルメニューセット
on_g01 = ''; if(gmenu == "g01") {on_g01 = '_on';}
on_g02 = ''; if(gmenu == "g02") {on_g02 = '_on';}
on_g03 = ''; if(gmenu == "g03") {on_g03 = '_on';}
on_g04 = ''; if(gmenu == "g04") {on_g04 = '_on';}
on_g05 = ''; if(gmenu == "g05") {on_g05 = '_on';}
on_g06 = ''; if(gmenu == "g06") {on_g06 = '_on';}



//ヘッダ呼び出し
function call_hmenu(){
	document.writeln('<div id="header">');
	document.writeln('	<h2><a href="' + dpass + 'index.html">SUNSiN 新時代にシリコン素材、新技術、新発想で。</a></h2>');
	document.writeln('	<ul>');
	if(banst != "top-hm"){//トップページ以外の時は表示
	document.writeln('		<li><a href="' + dpass + 'index.html">Home</a></li>');
	}
	if(banst != "site-hm"){//サイトマップ以外の時は表示
	document.writeln('		<li><a href="' + dpass + 'sitemap.html">サイトマップ</a></li>');
	}
	document.writeln('		<li><a href="' + dpass + 'cgi/form/form.cgi">お問い合せ</a></li>');
	document.writeln('	</ul>');
	document.writeln('</div>');
}


//グローバルメニュー呼び出し
function call_gmenu(){
	document.writeln('<ul id="gmenu">');
	document.writeln('	<li><a href="' + dpass + 'release/index.html"><img alt="ニュースリリース" src="' + dpass + 'common/images/gmenu01' + on_g01 + '.gif" width="136" height="28" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'aboutus/index.html"><img alt="会社案内" src="' + dpass + 'common/images/gmenu02' + on_g02 + '.gif" width="95" height="28" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/index.html"><img alt="オリジナル商品紹介" src="' + dpass + 'common/images/gmenu03' + on_g03 + '.gif" width="155" height="28" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'oem/index.html"><img alt="OEM商品紹介" src="' + dpass + 'common/images/gmenu04' + on_g04 + '.gif" width="139" height="28" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'silicon/index.html"><img alt="シリコンとは？" src="' + dpass + 'common/images/gmenu05' + on_g05 + '.gif" width="133" height="28" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'articles/index.html"><img alt="原材料" src="' + dpass + 'common/images/gmenu06' + on_g06 + '.gif" width="92" height="28" /></a></li>');
	document.writeln('</ul>');
}


//===========================
//side-menu
//===========================

//「ニュースリリース」右メニュー
function smenu_g01(){
	document.writeln('<h2>■ニュースリリース</h2>');
	document.writeln('<dl>');
	document.writeln('	<dt><a href="index.html#y10">2010年</a></dt>');
	document.writeln('	<dd><a href="100825.html">&gt;8月25日</a></dd>');
	document.writeln('	<dd><a href="100717.html">&gt;7月17日</a></dd>');
	document.writeln('	<dd><a href="100323.html">&gt;3月23日</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt><a href="index.html#y09">2009年</a></dt>');
	document.writeln('	<dd><a href="090528.html">&gt;5月28日</a></dd>');
	document.writeln('	<dd><a href="090302.html">&gt;3月2日</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt><a href="index.html#y08">2008年</a></dt>');
	document.writeln('	<dd><a href="081121.html">&gt;11月21日</a></dd>');
	document.writeln('	<dd><a href="080828.html">&gt;8月28日</a></dd>');
	document.writeln('	<dd><a href="080530.html">&gt;5月30日</a></dd>');
	document.writeln('	<dd><a href="080305.html">&gt;3月5日</a></dd>');
	document.writeln('	<dd><a href="080303.html">&gt;3月3日</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt><a href="index.html#y07">2007年</a></dt>');
	document.writeln('	<dd><a href="070521.html">&gt;5月21日</a></dd>');
	document.writeln('</dl>');
}

//「会社案内」右メニュー
function smenu_g02(){
	document.writeln('<dl>');
	document.writeln('	<dt>■会社案内</dt>');
	document.writeln('	<dd><a href="index.html">&gt;会社概要</a></dd>');
	document.writeln('	<dd><a href="vision.html">&gt;ビジョン</a></dd>');
	document.writeln('	<dd><a href="history.html">&gt;沿革</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dd><a href="' + dpass + 'silicon/5degrees.html">&gt;シリコン軟度5°って何？</a></dd>');
	document.writeln('</dl>');
}

function smenu_g03(){
	document.writeln('<dl>');
	document.writeln('	<dt>■シリコンマスク</dt>');
	document.writeln('	<dd><a href="dreammask.html">&gt;ドリームマスク・ゴールド</a></dd>');
	document.writeln('	<dd><a href="rinclmask.html">&gt;シリコン・リンクルマスク ゴールド(首用)</a></dd>');
	document.writeln('	<dd><a href="dream_eye.html">&gt;ドリームマスク・ゴールド 目元シート</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■手と指先を美しく</dt>');
	document.writeln('	<dd><a href="estehand.html">&gt;シリコン・エステハンド Au+</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■全身マッサージャー</dt>');
	document.writeln('	<dd><a href="bodyspa.html">&gt;シリコン・ボディー スパ</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■シリコンでエコ・クッキング</dt>');
	document.writeln('	<dd><a href="colorful_ecowrap.html">&gt;シリコン・カラフル エコラップ（中 丸形 3色セット）</a></dd>');
	document.writeln('	<dd><a href="ecowrap.html">&gt;シリコンエコラップ（小・中 3枚セット）</a></dd>');
	document.writeln('	<dd><a href="ecowrap.html#p2">&gt;シリコンエコラップ（大 1枚）</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■キッチン環境を美しく快適に!</dt>');
	document.writeln('	<dd><a href="cooking_ecomat.html">&gt;シリコン・クッキング エコマット</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■すべり止め吸着シリコン</dt>');
	document.writeln('	<dd><a href="ecofit.html#p1">&gt;ecofit Ag+ ポイント・インソール</a></dd>');
	document.writeln('	<dd><a href="ecofit.html#p2">&gt;ecofit Ag+ フル・インソール</a></dd>');
	document.writeln('	<dd><a href="mens_ecofit.html">&gt;ecofit Ag+ メンズ・インソール</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■シリコンサポートテープ/ベルト</dt>');
	document.writeln('	<dd><a href="fixed_5degrees.html#p1">&gt;固定力5℃</a></dd>');
	document.writeln('	<dd><a href="fixed_5degrees.html#p2">&gt;固定力ロング 5℃</a></dd>');
	document.writeln('	<dd><a href="fixed_waist.html">&gt;固定力 腰ベルト</a></dd>');
	document.writeln('	<dd><a href="fixed_knee.html">&gt;固定力 ヒザベルト</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■マルチすべり止めシート</dt>');
	document.writeln('	<dd><a href="5degrees.html#p1">&gt;吸着力5℃</a></dd>');
	document.writeln('	<dd><a href="5degrees.html#p2">&gt;吸着力ワイド5℃</a></dd>');
	document.writeln('	<dd><a href="5degrees_h.html#p1">&gt;吸着力Handy 5℃</a></dd>');
	document.writeln('	<dd><a href="5degrees_h.html#p2">&gt;吸着力Handy 5℃ [丸形タイプ]</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dt>■テニス用グリップテープ</dt>');
	document.writeln('	<dd><a href="silicon.html">&gt;シリコングリップテープ</a></dd>');
	document.writeln('</dl>');
	document.writeln('<dl>');
	document.writeln('	<dd><a href="' + dpass + 'silicon/index.html">&gt;シリコン基礎知識</a></dd>');
	document.writeln('	<dd><a href="' + dpass + 'silicon/5degrees.html">&gt;シリコン軟度5°って何？</a></dd>');
	document.writeln('</dl>');
}

function smenu_g04(){
	document.writeln('<dl>');
	document.writeln('	<dt>■OEM商品紹介</dt>');
	document.writeln('	<dd><a href="#p1">&gt;カーグッズ</a></dd>');
	document.writeln('	<dd><a href="#p2">&gt;健康</a></dd>');
	document.writeln('	<dd><a href="#p3">&gt;スポーツ</a></dd>');
	document.writeln('	<dd><a href="#p4">&gt;美容</a></dd>');
	document.writeln('	<dd><a href="#p5">&gt;教育玩具</a></dd>');
	document.writeln('	<dd><a href="#p6">&gt;生活</a></dd>');
	document.writeln('	<dd><a href="#p7">&gt;産業</a></dd>');
	document.writeln('	<dd><a href="#p8">&gt;飲食</a></dd>');
	document.writeln('	<dd><a href="#p9">&gt;店舗</a></dd>');
	document.writeln('	<dd><a href="#p10">&gt;事業用途</a></dd>');
	document.writeln('</dl>');
}

function smenu_g05(){
	document.writeln('<dl>');
	document.writeln('	<dt>■シリコンとは？</dt>');
	document.writeln('	<dd><a href="index.html">&gt;シリコン基礎知識</a></dd>');
	document.writeln('	<dd><a href="5degrees.html">&gt;シリコン軟度5°って何？</a></dd>');
	document.writeln('</dl>');
}


//主要商品バナー
function p_ban() {
	document.writeln('<ul>');
	document.writeln('	<li><a href="' + dpass + 'products/dreammask.html"><img alt="ドリームマスク・ゴールド" title="ドリームマスク・ゴールド" src="' + dpass + 'common/images/ban_dreammask.jpg" width="160" height="35" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/bodyspa.html"><img  alt="シリコン・ボディー スパ" title="シリコン・ボディー スパ" src="' + dpass + 'common/images/ban_bodyspa.jpg" width="160" height="35" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/estehand.html"><img  alt="シリコン・エステハンドAU+" title="シリコン・エステハンドAU+" src="' + dpass + 'common/images/ban_estehand.jpg" width="160" height="35" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/colorful_ecowrap.html"><img  alt="シリコン・カラフル エコラップ" title="シリコン・カラフル エコラップ" src="' + dpass + 'common/images/ban_ecowrap.jpg" width="160" height="35" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/cooking_ecomat.html"><img  alt="シリコン・クッキング エコマット" title="シリコン・クッキング エコマット" src="' + dpass + 'common/images/ban_ecomat.jpg" width="160" height="35" /></a></li>');
	//document.writeln('	<li><a href="' + dpass + 'products/5degrees.html"><img alt="吸着力 5℃" title="吸着力 5℃" src="' + dpass + 'common/images/ban_5degrees.jpg" width="160" height="35" /></a></li>');
	//document.writeln('	<li><a href="' + dpass + 'products/fixed_5degrees.html"><img alt="固定力 5℃" title="固定力 5℃" src="' + dpass + 'common/images/ban_5degrees02.jpg" width="160" height="35" /></a></li>');
	document.writeln('	<li><a href="' + dpass + 'products/ecofit.html"><img alt="エコフィットAg+[ecofit Ag+]" title="エコフィットAg+[ecofit Ag+]" src="' + dpass + 'common/images/ban_ecofit.jpg" width="160" height="35" /></a></li>');
	document.writeln('</ul>');
	if(banst != "5dig"){//g05以外の時は表示
		document.writeln('<ul class="silicon">');
		document.writeln('	<li><a href="' + dpass + 'silicon/5degrees.html"><img alt="SILICON 5℃ CONCEPT" title="SILICON 5℃ CONCEPT" src="' + dpass + 'common/images/logo_5degrees.gif" width="62" height="74" /></a></li>');
		document.writeln('</ul>');
	}
}



//サイドメニュー呼び出し
function call_smenu(){
	document.writeln('<div class="submenu">');
		if(gmenu=='g01'){smenu_g01();}
		else if(gmenu=='g02'){smenu_g02();}
		else if(gmenu=='g03'){smenu_g03();}
		else if(gmenu=='g04'){smenu_g04();}
		else if(gmenu=='g05'){smenu_g05();}
		else if(gmenu=='g06'){smenu_g06();}
	document.writeln('</div>');
	document.writeln('<div class="product-banner">');
		p_ban();
	document.writeln('</div>');
}





//フッタ呼び出し
function call_fmenu(){
	document.writeln('<div id="footer">');
	document.writeln('	<p class="address"><a href="' + dpass + 'cgi/form/form.cgi"><img alt="お問い合せ" src="' + dpass + 'common/images/go_form.gif" width="90" height="16" /></a>「株式会社 三信ゴム商会」<br />〒131-0034　東京都墨田区堤通1-17-25　TEL：（03）3611-4195　FAX：（03）3612-6014　Email：<a href="mailto:info@sunsin-gomu.com">info@sunsin-gomu.com</a></p>');
	document.writeln('	<p class="copyright">&copy; 2010 SUNSIN RUBBER CO., LTD. All rights Reserved.</p>');
	document.writeln('</div>');
}
