/*
doc0 : È£ÃâÇÒ ÇÁ·¹ÀÓ ÆÄÀÏ¸í
doc1 : top ÆÄÀÏ¸í
doc2 : body ÆÄÀÏ¸í
*/

function goPopUp(doc0, doc1, doc2) {
	var xy = ',top=' + Math.floor((screen.availHeight - 700)/2 + (screen.height-screen.availHeight)) + ',left=' + Math.floor((screen.availWidth - 710)/2);
	window.open(''+doc0+'?toplink='+doc1+"&bodylink="+doc2,'mov','width=650,height=650,status=no,menubars=no,toolbars=no,resizable=yes,scrollbars=yes,location=no,dependent=1'+xy);
}

function goPopUp1(doc0, doc1, doc2) {
	var xy = ',top=' + Math.floor((screen.availHeight - 700)/2 + (screen.height-screen.availHeight)) + ',left=' + Math.floor((screen.availWidth - 710)/2);
	window.open(''+doc0+'&toplink='+doc1+"&bodylink="+doc2,'mov','width=632,height=650,status=no,menubars=no,toolbars=no,resizable=no,scrollbars=yes,location=no,dependent=1'+xy);
}

function goBankHelp(a) {
	var tmp_a = a.substring(a.lastIndexOf("/")+1,a.lastIndexOf("."));
	var tmp_gbn="";
	var width="";
	tmp_gbn=tmp_a.substring(0,2);
	if(tmp_gbn=="wb") {
		width="660";
	} else {
		width="660";
	}
	window.open('/com/bankhelp/bankhelp_frame.jsp?toplink='+a,'mov','width='+width+',height=650,status=no,menubars=no,toolbars=no,resizable=yes,scrollbars=yes,location=no,dependent=1,top=10,left=10')
}

/***********************************************************************
 * ÀÛ¼ºÀÏ     : 2004.04.01
 * ¾÷  ¹«     : ¼¼±Ý°ø°ú±Ý
 * ÀÛ¾÷ÀÚ     : , (ÁÖ)ÀÌÁö½ºÈ¿¼º
 **********************************************************************/
function goTaxBankHelp(a, b) {
	window.open('/com/bankhelp/bankhelp_frame.jsp?toplink='+a+'&sitelink='+b,'mov','width=642,height=650,status=no,menubars=no,toolbars=no,resizable=no,scrollbars=yes,location=no,dependent=1,top=10,left=10')
}



/***********************************************************************
 * ÀÛ¼ºÀÏ     : 2004.03.24
 * ¾÷  ¹«     : °³ÀÎ pib_main.jsp ÀÎÅÍ³Ý¹ðÅ· ÀÌ¿ë¾È³»
 * ÀÛ¾÷ÀÚ     : ÀÌÁ¾¹Î, (ÁÖ)À¥ÄÉ½Ã
 **********************************************************************/
function goPopUpPibMain(retUrl) {
	retUrl=retUrl+'&redraw=no';
	var xy = ',top=' + Math.floor((screen.availHeight - 700)/2 + (screen.height-screen.availHeight)) + ',left=' + Math.floor((screen.availWidth - 780/2));
	window.open(retUrl,'mov','width=632,height=650,status=no,menubars=no,toolbars=no,resizable=no,scrollbars=yes,location=no,dependent=1'+xy);
}