function header() {
	document.write( '<a href="http://www.konami-asia.com/" id="konami_logo"><img src="http://www.konami-asia.com/cmn/images/logo/klogo110_bg1.gif" alt="KONAMI ASIA"></a><br>');
}

var kt_copy = "© 1996 KAZUKI TAKAHASHI";
//var card_copy = "© 高橋和希　スタジオ・ダイス / 集英社 　企画・制作 / KONAMI";
var anime_copy = "© 2008 NAS ・ TV TOKYO";
var date_object = new Date();
var current_year = date_object.getFullYear();			

function footer(copy,lang,sale,card_list) {
	//when I was unfamiliar with it, added here: document.write( '<div class="copyright"><img src="../../../../cmn/styles/img/cright/5D_license_bl.gif"></div>');
	//2010/1/21, make used of copy variable, added lang variable, remarked sale, card list

	switch(copy){
		//case "kt" : document.write(kt_copy +'<br></div>'); break;
		//case "kt_card_anime" : document.write(kt_copy +'<br>' + card_copy +'<br>' + anime_copy + '<br></div>'); break;
		//case "card_anime" : document.write(card_copy +'<br>' + anime_copy + '<br></div>'); break;
		case "card" : document.write( '<div class="copyright"><img src="../../../../cmn/styles/img/cright/5D_license_bl.gif"></div>'); break;
		//case "anime" : document.write(anime_copy+'<br></div>'); break;
		default : document.write('<br></div>'); break;
	}
	
	document.write( '<div id="footer">');
	document.write( '<img src="../../../../cmn/ocg/foot_left.gif" alt="" class="f_lef">');
	
	/*if(sale == "style"){
		document.write( '<a href="http://www.konamistyle.jp/sp/yu_gi_oh/" id="to_style" class="f_lef" target="_blank"><img src="../../img/space.gif" alt="ご購入はコナミスタイル"></a>');
	}*/ //香港未有
	
	
	/*document.write( '<a href="http://www.konami.jp/th/yu_gi/index_hotline.html" id="to_ocg" class="f_lef"><img src="../../img/space.gif" alt="お問い合わせは遊戯王OCG事務局"></a>');*///香港未有，但可以換作教室資料
	
	document.write( '<img src="../../../../cmn/ocg/foot_right.gif" alt="" class="f_rig">');
	document.write( '<div class="f_rig txt_link">');

	/*if(card_list !== undefined){
		document.write( '<a href="../../cn-t/lineup/ocg/');
		document.write(card_list);
		document.write( '">カードリスト</a>|');
	}*/

	switch(lang){
		case "en":
			document.write( '<a href="../../index.html">Lastest Lineup</a>|');
			document.write( '<a href="../../list.html">Product Type</a>|');
			document.write( '<a href="../../../index.html">Top Page</a>');
			document.write( '</div></div>');
			break;
		case "cnt":
			document.write( '<a href="../../index.html">最新產品</a>|');
			document.write( '<a href="../../list.html">產品種類</a>|');
			document.write( '<a href="../../../index.html">主頁</a>');
			document.write( '</div></div>');
			break;
		default: 
			document.write( '<a href="../../index.html">Lastest Lineup</a>|');
			document.write( '<a href="../../list.html">Product Type</a>|');
			document.write( '<a href="../../../index.html">Top Page</a>');
			document.write( '</div></div>');
			break;
	}
	
	/* universal */
	document.write( '<div class="copyright">© ' + current_year + ' Konami Digital Entertainment</div>');
	/*document.write( '<a href="../../index.html">最新產品</a>|');
	document.write( '<a href="../../list.html">產品種類</a>|');
	document.write( '<a href="../../../index.html">遊戲王產品目錄主頁</a>');
	document.write( '</div></div>');
	document.write( '<div class="copyright">© ' + current_year + ' Konami Digital Entertainment</div>');*/
}

/* added for card amendment notice in DP Yusei3, DP Kurou */
function info_open(){
	//alert('opening');
	window.open('info.html','inf','screenX=20,screenY=50,left=20,top=50,width=450,height=540,scrollbars=yes');
}
