/******** idsite *********/
function KT_subwin(theURL){
  window.open(theURL,'subwindow');
}
function KT_bizwin(theURL){
  window.open(theURL,'bizwindow');
}
function KT_mainwin(theURL){
  window.open(theURL,'idsite');
}
function KT_miniwin(theURL,theSize){
  window.open(theURL,'miniwin','menubar=yes,scrollbars=yes,resizable=yes,status=yes,'+theSize);
}
function KT_miniwin2(theURL,theSize){
  window.open(theURL,'miniwinB','menubar=no,scrollbars=yes,resizable=yes,'+theSize);
}
function KT_miniwinTo(theURL,winName,theSize){
  window.open(theURL,winName,'menubar=no,scrollbars=yes,toolbar=no,location=yes,resizable=yes,status=yes,'+theSize);
}
function KT_fullwin(theURL){
  window.open(theURL,'fullwin','menubar=no,scrollbars=yes,resizable=yes,');
}
//--------------------------------------
function historyback() {
	history.back();
}
//--------------------------------------
window.focus();
//=======================================
function showpara(num) {
   if(document.all) {
      document.all("answer" + num).style.display = "block";
      document.all("sw" + num + "a").style.display = "none";
      document.all("sw" + num + "b").style.display = "inline";
   } else if(document.getElementById) {
      document.getElementById("answer" + num).style.display = "block";
      document.getElementById("sw" + num + "a").style.display = "none";
      document.getElementById("sw" + num + "b").style.display = "inline";
   }
   
}
function hidepara(num) {
   if(document.all) {
      document.all("answer" + num).style.display = "none";
      document.all("sw" + num + "a").style.display = "inline";
      document.all("sw" + num + "b").style.display = "none";
   } else if(document.getElementById) {
      document.getElementById("answer" + num).style.display = "none";
      document.getElementById("sw" + num + "a").style.display = "inline";
      document.getElementById("sw" + num + "b").style.display = "none";
   }
}

//--------------------------------------スクロールしてページtopへ
var goTopMove = 8; // 加速度（0:停止〜大きいほど遅くなる）
function goTopKT() { // 距離取得と実行
	var yPos = document.body.scrollTop || document.documentElement.scrollTop;
	mObj(yPos);
	return false;
}
function mObj(y, s) { // 上に加速移動
	if (s) goTopMove = s;
	goTopPosi = parseInt(y - y * 2 / goTopMove);
	scrollTo(0, goTopPosi);
	if (goTopPosi > 0) setTimeout('mObj(goTopPosi, goTopMove)', 1);
}
//=======================================




