

/**********************************************************

* sidenavi */

var catepath = document.getElementById('filepath').getAttribute('href'/*@cc_on , 2 @*/).replace('common/css/base.css', '');
catepath = catepath+'kids/';
var path = location.href;
var page = '_over';
var page1 = '';
var page2 = '';
var page3 = '';
var page4 = '';
var page5 = '';

if (path.indexOf('kids/index') != -1) {
	page1 = page;
} else {
	page1 = '';
}
if (path.indexOf('kids/snowplow') != -1) {
	page2 = page;
} else {
	page2 = '';
}
if (path.indexOf('kids/structure') != -1) {
	page3 = page;
} else {
	page3 = '';
}
if (path.indexOf('kids/factory') != -1) {
	page4 = page;
} else {
	page4 = '';
}
if (path.indexOf('kids/faq') != -1) {
	page5 = page;
} else {
	page5 = '';
}

function sidenavi() {
	document.open();
	document.write('				<div class="side-navi">');
	document.write('					<ul class="pkg">');
	document.write('						<li><img src="'+catepath+'img/side_title.gif" width="163" height="22" alt="KID\'Sコーナー" /></li>');
	document.write('						<li><a href="'+catepath+'index.html"><img src="'+catepath+'img/navi_01'+page1+'.gif" width="163" height="22" alt="KID\'Sコーナー" class="rollover'+page1+'" /></a></li>');
	document.write('						<li><a href="'+catepath+'snowplow.html"><img src="'+catepath+'img/navi_02'+page2+'.gif" width="163" height="22" alt="除雪機ってどんなもの?" class="rollover'+page2+'" /></a></li>');
	document.write('						<li><a href="'+catepath+'structure.html"><img src="'+catepath+'img/navi_03'+page3+'.gif" width="163" height="22" alt="除雪機のしくみ" class="rollover'+page3+'" /></a></li>');
	document.write('						<li><a href="'+catepath+'factory.html"><img src="'+catepath+'img/navi_04'+page4+'.gif" width="163" height="22" alt="除雪機の工場" class="rollover'+page4+'" /></a></li>');
	document.write('						<li><a href="'+catepath+'faq.html"><img src="'+catepath+'img/navi_05'+page5+'.gif" width="163" height="22" alt="しつもんコーナーＱ＆Ａ" class="rollover'+page5+'" /></a></li>');
	document.write('					</ul>');
	document.write('				</div>');
	document.close();
}

