// Image Rollover
function ChgImg(name,img){
	var imgUrl = "/img/"
	name.src = imgUrl + img;
}

// Image Rollover
function imageOver(imgid) {
	imgid.src = imgid.src.replace(".gif", "_on.gif");
}
function imageOut(imgid) {
	imgid.src = imgid.src.replace("_on.gif", ".gif");
}

// ÅÇ¸Þ´º °ü·Ã ½ºÅ©¸³Æ® ------------------------------ 060308 ÀÌ¿ø¿µ Ãß°¡ 
function tab_button(val,n) {
for(var i = 1; i <= n; i++) {
		if (i != val) {
			document.all['tab_'+ i].style.display = "none";
		} else {
			document.all['tab_'+ i].style.display = "block";
		}
	}
}

// ÅÇ¸Þ´º °ü·Ã ½ºÅ©¸³Æ® ------------------------------ 060314 À¯¸®³ª Ãß°¡ 
function tab_button02(val,n) {
for(var i = 1; i <= n; i++) {
		if (i != val) {
			document.all['tab02_'+ i].style.display = "none";
		} else {
			document.all['tab02_'+ i].style.display = "block";
		}
	}
}

// ÅÇ¸Þ´º °ü·Ã ½ºÅ©¸³Æ® ------------------------------ 070731 ÀåÀ±Çü Ãß°¡ 
function tab_button03(val,n) {
for(var i = 1; i <= n; i++) {
		if (i != val) {
			document.all['tab03_'+ i].style.display = "none";
		} else {
			document.all['tab03_'+ i].style.display = "block";
		}
	}
}


// ÅÇ¸Þ´º °ü·Ã ½ºÅ©¸³Æ® ------------------------------ 070731 ÀåÀ±Çü Ãß°¡ 
function tab_button04(val,n) {
for(var i = 1; i <= n; i++) {
		if (i != val) {
			document.all['tab04_'+ i].style.display = "none";
		} else {
			document.all['tab04_'+ i].style.display = "block";
		}
	}
}



// ÇÁ·¹ÀÓ¹Ù²Ù±â
function ChgFrames(bankGubn,url) {
	site = "http://t" + bankGubn + "bank.pusanbank.co.kr" ;
	top.location.href = site ;
	top.document.all.mainFrame.location.href = site + url ;
	a = top.document.all.mainFrame.location.href ;
	alert (a);
}


// 00_°øÅë ----------------------------------------------------------------------------------------------------------------------------- //

// [ÆË¾÷] °Ô½ÃÆÇ ³»¿ëÀÎ¼âÇÏ±â
function pop_print(url) { 
	window.open(url,'print','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=755,height=600,top=100,left=100'); 
}

// [ÆË¾÷] ÁöÁ¡¾È³»
function pop_branch() { 
	window.open('http://www.cybermap.co.kr/cm2000/company2/busanbank2/jijum_pop.html','rate03','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=720,height=600,top=100,left=100'); 
}

// [ÆË¾÷] °³ÀÎÁ¤º¸º¸È£¹æÄ§ÆË¾÷
function pop_individualinfo() { 
	window.open('/etc/individualinfo/individualinfo.aspx','individualinfo','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=698,height=600,top=100,left=100'); 
}

// [ÆË¾÷] ½Å¿ëÁ¤º¸ Á¦°øÈ°¿ë¿¡ ´ëÇÑ °í°´ ±Ç¸® ¾È³»¹®
function pop_info() { 
	window.open('/etc/info/info.aspx','individualinfo','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=698,height=600,top=100,left=100'); 
}

// [ÆË¾÷][LP] ±ÝÀ¶°è»ê±â
function pop_money() { 
	window.open('/WEBF/WEBF090100_i.aspx','money','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][LP] ºü¸¥¼­ºñ½º
function pop_quick(url) {
	url = "/login/secure_load01_pop.aspx?goPage=" + url;
	window.open(url,'quick','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}
// [ÆË¾÷][LP] ºü¸¥¼­ºñ½º
function pop_quick2() { 
	url = "/online/QSR/QSR0101020_i.aspx";
	url = "/login/secure_load01_pop.aspx?goPage=" + url;
	window.open(url,'quick','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}
// [ÆË¾÷][LP] ºü¸¥¼­ºñ½º(·Î±×ÀÎÃ¼Å©)
function pop_quick_chk(url) {
	url = "/login/Login_chk_pop.aspx?goPage=" + url;
	window.open(url,'quick','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ¿¹±Ý°è»ê±â
function pop_depcal() { 
	window.open('/WEBF/WEBF090100_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ½ÅÅ¹°è»ê±â
function pop_trucal() { 
	window.open('/WEBF/WEBF090200_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ´ëÃâ°è»ê±â
function pop_loancal() { 
	window.open('/WEBF/WEBF090300_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ½Å¿ëÄ«µå°è»ê±â
function pop_cardcal() { 
	window.open('/WEBF/WEBF090400_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ¿ÜÈ¯°è»ê±â
function pop_forecal() { 
	window.open('/WEBF/WEBF090500_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}
// [ÆË¾÷][RP] ±ÝÀ¶°è»ê±â > ÁÖÅÃ´ãº¸´ëÃâ ÀÌÀÚ°è»ê±â
function pop_house() { 
	window.open('/WEBF/WEBF090801_i.aspx','cal','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=700,height=600,top=100,left=100'); 
}

// 01_°³ÀÎ°í°´ ------------------------------------------------------------------------------------------------------------------------- //

// [ÆË¾÷] ±Ý¸®¾È³»_¸¸±âÁö±ÞÀÌÀ²
function pop_rate01() { 
	window.open('/customer/rate/interest/receiptexpiration/pop_rate01.aspx','rate01','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=755,height=600,top=100,left=100'); 
}

// [ÆË¾÷] ±Ý¸®¾È³»_ÁßµµÇØÁöÀÌÀ²
function pop_rate02() { 
	window.open('/customer/rate/interest/receiptcancel/pop_rate02.aspx','rate02','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=755,height=600,top=100,left=100'); 
}

// [ÆË¾÷] ±Ý¸®¾È³»_¸¸±âÈÄÀÌÀ²
function pop_rate03() { 
	window.open('/customer/rate/interest/receiptexpirationafter/pop_rate03.aspx','rate03','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=755,height=600,top=100,left=100'); 
}

// [ÆË¾÷][RP] ¿ÜÈ¯ > È¯À²¿ì´ëÄíÆù
function pop_cupon() { 
	window.open('/WEBF/WEBF090600_i.aspx','print','scrollbars=no,toolbar=no,status=no,resizable=no,copyhistory=no,width=650,height=430,top=100,left=100'); 
}


// 02_±â¾÷°í°´ ------------------------------------------------------------------------------------------------------------------------- //


// 03_ÀÚ»ê°ü¸® ------------------------------------------------------------------------------------------------------------------------- //

// [ÆË¾÷] ÀçÅ×Å©_±ÝÀ¶°è»ê±â
function pop_fin01(URL) { 
	window.open(URL,'fin01','scrollbars=yes,toolbar=no,status=no,resizable=no,copyhistory=no,width=810,height=530,top=100,left=100'); 
}

// 04_ÀºÇà¼Ò°³ ------------------------------------------------------------------------------------------------------------------------- //

// [ÆË¾÷] ÀºÇà¼Ò°³ > ÀºÇà¼Ò½Ä > ±¤°íÀÚ·á - ÀÌ¹ÌÁöº¸±â
function pop_adview(url) { 
	window.open(url,'adview','scrollbars=no,toolbar=no,status=no,resizable=no,copyhistory=no,width=680,height=600,top=100,left=100'); 
}


// 05_°í°´¼¾ÅÍ ------------------------------------------------------------------------------------------------------------------------- //



// 06_±ÝÀ¶»óÇ°¸ô ----------------------------------------------------------------------------------------------------------------------- //



// 07_ENGLISH -------------------------------------------------------------------------------------------------------------------------- //


// ¸¶¿ì½º¿Â¿À¹ö½Ã »óÅÂ¹Ù¿¡ ¸µÅ©¾Èº¸ÀÌ±â
var statusMsg = "ºÎ»êÀºÇà È¨ÆäÀÌÁö";
function hidestatus()
{
	//window.status=statusMsg;
	return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

// ¸¶¿ì½º¿À¹ö½Ã »óÅÂ¹Ù¿¡ ¹®ÀÚ»Ñ·ÁÁÖ±â
function hideURL()
{
	window.status = statusMsg;
	timerID = setTimeout("hideURL()",100);
}
//hideURL();

// ¿À¸¥ÂÊ ¸¶¿ì½º ¸·±â
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 1;
if(isNS) document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);

function mischandler()
{
  if(EnableRightClick==1){ return true; }
  else {return false; }
}

function mousehandler(e)
{
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}

function keyhandler(e) 
{
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}

//document.oncontextmenu = mischandler;
//document.onkeypress = keyhandler;
//document.onmousedown = mousehandler;
//document.onmouseup = mousehandler;


// CMS°ü¸® ÆË¾÷ ½ºÅ©¸³Æ® ------------------------------ 060614 ³²¿µ¾Ö Ãß°¡ 
function popups(page,name,x,y,a,b){
    opt = "toolbar=no,alwaysRaised=no,location=no,status=no,menubar=no,scrollbars=auto,width="+x+",height="+y+",resizable=no,hotkey=no,dependent=no,screenX=0,screenY=0, top="+a+", left="+b+""
    window.open(page,name,opt)
    }
    
// »õÃ¢ ¿©´Â ÇÔ¼ö - scrollbars ÀÖ½¿ ------------------------------ 060619 ±è¿¬Á¤ Ãß°¡
function uf_newWin( url, winName)
{
	opt = ",toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes";
	winName = window.open(url, winName, opt );
}

// erms ¾ÆÀÌÇÁ·¹ÀÓ ¸®»çÀÌÁî¸¦ À§ÇÑ ÇÔ¼ö ----------- 20061220 ½ºÆåÆ®¶ó ±èÇö°ï
function frameResize(name,width,height){
	var oIFrame = document.getElementById(name);
	oIFrame.style.height = height;
	oIFrame.style.width = width;
}







