// include lang-independent functions in common js
document.write('<script language="javascript" src="common.js"></script>');

// no auto-init < 1.2
//var NUM_ITEM = 13
var NUM_ITEM = 7

var menuItem = new Array()

menuItem[0] = '| <A HREF="home-j.html">ホームページ</A> '
menuItem[1] = '| <A HREF="csjwv-j.html">当会について</A> '
menuItem[2] = '| <A HREF="contact-j.html">当会への連絡</A> '
menuItem[3] = '| <A HREF="sister-org-j.html">関連団体</A> |<BR>'
menuItem[4] = '| <A HREF="other-org-j.html">その他の団体</A> '
menuItem[5] = '| <A HREF="occu-j.html">香港</A> '
menuItem[6] = '| <A HREF="related-j.html">関連サイト</A> |'

//menuItem[2] = '| <A HREF="newsl-j.html">ニュースレター</A> '
//menuItem[6] = '| <A HREF="action-b5.html">活動</A> '
//menuItem[7] = '| <A HREF="news-b5.html">ニュース</A> '
//menuItem[8] = '| <A HREF="books-b5.html">本とビデオ</A> '
//menuItem[9] = '| <A HREF="museum-b5.html">ｳﾕｪｫﾀ]</A> '
//menuItem[11] = '| <A HREF="dyt/dyt-b5.html">釣魚台</A> '

var menuItem2 = new Array()
menuItem2[0] = '| ホームページ</A> '
menuItem2[1] = '| 当会について</A> '
menuItem2[2] = '| 当会への連絡</A> '
menuItem2[3] = '| 関連団体</A></A> |<BR>'
menuItem2[4] = '| その他の団体</A> '
menuItem2[5] = '| 香港</A> '
menuItem2[6] = '| 関連サイト</A> |'

function csjwv_displayMenu(item) {

	for (var i = 0; i< NUM_ITEM; i++) {
		if ( i == item) 
			document.write(menuItem2[i])
		else
			document.write(menuItem[i])
	}
}

function csjwv_displayLang (en_page, ch_page) {
			
			var temp = ''
			if (en_page != null) 
				temp += ' [<A HREF="' + en_page + '">ENGISH</A>]'
			if (ch_page != null) 
				temp += ' [<A HREF="' + ch_page + '">中文</A>]'
			if (en_page != null || ch_page != null)
				temp += ' [日本語]'
			temp +=  '<BR><P></P>'
			document.write(temp)
}

function csjwv_displayFooter() {
	document.write('<HR><FONT SIZE=-2>| <A HREF="home-j.html">トップページ</A> |</FONT><BR><P></P>')
}
