﻿/*

=============================================



HeaderNavigationArea



=============================================

*/



//PopUpWindow

function open_window001(spass){window.open(spass,"001","scrollbars=0,resizable=0,width=540,height=450");}

function open_window002(spass){window.open(spass,"002","scrollbars=1,resizable=1,width=430,height=550");}



function setPageHeaderNavigation(param){

	page = param;

	

	if (page == "jp"){

		//HeaderNavigationArea : ja

		document.write('<div class="col">');

		document.write('	<ul id="hnv">');

		document.write('		<li class="left"><a href="javascript:open_window002(\'/jpja/help/index.html\')" title="ヘルプ" accesskey="5">ヘルプ</a></li>');

		document.write('		<li><a href="/jpja/sitemap/index.html" title="サイトマップ" accesskey="6">サイトマップ</a></li>');

		document.write('		<li><a href="/jpja/contact_us/contactus.html" title="お問合せ" accesskey="7">お問合せ</a></li>');

		document.write('	</ul>');

		document.write('	<!-- Search-->');
		
		document.write('	<form action="/jpja/search/search.html" id="cse-search-box">');
		
		document.write('		<div>');
		
		document.write('			<input type="hidden" name="cx" value="015634903212857956052:b5icw2-yf84" />');
		
		document.write('			<input type="hidden" name="cof" value="FORID:9;NB:1" />');
		
		document.write('			<input type="hidden" name="ie" value="UTF-8" />');
		
		document.write('			<input type="text" name="q" size="20" />');
		
		document.write('			<input type="image" src="/jpja/lcommon/images/btn_search.gif" name="sa" alt="検索" width="52" height="19" border="0" align="middle" class="BtnSearch">');
		
		document.write('		</div>');
		
		document.write('	</form>');
		
		document.write('	<!-- //Search-->');

		document.write('</div>');

		

	}else if (page == "jpform"){

		//HeaderNavigationArea : form

		document.write('<div class="col">');

		document.write('	<ul id="hnv">');

		document.write('		<li class="left"><a href="javascript:open_window002(\'/jpja/help/index.html\')" title="ヘルプ" accesskey="5">ヘルプ</a></li>');

		document.write('	</ul>');

		document.write('</div>');

		

	}else if (page == "jpformlogoff"){

		//HeaderNavigationArea : formlogoff

		document.write('<div class="col">');

		document.write('	<ul id="hnv">');

		document.write('		<li class="left"><a href="javascript:open_window002(\'/jpja/help/index.html\')" title="ヘルプ" accesskey="5">ヘルプ</a></li>');

		document.write('	</ul>');

		document.write('	<form name="flogoff" action="/cgi-bin/ja/convert_jp.pl" method="POST" id="flogoff">');

		document.write('		<fieldset>');

		document.write('		<legend>Logoff</legend>');

		document.write('		<input type="image" src="/common/images/btn_logoff.gif" name="logoff" alt="Logoff" width="56" height="19" border="0" align="middle" class="BrnLogoff">');

		document.write('		</fieldset>');

		document.write('	</form>');

		document.write('</div>');

		

	}else if (page == "jpformlogin"){

		//HeaderNavigationArea : formlogin

		document.write('<div class="col">');

		document.write('	<ul id="hnv">');

		document.write('		<li class="left"><a href="javascript:open_window002(\'/jpja/help/index.html\')" title="ヘルプ" accesskey="5">ヘルプ</a></li>');

		document.write('	</ul>');

		document.write('	<form name="flogin" action="/cgi-bin/ja/convert_jp.pl" method="POST" id="flogoff">');

		document.write('		<fieldset>');

		document.write('		<legend>Logoff</legend>');

		document.write('		<input type="image" src="/common/images/btn_login.gif" name="login" alt="Login" width="56" height="19" border="0" align="middle" class="BrnLogoff">');

		document.write('	</fieldset>');

		document.write('	</form>');

		document.write('</div>');

		

	}

	

}




