	// Ä·ÆäÀÎvs.ÅØ½ºÆ®ad
	var URL = new Array("http://login.imbc.com/imbc/Login/Login.asp", "http://login.imbc.com/imbc/Login/Process/LoginProcess.asp", "http://ppl.imbc.com", "http://shop.imbc.com", "http://recruit.imbc.com","http://recruitpds.imbc.com","http://recruitpds1.imbc.com","http://recruitadmin.imbc.com","http://recruitqna.imbc.com","http://skicamp.imbc.com","http://www.imbc.com/entertain/mbcticket/mbcplay/2004/2005skicamp", "http://poohyaya.imbc.com", "http://welfare.imbc.com","http://onetv.capssada.com", "http://joy09.imbc.com", "http://esellpia.imbc.com", "http://shopping.imbc.com", "http://soho.imbc.com", "http://imbc.funngoods.com", "http://elife.imbc.com", "http://card.imbc.com", "http://www.interpark.com", "http://my.imbc.com", "http://photo.imbc.com", "http://wedding.imbc.com", "http://okweekend.com", "http://www.okweekend.com", "http://mbcguide.imbc.com", "http://easyclub.imbc.com", "http://fashion.imbc.com", "http://libro.imbc.com", "http://ppl.imbc.com", "http://shop.imbc.com", "http://imbc.tourtotal.com", "http://imbc.hmall.com","http://findtv.imbc.com");
	var strCurUrl;
	var strTempUrl;
	var strTemp;
	var strCurDomain;
	var intStatus;
	var intRetVal;
	
	// ÇöÀç PAGE URL
	strCurUrl = window.location;

	// ÇöÀç PAGE URLÀ» String°ªÀ¸·Î º¯°æ
	strTempUrl = strCurUrl.toString();
	
	// /¸¦ ±âÁØÀ¸·Î µµ¸ÞÀÎ ºÎºÐ¸¸ ÃßÃâÇÏ±â À§ÇØ
	strTemp = strTempUrl.split("/");
	
	// Split¸¦ ÅëÇØ /°¡ ¾ø¾îÁø »óÅÂÀÌ±â ¶§¹®¿¡ http://domain Æ÷¸äÀ¸·Î ¸¸µé¾îÁÜ
	strCurDomain = strTemp[0] + "//" + strTemp[2];

	// ÃÊ±â ¼ÂÆÃ
	intStatus = 1;

	for (var i = 0; i < URL.length; i++)
	{
		if ((strTempUrl.toLowerCase()).indexOf(URL[i].toLowerCase(),0) != -1)

		{
			intStatus = -1;
			i = URL.length + 1;
		}
	}

	for (var i = 0; i < URL.length; i++)
	{
		if (URL[i] == strCurDomain)
		{
			intStatus = -1;
			i = URL.length + 1;
		}
	}

	intRetVal = strTempUrl.indexOf("EvtDiv=33", 0);

	if (intRetVal > 0)
	{
		intStatus = -1;
	}

	intRetVal = strTempUrl.indexOf("EvtDiv=49", 0);

	if (intRetVal > 0)
	{
		intStatus = -1;
	}

	document.write("<table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF height=165>");
	document.write("  <tr>");
	document.write("    <td><TABLE WIDTH=922 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
	document.write("        <TR> ");
	document.write("          <TD><table width=100% border=0 cellspacing=0 cellpadding=0>");
	document.write("              <tr> ");
	document.write("                <td><table border=0 cellspacing=0 cellpadding=0>");
	document.write("                    <tr> ");
	document.write("                      <td><a href=http://www.imbc.com><img src=http://img.imbc.com/2006_admin/images/n_logo.jpg border=0></a></td>");
	document.write("                    </tr>");
	document.write("                    <tr> ");
	document.write("                      <td><table border=0 cellspacing=0 cellpadding=0>");
	document.write("                          <tr> ");
	SetLogin2006Sub();
	document.write("                            <td><a href=http://mypage.imbc.com><img src=http://img.imbc.com/2006_admin/images/n_my.jpg alt='¸¶ÀÌÆäÀÌÁö' width=59 height=20 border=0></a></td>");
	document.write("                          </tr>");
	document.write("                        </table></td>");
	document.write("                    </tr>");
	document.write("                  </table></td>");
	document.write("                <td align=right height=98>");
	if (strCurDomain == "http://recruit.imbc.com" || strCurDomain == "http://recruitpds.imbc.com" || strCurDomain == "http://recruitpds1.imbc.com" || strCurDomain == "http://recruitadmin.imbc.com" || strCurDomain == "http://recruitqna.imbc.com")
	{
		document.writeln("<A HREF='http://www.imbc.com/withmbc/mbcintro/index.html'><IMG SRC='http://img.imbc.com/recruit/images/banner2.jpg' border='0'></A>");
	}
	else
	{
		document.write("<IFRAME WIDTH=600 HEIGHT=90 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 src='http://ads.imbc.com/RealMedia/ads/adstream_sx.ads/www.imbc.com/"+sCurAdFlag+"@Top'>");
		document.write("<A HREF='http://ads.imbc.com/RealMedia/ads/click_nx.ads/www.imbc.com/"+sCurAdFlag+"@Top'>");
		document.write("<IMG SRC='http://ads.imbc.com/RealMedia/ads/adstream_nx.ads/www.imbc.com/"+sCurAdFlag+"@Top'></a>");
		document.write("</IFRAME>");
	}
	document.write("				</td>");
	document.write("              </tr>");
	document.write("            </table></TD>");
	document.write("        </TR>");
	document.write("        <TR> ");
	document.write("          <TD valign=baseline><table width=762 border=0 cellspacing=0 cellpadding=0>");
	document.write("              <tr> ");
	document.write("                <td> ");
	document.write("                  <!--°Ë»öÅ×ÀÌºí½ÃÀÛ-->");
	document.write("                  <table border=0 cellspacing=0 cellpadding=0>");
	document.write("<FORM name=frmsearch2006 METHOD=POST ACTION=http://cue.imbc.com/totalSearch.asp onsubmit=javascipt:fGoSearch();return false;>");
	document.write("                    <tr> ");
	document.write("                      <td width=80><img src=http://img.imbc.com/2006_admin/images/n_cue.jpg></td>");
	document.write("                      <td valign=bottom><input type=text maxlength=226 name=query style='width:120; height:19px; background-color:#FFFFFF;border:1 solid #C8C8C8;font-size:9pt'></td>");
	document.write("                      <td valign=bottom><a href=javascript:fGoSearch();><img src=http://img.imbc.com/2006_admin/images/n_cue_action.jpg hspace=2 border=0></a></td>");
	document.write("                    </tr>");
	document.write("</FORM>  ");
	document.write("                  </table>");
	document.write("                  <!--°Ë»öÅ×ÀÌºí³¡-->");
	document.write("                </td>");
	document.write("                <td align=right valign=bottom><table width=100% border=0 cellpadding=0 cellspacing=0 background=http://img.imbc.com/2006_admin/images/n_h_line.jpg>");
	document.write("                    <tr> ");
	document.write("                      <td><img src=http://img.imbc.com/2006_admin/images/n_h_point.jpg width=11 height=26></td>");
	document.write("                      <td align=right><table border=0 cellspacing=0 cellpadding=0>");
	document.write("                          <tr> ");
	document.write("                            <td><a href=http://eye.imbc.com/><img src=http://img.imbc.com/2006_admin/images/n_h_menu1.jpg alt='½Ã°¢Àå¾Ö' border=0></a></td>");
	document.write("                            <td><a href=http://help.imbc.com/foreigner/eng/eng.html><img src=http://img.imbc.com/2006_admin/images/n_h_menu2.jpg alt='¿Ü±¹ÀÎ' border=0></a></td>");
	document.write("                            <td><a href=http://withmbc.imbc.com/withmbc/index.html><img src=http://img.imbc.com/2006_admin/images/n_h_menu3.jpg alt='MBC¿Í ÇÔ²²' border=0></a></td>");
	document.write("                            <td><a href=http://www.imbc.com/event/event/downtown.html><img src=http://img.imbc.com/2006_admin/images/n_h_menu5.jpg alt='´Ù¿îÅ¸¿î' border=0></a></td>");
	document.write("                            <td><a href=http://friends.imbc.com><img src=http://img.imbc.com/2006_admin/images/n_h_menu6.jpg alt='ÁÁÀºÄ£±¸' border=0></a></td>");
	document.write("                          </tr>");
	document.write("                        </table></td>");
	document.write("                    </tr>");
	document.write("                  </table></td>");
	document.write("              </tr>");
	document.write("            </table></TD>");
	document.write("        </TR>");
	document.write("        <TR> ");
	document.write("          <TD><table width=762 border=0 cellpadding=0 cellspacing=0 background=http://img.imbc.com/2006_admin/images/n_bar_02.jpg>");
	document.write("              <tr> ");
	document.write("                <td width=29><img src=http://img.imbc.com/2006_admin/images/n_bar_01.jpg width=29 height=35></td>");
	document.write("                <td width=738> ");
	document.write("                  <!--ÇÃ·¡½Ã ³×ºñ°ÔÀÌ¼Ç À§Ä¡½ÃÀÛ-->");
	// GNB ¿µ¿ª
	var CurFlag = 'main';			  
	var Curlocation = String(document.location);
	var arr;

	var locationArr = new Array("http://www.imbc.com","http://www.imbc.com/broad/tv/drama","http://www.imbc.com/broad/tv/ent","http://www.imbc.com/broad/tv/culture","http://www.imbc.com/broad/radio","http://www.imbc.com/broad/radio/fm","http://www.imbc.com/broad/radio/fm4u","http://music.imbc.com","http://movie.imbc.com","http://findtv.imbc.com","http://imbc.hmall.com","http://sports.imbc.com");
	var flagArr = new Array("main","drama","ent","cullture","radio","radio","radio","music","movie","findtv","shop","sports");

	for (var i = 0; i < locationArr.length ; i++)
	{
		arr = Curlocation.indexOf(locationArr[i],0);
		if (arr != -1)
		{
			CurFlag = flagArr[i];
		}
	}
	writeSwf("http://swf.imbc.com/2006com/navi_800.swf?chName="+CurFlag, 717, 21, false);
	document.write("                  <!--ÇÃ·¡½Ã ³×ºñ°ÔÀÌ¼Ç À§Ä¡¸¶°¨-->");
	document.write("                </td>");
	document.write("                <td width=16><img src=http://img.imbc.com/2006_admin/images/n_bar_03.jpg width=16 height=35></td>");
	document.write("              </tr>");
	document.write("            </table></TD>");
	document.write("        </TR>");
	document.write("        <TR>");
	document.write("          <TD height=2></TD>");
	document.write("        </TR>");
	document.write("      </TABLE></td>");
	document.write("  </tr>");
	document.write("</table>");

	function fGoSearch() {
		if (document.frmsearch2006.query.value == "") {
			alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
			document.frmsearch2006.query.focus();
			return;
		}
		document.frmsearch2006.submit();
	}

	document.write("<scr"+"ipt lang"+"uage='javas"+"cript' src='http://www.imbc.com/common/js/DSelect.js'></scr"+"ipt>");

function viewHeader() {
}