/* ÄíÅ° °¡Á®¿À±â */
function getCookie(varname) {
	varname += "=";
	startpos	= document.cookie.indexOf(varname);

	if	(startpos >= 0) {
		startpos += varname.length;
		endpos = document.cookie.indexOf(";", startpos);
		if (endpos == -1) endpos = document.cookie.length;
		return unescape(document.cookie.substring(startpos, endpos));
	}
}

/* ÄíÅ° ¼³Á¤ÇÏ±â */
function setCookie( name, value, expiredays ) {
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + "; domain=.hankyung.com;"
}


/* Å×ÀÌºí ¿ä¼Ò ¹è°æ»ö»ó ¹Ù²Ù±â */
function sbar (st,col) { st.style.backgroundColor = '#' + col; }
function cbar (st) { st.style.backgroundColor = ''; }


/* ÀÌ¹ÌÁö ¹Ì¸® ºÒ·¯¿À±â */
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


/* ÀÌ¹ÌÁö °ü·Ã ÇÔ¼ö ±âº» */
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}


/* ÀÌ¹ÌÁö ¹Ù²Ù±â/µÇµ¹¸®±â */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}


/* ·¹ÀÌ¾î º¸ÀÌ±â/°¨Ãß±â */
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}


/* ºê¶ó¿ìÁ®Å©±â Á¶Á¤ ½Ã ÀÌ¹ÌÁö ´Ù½ÃºÒ·¯¿À±â */
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);


/* ÆË¾÷Ã¢ ¶ç¿ì±â */
function popWin(url,winname,wwidth,wheight, scrollbar) {
	var conWidth = wwidth; conHeight = wheight;

	if(wwidth == null && wheight == null) {
		conWidth = 100;
		wHeight = 150;
	}
	conWidth = (screen.Width) / 2 - conWidth;
	conHeight = (screen.Height) / 2 - conHeight;
	focusWin= window.open(url,winname,'left=20' + ',top=20' + ',width=' + wwidth + ',height=' + wheight + ',scrollbars=' + scrollbar + ',resizable=no');
	focusWin.focus();
}



/* ¸Þ´º»Ñ¸®±â */
function menu(sub1,sub2) {

document.write ('<p style="margin-top:-4px">');
document.write ('<table width="220" border="0" cellpadding="0" cellspacing="0">');

/* menu01 */
document.write ('<tr height="32"><td><a href="eng_0101.html"><img src="img/m_01');
if (sub1 == 1) document.write ('_on');
document.write ('.gif" width="220" height="32" border="0"></a></td></tr>');

/* menu02 */
document.write ('<tr height="32"><td><a href="eng_0201.html"><img src="img/m_02');
if (sub1 == 2) document.write ('_on');
document.write ('.gif" width="220" height="32" border="0"></a></td></tr>');

/* menu03 */
if (sub1 == 3) {
	document.write ('<tr height="32"><td><a href="eng_0301.html"><img src="img/m_03_on.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24; background:#F8F8F8; border-bottom:solid 1px #E5E5E5">');
} else {
	document.write ('<tr height="32"><td><a href="eng_0301.html"><img src="img/m_03.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24">');
}
document.write ('<p style="margin-top:10">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0301.html"'); if (sub1 == 3 && sub2 == 1) document.write (' style="color:#046BBA"'); document.write ('>Our Mission & Status</a>');
document.write ('<p style="margin-top:5">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0302.html"'); if (sub1 == 3 && sub2 == 2) document.write (' style="color:#046BBA"'); document.write ('>Core Values</a>');
document.write ('<p style="margin-top:5">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0303.html"'); if (sub1 == 3 && sub2 == 3) document.write (' style="color:#046BBA"'); document.write ('>Awards</a>');
document.write ('<p style="margin-top:5">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0304.html"'); if (sub1 == 3 && sub2 == 4) document.write (' style="color:#046BBA"'); document.write ('>Events</a>');
document.write ('<p style="margin-top:5">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0305.html"'); if (sub1 == 3 && sub2 == 5) document.write (' style="color:#046BBA"'); document.write ('>Shareholders</a>');
document.write ('<p style="margin-top:15">');
document.write ('</td>');
document.write ('</tr>');

/* menu04 */
if (sub1 == 4) {
	document.write ('<tr height="32"><td><a href="eng_0401.html"><img src="img/m_04_on.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24; background:#F8F8F8; border-bottom:solid 1px #E5E5E5">');
} else {
	document.write ('<tr height="32"><td><a href="eng_0401.html"><img src="img/m_04.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24">');
}
document.write ('<p style="margin-top:10">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0401.html"'); if (sub1 == 4 && sub2 == 1) document.write (' style="color:#046BBA"'); document.write ('>Who are the Readers of the KED</a>');
document.write ('<p style="margin-top:15">');
document.write ('</td>');
document.write ('</tr>');

/* menu05 */
if (sub1 == 5) {
	document.write ('<tr height="32"><td><a href="eng_0501.html"><img src="img/m_05_on.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24; background:#F8F8F8; border-bottom:solid 1px #E5E5E5">');
} else {
	document.write ('<tr height="32"><td><a href="eng_0501.html"><img src="img/m_05.gif" width="220" height="32" border="0"></a></td></tr>');
	document.write ('<tr><td class="menu" style="padding-left:24">');
}
document.write ('<p style="margin-top:10">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0501.html"'); if (sub1 == 5 && sub2 == 1) document.write (' style="color:#046BBA"'); document.write ('>Media Network</a>');
document.write ('<p style="margin-top:5">');
document.write ('<img src="img/point_bcloss.gif" width="4" height="4" border="0" align="absmiddle" style="margin-top:1"> ');
document.write ('<a href="eng_0502.html"'); if (sub1 == 5 && sub2 == 2) document.write (' style="color:#046BBA"'); document.write ('>Vision of the KED Media Group</a>');
document.write ('<p style="margin-top:15">');
document.write ('</td>');
document.write ('</tr>');

document.write ('</table>');

}


/* ##### ·Î±×ºÐ¼®¿ë javascript (¿¡ÀÌ½ºÄ«¿îÅÍ) / ÀÛ¼º: ¾î¸ÞÀÌÂ¡¼ÒÇÁÆ®(02-567-3577) / ¼öÁ¤: ÀÌ¼®Àç / Àû¿ëÀÏ½Ã: 20070402/21:00 ##### */

// Acecounter ±âº» ÄÚµå
var NU_rl = 'http://'+'gather.hankyung.com:8003'; var NCHKIMG = new Image(); var NL_bn=navigator.appName;
if( NL_bn.indexOf("Netscape") > -1 || NL_bn=="Mozilla"){
setTimeout("NCHKIMG.src = NU_rl+'/?cookie';",1); } else{ NCHKIMG.src = NU_rl+'/?cookie'; };
document.writeln("<scr"+"ipt language='javascript' src='http://www.hankyung.com/js/acecounter/ebizcode_1.js'></scr"+"ipt>");
document.writeln("<scr"+"ipt language='javascript1.1' id='_NL_hdc'> NL_sv=11 ; </scr"+"ipt>");
document.writeln("<scr"+"ipt language='javascript1.1' src='http://www.hankyung.com/js/acecounter/ebizcode_2.js'></scr"+"ipt>");
document.writeln("<scr"+"ipt language='javascript' src='http://www.hankyung.com/js/acecounter/ebizcode_3.js'></scr"+"ipt>");

/* ##### ·Î±×ºÐ¼®¿ë javascript (¿¡ÀÌ½ºÄ«¿îÅÍ) / ÀÛ¼º: ¾î¸ÞÀÌÂ¡¼ÒÇÁÆ®(02-567-3577) / ¼öÁ¤: ÀÌ¼®Àç / Àû¿ëÀÏ½Ã: 20070402/21:00 ##### */