
/**********************************************************

* filepath */

var filepath = document.getElementById('filepath').getAttribute('href'/*@cc_on , 2 @*/).replace('common/css/base.css', '');



/**********************************************************

* header */

function header() {
	document.open();
	document.write('		<div id="header-inner">');
	document.write('			<h1 id="header-logo"><a href="'+filepath+'index.html" target="_top"><img src="'+filepath+'common/img/header_logo.gif" width="162" height="45" alt="株式会社　日本除雪機製作所" /></a></h1>');
	document.write('			<ul id="header-navi">');
	document.write('				<li><a href="'+filepath+'sitemap.html" target="_top">サイトマップ</a></li>');
	document.write('				<li><a href="'+filepath+'contact.html" target="_top">お問い合わせ</a></li>');
	document.write('				<li><a href="'+filepath+'english/index.html" target="_top">ENGLISH</a></li>');
	document.write('				<img src="'+filepath+'common/img/header_logoj.gif" width="185" height="16" alt="株式会社　日本除雪機製作所" />');
	document.write('			</ul>');
	document.write('			<ul id="header-font-resize">');
	document.write('				<li class="title"><img src="'+filepath+'common/img/header_font_title.gif" width="62" height="17" alt="文字サイズ" /></li>');
	document.write('				<li class="font-s"><a href="javascript:void(0);" onclick="fontS();"></a></li>');
	document.write('				<li class="font-m"><a href="javascript:void(0);" onclick="fontM();"></a></li>');
	document.write('				<li class="font-l"><a href="javascript:void(0);" onclick="fontL();"></a></li>');
	document.write('			</ul>');
	document.write('			<form action="http://www.nichijo.jp/search/" id="cse-search-box"><div>');
	document.write('			<ul id="header-search">');
	document.write('				<li class="box"><input type="text" name="q" value="" /></li>');
	document.write('				<li class="bt"><input type="image" src="'+filepath+'common/img/header_bt_search.gif" name="sa" value="検索" /></li>');
	document.write('			</ul>');
	document.write('			<input type="hidden" name="cx" value="004083000285159747453:gjzihykp8js" /><input type="hidden" name="cof" value="FORID:9" /><input type="hidden" name="ie" value="UTF-8" />');
	document.write('			</div></form><script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=ja"></script>');
	document.write('		</div>');
	document.close();
}



/**********************************************************

* globalnavi */

var path = location.href;
var cate = '_over';
var cate1 = '';
var cate2 = '';
var cate3 = '';
var cate4 = '';
var cate5 = '';

if (path.indexOf('news/') != -1) {
	cate1 = cate;
} else {
	cate1 = '';
}
if (path.indexOf('company/') != -1) {
	cate2 = cate;
} else {
	cate2 = '';
}
if (path.indexOf('product/') != -1 || path.indexOf('activity/') != -1) {
	cate3 = cate;
} else {
	cate3 = '';
}
if (path.indexOf('recruit/') != -1) {
	cate4 = cate;
} else {
	cate4 = '';
}
if (path.indexOf('technique/') != -1) {
	cate5 = cate;
} else {
	cate5 = '';
}

function globalnavi() {
	document.open();
	document.write('			<ul id="global-navi">');
	document.write('				<li><a href="'+filepath+'index.html" target="_top"><img src="'+filepath+'common/img/navi_01.gif" width="153" height="37" alt="トップページ" class="rollover" /></a></li>');
	document.write('				<li><a href="'+filepath+'news/index.html" target="_top"><img src="'+filepath+'common/img/navi_02'+cate1+'.gif" width="154" height="37" alt="お知らせ" class="rollover'+cate1+'" /></a></li>');
	document.write('				<li><a href="'+filepath+'company/index.html" target="_top"><img src="'+filepath+'common/img/navi_03'+cate2+'.gif" width="153" height="37" alt="企業情報" class="rollover'+cate2+'" /></a></li>');
	document.write('				<li><a href="'+filepath+'product/index.html" target="_top"><img src="'+filepath+'common/img/navi_04'+cate3+'.gif" width="154" height="37" alt="製品紹介" class="rollover'+cate3+'" /></a></li>');
	document.write('				<li><a href="'+filepath+'recruit/index.html" target="_top"><img src="'+filepath+'common/img/navi_05'+cate4+'.gif" width="153" height="37" alt="採用情報" class="rollover'+cate4+'" /></a></li>');
	document.write('				<li><a href="'+filepath+'technique/index.html" target="_top"><img src="'+filepath+'common/img/navi_06'+cate5+'.gif" width="153" height="37" alt="技術とサービス" class="rollover'+cate5+'" /></a></li>');
	document.write('			</ul>');
	document.close();
}




/**********************************************************

* footer */

function footer() {
	document.open();
	document.write('	<div id="footer">');
	document.write('		<p class="bt-pagetop"><a href="#container"><img src="'+filepath+'common/img/bt_pagetop.gif" width="118" height="12" alt="このページの先頭へ" /></a></p>');
	document.write('		<div id="footer-navi1-block">');
	document.write('			<ul id="footer-navi1">');
	document.write('				<li><a href="'+filepath+'index.html" target="_top">トップページ</a></li>');
	document.write('				<li><a href="'+filepath+'news/index.html" target="_top">お知らせ</a></li>');
	document.write('				<li><a href="'+filepath+'company/index.html" target="_top">企業情報</a></li>');
	document.write('				<li><a href="'+filepath+'product/index.html" target="_top">製品紹介</a></li>');
	document.write('				<li><a href="'+filepath+'recruit/index.html" target="_top">採用情報</a></li>');
	document.write('				<li><a href="'+filepath+'technique/index.html" target="_top">技術とサービス</a></li>');
	document.write('			</ul>');
	document.write('		</div>');
	document.write('		<ul id="footer-navi2">');
	document.write('			<li><a href="'+filepath+'privacy.html" target="_top">プライバシーポリシー</a>｜</li>');
	document.write('			<li><a href="'+filepath+'site.html" target="_top">当サイトについて</a>｜</li>');
//	document.write('			<li><a href="'+filepath+'link.html" target="_top">リンク</a>｜</li>');
	document.write('			<li><a href="'+filepath+'contact.html" target="_top">お問い合わせ</a></li>');
	document.write('			<li id="footer-copy">Copyright(C) 2010 Nichijo Manufacturing Co.,LTD.</li>');
	document.write('		</ul>');
	document.write('	</div>');
	document.close();
}




/**********************************************************

* favicon */
document.open();
document.write('<link rel="icon" href="http://www.nichijo.jp/favicon.ico" type="image/x-icon" />');
document.write('<link rel="Shortcut Icon" type="image/x-icon" href="http://www.nichijo.jp/favicon.ico" />');

document.close();