﻿/******** bbo *********/
function KT_subwin(theURL){
  window.open(theURL,'subwindow');
}
function KT_miniwin(theURL,theSize){
  window.open(theURL,'miniwin','menubar=no,status=yes,scrollbars=yes,resizable=yes,'+theSize);
}
function KT_miniwin2(theURL,theSize){
  window.open(theURL,'miniwin2','menubar=no,toolbar=no,status=yes,location=yes,scrollbars=yes,resizable=yes,'+theSize);
}
function KT_miniwin3(theURL,theSize){
  window.open(theURL,'miniwin3','menubar=no,toolbar=no,status=yes,location=yes,scrollbars=yes,resizable=yes,'+theSize);
}
function KT_miniwin4(theURL,theSize){
  window.open(theURL,'miniwin4','menubar=yes,toolbar=no,status=yes,scrollbars=yes,resizable=yes,'+theSize);
}
function KT_miniwinTo(theURL,winName,theSize){
  window.open(theURL,winName,'scrollbars=yes,resizable=yes,'+theSize);
}

function KT_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

function focusColor(i){
	i.style.borderColor='#737377';
	i.style.backgroundColor='#FFFFFF';
}

function blurColor(i){
	i.style.borderColor='#AAAAAF';
	i.style.backgroundColor='#FFFFE3';
}

window.focus();

function KT_disp() { //v2.0
 maptest.style.display="block";
}

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";
   }
}

/**********************/
function showmap1() {
	hidemap2();
	hidemap3();
   if(document.all) {
      document.all("answer1").style.display = "block";
      document.all("sw1a").style.display = "none";
      document.all("sw1b").style.display = "inline";
   } else if(document.getElementById) {
      document.getElementById("answer1").style.display = "block";
      document.getElementById("sw1a").style.display = "none";
      document.getElementById("sw1b").style.display = "inline";
   }
}
function hidemap1() {
   if(document.all) {
      document.all("answer1").style.display = "none";
      document.all("sw1a").style.display = "inline";
      document.all("sw1b").style.display = "none";
   } else if(document.getElementById) {
      document.getElementById("answer1").style.display = "none";
      document.getElementById("sw1a").style.display = "inline";
      document.getElementById("sw1b").style.display = "none";
   }
}
function showmap2() {
	hidemap1();
	hidemap3();
   if(document.all) {
      document.all("answer2").style.display = "block";
      document.all("sw2a").style.display = "none";
      document.all("sw2b").style.display = "inline";
   } else if(document.getElementById) {
      document.getElementById("answer2").style.display = "block";
      document.getElementById("sw2a").style.display = "none";
      document.getElementById("sw2b").style.display = "inline";
   }
}
function hidemap2() {
   if(document.all) {
      document.all("answer2").style.display = "none";
      document.all("sw2a").style.display = "inline";
      document.all("sw2b").style.display = "none";
   } else if(document.getElementById) {
      document.getElementById("answer2").style.display = "none";
      document.getElementById("sw2a").style.display = "inline";
      document.getElementById("sw2b").style.display = "none";
   }
}
function showmap3() {
	hidemap1();
	hidemap2();
   if(document.all) {
      document.all("answer3").style.display = "block";
      document.all("sw3a").style.display = "none";
      document.all("sw3b").style.display = "inline";
   } else if(document.getElementById) {
      document.getElementById("answer3").style.display = "block";
      document.getElementById("sw3a").style.display = "none";
      document.getElementById("sw3b").style.display = "inline";
   }
}
function hidemap3() {
   if(document.all) {
      document.all("answer3").style.display = "none";
      document.all("sw3a").style.display = "inline";
      document.all("sw3b").style.display = "none";
   } else if(document.getElementById) {
      document.getElementById("answer3").style.display = "none";
      document.getElementById("sw3a").style.display = "inline";
      document.getElementById("sw3b").style.display = "none";
   }
}





