/*******************************************************
 * SMART ROLLOVER
 *******************************************************/
/*
function smartRollover() {
	if(document.getElementsByTagName) {
		var images = document.getElementsByTagName("img");
		for(var i=0; i < images.length; i++) {
			if(images[i].getAttribute("src").match("_off."))
			{
				images[i].onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
				}
				images[i].onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
				}
			}
		}
	}
}
if(window.addEventListener) {
	window.addEventListener("load", smartRollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", smartRollover);
}
*/





/*******************************************************
 * NAVIGATION BAR
 *******************************************************/
function makeEcLinkListTopBottom( mode, crlf ) {
	var i = 0;
	var j = 0;
	var ix = 0;
	var mysLinkList = new Array();

	// 処理分岐
	switch( mode ){

		case 'ec':
			mysLinkList = [
				'<div id="navTopEC">',
				'<ul>',
				'<li><a href="../index.html" target="_top">ホームページＴＯＰへ</a></li>',
				'<li><a href="http://www.npo-panda.jp/cp-bin/oscommerce/catalog/">ショッピングへＧＯ！</a></li>',
				'<li><a href="./creaters.html">出品作家のご紹介</a></li>',
				'<li><a href="./postage.html">送料について（注意事項）</a></li>',
				'</ul>',
				'</div>'
				];
			j = 1;
			break;
	}
	// 表示
	if(j == 1){
		while(i <= mysLinkList.length - 1){
			document.write(mysLinkList[i]);
			i++;
		}
	}
	// 改行
	if(crlf >= 1){
		ix = 0;
		while(ix <= crlf ){
			document.write('<br>');
			ix++;
		}
	}
}



