var menu01 = new Array(

//Collection
"0::01::00::collection::/collection/",
"9::01::1", //Áß¸Þ´º½ÃÀÛ
"1::01::01::korea collection::/apps/news?mode=coll_list&popup=0&nid=01&c1=01&c2=01",
"1::01::02::world collection::/apps/news?mode=coll_list&popup=0&nid=01&c1=01&c2=02",
"9::01::4", //¸Þ´º´ÝÀ½

//Fashion
"0::02::00::fashion::/fashion/",
"9::02::1", //Áß¸Þ´º½ÃÀÛ
"1::02::01::hot trend::/apps/news?mode=sub_list&popup=0&nid=02&c1=02&c2=01",
"1::02::02::fashion styling::/apps/news?mode=sub_list&popup=0&nid=02&c1=02&c2=02",
"1::02::03::brand news::/apps/news?mode=sub_list&popup=0&nid=02&c1=02&c2=03",
"1::02::04::luxury::/apps/news?mode=sub_list&popup=0&nid=02&c1=02&c2=04",
"1::02::05::people::/apps/news?mode=sub_list&popup=0&nid=02&c1=02&c2=05",
"1::02::06::news list::/apps/news?mode=sub_list&popup=0&nid=02&c1=02",
"9::02::4", //¸Þ´º´ÝÀ½

//Beauty
"0::03::00::beauty::/beauty/",
"9::03::1", //Áß¸Þ´º½ÃÀÛ
"1::03::01::hot trend::/apps/news?mode=sub_list&popup=0&nid=03&c1=03&c2=01",
"1::03::02::beauty styling::/apps/news?mode=sub_list&popup=0&nid=03&c1=03&c2=02",
"1::03::03::brand news::/apps/news?mode=sub_list&popup=0&nid=03&c1=03&c2=03",
"1::03::04::beauty care::/apps/news?mode=sub_list&popup=0&nid=03&c1=03&c2=04",
"1::03::05::people::/apps/news?mode=sub_list&popup=0&nid=03&c1=03&c2=05",
"1::03::06::news list::/apps/news?mode=sub_list&popup=0&nid=03&c1=03",
"9::03::4", //¸Þ´º´ÝÀ½

//Entertainment
"0::04::00::entertainment::/entertainment/",
"9::04::1", //Áß¸Þ´º½ÃÀÛ
"1::04::01::tv::/apps/news?mode=sub_list&popup=0&nid=04&c1=04&c2=01",
"1::04::02::movie::/apps/news?mode=sub_list&popup=0&nid=04&c1=04&c2=02",
"1::04::03::music::/apps/news?mode=sub_list&popup=0&nid=04&c1=04&c2=03",
"1::04::04::culture::/apps/news?mode=sub_list&popup=0&nid=04&c1=04&c2=04",
"1::04::05::photo::/apps/news?mode=photo_list&popup=0&nid=04&c1=04&c2=05",
"1::04::06::vod::/apps/news?mode=vod_list&popup=0&nid=04&c1=04&c2=06",
"1::04::07::news list::/apps/news?mode=sub_list&popup=0&nid=04&c1=04",
"9::04::4", //¸Þ´º´ÝÀ½

//Life
"0::05::00::life::/life/",
"9::05::1", //Áß¸Þ´º½ÃÀÛ
"1::05::01::wedding::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=01",
"1::05::02::leisure::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=02",
"1::05::03::e-life::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=03",
"1::05::04::love&sex::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=04",
"1::05::05::economy::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=05",
"1::05::06::health::/apps/news?mode=sub_list&popup=0&nid=05&c1=05&c2=06",
"1::05::07::news list::/apps/news?mode=sub_list&popup=0&nid=05&c1=05",
"9::05::4", //¸Þ´º´ÝÀ½

//Sports
"0::06::00::sports::/sports/",
"9::06::1", //Áß¸Þ´º½ÃÀÛ
"1::06::01::golf::/apps/news?mode=sub_list&popup=0&nid=06&c1=06&c2=01",
"1::06::02::football::/apps/news?mode=sub_list&popup=0&nid=06&c1=06&c2=02",
"1::06::03::baseball::/apps/news?mode=sub_list&popup=0&nid=06&c1=06&c2=03",
"1::06::04::other::/apps/news?mode=sub_list&popup=0&nid=06&c1=06&c2=04",
"1::06::05::news list::/apps/news?mode=sub_list&popup=0&nid=06&c1=06",
"9::06::4", //¸Þ´º´ÝÀ½

//Now on
"0::96::00::now on::/apps/bbs?mode=list&id=event",
"9::96::1", //Áß¸Þ´º½ÃÀÛ
"1::96::01::notice::/apps/bbs?mode=list&id=notice",
"1::96::02::event::/apps/bbs?mode=list&id=event",
"1::96::03::search::/nowon/bnt_nowon_search.php",
"9::96::4", //¸Þ´º´ÝÀ½

//Member
"0::97::00::member::/apps/member?mode=apply&nid=81",
"9::97::1", //Áß¸Þ´º½ÃÀÛ
"1::97::01::join::/apps/member?mode=apply&nid=81",
"1::97::02::modify::/apps/member?mode=modify&nid=81",
"1::97::03::ºñ¹Ð¹øÈ£º¯°æ::javascript:popWin('/apps/member?mode=pwchange','cpw','360','245','no','no')",
"1::97::04::ºñ¹Ð¹øÈ£È®ÀÎ::javascript:popWin('/apps/member?mode=pwfind','fpw','360','245','no','no')",
"1::97::05::confirm::/apps/member?mode=joinconfp&nid=81",
"1::97::06::secession::/apps/member?mode=secession&nid=81",
"9::97::4", //¸Þ´º´ÝÀ½

//Guide
"0::98::00::guide::/guide/bnt_guide_aboutbntnews.html",
"9::98::1", //Áß¸Þ´º½ÃÀÛ
"1::98::01::about bntnews::/guide/bnt_guide_aboutbntnews.html",
"1::98::02::privacy::/guide/bnt_guide_privacy.html",
"1::98::03::help::/guide/bnt_guide_help.html",
"1::98::04::site map::/guide/bnt_guide_sitemap.html",
"9::98::4", //¸Þ´º´ÝÀ½

//±âÅ¸
"0::99::00::etc::",
"9::99::1", //Áß¸Þ´º½ÃÀÛ
"9::99::4" //¸Þ´º´ÝÀ½
);


//ÄÚµå ºÐ¸®
function div(sub1,sub2) {
	switch (sub2) {
		case 1: sub2 = sub1.substring(0,sub1.indexOf("::")); break; // ±¸ºÐÀÚ(::) ¾Õ´Ü ÃßÃâ
		case 2: sub2 = sub1.substring(sub1.indexOf("::")+2); break; // ±¸ºÐÀÚ(::) µÞ´Ü ÃßÃâ
	}
	return(sub2);
}

function menu(sub1,sub2) {

	var td1 = '<tr><td style="padding:4 0 0 0">';
	var td5 = '</table>';

	// html ÄÚµå ½ÃÀÛ
	document.write ('<table width="160" border="0" cellpadding="0" cellspacing="0">');

	for (i=0; i <= menu01.length-1; i++) { // ¹è¿­ ³¡³¯ ¶§±îÁö µ¹¸²
		var depth = div(menu01[i],1);
		var code1 = div(div(menu01[i],2),1);
		var code2 = div(div(div(menu01[i],2),2),1);
		var mname = div(div(div(div(menu01[i],2),2),2),1);
		var murl = div(div(div(div(menu01[i],2),2),2),2);
		var grph = div(div(menu01[i],2),2);

		if (code1 == sub1) { // ÇØ´ç ´ëºÐ·ù¸¸ Ç¥½ÃÇÔ

			//´ë¸Þ´ºÇ¥½Ã
			if (depth == 0) {
				document.write ('<tr><td><a href="' + murl + '" target="_top"><img src="/img/bntnews_leftmenu0' + sub1 + '_newbnt.gif" border="0"></a></td></tr>');
				document.write ('<tr><td style="padding:6 0 0 1">');
				document.write ('<table width="159" border="0" cellpadding="0" cellspacing="0">');
			}

			//Áß¸Þ´ºÇ¥½Ã
			if (depth == 1) {
				if (code2 == sub2) {
					document.write ( td1 + '<a href="' + murl + '" target="_top"><img src="/img/bntnews_menu_left' + code1 + '_' + code2 + '_on_newbnt.gif" border="0"></a>');
				} else {
					if(sub1 == '97' && document.cookie.indexOf('bntnews') > 0){
						if(code2 == '01' || code2 == '04' || code2 == '05'){
							document.write ( td1 + '<img src="/img/bntnews_menu_left' + code1 + '_' + code2 + '_off_newbnt.gif" border="0"></a>'); //Áß¸Þ´ºÇ¥½Ã
						}else{
							document.write ( td1 + '<a href="' + murl + '" target="_top"><img src="/img/bntnews_menu_left' + code1 + '_' + code2 + '_off_newbnt.gif" border="0"></a>'); //Áß¸Þ´ºÇ¥½Ã
						}
					}else{
						document.write ( td1 + '<a href="' + murl + '" target="_top"><img src="/img/bntnews_menu_left' + code1 + '_' + code2 + '_off_newbnt.gif" border="0"></a>'); //Áß¸Þ´ºÇ¥½Ã
					}
				}
			}

			//·¹ÀÌ¾Æ¿ô¿ä¼Ò Ç¥½Ã
			if (depth == 9) {
				switch (grph) {
					case '1': document.write (); break;
					case '4': document.write (td5); break;
				}
			}
		}

	}
	document.write ('</td>');
	document.write ('</tr>');
	document.write ('</table>');
// º£³Ê¸¦ °¡Á®¿È
var banner_left1 = getHttpRequest('/bntdata/news/newsbanner/iad_left1.inc');
var banner_left2 = getHttpRequest('/bntdata/news/newsbanner/iad_left2.inc');
var banner_left3 = getHttpRequest('/bntdata/news/newsbanner/iad_left3.inc');
var banner_left4 = getHttpRequest('/bntdata/news/newsbanner/iad_left4.inc');
var banner_left5 = getHttpRequest('/bntdata/news/newsbanner/iad_left5.inc');
var banner_left6 = getHttpRequest('/bntdata/news/newsbanner/iad_left6.inc');
var banner_left7 = getHttpRequest('/bntdata/news/newsbanner/iad_left7.inc');
var banner_left8 = getHttpRequest('/bntdata/news/newsbanner/iad_left8.inc');
var banner_left9 = getHttpRequest('/bntdata/news/newsbanner/iad_left9.inc');
var banner_left10 = getHttpRequest('/bntdata/news/newsbanner/iad_left10.inc');
var banner_left11 = getHttpRequest('/bntdata/news/newsbanner/iad_left11.inc');
var banner_left12 = getHttpRequest('/bntdata/news/newsbanner/iad_left12.inc');
// Guide, Members, Etc ÀÏ °æ¿ì ¹è³Ê ¾øÀ½
	if( sub1 == 1 || sub1 == 2 || sub1 == 3 || sub1 == 4 || sub1 == 5 || sub1 == 6 )
	{
		document.write ('<p style="margin:30 0 0 0">');
		document.write ('<table width="160" border="0" cellpadding="0" cellspacing="0">');
		document.write ('<tr>');
		document.write ('<td>');
		document.write ('<p style="margin:0 0 0 0">');
		document.write ('<!-- ±¤°í¹è³Ê1 ½ÃÀÛ -->');
		document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
		document.write ('<tr><td>'+banner_left1+'</td></tr>');
		document.write ('</table>');
		document.write ('<!-- ±¤°í¹è³Ê1 ³¡ -->');
		document.write ('<p style="margin:10 0 0 0">');
		document.write ('<!-- ±¤°í¹è³Ê2 ½ÃÀÛ -->');
		document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
		document.write ('<tr><td>'+banner_left2+'</td></tr>');
		document.write ('</table>');
		document.write ('<!-- ±¤°í¹è³Ê2 ³¡ -->');
		document.write ('<p style="margin:10 0 0 0">');
		document.write ('<!-- ±¤°í¹è³Ê3 ½ÃÀÛ -->');
		document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
		document.write ('<tr><td>'+banner_left3+'</td></tr>');
		document.write ('</table>');
		document.write ('<!-- ±¤°í¹è³Ê3 ³¡ -->');
		document.write ('<p style="margin:10 0 0 0">');
		document.write ('<!-- ±¤°í¹è³Ê4 ½ÃÀÛ -->');
		document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
		document.write ('<tr><td>'+banner_left4+'</td></tr>');
		document.write ('</table>');
		document.write ('<!-- ±¤°í¹è³Ê4 ³¡ -->');
		//±â»ç ºäÀÏ¶§ ±¤°í¹è³Ê 3°³ ³ëÃâ
//		if ( window.location.href.indexOf("_view") > 1 )
//		{
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê5 ½ÃÀÛ -->');
			document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left5+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê5 ³¡ -->');
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê6 ½ÃÀÛ -->');
			document.write ('<table width="160" height="295" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left6+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê6 ³¡ -->');
//		}
		document.write ('</td>');
		document.write ('</tr>');
		document.write ('</table>');

			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê7 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left7+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê7 ³¡ -->');
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê8 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left8+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê8 ³¡ -->');
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê9 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left9+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê9 ³¡ -->');
		//±â»ç ºäÀÏ¶§ ±¤°í¹è³Ê ³ëÃâ
		if ( window.location.href.indexOf("_view") > 1 )
		{
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê10 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left10+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê10 ³¡ -->');
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê11 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left11+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê11 ³¡ -->');
			document.write ('<p style="margin:10 0 0 0">');
			document.write ('<!-- ±¤°í¹è³Ê12 ½ÃÀÛ -->');
			document.write ('<table width="160" height="110" border="0" cellpadding="0" cellspacing=="0">');
			document.write ('<tr><td bgcolor="gray">'+banner_left12+'</td></tr>');
			document.write ('</table>');
			document.write ('<!-- ±¤°í¹è³Ê12 ³¡ -->');

		}
	}
}


function hbar(sub1,sub2) {

	var grp, murl='', mname='';
	var root = '<a href="/" target="_top">home</a><span style="margin:0 5 0 4">/</span>';
	var bnta = '<a href="/collection/" target="_top">collection</a>';
	var bntab = '<a href="/collection/" target="_top" class="b">collection</a>';
	var bntb = '<a href="/fashion/" target="_top">fashion</a>';
	var bntbb = '<a href="/fashion/" target="_top" class="b">fashion</a>';
	var bntc = '<a href="/beauty/" target="_top">beauty</a>';
	var bntcb = '<a href="/beauty/" target="_top" class="b">beauty</a>';
	var bntd = '<a href="/entertainment/" target="_top">entertainment</a>';
	var bntdb = '<a href="/entertainment/" target="_top" class="b">entertainment</a>';
	var bnte = '<a href="/life/" target="_top">life</a>';
	var bnteb = '<a href="/life/" target="_top" class="b">life</a>';
	var bntf = '<a href="/sports/" target="_top">sports</a>';
	var bntfb = '<a href="/sports/" target="_top" class="b">sports</a>';

	var bntx = '<a href="/apps/bbs?mode=list&id=event" target="_top">now on</a>';
	var bntxb = '<a href="/apps/bbs?mode=list&id=event" target="_top" class="b">now on</a>';
	var bnty = '<a href="/apps/member?mode=apply" target="_top">member</a>';
	var bntyb = '<a href="/apps/member?mode=apply" target="_top" class="b">member</a>';
	var bntz = '<a href="/guide/bnt_guide_aboutbntnews.html" target="_top">guide</a>';
	var bntzb = '<a href="/guide/bnt_guide_aboutbntnews.html" target="_top" class="b">guide</a>';

	for (i=0; i<menu01.length; i++) {
		if (div(menu01[i],1) != 9) {
			if (sub1 == div(div(menu01[i],2),1)) {
				if (sub2 == div(div(div(menu01[i],2),2),1)) {
					grp = div(menu01[i],1);
					murl = div(div(div(div(menu01[i],2),2),2),2);
					mname = div(div(div(div(menu01[i],2),2),2),1);
				}
			}
		}
	}

	document.write (root);
	if (sub1 == 1) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bnta + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntab); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bnta + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntab);
		}
	}

	if (sub1 == 2) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntb + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntbb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntb + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntbb);
		}
	}

	if (sub1 == 3) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntc + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntcb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntc + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntcb);
		}
	}

	if (sub1 == 4) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntd + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntdb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntd + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntdb);
		}
	}

	if (sub1 == 5) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bnte + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bnteb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bnte + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bnteb);
		}
	}

	if (sub1 == 6) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntf + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntfb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntf + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntfb);
		}
	}

	if (sub1 == 96) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntx + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntxb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntx + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntxb);
		}
	}

	if (sub1 == 97) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bnty + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntyb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bnty + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntyb);
		}
	}

	if (sub1 == 98) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (bntz + '<span style="margin:0 5 0 4">/</span><a href="' + murl + '" target="_top" class="b">' + mname + '</a>'); break;
				default : document.write (bntzb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (bntz + '<span style="margin:0 5 0 4">/</span><b>' + sub2 + '</b>');
		} else {
			document.write (bntzb);
		}
	}

	if (sub1 == 99) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				default : document.write (); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2);
		} else {
			document.write ();
		}
	}

}


function ttlbar(sub1,sub2,ttl) {

	var grp, murl='', mname='';
	var bnta = ' &lt; collection';
	var bntb = ' &lt; fashion';
	var bntc = ' &lt; beauty';
	var bntd = ' &lt; entertainment';
	var bnte = ' &lt; life';
	var bntf = ' &lt; sports';

	var bntx = ' &lt; now on';
	var bnty = ' &lt; member';
	var bntz = ' &lt; guide';

	document.write ('<title>');
	document.write (ttl + ' &lt; ');

	for (i=0; i<menu01.length; i++) {
		if (div(menu01[i],1) != 9) {
			if (sub1 == div(div(menu01[i],2),1)) {
				if (sub2 == div(div(div(menu01[i],2),2),1)) {
					grp = div(menu01[i],1);
					murl = div(div(div(div(menu01[i],2),2),2),2);
					mname = div(div(div(div(menu01[i],2),2),2),1);
				}
			}
		}
	}

	if (sub1 == 1) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bnta ); break;
				case '2': document.write ( mname + bnta ); break;
				default : document.write (bnta); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bnta);
		} else {
			document.write (bnta);
		}
	}

	if (sub1 == 2) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntb ); break;
				case '2': document.write ( mname + bntb ); break;
				default : document.write (bntb); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntb);
		} else {
			document.write (bntb);
		}
	}

	if (sub1 == 3) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntc ); break;
				case '2': document.write ( mname + bntc ); break;
				default : document.write (bntc); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntc);
		} else {
			document.write (bntc);
		}
	}

	if (sub1 == 4) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntd ); break;
				case '2': document.write ( mname + bntd ); break;
				default : document.write (bntd); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntd);
		} else {
			document.write (bntd);
		}
	}

	if (sub1 == 5) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bnte ); break;
				case '2': document.write ( mname + bnte ); break;
				default : document.write (bnte); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bnte);
		} else {
			document.write (bnte);
		}
	}

	if (sub1 == 6) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntf ); break;
				case '2': document.write ( mname + bntf ); break;
				default : document.write (bntf); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntf);
		} else {
			document.write (bntf);
		}
	}

	if (sub1 == 96) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntx ); break;
				case '2': document.write ( mname + bntx ); break;
				default : document.write (bntx); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntx);
		} else {
			document.write (bntx);
		}
	}

	if (sub1 == 97) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bnty ); break;
				case '2': document.write ( mname + bnty ); break;
				default : document.write (bnty); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bnty);
		} else {
			document.write (bnty);
		}
	}

	if (sub1 == 98) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + bntz ); break;
				case '2': document.write ( mname + bntz ); break;
				default : document.write (bntz); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + bntz);
		} else {
			document.write (bntz);
		}
	}

	document.write (' &lt; bntnews :: ÇÑ°æ´åÄÄ ::</title>');
}
// ÇØ´ç urlÀÇ ÆäÀÌÁö¸¦ ¸®ÅÏÇÔ
function getHttpRequest(URL) {
 var xmlhttp = null;
 if(window.XMLHttpRequest) 
 {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp = new XMLHttpRequest();
 } else 
 {// code for IE6, IE5
  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
 }
 xmlhttp.open('GET', URL, false);
 xmlhttp.onreadystatechange = function() 
 {
  if(xmlhttp.readyState==4 && xmlhttp.status == 200 && xmlhttp.statusText=='OK') 
  {
   responseText = xmlhttp.responseText;
  }
 }
 xmlhttp.send('');
 return responseText = xmlhttp.responseText;
}

