<!--
function update(form)
{//default is 0; what loads is determined by OPTION SELECTED VALUE
var formindex=form.thislocation.selectedIndex;
parent.location = form.thislocation.options[formindex].value;
}
function logout()
{
	document.location.href="/banking/index.jsp";
}
function checkformsimp(){
	if(document.frmsimpsrch.query.value == ""){
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.");
                            document.frmsimpsrch.query.focus();
		return false;
	}
}
function GoMenu(name, win, features) {	
  if (eval(name) == "") {
		alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		return;	
	} else {
     if (features == null) {
        if (win == null) {
			    document.location.href = eval(name);
	    } else {
			    window.open(eval(name), win);
     }
     } else {
	window.open(eval(name), win, features);
	}
    }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function win(src)
{
	window.open(src,"cal",'menubar=0,resizable=0,scrollbars=no,width=680, height=575, left=0, top=0');
}
function CertPage() {
	window.open("http://kjbank.banktown.com/activex/iWalletFrame.html", "CA", "width=500, height=550");
}

function go_simple(str){
        document.newopen.next_open_page.value = str;
		/*
		if( self.newWin && !newWin.closed ) {
			newWin.iWallet.isMovePage=true;
			newWin.focus();
		} else {
			newWin=window.open("", "newopen", "width=700,height=450,top=30,left=150,scrollbars=yes");
		}*/
		window.open("", "newopen", "width=700,height=450,top=30,left=150,scrollbars=yes");

        document.newopen.target = "newopen";
        document.newopen.submit();
}
var simplewin = null
var str = "" 
var url = ""
function go_simple1(){
		this.str = document.simple.selSite.options[document.simple.selSite.selectedIndex].value;
	if( str != '' ) {
		
		if(simplewin != null) {
		  simplewin.close();
		  
		  setTimeout('dowin()',1000)
		  }
		  else {
		  dowin();
		  }
	}
}
function go_up(str){
        window.open('', 'upopen', 'width=700,height=450,top=100,left=400,scrollbars=yes');
        document.upopen.up_open_page.value = str;
        document.upopen.target = "upopen";
        document.upopen.submit();
}

function dowin() {
	  simplewin=window.open('', 'newopen', 'width=700,height=450,top=30,left=150,scrollbars=yes, resizable=yes');
	  document.newopen.next_open_page.value = str;
      document.newopen.target = "newopen";
      document.newopen.submit();
}
function tab1() {
	document.img1.src='/banking/images/btn_small_01_on.gif';
	document.img2.src='/banking/images/btn_small_02.gif';
	document.img3.src='/banking/images/btn_small_03.gif';
	span_img1.style.visibility='visible';
	span_img2.style.visibility='hidden';
	span_img3.style.visibility="hidden";
}
function tab2() {
	 document.img1.src='/banking/images/btn_small_01.gif';
	 document.img2.src='/banking/images/btn_small_02_on.gif';
	 document.img3.src='/banking/images/btn_small_03.gif';
	 span_img1.style.visibility='hidden';
	 span_img2.style.visibility='visible';
	 span_img3.style.visibility="hidden";
}
function tab3() {
	 document.img1.src='/banking/images/btn_small_01.gif';
	 document.img2.src='/banking/images/btn_small_02.gif';
	 document.img3.src='/banking/images/btn_small_03_on.gif';
	 span_img1.style.visibility='hidden';
	 span_img2.style.visibility='hidden';
	 span_img3.style.visibility="visible";
}
function go_quick(top,left,body){
	document.next_page.next_top_page.value = top;
	document.next_page.next_left_page.value = left;
	document.next_page.next_body_page.value = body;

	document.next_page.submit();
}
function go_quick2(category,link)
{
	document.go_quick2.action="/banking/"+category+"/"+link+".jsp";
	document.go_quick2.submit();	
}			
function GoPop(name) {	
	if (eval(name) == "") {
		alert("ÆäÀÌÁö¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		return;	
	} else {
		document.location.href = eval(name);
    } 
}
function goSite1()
{  
	window.open(document.fmSite1.selSite1.value,"_new","screenX=10,screenY=10,menubar=yes,toolbar=yes,location=yes");
}
function pfmDemo(demoNo)  {
	demoUrl = "/banking/personal/pfmDemo" + demoNo + ".html";

	popWindow =  window.open(demoUrl,'popup','top=5,left=5,width=749,height=528,toolbar=no,status=no,directories=no,scrollbars=no,location=no,resizable=no,menubar=no');
}
function go_familysite(form){

	var formindex=form.selectedIndex;

	if ( formindex != 0 )
	{
		window.open(form.options[formindex].value,'_blank','screenX=10,screenY=10,menubar=yes,toolbar=yes,location=yes');
	}
	
}
function go_search(query){

	if (query == null || query == "" )
	{
			alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿À.");
	} else {
		document.searchForm.query.value = query;
		document.searchForm.submit();
	}
	
}

function getkey(e) {
	key = event.keyCode; //e.which; 
	tname = event.srcElement.name;  //e.target.name;  
	if(key == 13) {
		if(tname == "query_t"){
			go_search(document.all.query_t.value);
			return false;
		}
    }
}
  document.onkeyup = getkey;
//ÄíÅ°°ªÀ» °¡Á®¿À´Â ÇÔ¼ö
function getCookie(name) {
   var from_idx = document.cookie.indexOf(name+'=');
   if (from_idx != -1) { 
      from_idx += name.length + 1
      to_idx = document.cookie.indexOf(';', from_idx) 

      if (to_idx == -1) {
            to_idx = document.cookie.length
      }
      return unescape(document.cookie.substring(from_idx, to_idx))
   }
   else return null;
}
var quickform="<form name=next_page method=post action='http://banking.kjbank.com/cgi-kjbank/get_document?O=iWalletFrame_quick' target='_top'>" +
	      "<input type=hidden name=next_top_page>" +
              "<input type=hidden name=next_left_page>" +
              "<input type=hidden name=next_body_page>" +
              "</form>" +
              "<form name=newopen method=post action='http://banking.kjbank.com/cgi-kjbank/get_document?O=iWalletFrame_simple'>" +
              "<input type=hidden name=next_open_page>"+
              "</form>" +
              "<form name=upopen method=post action='http://banking.kjbank.com/cgi-kjbank/get_document?O=iWalletFrame_up'>" +
              "<input type=hidden name=up_open_page>" +
              "</form>" +
              "<form name=go_quick2 method=post action=''>" +
              "</form>" +
              "<link rel='SHORTCUT ICON' href='/banking/images/kjbank.ico'>"
document.write(quickform);


//-->



