/*メインメニューボタンを追加する場合は、ここからＡ〜ここまでＡ、の間にあるソースをコピーし、この下の箇所に追加してください。*/

//メインメニューボタン_START
var documentroot=""

//英語サイト
var english="<a href='" + documentroot + "/index_e.html' target='_self'><img src=" + documentroot + "/images/n_ipn_05.gif width=122 height=23 border=0 alt='英語サイトボタン'></a>"
var contents="<img src=" + documentroot + "/images/n_ipn_07.gif width=122 height=34 border=0></a>"

/*ここからＡ*/
//トップページ
var top1="<a href='" + documentroot + "/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_08.gif width=122 height=23 border=0 alt='トップページメニューボタン'></a>"
var top="<a href='" + documentroot + "/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_08.gif width=122 height=23 border=0 alt='トップページメニューボタン'></a>"
/*ここまでＡ*/

//プロジェクト概要
var concept1="<a href='" + documentroot + "/concept/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_09.gif width=122 height=23 border=0 alt='プロジェクト概要メニューボタン'></a>"
var concept="<a href='" + documentroot + "/concept/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_09.gif width=122 height=23 border=0 alt='プロジェクト概要メニューボタン'></a>"

//利用例
var riyou1="<a href='" + documentroot + "http://www.naregi.org/usecase/' target='_self'><img src=" + documentroot + "/images/menu_riyou_over.gif width=123 height=24 border=0 alt='NAREGI利用例'></a>"
var riyou="<a href='" + documentroot + "http://www.naregi.org/usecase/' target='_self'><img src=" + documentroot + "/images/menu_riyou.gif width=123 height=24 border=0 alt='NAREGI利用例'></a>"

//ユーザサポート
var user1="<a href='" + documentroot + "http://www.naregi.org/goc/' target='_self'><img src=" + documentroot + "/images/menu_user.gif width=123 height=24 border=0 alt='ユーザサポート'></a>"
var user="<a href='" + documentroot + "http://www.naregi.org/goc/' target='_self'><img src=" + documentroot + "/images/menu_user.gif width=123 height=24 border=0 alt='ユーザサポート'></a>"


//研究活動
var research1="<a href='" + documentroot + "/research/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_10.gif width=122 height=23 border=0 alt='研究活動メニューボタン'></a>"
var research="<a href='" + documentroot + "/research/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_10.gif width=122 height=23 border=0 alt='研究活動メニューボタン'></a>"

//イベント
var event1="<a href='" + documentroot + "/event/index.html' target='_self'><img src=" + documentroot + "/images/menu_event_over.gif width=122 height=23 border=0 alt='イベントメニューボタン'></a>"
var event="<a href='" + documentroot + "/event/index.html' target='_self'><img src=" + documentroot + "/images/menu_event.gif width=122 height=23 border=0 alt='イベントメニューボタン'></a>"

//資料・論文
var papers1="<a href='" + documentroot + "/papers/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_12.gif width=122 height=23 border=0 alt='資料・論文メニューボタン'></a>"
var papers="<a href='" + documentroot + "/papers/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_12.gif width=122 height=23 border=0 alt='資料・論文メニューボタン'></a>"

//ダウンロード
var downroad1="<a href=' http://middleware.naregi.org/Download/' target='_self'><img src=" + documentroot + "/images/n_jpn_o_16.gif width=122 height=23 border=0 alt='ダウンロードメニューボタン'></a>"
var downroad="<a href=' http://middleware.naregi.org/Download/' target='_self'><img src=" + documentroot + "/images/n_ipn_16.gif width=122 height=23 border=0 alt='ダウンロードメニューボタン'></a>"

//リンク
var link1="<a href='" + documentroot + "/link/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_13.gif width=122 height=23 border=0 alt='リンクメニューボタン'></a>"
var link="<a href='" + documentroot + "/link/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_13.gif width=122 height=23 border=0 alt='リンクメニューボタン'></a>"

//アクセス
var access1="<a href='" + documentroot + "/access/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_14.gif width=122 height=23 border=0 alt='アクセスメニューボタン'></a>"
var access="<a href='" + documentroot + "/access/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_14.gif width=122 height=23 border=0 alt='アクセスメニューボタン'></a>"

//サイトポリシー
var policy1="<a href='" + documentroot + "/policy/index.html' target='_self'><img src=" + documentroot + "/images/n_jpn_o_15.gif width=122 height=23 border=0 alt='サイトポリシーメニューボタン'></a>"
var policy="<a href='" + documentroot + "/policy/index.html' target='_self'><img src=" + documentroot + "/images/n_ipn_15.gif width=122 height=23 border=0 alt='サイトポリシーメニューボタン'></a>"

//メインメニューボタン_END

//space
var spacer="<img src=" + documentroot + "/images/n_ipn_02.gif width=151 height=18 border=0>"

/*サブメニューボタンを追加する場合は、ここからＡ１〜ここまでＡ１の間にあるソースをコピーし、この下の箇所に追加してください。*/

//サブメインメニューボタン_START

/*ここからＡ１*/
//アプリケーション研究開発拠点・分子科学研究所
var apli="<a href='http://nanogrid.ims.ac.jp/nanogrid/index.html' target='_blank'><img src=" + documentroot + "/images/btn_apli.gif width=123 height=40 border=0 alt='アプリケーション研究開発拠点・分子科学研究所リンクボタン'></a>"
/*ここまでＡ１*/


//研究グリッド産業応用協議会
var sangyou="<a href='http://naregi.jeita.or.jp/index.html' target='_blank'><img src=" + documentroot + "/images/btn_sangyo.gif width=123 height=40 border=0  alt='研究グリッド産業応用協議会リンクボタン'></a>"

//NAREGI Certification Authority
var pki="<a href='https://www.naregi.org/ca/index_J.html' target='_blank'><img src=" + documentroot + "/images/NAREGI_ca.gif width=123 height=40 border=0 alt='NAREGI Certification Authority'></a>"
//サブメインメニューボタン_END


//アクセスカウンター
var count="<img src='http://www.naregi.org/cgi-bin/wwwcount.cgi?gif' width='91' height='18' alt='counter'></a>"



//メニュー START
document.write("<table border=0 cellpadding=0 cellspacing=0 width=151>");
document.write("<tr><td colspan=3><img src=" + documentroot + "/images/n_ipn_02.gif width=151 height=18 border=0></td></tr>");
document.write("<tr><td rowspan=2 background=" + documentroot + "/images/n_ipn_04.gif width=15></td>");

//英語サイトへのリンク
document.write("<td>" + english + "</td>");
document.write("<td rowspan=2 background=" + documentroot + "/images/n_ipn_06.gif width=14></td></tr>");
document.write("<tr><td>" + contents + "</td></tr>");
document.write("</table>");
/*メニューボタンを追加する場合は、ここからＢ〜ここまでＢの間にあるソースをコピーし、この下の箇所に追加してください。*/

/*ここからＢ*/
//トップメニュ
if(point==1)
		{document.write(top1)}
	else {document.write(top)}
/*ここからＢ*/


//プロジェクト概要
if(point==2)
		{document.write(concept1)}
	else {document.write(concept)}

//利用例
if(point==13)
		{document.write(riyou1)}
	else {document.write(riyou)}

//ユーザサポート
if(point==14)
		{document.write(user1)}
	else {document.write(user)}	
	
//研究活動
if(point==3)
		{document.write(research1)}
	else {document.write(research)}
	
	
//イベント
if(point==4)
		{document.write(event1)}
	else {document.write(event)}
	
	
//資料・論文
if(point==6)
		{document.write(papers1)}
	else {document.write(papers)}
	
	
//ダウンロード
if(point==10)
		{document.write(downroad1)}
	else {document.write(downroad)}
	
	
//リンク
if(point==7)
		{document.write(link1)}
	else {document.write(link)}
	
	
//アクセス
if(point==8)
		{document.write(access1)}
	else {document.write(access)}
	
	
//サイトポリシー
if(point==9)
		{document.write(policy1)}
	else {document.write(policy)}
	
	
	
document.write("<br><br><br><br><br>");
//メニュー END

/*サブメニューボタンを追加する場合は、ここからＢ１〜ここまでＢ１の間にあるソースをコピーし、この下の箇所に追加してください。*/

/*ここからＢ１*/
//アプリケーション研究開発拠点・分子科学研究所
document.write(apli);
/*ここまでＢ１*/

//研究グリッド産業応用協議会
document.write(sangyou);

//NAREGI Certification Authority
document.write(pki);

//カウンター
document.write("<table border=0 cellpadding=0 cellspacing=0 height=100>");
document.write("<tr><td valign=bottom>");
if(point==1)
		{document.write(count)}
document.write("</td></tr></table>");
