<!--
function goto_byselect(sel)
{
  var index = sel.selectedIndex;
/* if(sel.options[index].value =="http://asx.kbs.co.kr/live.php?url=L_2RADIO") {
	alert('\n¹ÚÂùÈ£ °æ±â´Â \nÀÎÅÍ³ÝÀ» ÅëÇÏ¿© \nÁß°èµÇÁö ¾Ê½À´Ï´Ù. \n\n¾çÇØµå¸®¸ç \n\nKBS2¶óµð¿À¸¦ \nÀÌ¿ëÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.\n');
	return false;
	}
 */
  if (sel.options[index].value != null) {
    location.href = sel.options[index].value;
	}

}

function goto_byselect_onair(sel)
{
  var index = sel.selectedIndex;
/* if(sel.options[index].value =="http://asx.kbs.co.kr/live.php?url=L_2RADIO") {
	alert('\n¹ÚÂùÈ£ °æ±â´Â \nÀÎÅÍ³ÝÀ» ÅëÇÏ¿© \nÁß°èµÇÁö ¾Ê½À´Ï´Ù. \n\n¾çÇØµå¸®¸ç \n\nKBS2¶óµð¿À¸¦ \nÀÌ¿ëÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.\n');
	return false;
	}
 */
  if (sel.options[index].value != null) {
    location.href = sel.options[index].value;
	}

}


function goto_byselect_new(sel)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value == '' )   return;

  else {
  	window.open(sel.options[index].value,'_blank');
 	 }

 }


function new_win(url, name, wid, hei, scrollbar, resizable)
{
  var scrollbar_str = scrollbar ? 'yes' : 'no';
  var resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'width='+wid+',height='+hei+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

function CheckSubmit(SEARCH)
{

	if(SEARCH.Search_R.value == '') {
		return false;
	}
	else if( SEARCH.v_key2.value == "") {
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.")
		SEARCH.v_key2.focus();
		return false;
	}
	else if(SEARCH.Search_R.value == 'program') {
  		document.SEARCH.action='http://www.kbs.co.kr/index/search.html';
		document.SEARCH.method="post";
 		SEARCH.v_userid.value="";
		SEARCH.v_type.value="";
 		SEARCH.v_db.value="";
	 	SEARCH.v_brief.value="";
 		SEARCH.v_field1.value="";
		SEARCH.v_op1.value="";
		SEARCH.v_field2.value="";
		SEARCH.p_search_key.value = SEARCH.v_key2.value;
	}
	else if(SEARCH.Search_R.value == 'keyword') {
  		document.SEARCH.action='http://search.kbs.co.kr:8080/dasencgi/brief.cgi';
		document.SEARCH.method="post";
 		SEARCH.v_userid.value=0;
		SEARCH.v_type.value=0;
 		SEARCH.v_db.value=3;
	 	SEARCH.v_brief.value="°Ë»ö½ÃÀÛ";
 		SEARCH.v_field1.value="";
		SEARCH.v_op1.value="";
		SEARCH.v_field2.value="";
		//	SEARCH.submit();
	}

/*
 else if(SEARCH.Search_R[2].checked) {
//	document.SEARCH.action=new_win('http://www.kbs.co.kr/search/people_search.html','people_S',800,600,1,0);
	document.SEARCH.action='http://cgi.kbs.co.kr/page/search/people_search.php';
	document.SEARCH.method="post";

//	return false;
}
*/

	else if(SEARCH.Search_R.value == 'item') {
 		document.SEARCH.action="http://news.kbs.co.kr:8080/dasencgi/brief.cgi" ;
        document.SEARCH.method="post";
	 	SEARCH.v_userid.value="0";
       	SEARCH.v_db.value=4;
       	SEARCH.v_type.value=0;
        SEARCH.v_field1.value="ºÎ¼­";
        SEARCH.v_op1.value=" & ";
        SEARCH.v_field2.value="ÀüÃ¼";
		SEARCH.v_brief.value="°Ë»ö½ÃÀÛ";
		//document.SEARCH.submit();
 	}
	else if(SEARCH.Search_R.value == 'sports') {
 		document.SEARCH.action="http://news.kbs.co.kr:8080/dasencgi/brief.cgi" ;
        document.SEARCH.method="post";
 		SEARCH.v_userid.value="0";
        SEARCH.v_db.value=5;
        SEARCH.v_type.value=0;
        SEARCH.v_field1.value="Á¾¸ñ";
        SEARCH.v_op1.value=" & ";
        SEARCH.v_field2.value="ÀüÃ¼";
        SEARCH.v_brief.value="°Ë»ö½ÃÀÛ";
		//document.SEARCH.submit();
 	}
	//SEARCH.target='_top';
	SEARCH.submit();
	//
	return;
	//return true;
}


function getCookie( name )
{
	var nameOfCookie = name + "=";
	var x = 0;
	while ( x <= document.cookie.length )
	{
		var y = (x+nameOfCookie.length);
		if ( document.cookie.substring( x, y ) == nameOfCookie )
		{
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
			return unescape( document.cookie.substring( y, endOfCookie ) );
		}
		x = document.cookie.indexOf( " ", x ) + 1;
		if ( x == 0 )
			break;
	}
	return "";
}

function display_date(){
	var year;
	var month;
	var day;
//	var dayOfWeek;
//	var week = new Array("ÀÏ", "¿ù", "È­", "¼ö", "¸ñ", "±Ý" ,"Åä");
	var cur_date=new Date();

	year = cur_date.getYear();
	if(year < 1900) year = year + 1900;
	month = cur_date.getMonth() + 1;
	day = cur_date.getDate();
//	dayOfWeek = week[cur_date.getDay()];
	document.write(year + ". " + month + ". " + day);
}

function GoSub(WorldLink){
	worldwins=window.open(WorldLink,'window','width=675,height=600,marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1');
	worldwins.focus();
}

function GoFocus(WorldLink){
	newwins=window.open('http://'+WorldLink,'window','width=643,height=570,marginwidth=0,marginheight=0,resizable=1,scrollbars=0,toolbar=1');
}

function Goguide(WorldLink){
	worldwins=window.open('http://'+WorldLink,'window','width=800,height=600,marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1');
	worldwins.focus();
}

function Gomap(PrgLink){
	worldwins=window.open('http://'+WorldLink,'window','width=699,height=610,marginwidth=0,marginheight=0,resizable=0,scrollbars=0,toolbar=0');
	worldwins.focus();
}
function GoSearch(TMenuLink, WorldLink){

	worldwins=window.open('http://'+WorldLink,'window','width='+wi+',height='+hi+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1');
	window.navigate("http://"+TMenuLink)

}


function GetCookie(name) {

	var cname = name + '=';

	var dc = document.cookie;

    	if (dc.length > 0) {

	    	begin = dc.indexOf(cname);

	        if (begin != -1) {

        		begin += cname.length;

        		end = dc.indexOf(';', begin);

            		if (end == -1) end = dc.length;

            		return unescape(dc.substring(begin, end));

        	}

    	}

	return '';

}

function OnEnter( field )
		 { if( field.value == field.defaultValue )
		 	 { field.value = "";
		 	 }
		  }
	function OnExit( field )
		  { if( field.value == "" )
		  	{ field.value = field.defaultValue;
		  	}
		   }


function logout() {

	var From_URL = document.location.href;

//       document.cookie = "cookie_id=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "cookie_email=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "reg_id=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "reg_email=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//http://sso.kbs.co.kr/Join/SSOLogon.asp?from_url=" + From_URL
		//alert("·Î±×¾Æ¿ô ÇÏ¼Ì½À´Ï´Ù.\nÀÌ¿ëÇØÁÖ¼Å¼­ °¨»çÇÕ´Ï´Ù.");
		window.location = "https://sso.kbs.co.kr/Logon/Logoff.asp?URL=http://www.kbs.co.kr/";
        

}


function logout_Smenu() {

	var From_URL = document.location.href;

//       document.cookie = "cookie_id=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "cookie_email=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "reg_id=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//       document.cookie = "reg_email=;path=/;domain=.kbs.co.kr;expires=Thu, 01-Jan-70 00:00:01 GMT";
//http://sso.kbs.co.kr/Join/SSOLogon.asp?from_url=" + From_URL

		window.location = "https://sso.kbs.co.kr/Logon/Logoff.asp?URL="+From_URL;
        //alert("·Î±×¾Æ¿ô ÇÏ¼Ì½À´Ï´Ù.\nÀÌ¿ëÇØÁÖ¼Å¼­ °¨»çÇÕ´Ï´Ù.");

}



function Login_info() {
	 //alert('\nKBSÈ¸¿ø ·Î±×ÀÎÀº Á» ´õ ³ªÀº ¼­ºñ½º¸¦ À§ÇÑ °ÍÀÌ¸ç ¹«·áÀÔ´Ï´Ù.\n\nÇöÀç´Â\n1. KBS Áö³­ ÇÁ·Î±×·¥ ´Ù½Ãº¸±â\n2. °Ô½ÃÆÇ ±Û¾²±â\n3. KBSÄ¿¹Â´ÏÆ¼ ¼­ºñ½ºÀÎ ifamily¿Í\n4. ¹ÂÁ÷½ºÆ©µð¿À ¹× \n5. KBS Æ÷Åä¹ðÅ©¸¦ ÀÌ¿ëÇÏ½Ã±â À§ÇØ¼­\n\n¹Ýµå½Ã È¸¿ø¿¡ °¡ÀÔÇÏ¼Å¾ß ÇÏ¸ç\nÈ¸¿øÀÏ °æ¿ì¿¡´Â ·Î±×ÀÎÀ» ÇÏ½Å ÈÄ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.\n\n  ¡Ø ¾ÆÀÌµð¿Í ºñ¹Ð¹øÈ£¸¦ ¸ð¸£½Ç °æ¿ì¿¡´Â \n        http://sso.kbs.co.kr¿¡¼­ Ã£À¸½Ê½Ã¿À.\n\n°¨»çÇÕ´Ï´Ù.\n');
	 //alert('½Ã½ºÅÛ Á¡°ËÀ¸·Î ÀÎÇØ ·Î±×ÀÎÀÌ Áö¿¬µÉ ¼ö ÀÖ½À´Ï´Ù.\nµ¿¿µ»ó ¼­ºñ½º´Â ·Î±×ÀÎ ¾øÀÌ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. \n');
	//https://sso.kbs.co.kr/Join/SSOLogon.asp,https://sso.kbs.co.kr/Join/SSOLogon.asp?from_url="+url+"
	}

var From_URL = document.location.href;
var is_login = GetCookie('userid');

function Home_Login(){

            if ( is_login == '' ) {
                document.write("<td width='38'><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php?from_url="+url+"' onClick=\"javascript:Login_info()\"><img src='http://www.kbs.co.kr/images_new/login.gif' name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_new/join.gif' name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
          	}
            else {
          		document.write("<td><a href=\'javascript:logout()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://www.kbs.co.kr/images_new/logout.gif' name='Image11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_new/modify.gif' name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
          	}

}

function Section_Login(){           
  var url;
  url=document.location.href;
            
  if ( is_login == '' ) {
	document.write("<td><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php?from_url="+url+"'  onClick=\"javascript:Login_info()\" target=_top><img src='http://img.kbs.co.kr/main_images4/n_login.gif'  name='Imag9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr' target=_top><img src='http://img.kbs.co.kr/main_images4/n_regist.gif'  name='Imag10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
  } else {
    document.write("<td><a href=\'javascript:logout_Smenu()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À' target=_top><img src='http://img.kbs.co.kr/main_images4/n_logout.gif'  name='Imag11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr' target=_top><img src='http://img.kbs.co.kr/main_images4/n_edit.gif'  name='Imag12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
  }          	          	
}


function Main_Login(){           
  var url;
  url=document.location.href;
            
  if ( is_login == '' ) {
	document.write("<td><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php?from_url="+url+"'  onClick=\"javascript:Login_info()\" target=_top><img src='http://img.kbs.co.kr/main_images4/n_login.gif'  name='Imag9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr' target=_top><img src='http://img.kbs.co.kr/main_images4/n_regist.gif'  name='Imag10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
  } else {
    document.write("<td><a href=\'javascript:logout_Smenu()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À' target=_top><img src='http://img.kbs.co.kr/main_images4/n_logout2.gif'  name='Imag11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr' target=_top><img src='http://img.kbs.co.kr/main_images4/n_edit2.gif'  name='Imag12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
  }          	          	
}


function Main_Login_Smenu(){
			url=document.location.href;

            if ( is_login == '' ) {
				document.write("<a href='http://www.kbs.co.kr/asx/login/SSOLogon.php?from_url="+url+"' onClick=\"javascript:Login_info()\"><img src='http://img.kbs.co.kr/main_images3/log_new1.jpg'  name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://img.kbs.co.kr/main_images3/log_new2.jpg'  name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a>");
          	}
            else {
          		document.write("<a href=\'javascript:logout_Smenu()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://img.kbs.co.kr/main_images3/log_out.jpg'  name='Image11' border=0></a><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://img.kbs.co.kr/main_images3/log_out_2.jpg'  name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a>");
          	}
}

function Home_Login_Smenu(){
var url;
url=document.location.href;

            if ( is_login == '' ) {
				document.write("<td><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php?from_url="+url+"' onClick=\"javascript:Login_info()\"><img src='http://www.kbs.co.kr/images_menu/login.gif'  name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/join.gif'  name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
          	}
            else {
          		document.write("<td><a href=\'javascript:logout_Smenu()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://www.kbs.co.kr/images_menu/logout.gif'  name='Image11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/modify.gif'  name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
          	}

}

function Home_Login_Smenu_cp(userid){
var url;
var userid;
url=document.location.href;
           // alert(is_login);
            if ( is_login != '' || userid != "") {
					document.write("<td><a href=\'http://www.kbs.co.kr/cp/Logout.php?URL="+ url +"\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://www.kbs.co.kr/images_menu/logout.gif'  name='Image11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/modify.gif'  name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");

          	}else {

					document.write("<td width='38'><a href='http://www.kbs.co.kr/cp/Logon.php?URL="+ url +"' onClick=\"javascript:Login_info()\"><img src='http://www.kbs.co.kr/images_menu/login.gif'  name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/join.gif'  name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");

          	}

}




function Home_Login_community(){

            if ( is_login == '' ) {

		document.write("<td width=\"38\"><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php' onClick=\"javascript:Login_info()\"><img src='http://www.kbs.co.kr/inc/third_menu/login.gif' name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/s_join.gif' name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
          	}
            else {
          	document.write("<td><a href=\'javascript:logout()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://www.kbs.co.kr/images_menu/s_logout.gif' name='Image11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/s_modify.gif' name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
          	}

}
function Home_Login_t(){

            if ( is_login == '' ) {

		document.write("<td width=\"38\"><a href='http://www.kbs.co.kr/asx/login/SSOLogon.php' onClick=\"javascript:Login_info()\"><img src='http://www.kbs.co.kr/images_menu/s_login.gif' name='Image9'  border=0 alt='·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù'></a></td><td width='47'><a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/s_join.gif' name='Image10' border=0 alt='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'></a></td>");
          	}
            else {
          	document.write("<td><a href=\'javascript:logout()\' title='°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À'><img src='http://www.kbs.co.kr/images_menu/s_logout.gif' name='Image11' border=0></a></td><td><a href='https://sso.kbs.co.kr/Join/Update.asp?site=www.kbs.co.kr'><img src='http://www.kbs.co.kr/images_menu/s_modify.gif' name='Image12' border=0 alt='È¸¿ø Á¤º¸ ¼öÁ¤'></a></td>");
          	}

}


function Home_Login_tag(){

            if ( is_login == '' ) {
		document.write("<a href='http://www.kbs.co.kr/asx/login/SSOLogon.php' title=\"·Î±×ÀÎÀ» ÇÏ½Ã¸é ´Ù¾çÇÑ ¼­ºñ½º ÀÌ¿ëÀÌ °¡´ÉÇÕ´Ï´Ù\" onClick='javascript:Login_info()'>KBSÈ¸¿ø ·Î±×ÀÎ</a> / <a href='https://sso.kbs.co.kr/Join/Join.asp?site=www.kbs.co.kr' ititlet='KBS¿Â¶óÀÎ È¸¿ø°¡ÀÔ'>È¸¿ø°¡ÀÔ</a>");
		}
            else {
          	document.write('<a href=\'javascript:logout()\' title="°³ÀÎÁ¤º¸ º¸È£Â÷¿ø¿¡¼­ &#13;»ç¿ëÈÄ ¹Ýµå½Ã ·Î±×¾Æ¿ôÇÏ½Ê½Ã¿À">KBSÈ¸¿ø ·Î±×¾Æ¿ô</a> / <a href="https:// sso.kbs.co.kr /Join/Update.asp?site=www.kbs.co.kr" title="È¸¿ø Á¤º¸ ¼öÁ¤">Á¤º¸¼öÁ¤</a>');
          	}

}

function GoSub(WorldLink){
        worldwins=window.open(WorldLink,'window','width=675,height=600,marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1');
        worldwins.focus();
}
	MusicMenu = new Array();

	MusicMenu[0] = new Image();
	MusicMenu[0].src = "http://img.kbs.co.kr/idx_imgs/click.gif"

	MusicMenu[1] = new Image();
	MusicMenu[1].src = "http://img.kbs.co.kr/idx_imgs/popsong.gif"

	MusicMenu[2] = new Image();
	MusicMenu[2].src = "http://img.kbs.co.kr/idx_imgs/announcement.gif"


function New_image(num) {

                if(num == 1) {
                        document.music_img.src = MusicMenu[0].src;
                        ShowTip('click', 'show');
                        ShowTip('pop', 'hide');
                        ShowTip('anounce', 'hide');

                			}

                else if(num == 2) {
                        document.music_img.src = MusicMenu[1].src;
                        ShowTip('click', 'hide');
                        ShowTip('pop', 'show');
                        ShowTip('anounce', 'hide');

                				}

		     	else if(num == 3) {
                        document.music_img.src = MusicMenu[2].src;
                        ShowTip('click', 'hide');
                        ShowTip('pop', 'hide');
                        ShowTip('anounce', 'show');

	           			}
					 }
function ShowTip( layer_name, flag )
{
  if( navigator.appName == "Netscape" )
    document.layers[layer_name].visibility = ( ( flag == "show" ) ? "show" : "hide" );
  else
    document.all[layer_name].style.visibility = ( ( flag == "show" ) ? 'visible' : 'hidden' );
}


function Easy_VOD_layer_HTML() {
	document.write('<div id="EasyChannel" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 660; width: 176; height: 100">\n'
+'  <table border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" width="166">\n'
+'    <tr>\n'
+'      <td valign="bottom" align="right" width="157" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')"><img border="0" src="http://img.kbs.co.kr/idx_images/tv.gif" width="76" height="25"></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom"  class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/link/news">´º½º</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://sports.kbs.co.kr/">½ºÆ÷Ã÷</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/link/rki">¿Ü±¹¾î                              \n'
+'        ´º½º</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/current/">½Ã»ç                          \n'
+'        / ±³¾ç / ´ÙÅ¥</a></td>                             \n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/ent/">¿¬¿¹                              \n'
+'        / ¿À¶ô / À½¾Ç</a></td>                             \n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/drama/">µå¶ó¸¶</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/child/">¾î¸°ÀÌ</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'<td align="right" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')"><img border="0" src="http://img.kbs.co.kr/idx_images/radio.gif" width="76" height="25"></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/1radio/">1Radio                         \n'
+'        ½Ã»çÁ¤º¸</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/2radio/">2Radio                         \n'
+'        °¡Á·¿À¶ô</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/3radio/">3Radio                         \n'
+'        »ç¶ûÀÇ ¼Ò¸®¹æ¼Û</a></td>                             \n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/soc_edu/">»çÈ¸±³À°</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/fm/1fm/">1FM                              \n'
+'        °íÀüÀ½¾Ç</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'EasyChannel\',\'show\')" onmouseout="ShowTip(\'EasyChannel\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/fm/2fm/">2FM                              \n'
+'        À½¾ÇÀÌ ÀÖ´Â ÀþÀº Ã¤³Î</a></td>                             \n'
+'    </tr>\n'
+'  </table>\n'
+'</div>\n'

//  VOD ÇÏÀÏ¶óÀÌÆ® layers
+'<div id="highLight" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 560; width: 108; height:96">\n'
+'  <table width="125" border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" onmouseover="ShowTip(\'highLight\',\'show\')" onmouseout="ShowTip(\'highLight\',\'hide\')">\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight\',\'show\')" onmouseout="ShowTip(\'highLight\',\'hide\')"><a href="http://www.kbs.co.kr/drama/king/scenario.htm">¿Õ°Ç</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight\',\'show\')" onmouseout="ShowTip(\'highLight\',\'hide\')"><a href="http://www.kbs.co.kr/drama/queen/look.html">¸í¼ºÈ²ÈÄ</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight\',\'show\')" onmouseout="ShowTip(\'highLight\',\'hide\')"><a href="http://www2.kbs.co.kr/bbs/bbs.cgi?db=2Tmusicbankvod">¹ÂÁ÷¹ðÅ©</a></td>\n'
+'    </tr>\n'
+'  </table>\n'
+'</div>\n'

//  VOD ÇÏÀÏ¶óÀÌÆ® NEW layers
+'<div id="highLight_NEW" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 435; width: 108; height:96">\n'
+'  <table width="125" border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" onmouseover="ShowTip(\'highLight_NEW\',\'show\')" onmouseout="ShowTip(\'highLight_NEW\',\'hide\')">\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight_NEW\',\'show\')" onmouseout="ShowTip(\'highLight_NEW\',\'hide\')"><a href="http://www.kbs.co.kr/drama/king/scenario.htm">¿Õ°Ç</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight_NEW\',\'show\')" onmouseout="ShowTip(\'highLight_NEW\',\'hide\')"><a href="http://www.kbs.co.kr/drama/queen/look.html">¸í¼ºÈ²ÈÄ</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td width="119" class="EC_text" onmouseover="ShowTip(\'highLight_NEW\',\'show\')" onmouseout="ShowTip(\'highLight_NEW\',\'hide\')"><a href="http://www2.kbs.co.kr/bbs/bbs.cgi?db=2Tmusicbankvod">¹ÂÁ÷¹ðÅ©</a></td>\n'
+'    </tr>\n'
+'  </table>\n'
+'</div>\n'

///////#####  KBS Ã¤³Î TV layers ///////#####
+'<div id="Channel_TV" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 265; width: 176; height: 100">\n'
+'  <table border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" width="166">\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/link/news">´º½º</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://sports.kbs.co.kr/">½ºÆ÷Ã÷</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/link/rki">¿Ü±¹¾î\n'
+'        ´º½º</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/current/">½Ã»ç \n'
+'        / ±³¾ç / ´ÙÅ¥</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/ent/">¿¬¿¹\n'
+'        / ¿À¶ô / À½¾Ç</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/drama/">µå¶ó¸¶</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_TV\',\'show\')" onmouseout="ShowTip(\'Channel_TV\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/tv/child/">¾î¸°ÀÌ</a></td>\n'
+'    </tr>\n'
+'  </table>\n'
+'</div>\n'

///////#####  KBS Ã¤³Î RADIO layers ///////#####

+'<div id="Channel_RADIO" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 365; width: 176; height: 100">\n'
+'  <table border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" width="166">\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_RADIO\',\'show\')" onmouseout="ShowTip(\'Channel_RADIO\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/1radio/">1Radio\n'
+'        ½Ã»çÁ¤º¸</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_RADIO\',\'show\')" onmouseout="ShowTip(\'Channel_RADIO\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/2radio/">2Radio \n'
+'        °¡Á·¿À¶ô</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_RADIO\',\'show\')" onmouseout="ShowTip(\'Channel_RADIO\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/3radio/">3Radio\n'
+'        »ç¶ûÀÇ ¼Ò¸®¹æ¼Û</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_RADIO\',\'show\')" onmouseout="ShowTip(\'Channel_RADIO\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/am/soc_edu/">»çÈ¸±³À°</a></td>\n'
+'    </tr>\n'
+'    </table>\n'
+'</div>\n'

///////#####  KBS Ã¤³Î FM RADIO layers ///////#####
+'<div id="Channel_FM" style="visibility: hidden; position: absolute; z-index: 1; left: 169; top: 435; width: 176; height: 100">\n'
+'  <table border="1" bgcolor="#0143B2" bordercolordark="#0143B2" cellspacing="0" bordercolorlight="#C7DCFF" width="166">\n'
+'   <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_FM\',\'show\')" onmouseout="ShowTip(\'Channel_FM\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/fm/1fm/">1FM\n'
+'        °íÀüÀ½¾Ç</a></td>\n'
+'    </tr>\n'
+'    <tr>\n'
+'      <td valign="bottom" width="157" class="EC_text" onmouseover="ShowTip(\'Channel_FM\',\'show\')" onmouseout="ShowTip(\'Channel_FM\',\'hide\')">&nbsp;<a href="http://www.kbs.co.kr/section/fm/2fm/">2FM\n'
+'        À½¾ÇÀÌ ÀÖ´Â ÀþÀº Ã¤³Î</a></td>\n'
+'    </tr>\n'
+' </table>\n'
+'</div>\n'

);


}

// copyright ºÎºÐ
function index_lower_copyright_tag()	{
		Home_Login_tag();
		lower_copyright = ' / <a href="http://www.kbs.co.kr/aboutkbs">KBS ¼Ò°³</a> / <a href="http://www.kbs.co.kr/susin">¼ö½Å·á ¹®ÀÇ</a> / <a href="http://www.kbs.co.kr/advertising">±¤°í ¾È³»</a> / <a href="https://sso.kbs.co.kr/Join/Join_Permission.asp ">ÀÌ¿ë¾à°ü</a> / <a href=" https://sso.kbs.co.kr/Join/PrivateSafe.asp">°³ÀÎÁ¤º¸º¸È£Á¤Ã¥</a> / <a href="https://sso.kbs.co.kr/Join/LegalNotice.asp">¹ýÀû°íÁö</a> / <a href="http://www.kbs.co.kr/kbshelp/">FAQ</a><br><br><a href="mailto:webmaster\@kbs.co.kr">Copyright \&copy; 2002 KBS All rights reserved. Contact webmaster</a>'
		document.write(lower_copyright) ;
	}
//-->


function goto_byselect_worldnet(sel,	targetstr)
{
	var	index	=	sel.selectedIndex;
	if (sel.options[index].value !=	null )
	{
		var	frameobj = eval(targetstr);
		frameobj.location	=	sel.options[index].value;
	}
}
