
function ow(html) {
if (html != "") {
w = window.open(html, "win1", "top=20,left=20,width=680,height=550,scrollbars=yes,resizable=yes");
w.focus();
return false;
}
}


function eraseTA(obj){
if (obj.value == obj.defaultValue) obj.value = "";
}



(function(onLoad) {
    try {
        window.addEventListener('load', onLoad, false);
    }
catch (e) {
        window.attachEvent('onload', onLoad);
    }
})

(function() {
  var tags = ["img","input"];
  for( var i=0, len=tags.length; i<len; i++ ) {
    var over = function() { this.src = this.src.replace('_out.', '_over.'); };
    var out  = function() { this.src = this.src.replace('_over.', '_out.'); };
    var el = document.getElementsByTagName(tags[i]);
    for (var j=0, len2=el.length; j<len2; j++) {
      var attr = el[j].getAttribute('src');
      if (!el[j].src.match(/_out\./)&&attr) continue;
      el[j].onmouseover = over;
      el[j].onmouseout  = out;
    }
  }
});

function knewmenujsAdv() {
  m = 0, x = 0, y = 0;
  ad  = new Array();
  adv = new Array();
  hit = new Array();

  hit[0] = 1; adv[0] = '<a href="../index.html"><img src="../img/innovative-process_out.jpg" width="80" height="68" border="0" alt="電子材料関連"></a><a href="../finepattern/index.html"><img src="../img/k-new-menu3_out.jpg" width="80" height="83" border="0" alt="ファインパターン回路形成用レジストシステム"></a><a href="../solder/index.html"><img src="../img/solder_out.jpg" width="80" height="83" border="0" alt="ソルダーレジスト層形成技術"></a><a href="../finepattern/photoresist.htm"><img src="../img/k-new-menu5_out.jpg" width="80" height="105" border="0" alt="ファインパターン回路形成用感光性レジスト付き基板材料"></a><a href="../self-alignment/index.html"><img src="../img/k-new-menu6_out.jpg" width="80" height="70" border="0" alt="セルフアライメント樹脂層形成技術"></a><a href="../leaderboard/index.html"><img src="../img/k-new-menu7_out.jpg" width="80" height="35" border="0" alt="先行板"></a><a href="../bindingtape/index.html"><img src="../img/k-new-menu8_out.jpg" width="80" height="60" border="0" alt="プリント基板接合テープ"></a><a href="../emulsionmask/index.html"><img src="../img/k-new-menu9_out.jpg" width="80" height="83" border="0" alt="エマルジョンマスク用自動現像機"></a>';
  hit[1] = 0; adv[1] = '<a href="../index.html"><img src="../img/innovative-process_out.jpg" width="80" height="68" border="0" alt="電子材料関連"></a><a href="../finepattern/index.html"><img src="../img/k-new-menu3_out.jpg" width="80" height="83" border="0" alt="ファインパターン回路形成用レジストシステム"></a><a href="../solder/index.html"><img src="../img/solder_out.jpg" width="80" height="83" border="0" alt="ソルダーレジスト層形成技術"></a><a href="../finepattern/photoresist.htm"><img src="../img/k-new-menu5_out.jpg" width="80" height="105" border="0" alt="ファインパターン回路形成用感光性レジスト付き基板材料"></a><a href="../self-alignment/index.html"><img src="../img/k-new-menu6_out.jpg" width="80" height="70" border="0" alt="セルフアライメント樹脂層形成技術"></a><a href="../leaderboard/index.html"><img src="../img/k-new-menu7_out.jpg" width="80" height="35" border="0" alt="先行板"></a><a href="../bindingtape/index.html"><img src="../img/k-new-menu8_out.jpg" width="80" height="60" border="0" alt="プリント基板接合テープ"></a><a href="../emulsionmask/index.html"><img src="../img/k-new-menu9_out.jpg" width="80" height="83" border="0" alt="エマルジョンマスク用自動現像機"></a>';


  for(i=0; i<=hit.length - 1; i++) {
    m += hit[i];
  }
  n = Math.floor(Math.random() * m);
  n++;
  for(i=0; i<=hit.length - 1; i++) {
    x = y;
    y += hit[i];
    if(x<n && n<=y) ad = adv[i];
  }
  document.write(ad);
}