/*
<script type="text/javascript" src="/js/comScript.js"></script>

<img src="./img/rollover01a.gif" width="147" height="60" alt="" border="0"
  onmouseover="RollOver(this, './img/rollover01b.gif');"
  onmouseout="RollOver(this, './img/rollover01a.gif');">
*/  


// image RollOver
function RollOver(imgNm,imgPath) {
  imgNm.src = imgPath;
}

// show subWindow
function showSubW(url,ww,hh){
	window.open(url, "window_name", "width=" + ww + ",height=" + hh + ",scrollbars=yes,resizable=yes");
}

// PopBoxのグローバル変数の設定
function initPopBox(){
  popBoxWaitImage.src = "/image/PopBox/spinner40.gif";
  popBoxRevertImage = "/image/PopBox/magminus.gif";
  popBoxPopImage = "/image/PopBox/magplus.gif";
}


// header write Jpn
function headerTagWriteJpn(jpnUrl,engUrl) {
  // header section write
  document.open();
  document.write("<TABLE class='pgTbl'>");
  document.write("  <TBODY>");
  document.write("    <TR>");
  document.write("      <TD class='headlogo' rowspan='2'>");
  document.write("        <P class='HeadCatch'>アナログ測定のパイオニア</P>");
  document.write("      	<A class='headlogo' href='/index.html'><IMG class='headlogo' src='/image/logo.gif'></A>");
  document.write("      </TD>");
  document.write("      <!-- Googleサイト内検索 start -->");
  document.write("      <TD class='ggbar'>");
//  document.write("      <FORM action='http://www.google.com/cse' id='cse-search-box'>");
//  document.write("        <DIV class='ggbarPos'>");
//  document.write("            <input type='hidden' name='cx' value='002601417593890718162:n9uuhjnxkis' />");
//  document.write("            <input type='hidden' name='ie' value='Shift_JIS' />");
//  document.write("            <input type='text' name='q' size='31' />");
//  document.write("            <input type='submit' name='sa' value='検索' />");
//  document.write("        </DIV>");
//  document.write("        </FORM>");
//  document.write("      <SCRIPT type='text/javascript' src='http://www.google.com/coop/cse/brand?form=cse-search-box&lang=ja'></SCRIPT>");
  document.write("      <br><br>");
  document.write("      </TD>");
  document.write("      <!-- Googleサイト内検索 end -->");
  document.write("    </TR>");
  document.write("    <TR>");
  document.write("      <TD>");
  document.write("      <ul id='navLng'>");
  document.write("        <li><A href='" + engUrl + "'>English</A> ｜ </li>");
  document.write("        <li><A href='" + jpnUrl + "'>日本語</A></li>");
  document.write("      </ul>");
  document.write("      </TD>");
  document.write("    </TR>");
  document.write("  </TBODY>");
  document.write("</TABLE>");
  // menu section write
  document.write("<table class='navTop'>");
  document.write("  <tbody>");
  document.write("    <tr>");
  document.write("      <td class='navTopSide'><img src='/image/btn/menubarSide.png' width='20' height='45'></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/jpn/about/index.html'>会社案内</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/jpn/product/index.html'>製品情報</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/jpn/recruit/index.html'>採用情報</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/jpn/news/index.html'>ニュース</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/jpn/inquiry/index.html'>お問い合わせ</a></td>");
  document.write("      <td class='navTopSide'><img src='/image/btn/menubarSide.png' width='20' height='45'></td>");
  document.write("    </tr>");
  document.write("  </tbody>");
  document.write("</table>");
  document.close();
}

function headerTagWriteA2610() {
  // header section write
  document.open();
  document.write("<TABLE class='pgInTbl'>");
  document.write("  <TBODY>");
  document.write("    <TR>");
  document.write("      <TD class='headlogo'>");
  document.write("        <p class='HeadCatchSP'>放射線源探査／分析</p>");
  document.write("        <b class='HeadCatchSP'>Ａ２６１０型</b>");
  document.write("      <br>");
  document.write("      </TD>");
  document.write("    </TR>");
  document.write("    <TR>");
  document.write("      <TD class='titlBigSP' align='center'><I>スペクトル・サーベイメータ</I></TD>");
  document.write("    </TR>");
  document.write("    <TR>");
  document.write("      <TD align='right'><IMG class='headlogorightSP' src='/image/logoblack.gif'>クリアパルス株式会社</TD>");
  document.write("    </TR>");  
document.write("  </TBODY>");
  document.write("</TABLE>");
//  document.write("<A><IMG class='headlogo' src='/image/logoblack.gif'>クリアパルス株式会社</A>");
  document.close();
}

// header write Jpn
function headerTagWriteEng(jpnUrl,engUrl) {
  // header section write
  document.open();
  document.write("<TABLE class='pgTbl'>");
  document.write("  <TBODY>");
  document.write("    <TR>");
  document.write("      <TD class='headlogo' rowspan='2'>");
  document.write("        <P class='HeadCatch'>Pioneer of Analog Measurement</P>");
  document.write("      	<A class='headlogo' href='/indexEng.html'><IMG class='headlogo' src='/image/logo.gif'></A>");
  document.write("      </TD>");
  document.write("      <!-- Googleサイト内検索 start -->");
  document.write("      <TD class='ggbar'>");
//  document.write("      <FORM action='http://www.google.com/cse' id='cse-search-box'>");
//  document.write("        <DIV class='ggbarPos'>");
//  document.write("            <input type='hidden' name='cx' value='002601417593890718162:n9uuhjnxkis' />");
//  document.write("            <input type='hidden' name='ie' value='Shift_JIS' />");
//  document.write("            <input type='text' name='q' size='31' />");
//  document.write("            <input type='submit' name='sa' value='Search' />");
//  document.write("        </DIV>");
//  document.write("        </FORM>");
//  document.write("      <SCRIPT type='text/javascript' src='http://www.google.com/coop/cse/brand?form=cse-search-box&lang=ja'></SCRIPT>");
  document.write("      <br><br>");
  document.write("      </TD>");
  document.write("      <!-- Googleサイト内検索 end -->");
  document.write("    </TR>");
  document.write("    <TR>");
  document.write("      <TD>");
  document.write("      <ul id='navLng'>");
  document.write("        <li><A href='" + engUrl + "'>English</A> ｜ </li>");
  document.write("        <li><A href='" + jpnUrl + "'>Japanese</A></li>");
  document.write("      </ul>");
  document.write("      </TD>");
  document.write("    </TR>");
  document.write("  </TBODY>");
  document.write("</TABLE>");
  // menu section write
  document.write("<table class='navTop'>");
  document.write("  <tbody>");
  document.write("    <tr>");
  document.write("      <td class='navTopSide'><img src='/image/btn/menubarSide.png' width='20' height='30'></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/eng/about/index.html'>About Us</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/eng/product/index.html'>Products</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/eng/recruit/index.html'>Employment</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/eng/news/index.html'>News</a></td>");
  document.write("      <td class='navTop'><a class='navTop' href='/etc/indexEng.html'>Contact Us</a></td>");
  document.write("      <td class='navTopSide'><img src='/image/btn/menubarSide.png' width='20' height='30'></td>");
  document.write("    </tr>");
  document.write("  </tbody>");
  document.write("</table>");
  document.close();
}

function newsTagWrite(lngType) {
  document.open();
  document.write("<div class='newTopLCont'>");
  document.write("  <div class='newNav'>");

  if (lngType == "jpn") {
    document.write("  <h2>年 度</h2>");
    document.write("  <ul class='newNl'>");
    document.write("    <li><A href='/jpn/news/index.html'>2011年</A></li>");
    document.write("    <li><A href='/jpn/news/index2010.html'>2010年</A></li>");
    document.write("    <li><A href='/jpn/news/index2009.html'>2009年</A></li>");
    document.write("    <li><A href='/jpn/news/index2008.html'>2008年</A></li>");
    document.write("  </ul>");
  }
  else {
    document.write("  <h2>Fiscal year</h2>");
    document.write("  <ul class='newNl'>");
    document.write("    <li><A href='/eng/news/index.html'>2010</A></li>");
    document.write("    <li><A href='/eng/news/index2009.html'>2009</A></li>");
    document.write("    <li><A href='/eng/news/index2008.html'>2008</A></li>");
    document.write("  </ul>");
  }

  document.write("  <BR><BR><BR><BR>");
  document.write("  </div>");
  document.write("</div>");

  document.close();
}

