// Search

	var val = '../../' ;
	var host_name = location.hostname + location.pathname  ;
	var status = 0 ;

	// 本番
	if ( host_name.indexOf("www.sdk.co.jp") != -1 ) {
		val ='http://www.sdk.co.jp/';
		status = 0 ;
	}
	// テスト
	if ( host_name.indexOf("trial2.sdk.co.jp") != -1 ) {
		val ='http://trial2.sdk.co.jp/';
		status = 0 ;
	}
	// イントラ
	if ( host_name.indexOf("www.ki-net.u00014.sdk.co.jp") != -1 ) {
		val  ='http://www.ki-net.u00014.sdk.co.jp/';
		status = 1 ;
	}
	// HSCテスト環境 イントラ用
	if ( host_name.indexOf("cmstest.sdk.co.jp/") != -1 ) {
		val  ='http://cmstest.sdk.co.jp/';
		status = 1 ; 
	}


	if (status == 0) {
		document.write('<table border="0" align="right" cellpadding="2" cellspacing="0">');
			document.write('<tr>');
				document.write('<td>');
					document.write('<img src="common_img/searchkeyword.gif" alt="Search with SDK Group" width="129" height="11"  hspace="10">');
				document.write('</td>');
				document.write('<td>');
					document.write('<form method="get" action="http://www.google.co.jp/search" name="googleForm" id="googleForm" target="_top">');
						document.write('<input type="text" name="q" size="32" maxlength="255" value="">');
						document.write('<input name="btnG" type="image" class="btn" value="Google search" src="../common_img/btn_search1.gif" alt="Search" width="40" height="20">');
						document.write('<input type="hidden" name="ie" value="Shift_JIS">');
						document.write('<input type="hidden" name="oe" value="Shift_JIS">');
						document.write('<input type="hidden" name="hl" value="en">');
						document.write('<input type="hidden" name="lr" value="lang_en">');
						document.write('<input type="hidden" name="hq" value="site:www.sdk.co.jp OR site:www.shoko.co.jp OR site:www.shp.co.jp OR site:www.sdat.co.jp OR site:www.fuyo-p.co.jp OR site:www.karenz.jp OR site:www.autoprep.jp OR site:www.shodex.com OR site:www.showacan.co.jp OR site:www.alumi-shisaku.sdk.co.jp OR site:www.products.sdk.co.jp OR site:www.nptcorp.com OR site:www.uskk.co.jp OR site:www.pochem.co.jp OR site:www.sunallomer.co.jp OR site:www.showa-tansan.co.jp " >');
					document.write('</form>');
				document.write('</td>');
				document.write('<td valign="top">');
					document.write('<a href="http://www.google.com/" target="_blank"><img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google" width="75" height="32" hspace="0" vspace="0" border="0" align="texttop"></a>');
				document.write('</td>');
			document.write('</tr>');
		document.write('</table>');
	}

	else if (status == 1) {
		document.write('<table border="0" align="right" cellpadding="2" cellspacing="0">');
			document.write('<tr>');
			document.write('<td height="32">');
			document.write('<img src="'+val+'html/english/common_img/searchkeyword.gif" alt="Search with this Site" width="129" height="11"  hspace="10">');
			document.write('</td>');
			document.write('<td height="32">');
			//document.write('<form method="get" action="http://www.ki-net.u00014.sdk.co.jp/html/english/cgi-bin/namazu.cgi" name="" id="" target="_top">');
			document.write('<form method="get" action="'+val+'html/english/cgi-bin/namazu.cgi" name="" id="" target="_top">');
			document.write('<input type="text" name="key" size="32" maxlength="255" value="">');
			document.write('<input name="btnG" type="image" class="btn" value="Google search" src="'+val+'html/common_img/btn_search1.gif" alt="Search" width="40" height="20">');
			document.write('</form>');
			document.write('</td>');
			document.write('<td height="32">');
			document.write(' ');
			document.write('</td>');
			document.write('</tr>');
		document.write('</table>');
	}


