document.write("<script type='text/javascript' src='/include/js/menu_navi.js'></script>");	//gnb/lnb 플래쉬 활성화 / line Map 동시컨트롤



/* 컨텐츠 안의 falsh 스크립트 */
function Swf_View(URL,SizeX,SizeY,LnkId,Frm,Flag) 
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
    document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write('width="'+SizeX+'" height="'+SizeY+'" id="'+LnkId+'" align="middle">');
    document.write('<param name="movie" value="'+URL+'" />');
    document.write('<param name="quality" value="high" />');
    if ( Flag == null || Flag != 'N' )
    {
        document.write('<param name="wmode" value="transparent"/>');
    }
 document.write('<param name="allowScriptAccess" value="always"/> ');
 document.write('<param name="base" value="." />');
    document.write('<embed base="." src="'+URL+'" quality="high" width="'+SizeX+'" height="'+SizeY+'"  align="middle" ');
  if ( Flag == null || Flag != 'N' )
    {
        document.write(' wmode="transparent" ');
    }
    document.write('type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" swLiveConnect=true name="'+LnkId+'"  />');
    document.write('</embed></object>');
 if ( Frm == 'Y' ) { // form 태그 들어가는 페이지에 적용
  eval("window." + LnkId + " = document.forms[0]."+ LnkId +"; ");
 }
}


/* 컨텐츠 안의 falsh 스크립트 */
function Swf_View_https(URL,SizeX,SizeY,LnkId,Frm,Flag) 
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
    document.write('codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write('width="'+SizeX+'" height="'+SizeY+'" id="'+LnkId+'" align="middle">');
    document.write('<param name="movie" value="'+URL+'" />');
    document.write('<param name="quality" value="high" />');
    if ( Flag == null || Flag != 'N' )
    {
        document.write('<param name="wmode" value="transparent"/>');
    }
 document.write('<param name="allowScriptAccess" value="always"/> ');
 document.write('<param name="base" value="." />');
    document.write('<embed base="." src="'+URL+'" quality="high" width="'+SizeX+'" height="'+SizeY+'"  align="middle" ');
  if ( Flag == null || Flag != 'N' )
    {
        document.write(' wmode="transparent" ');
    }
    document.write('type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" swLiveConnect=true name="'+LnkId+'"  />');
    document.write('</embed></object>');
 if ( Frm == 'Y' ) { // form 태그 들어가는 페이지에 적용
  eval("window." + LnkId + " = document.forms[0]."+ LnkId +"; ");
 }
}

//팝업띄우기(스크롤없는거) javascript:popsn('url','pop','500','500');
function popsn(url,trgt,w,h) {
	window.open(url,trgt,'width='+w+',height='+h+',scrollbars=no,resizable=no,copyhistory=no,toolbar=no');
}
//팝업띄우기(스크롤있는거) javascript:popsn01('url','pop','500','500','yes');
function popsn01(url,trgt,w,h,q) {
	window.open(url,trgt,'width='+w+',height='+h+',scrollbars='+q+',resizable=no,copyhistory=no,toolbar=no');
}


function showLayer(id) {
	var obj = document.getElementById(id);
		obj.style.display = "block";
}
function hideLayer(id) {
	var obj = document.getElementById(id);
		obj.style.display = "none";
}

// png
function setPng24(obj) {
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bpng24\b/i,'');

	obj.style.filter =

	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	//obj.src=''; 
	return '';
}

// RollOver
function ImageOver(imgEL){
 imgEL.src = imgEL.src.replace("off.gif", "on.gif");
}
function ImageOut(imgEL){
 imgEL.src = imgEL.src.replace("on.gif", "off.gif");
}

// div 바뀌기 tab change
function div_change(n) {
	for(i = 1; i <= 2; i++){
		div_area = document.getElementById("tab0"+i);
		if(i == n){   
			div_area.style.display ="block";   
		}else{
			div_area.style.display ="none";
		}
	}
}

function div_carlen(n) {
	for(i = 1; i <= 2; i++){
		div_month = document.getElementById("m_img"+i);
		div_calen = document.getElementById("carlen"+i);		
		if(i == n){   
			div_month.style.display ="block";   
			div_calen.style.display ="block";			

		}else{
			div_month.style.display ="none";   
			div_calen.style.display ="none";		
		}
	}
}

function div_tabch(n) {
	for(i = 1; i <= 3; i++){
		div_con = document.getElementById("con"+i);
		if(i == n){   
			div_con.style.display ="block";

		}else{
			div_con.style.display ="none";
		}
	}
}


/* popup */
function Popup()
{
	var a = window.open('/popup/G20.html','g20','width=330,height=300,scrollbars=no,left=0,top=0');
	a.focus();
}
