<!-- // °øÅëtop¹öÆ°

 self.onError=null;
 currentX = currentY = 0;  
 whichIt = null;           
 lastScrollX = 0; lastScrollY = 0;
 NS = (document.layers) ? 1 : 0;
 IE = (document.all) ? 1: 0;

 function heartBeat() {
  if(IE) { 
     diffY = document.body.scrollTop; 
      diffX = 0; 
         }
     if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
  if(diffY != lastScrollY) {
                 percent = .1 * (diffY - lastScrollY);
                 if(percent > 0) percent = Math.ceil(percent);
                 else percent = Math.floor(percent);
   if(IE) document.getElementById("floater").style.pixelTop += percent;
   if(NS) document.floater.top += percent; 
                 lastScrollY = lastScrollY + percent;
     }
  if(diffX != lastScrollX) {
   percent = .1 * (diffX - lastScrollX);
   if(percent > 0) percent = Math.ceil(percent);
   else percent = Math.floor(percent);
   if(IE) document.getElementById("floater").style.pixelLeft += percent;
   if(NS) document.floater.top += percent;
   lastScrollY = lastScrollY + percent;
  } 
 } 
//-->


function windowo(targetURL,wName,w,h,tscrollbars,matrixL,matrixT,tstatus,resizable,direction,tlocation,tmenubar,ttoolbar,titlebar,fullscreen) {
	var wOption="width="+w+",height="+h;
	if(tscrollbars == null) { wOption = wOption+",scrollbars=no"; } else { wOption = wOption+",scrollbars=yes"; }
	if(matrixL == null) { wOption = wOption+",left=0"; } else { wOption = wOption+",left="+matrixL }
	if(matrixT == null) { wOption = wOption+",top=0"; } else { wOption = wOption+",top="+matrixL }
	wOption = wOption + "status=no, resizable=no,direction=no,location=no,menubar=no,toolbar=no,titlebar=no,fullscreen=no";
	// alert(wOption);
	window.open(targetURL,wName,wOption);
}


/* ½Å±ÔºÐ¿ø ¾È³» °Ô½ÃÆÇ ÆîÄ§ ½ºÅ©¸³Æ® */
function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("maindiv").getElementsByTagName("span"); 
			if(el.style.display != "block"){
					for (var i=0; i<ar.length; i++){
							if (ar[i].className=="submenu") 
							ar[i].style.display = "none";
							if (ar[i].className=="submenu_s") 
							ar[i].style.display = "none";                                
					}
					el.style.display = "block";
			}else{
					el.style.display = "none";
			}
	}
}


/* 14¼¼¹Ì¸¸ ºÎ¸ð´Ô µ¿ÀÇ È¸¿ø°¡ÀÔ½Ã ÅÇ ½ºÆ®¸³Æ® */
	
function tabOver(imgEl,num) {
	if(document.getElementById){
    var basicSrc, imgSrc = new String;
    basicSrc = imgEl.src;
    imgSrc = basicSrc.substring(basicSrc.length-7,basicSrc.length);
    if (imgSrc !== "_on.gif")
    {
      var tabSel = new String();
      tabSel = "tab".concat(num);
      document.images[tabSel].src = "/images/member/tabJoin_0" + num + "_on.gif";

      if (num == 2) {
        document.images["tab1"].src = "/images/member/tabJoin_01_off.gif";
        document.getElementById("LayerWrap02").style.display = "";
        document.getElementById("LayerWrap01").style.display = "none";
		document.frmWrite.opnerType.value=2
      }
      else {
        document.images["tab2"].src = "/images/member/tabJoin_02_off.gif";
        document.getElementById("LayerWrap02").style.display="none";
        document.getElementById("LayerWrap01").style.display = "";
		document.frmWrite.opnerType.value=1
      }
    }
  }
}



function findPos(obj) {
	var left =0, top = 0;
	if (obj.offsetParent) {
		left = obj.offsetLeft
		top = obj.offsetTop
		while (obj = obj.offsetParent) {
			left += obj.offsetLeft
			top += obj.offsetTop
		}
	}
	return {left:left, top:top};
}

function showTooltip1(chk, show){
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='/images/icon/iconBalloon_01.gif' border='0' alt='' />";
	tooltip.style.left = p.left-14+'px';
	tooltip.style.top = offsetTop-38+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip2(chk, show){ 
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='/images/icon/iconBalloon_02.gif' border='0' alt='' />";
	tooltip.style.left = p.left-14+'px';
	tooltip.style.top = offsetTop-38+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip3(chk, show){ 
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='/images/icon/iconBalloon_03.gif' border='0' alt='' />";
	tooltip.style.left = p.left-14+'px';
	tooltip.style.top = offsetTop-38+'px';
	tooltip.style.display = show?"inline":"none";
}

function BdoverColor(td){
td.style.backgroundColor="#EBF9F1";//¸¶¿ì½º°¡ ¿Ã¶ó°¬À»¶§ÀÇ »ö»ó ¼³Á¤
}

function BdoutColor(td){
td.style.backgroundColor="#ffffff";//¸¶¿ì½º°¡ ³»·Á¿ÔÀ»¶§ÀÇ »ö»ó ¼³Á¤
}

//µ¿¿µ»ó js
function movie(val,w,h,t)
{
 document.writeln("<object classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\" width=\""+w+"\" height=\""+h+"\" id=\"MediaPlayer1\" title=\""+t+"\" type=\"application/x-oleobject\">");
 document.writeln("<param name=\"AutoSize\" value=\"0\" />");
 document.writeln("<param name=\"DisplayMode\" value=\"4\" />");
 document.writeln("<param name=\"Enabled\" value=\"true\" />");
 document.writeln("<param name=\"FileName\" value=\""+val+"\" />");
 document.writeln("<param name=\"AutoStart\" value=\"1\" />");
 document.writeln("<param name=\"ShowControls\" value=\"1\" />");
 document.writeln("<param name=\"showpositioncontrols\" value=\"0\" />");
 document.writeln("<param name=\"ShowStatusBar\" value=\"0\" />");
 document.writeln("<param name=\"EnableTracker\" value=\"0\" />");
 document.writeln("<param name=\"ShowTracker\" value=\"0\" />");
 document.writeln("<param name=\"ShowAudioControls\" value=\"1\" />");
 document.writeln("<param name=\"ShowDisplay\" value=\"0\" />");
 document.writeln("</object>");
}

function imageOver(imgEl) {
	imgEl.src = imgEl.src.replace(".gif", "_on.gif");
}
function imageOut(imgEl) {
	imgEl.src = imgEl.src.replace("_on.gif", ".gif");
}

// ÆË¾÷
function open_popup(url, wid, hei, scroll, winName)
{
	var url = url;
	var posi = "width="+ wid +",height="+hei+",toolbar=no,location=no,status=no,menubar=no,top=10,left=50,scrollbars=" + scroll +",resizable=no" ;
	if (winName == "")
	{
		winName = popup;
	}
	window.open(url,winName,posi);
}
function winClose()
{
	window.close();
}

//ÇÃ·¡½Ã js
function flashMovie(p,w,h){
	flashMovie_2(p, w, h, '')
}
function flashMovie_2(p,w,h, code){
	var s_index="";
	var m_flash_movie="";
 	s_index=p;
 	flash_vars = "page_code="+code; 	

	m_flash_movie+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='submenu_flash' name='submenu_flash'>";
	m_flash_movie+="<param name='movie' value="+s_index+">";
	m_flash_movie+="<param name='FlashVars' value='"+flash_vars+"'>";
	m_flash_movie+="<param name='allowScriptAccess' value='always'>";
	m_flash_movie+="<param name='quality' value='high'>";
	m_flash_movie+="<param name='wmode' value='transparent' />";
	m_flash_movie+="<embed src="+s_index+" wmode='transparent'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' allowScriptAccess='always' swLiveConnect=true id='submenu_flash' name='submenu_flash'></embed></object>";	

	document.write(m_flash_movie);
}
function m_topNavi(code , id , name , url , login , num, myBranch){
	var s_index="";
	s_index = "/images/flash/top_navi.swf?basic_path=/branch/include/&page_code="+code+"&userid="+id+"&username="+name+"&ReturnUrl="+url+"&logChk="+login+"&M_num="+num+"&MyBranch="+myBranch;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"895\" height=\"120\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\"allowScriptAccess\" value=\"always\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"895\" height=\"120\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function m_topNavi_test(code , id , name , url , login , num, myBranch){
	var s_index="";
	s_index = "/images/flash/top_navi_test.swf?basic_path=/branch/include/&page_code="+code+"&userid="+id+"&username="+name+"&ReturnUrl="+url+"&logChk="+login+"&M_num="+num+"&MyBranch="+myBranch;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"895\" height=\"120\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\"allowScriptAccess\" value=\"always\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"895\" height=\"120\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function topNavi(code , id , name , url , login , num, myBranch){
	var s_index="";
	s_index="/images/flash/top_navi_sub.swf?basic_path=/branch/include/&page_code="+code+"&userid="+id+"&username="+name+"&ReturnUrl="+url+"&logChk="+login+"&M_num="+num+"&MyBranch="+myBranch;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"695\" height=\"115\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\"allowScriptAccess\" value=\"always\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"695\" height=\"115\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function mainLogo(branchid, branchname){
	var s_index="";
	s_index="/"+branchid+"/images/flash/logo.swf?basic_path=/"+branchid+"/include/&BranchID="+branchid+"&BranchName="+branchname+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"160\" height=\"120\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"160\" height=\"120\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function topNavi_branch(code, id, name, url, login, num, branchid){
	var s_index="";
	s_index="/"+branchid+"/images/flash/top_navi_b.swf?basic_path=/"+branchid+"/include/&page_code="+code+"&userid="+id+"&username="+name+"&ReturnUrl="+url+"&logChk="+login+"&M_num="+num+"&BranchID="+branchid+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"695\" height=\"115\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"695\" height=\"115\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function leftNavi(code, login, num, isviewcode){
	var s_index="";
	s_index="/images/flash/Left_bon.swf?map_path=/images/flash/&basic_path=/branch/include/&page_code="+code+"&logChk="+login+"&M_num="+num+"&strExpose="+isviewcode+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"100%\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"100%\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function leftNavi02(code, login, num, isviewcode){
	var s_index="";
	s_index="/images/flash/Left_bon.swf?map_path=/images/flash/&basic_path=/branch/include/&page_code="+code+"&logChk="+login+"&M_num="+num+"&strExpose="+isviewcode+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"910\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"910\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function leftNavi02_branch(branchid, code, login, num, isviewcode, branchname){
	var s_index="";
	s_index="/" + branchid + "/images/flash/Left_bun.swf?basic_path=/" + branchid + "/include/&page_code="+code+"&BranchID="+branchid+"&logChk="+login+"&M_num="+num+"&strExpose="+isviewcode+"&BranchName="+branchname+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"910\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"910\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function leftNavi03(code){
	var s_index="";
	s_index="/images/flash/Left_bon.swf?basic_path=/branch/include/&page_code="+code+"";
 	
	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"155\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"155\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function leftNavi03_branch(branchid, code, branchname){
	var s_index="";
	s_index="/"+branchid+"/images/flash/Left_bun.swf?basic_path=/"+branchid+"/include/&page_code="+code+"&BranchID="+branchid+"&BranchName="+branchname+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"170\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"170\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function leftNavi_branch(branchid, code, login, num, isviewcode, branchname){
	var s_index="";
	s_index="/" + branchid + "/images/flash/Left_bun.swf?basic_path=/" + branchid + "/include/&page_code="+code+"&BranchID="+branchid+"&logChk="+login+"&M_num="+num+"&strExpose="+isviewcode+"&BranchName="+branchname+"";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"195\" height=\"100%\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");

	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"195\" height=\"100%\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function quick(){
	var s_index="";
	s_index="/images/flash/quick_menu.swf?basic_path=/branch/include/MainNavi.asp&colorChk=1";
 	
	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"70\" height=\"405\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"70\" height=\"405\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function quick_branch(branchid){
	var s_index="";
	s_index="/"+branchid+"/images/flash/quick_menu.swf?basic_path=/"+branchid+"/include/MainNavi.asp&colorChk=2&BranchID=" + branchid;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"70\" height=\"400\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\"70\" height=\"400\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"/images/common/guideMainV.gif\" type=\"/images/gif\">");
	document.writeln("<p><img src=\"/images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function showAction(chk, show, time){
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<div class='action_balloon'>"+time+"</div>";
	tooltip.style.left = p.left-17+'px';
	tooltip.style.top = offsetTop-38+'px';
	tooltip.style.display = show?"inline":"none";
}
function ClickLogo(url) {
	window.location = "/" + url;
}

function faq_view(val) {
	for (i=1; i<=4; i++) {
		if (i == val)
			eval("faq_"+i+".style.display='';q_"+i+".style.fontWeight='bold'");
		else
			eval("faq_"+i+".style.display='none';q_"+i+".style.fontWeight='normal'");
	}
}

function elSwf(p,w,h){
	var m_flash_movie="";

	m_flash_movie+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='sgsg'>";
	m_flash_movie+="<param name='movie' value='"+p+"'>";
	m_flash_movie+="<param name='allowScriptAccess' value='always'>";
	m_flash_movie+="<param name='quality' value='high'>";
	m_flash_movie+="<param name='wmode' value='transparent' />";	
	m_flash_movie+="<embed src='"+p+"' wmode='transparent'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' allowScriptAccess='always' swLiveConnect='true' name='sgsg'></embed></object>";	

	document.write(m_flash_movie);
}

function flashMovie_id(p,w,h,id){
	var s_index="";
	var m_flash_movie="";
 	s_index=p;

	m_flash_movie+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"'>";
	m_flash_movie+="<param name='movie' value='"+s_index+"'>";
	m_flash_movie+="<param name='allowScriptAccess' value='always'>";
	m_flash_movie+="<param name='quality' value='high'>";
	m_flash_movie+="<param name='wmode' value='transparent' />";
	m_flash_movie+="<embed src="+s_index+" wmode='transparent'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' allowScriptAccess='always' swLiveConnect=true name='"+id+"'></embed></object>";	

	document.write(m_flash_movie);
}

function flashlink(strLink){
	location.href = strLink;
}
