//--- s) Common Function ---------------------------------------------------------------------
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;

	function Querystring(qs)
	{
		/* Client-side access to querystring name=value pairs
			Version 1.3
			28 May 2008

			License (Simplified BSD):
			http://adamv.com/dev/javascript/qslicense.txt
		*/
		this.params = {};
		if (qs == null) qs = location.search.substring(1, location.search.length);
		if (qs.length == 0) return;

		qs = qs.replace(/\+/g, ' ');
		var args = qs.split('&');
		for(var i=0; i<args.length; i++)
		{
			var pair = args[i].split('=');
			var name = decodeURIComponent(pair[0]);
			var value = (pair.length==2) ? decodeURIComponent(pair[1]) : name;
			this.params[name] = value;
		}

		this.get = function(key, default_)
		{
			var value = this.params[key];
			return (value != null) ? value : default_;
		}
	}

// s) ³¯¾¾ Function =================================================================

	var loopNum = 1 ;  var movTime ;
	var iTodayWeather  // ³¯¾¾ ÀÎµ¦½º ÀÓ½Ã ÀúÀå 

	function loopWeather(loopNum){

			if((getCookie4gn2("ugn", "utw")) != "")
				{
					iTodayWeather = getCookie4gn2("ugn", "utw");
					loopNum= iTodayWeather;
				}
						
 		document.getElementById('todayWeather').innerHTML = slidecaption[loopNum]+" <a href='javascript:toggle_todayWeatherBox();'><img src='http://images.joins.com/ui_joins/news09/news/btn_setup.jpg' alt='¼³Á¤'/></a>";
 		loopNum++ ;
 		if (loopNum >= 7) loopNum = 1 ;
 		
			if((getCookie4gn2("ugn", "utw")) == "")
				{
					 		movTime = setTimeout('loopWeather('+loopNum+')',6000) ;	
				}
 		
 	}

	function setCookie4gn2X(name, name2, value, domain, expiredays)
	{
		try	{
			var todayDate = new Date(); 
			todayDate.setDate( todayDate.getDate() + expiredays ); 
			var s1 = getCookie4gn(name);
			var s2 = getCookie4gn2(name, name2);

			if(s1 == "") { setCookie4gn(name, name2 +"="+ value, domain, expiredays); }
			else
			{
				s1 = unescape(s1);
				if(s2 == "") { setCookie4gn(name, s1 +"&"+ name2 +"="+ value, domain, expiredays); }
				else { s1 = s1.replace(name2 +"="+ s2, name2 +"="+ value); setCookie4gn(name, s1, domain, expiredays); }
			}
		} catch(e) {
			setCookie4gn(name, name2 +"="+ value, domain, expiredays);
		}
	}

		function todayWeather_selecOn() {  // Áö¿ª ¼±ÅÃ Layer º¸ÀÌ±â
				if( document.getElementById('locationWeather').className == "WeatherselectBoxON") 
				document.getElementById('locationWeather').className = "WeatherselectBox"
				else
				document.getElementById('locationWeather').className = "WeatherselectBoxON"
		}

		function toggle_todayWeatherBox(){ // ¼³Á¤ ¿µ¿ª º¸ÀÌ±â
			if(document.getElementById('todayWeatherBox').style.display=="none") document.getElementById('todayWeatherBox').style.display="block";
			else document.getElementById('todayWeatherBox').style.display ="none";
		}

		function set_todayWeatherBox(twIndex,twLocal){  // Áö¿ª ¼±ÅÃÇÏ¸é Áö¿ª Á¤º¸ µðÆúÆ®·Î º¸ÀÌ°í Áö¿ª¼±ÅÃ Layer ¾ø¾Ö±â 
			iTodayWeather = twIndex;
			document.getElementById('locationWeather').className = "WeatherselectBox";
			document.getElementById('localname').innerHTML = twLocal+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
		}

		function save_todayWeatherBox(){  // ¼³Á¤ ¹öÆ° ´©¸£¸é ÄíÅ° ÀúÀå
			clearTimeout(movTime);
			toggle_todayWeatherBox();
			setCookie4gn2X("ugn", "utw", iTodayWeather.toString(), "joins.com", 3);
			loopWeather(iTodayWeather);
		}


// e) ³¯¾¾ Function =================================================================
	function top09_menu()
	{
		this.menu_name = arguments[0];
		this.menu_url = arguments[1];
		this.menu_alt = arguments[2];
		this.menu_id = arguments[3];  // 1Â÷ depth¿¡¼­ -1Àº ´Üµ¶¸Þ´º
		this.child = new Array();

		this.addchild = function()
		{
			this.child[this.child.length] = new top09_menu(arguments[0], arguments[1], arguments[2], arguments[3]);
		}
	}

	function clear4depth(divname){
		document.getElementById(divname).innerHTML = "";
//		document.getElementById(divname).style.display = "none";
		}

	function setTopmenuTab(tabid) {
		var argtab = tabid;

		
	}

	
	function show4depth(divname,F_idx,S_idx,T_idx,H_code){
		var str4depth="";
		var chsub_menu = _top_d[F_idx].child[S_idx].child[T_idx].child;


	str4depth += "<div class=\"naviBtmArea04\">";
	str4depth += "		<!-- s : 4Depth Area -->";
	str4depth += "		<ul class=\"navi_Depth04\">";


			for (var tmp_i=0;tmp_i < chsub_menu.length;tmp_i++){

			 str4depth+="<li";
			if (H_code==chsub_menu[tmp_i].menu_id) str4depth+=" class=\"btnON\" ";
				str4depth+=">";
			str4depth+="<a href=\""+chsub_menu[tmp_i].menu_url+"\" ";
			str4depth+=" >"+chsub_menu[tmp_i].menu_name+"</a></li>";
			
		}
		
	str4depth += "		</ul>";
	str4depth += "		<!-- e : 4Depth Area -->";
	str4depth += "	</div>";
	str4depth += "	<hr/>";
	
		document.getElementById(divname).innerHTML = str4depth;
		document.getElementById(divname).style.display = "block";
		}

	  function ClearTimer() {
  			if(timer) clearTimeout(timer);
  	}
  	
	function setMouseOut(pointidx){
			timer = setTimeout("setTopmenuTab(" + pointidx + ");", 100);
	}
	
	function set1Layer(pointidx){
		if(timer) clearTimeout(timer);
		document.getElementById("topmenu0"+pointidx).style.display = "none";
		document.getElementById("topmenu06").style.display = "block";
		clear4depth('depth4');
	}
	
	function showSubLayer(classid,tabid){

//s) ±×¸®±âÀü¿¡ ÀÌÀü°Å Clear
		try {
			for(i=0;_top_d[classid].child.length;i++)	document.getElementById("sublayer"+classid.toString()+i.toString()).innerHTML="";
	}		catch (e) {	}
//e) ±×¸®±âÀü¿¡ ÀÌÀü°Å Clear

		if (_top_d[classid].child[tabid].child.length>0){
			
			var tk03layer="<ul class=\"navi_d03_down\" id=\"topmenu_3"+tabid+"\" style=\"display:block;\">";

	    	for(i=0;i<_top_d[classid].child[tabid].child.length;i++){
		    	tk03layer += "<li class=\"d03_list\"><a href=\""+_top_d[classid].child[tabid].child[i].menu_url+"\">"+_top_d[classid].child[tabid].child[i].menu_name+"</a></li>";
		    }
				tk03layer+="</ul>";
//			document.getElementById("sublayer"+classid.toString()+tabid).innerHTML=tk03layer;
		}
	}

	function showSubLayer_now(classid,tabid){

//s) ±×¸®±âÀü¿¡ ÀÌÀü°Å Clear
		try {
			for(i=0;_top_d[classid].child.length;i++)	document.getElementById("sublayer_now"+classid.toString()+i.toString()).innerHTML="";
	}		catch (e) {	}
//e) ±×¸®±âÀü¿¡ ÀÌÀü°Å Clear

		if (_top_d[classid].child[tabid].child.length>0){
			
			var tk03layer="<ul class=\"navi_d03_down\" id=\"topmenu_3"+tabid+"\" style=\"display:block;\">";

	    	for(i=0;i<_top_d[classid].child[tabid].child.length;i++){
		    	tk03layer += "<li class=\"d03_list\"><a href=\""+_top_d[classid].child[tabid].child[i].menu_url+"\">"+_top_d[classid].child[tabid].child[i].menu_name+"</a></li>";
		    }
				tk03layer+="</ul>";
			document.getElementById("sublayer_now"+classid.toString()+tabid).innerHTML=tk03layer;
		}
	}
	
	
	function showRealtimeKeywork_action(){
		document.getElementById('layer_realtime').style.display='block';
	}
	
function showRealtimeKeywork(){
	document.getElementById('layer_realtime').style.display='block';
}

function hideRealtimeKeywork(){

	document.getElementById('layer_realtime').style.display='none';
}



function setSubLayer(tabid,maxid){
				setMouseOutClear();
				try {
				    for(i=1;i<=maxid;i++){
				        if(i==tabid){
				            document.getElementById("topmenu_"+i).style.display = "block";
				        }else{   
				            document.getElementById("topmenu_"+i).style.display = "none";
				        }    
				    }        
				  } catch(e){ }
		 	}
	
		var mn_ti;
		function setSubLayerMouseOut(){
			mn_ti = setTimeout("setSubLayer(10,10)", 100);
		}
		
		function setMouseOutClear(){
			if(mn_ti) clearTimeout(mn_ti);
		}


			function fn_OpenSiteMore(){
					if (document.getElementById("layerMoreBox").style.display == "block") {
						document.getElementById("layerMoreBox").style.display = "none";
					} else {
						document.getElementById("layerMoreBox").style.display = "block";
					}
				}
//--- e) Common Function ---------------------------------------------------------------------

// Main ½ÃÀÛ ---------------------------------------------------------------------------------
// Main ½ÃÀÛ ---------------------------------------------------------------------------------

	// ´ë¸Þ´º
	var _top_d = new Array();
	_top_d[0] = new top09_menu("È¨","http://www.joins.com/index.html","´º½º È¨À¸·Î °¡±â","news");
	_top_d[1] = new top09_menu("½ºÆ÷Ã÷¿¬¿¹ È¨","http://news.joins.com/sports/starots_index.html","½ºÆ÷Ã÷¿¬¿¹ È¨À¸·Î °¡±â","sportsen");
	_top_d[2] = new top09_menu("¸Ó´Ï È¨","http://news.joins.com/money/index.html","¸Ó´Ï  È¨À¸·Î °¡±â","money");
	_top_d[3] = new top09_menu("¶óÀÌÇÁ È¨","http://life.joins.com/index.asp?cloc=home|top|life","¶óÀÌÇÁ È¨À¸·Î °¡±â","life");
	_top_d[4] = new top09_menu("½ºÆä¼È È¨","http://news.joins.com/special/index.html?cloc=home|top|special","½ºÆä¼È","special");
	_top_d[5] = new top09_menu("Æ÷Åä","http://pic.joins.com/photo/index.html?cloc=home|top|photo","Æ÷Åä","photo");
	
	// 1Â÷ ¸Þ´º : ´º½º
	_top_d[0].addchild("ÀüÃ¼", "http://news.joins.com/list/total_list01.html?cloc=joins|article|gt_mu01", "", "");
	_top_d[0].addchild("Á¤Ä¡", "http://news.joins.com/politics/index.html", "", "politics");
	_top_d[0].addchild("°æÁ¦", "http://news.joins.com/economy/index.html", "", "economy");
	_top_d[0].addchild("»çÈ¸", "http://news.joins.com/life/index.html", "", "life");
	_top_d[0].addchild("¹®È­", "http://news.joins.com/culture/index.html", "", "culture");
	_top_d[0].addchild("Áö±¸ÃÌ", "http://news.joins.com/world/index.html", "", "world");
	_top_d[0].addchild("Áö¿ª", "http://news.joins.com/local/index.html", "", "local");
	_top_d[0].addchild("»ç¼³", "http://news.joins.com/opinion/index.html", "", "opinion");
	_top_d[0].addchild("°Ç°­", "http://healthcare.joins.com/", "", "healthcare");
	_top_d[0].addchild("ÇÖÀÌ½´", "http://article.joins.com/issue/index.asp", "", "issue");
	_top_d[0].addchild("Æ÷Ä¿½ºÀÎ", "http://focusin.joins.com/", "", "focusin");
	_top_d[0].addchild("º¸µµÀÚ·á", "http://article.joins.com/list/brand/list.asp?service_gb=0&page=1&cloc=home|top|brand", "", "brand");

	// 1Â÷ ¸Þ´º : ½ºÆ÷Ã÷
	_top_d[1].addchild("½ºÆ÷Ã÷", "http://news.joins.com/sports/index.html", "", "sports");
	_top_d[1].addchild("¿¬¿¹", "http://news.joins.com/star/index.html", "", "entertainment");
	_top_d[1].addchild("³²¾Æ°ø¿ùµåÄÅ", "http://media.joins.com/sites/2010worldcup/", "", "-2");
	_top_d[1].addchild("¼½½ÃÈ­º¸", "http://media.joins.com/sites/hotphoto/", "", "-2");
	_top_d[1].addchild("<span><img class='iconNew' src='http://images.joins.com/ui_joins/news09/common/icon_new_orange.gif' alt='new' /></span>¿î¼¼", "http://fortune.joins.com/", "", "-2");

	// 1Â÷ ¸Þ´º : ¸Ó´Ï
	_top_d[2].addchild("<span><img class='iconNew' src='http://images.joins.com/ui_joins/news09/common/icon_new_orange.gif' alt='new' /></span> ÀçÅ×Å©", "http://finance.joins.com/", "", "finance");
	_top_d[2].addchild("Áõ±Ç", "http://stock.joins.com/", "", "stock");
	_top_d[2].addchild("ºÎµ¿»ê", "http://land.joins.com/", "", "land");
	_top_d[2].addchild("IT View", "http://itview.joins.com/", "", "itview");
	_top_d[2].addchild("Á÷ÀåÀÎ", "http://office.joins.com/", "", "office");
	_top_d[2].addchild("CEO", "http://ceo.joins.com/", "", "ceo");
	_top_d[2].addchild("¹Ìµð¾î", "http://media.joins.com/sites/media/", "", "media");		
	_top_d[2].addchild("10¾ï ¸¸µé±â", "http://media.joins.com/sites/billion/", "", "-2");

	// 1Â÷ ¸Þ´º : ¶óÀÌÇÁ
	_top_d[3].addchild("³¯¾¾", "http://weather.joins.com/", "", "weather");
	_top_d[3].addchild("ÄÃÃ³", "http://life.joins.com/culture/index.asp", "", "lifeculture");
	_top_d[3].addchild("<span><img class='iconNew' src='http://images.joins.com/ui_joins/news09/common/icon_new_orange.gif' alt='new' /></span> Çªµå", "http://life.joins.com/food/index.asp", "", "lifefood");
	_top_d[3].addchild("Æ®·¡ºí", "http://life.joins.com/travel/index.asp", "", "lifetravel");
	_top_d[3].addchild("»ê", "http://media.joins.com/sites/climbmountain", "", "lifemountain");	
		
	_top_d[3].addchild("¼îÇÎ", "http://life.joins.com/shopping/index.asp", "", "lifeshopping");
	_top_d[3].addchild("Ä«ÆäÀÎ", "http://cafein.joins.com", "", "cafein");	
	_top_d[3].addchild("ºÏ", "http://book.joins.com", "", "book");
	_top_d[3].addchild("¹®ÇÐ", "http://media.joins.com/sites/literature/", "", "moonhak");	
	_top_d[3].addchild("ÀÎ¹®ÇÐ", "http://media.joins.com/sites/humanity/", "", "humanity");	
	_top_d[3].addchild("ÆÌÂî", "http://patzzi.joins.com/", "", "-1");
	_top_d[3].addchild("¿ù±Ý¼½¼Ç", "http://rainbow.joins.com/", "", "rainbow");


		
	// 1Â÷ ¸Þ´º : SPECIAL
	_top_d[4].addchild("»ç¶÷", "http://people.joins.com/index.asp", "", "people");
	_top_d[4].addchild("È¯°æ", "http://eco.joins.com/", "", "-1");
	_top_d[4].addchild("°úÇÐ", "http://media.joins.com/sites/science", "", "sicence");

	_top_d[4].addchild("±³À°", "http://edu.joins.com/", "", "edu");
	_top_d[4].addchild("¿ì¸®¸»", "http://news.joins.com/korean/index.html", "", "korean");
	_top_d[4].addchild("ºÏÇÑ", "http://nk.joins.com/", "", "-1");
	_top_d[4].addchild("¿©·ÐÁ¶»ç", "http://news.joins.com/research/index.html", "", "research");
	_top_d[4].addchild("ÆËÄÜ´º½º", "http://news.joins.com/special/popcornnews", "", "popcornnews");	
	_top_d[4].addchild("¹é°ú»çÀü", "http://www.opentory.com", "", "-1");
	_top_d[4].addchild("Áöµµ", "http://map.joins.com", "", "map");
	_top_d[4].addchild("ºí·Î±×´º½º", "http://blog.joins.com/center/blognews/", "", "blognews");
	
	// 1Â÷ ¸Þ´º : Æ÷Åä
	_top_d[5].addchild("½Ã»ç", "http://pic.joins.com/photo/photo_sisa.html?cloc=home|top|photo", "", "sisa");
	_top_d[5].addchild("½ºÆ÷Ã÷", "http://pic.joins.com/photo/photo_sports.html?cloc=home|top|photo", "", "sports");
	_top_d[5].addchild("¿¬¿¹", "http://pic.joins.com/photo/photo_star.html?cloc=home|top|photo", "", "star");
	_top_d[5].addchild("¶óÀÌÇÁ", "http://pic.joins.com/photo/photo_life.html?cloc=home|top|photo", "", "life");
	_top_d[5].addchild("ÇÖÀÌ½´", "http://pic.joins.com/photo/gallery_hotissue.html?cloc=home|top|gallery", "", "hotissue");
	_top_d[5].addchild("Å×¸¶È­º¸", "http://pic.joins.com/photo/gallery_theme.html?cloc=home|top|gallery", "", "theme");	
	_top_d[5].addchild("ÆÐ¼Ç¼î", "http://pic.joins.com/photogallery/photo_list.asp?page=1&p_cat=fashion&s_code=&cloc=home|top|fashion", "", "fashion");	
	_top_d[5].addchild("¸ðÅÍ¼î", "http://pic.joins.com/photogallery/photo_list.asp?page=1&p_cat=motor&s_code=&cloc=home|top|motor", "", "motor");	
	_top_d[5].addchild("½ºÅ¸È­º¸", "http://pic.joins.com/photogallery/photo_list.asp?page=1&p_cat=starphoto&s_code=&cloc=home|top|starphoto", "", "starphoto");	
			
	// 2Â÷ ¸Þ´º : ÃÖ½Å±â»ç -> ¾øÀ½
	// 2Â÷ ¸Þ´º : ´º½º -> Á¤Ä¡
	_top_d[0].child[1].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/politics_list01.html", "", "list");
	_top_d[0].child[1].addchild("¼±°Å", "http://news.joins.com/list/politics_election_list01.html", "", "election");
	_top_d[0].child[1].addchild("±¹È¸¡¤Á¤´ç", "http://news.joins.com/list/politics_assemgov_list01.html", "", "assemgov");
	_top_d[0].child[1].addchild("Ã»¿Í´ë", "http://news.joins.com/list/politics_bluehouse_list01.html", "", "bluehouse");
	_top_d[0].child[1].addchild("¿Ü±³", "http://news.joins.com/list/politics_diplomacy_list01.html", "", "diplomacy");
	_top_d[0].child[1].addchild("ºÏÇÑ", "http://news.joins.com/nknet/", "", "-1");
	_top_d[0].child[1].addchild("±¹¹æ", "http://news.joins.com/list/politics_nk_list01.html", "", "nk");

	// 2Â÷ ¸Þ´º : ´º½º -> °æÁ¦
	_top_d[0].child[2].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/money_list01.html", "", "list");
	_top_d[0].child[2].addchild("ºÎµ¿»ê", "http://news.joins.com/list/money_estate_list01.html", "", "estate");
	_top_d[0].child[2].addchild("Áõ±Ç", "http://news.joins.com/list/money_stock_list01.html", "", "stock");
	_top_d[0].child[2].addchild("±¹Á¦°æÁ¦", "http://news.joins.com/list/money_interecono_list01.html", "", "interecono");
	_top_d[0].child[2].addchild("±ÝÀ¶¡¤º¸Çè", "http://news.joins.com/list/money_finance_list01.html", "", "finance");
	_top_d[0].child[2].addchild("»ê¾÷¡¤±â¾÷", "http://news.joins.com/list/money_industry_list01.html", "", "industry");
	_top_d[0].child[2].addchild("¼ÒºñÀÚ¡¤À¯Åë", "http://news.joins.com/list/money_job_list01.html", "", "comsumer");
//	_top_d[0].child[2].addchild("Ãë¾÷", "http://news.joins.com/list/money_job_list01.html", "", "job");
	_top_d[0].child[2].addchild("±â¾÷ ÀÎ»çÀÌµå", "http://article.joins.com/list/inside/list.asp", "", "inside");

	// 2Â÷ ¸Þ´º : ´º½º -> »çÈ¸
	_top_d[0].child[3].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/life_list01.html", "", "list");
	_top_d[0].child[3].addchild("°ËÂû¡¤¹ý¿ø", "http://news.joins.com/list/life_law_list01.html", "", "law");
	_top_d[0].child[3].addchild("±³À°", "http://news.joins.com/list/life_education_list01.html", "", "education");
	_top_d[0].child[3].addchild("»ç°Ç¡¤»ç°í", "http://news.joins.com/list/life_accident_list01.html", "", "accident");
	_top_d[0].child[3].addchild("º¹Áö³ëµ¿", "http://news.joins.com/list/life_welfare_list01.html", "", "welfare");
//	_top_d[0].child[3].addchild("ÇÐ¼úÁ¾±³", "http://news.joins.com/list/life_religion_list01.html", "", "religion");
	_top_d[0].child[3].addchild("»ç¶÷", "http://news.joins.com/list/life_people_list01.html", "", "people");
	_top_d[0].child[3].addchild("³¯¾¾", "http://weather.joins.com/", "", "weather");
	_top_d[0].child[3].addchild("°¨µ¿2.0", "http://news.joins.com/list/life_impression_list01.html", "", "impression");

	// 2Â÷ ¸Þ´º : ´º½º -> ¹®È­
	_top_d[0].child[4].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/culture_list01.html", "", "list");
	_top_d[0].child[4].addchild("Á¾±³¡¤ÇÐ¼ú", "http://news.joins.com/list/culture_religion_list01.html", "", "religion");
	_top_d[0].child[4].addchild("¹®È­Àç", "http://news.joins.com/list/culture_property_list01.html", "", "property");
	_top_d[0].child[4].addchild("Ã¥¡¤¹®ÇÐ", "http://news.joins.com/list/culture_book_list01.html", "", "book");
	_top_d[0].child[4].addchild("Å¬·¡½Ä", "http://news.joins.com/list/culture_classic_list01.html", "", "classic");
	_top_d[0].child[4].addchild("¾Ö´Ï¡¤¸¸È­", "http://news.joins.com/list/culture_animation_list01.html", "", "animation");
	_top_d[0].child[4].addchild("Àü½Ã¡¤¹Ì¼ú", "http://news.joins.com/list/culture_art_list01.html", "", "art");
	_top_d[0].child[4].addchild("¿¬±Ø¡¤¹«¿ë", "http://news.joins.com/list/culture_play_list01.html", "", "play");

	// 2Â÷ ¸Þ´º : ´º½º -> Áö±¸ÃÌ
	_top_d[0].child[5].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/world_list01.html", "", "list");
	_top_d[0].child[5].addchild("¹Ì±¹", "http://news.joins.com/list/world_northame_list01.html", "", "northame");
	_top_d[0].child[5].addchild("Áß±¹", "http://news.joins.com/list/world_china_list01.html", "", "china");
	_top_d[0].child[5].addchild("ÀÏº»", "http://news.joins.com/list/world_japan_list01.html", "", "japan");
	_top_d[0].child[5].addchild("À¯·´", "http://news.joins.com/list/world_eu_list01.html", "", "eu");
	_top_d[0].child[5].addchild("·¯½Ã¾Æ", "http://news.joins.com/list/world_russia_list01.html", "", "russia");
	_top_d[0].child[5].addchild("¾ÆÅÂ", "http://news.joins.com/list/world_asiapacific_list01.html", "", "asiapacific");
	_top_d[0].child[5].addchild("¾ÆÇÁ¸®Ä«", "http://news.joins.com/list/world_africa_list01.html", "", "africa");
	_top_d[0].child[5].addchild("Áß³²¹Ì", "http://news.joins.com/list/world_southame_list01.html", "", "southame");
	_top_d[0].child[5].addchild("Áßµ¿", "http://news.joins.com/list/world_middleeast_list01.html", "", "middleeast");

	// 2Â÷ ¸Þ´º : ´º½º -> Áö¿ª
//	_top_d[0].child[7].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/local_list01.html", "", "");
	_top_d[0].child[6].addchild("¼öµµ±Ç", "http://news.joins.com/list/local_metro_list01.html", "", "metro");
	_top_d[0].child[6].addchild("°­¿ø", "http://news.joins.com/list/local_gangwon_list01.html", "", "gangwon");
	_top_d[0].child[6].addchild("ÃæÃ»", "http://news.joins.com/list/local_joongboo_list01.html", "", "joongboo");
	_top_d[0].child[6].addchild("È£³²", "http://news.joins.com/list/local_honam_list01.html", "", "honam");
	_top_d[0].child[6].addchild("¿µ³²", "http://news.joins.com/list/local_yeongnam_list01.html", "", "yeongnam");
	_top_d[0].child[6].addchild("Á¦ÁÖ", "http://news.joins.com/list/local_cheju_list01.html", "", "cheju");
	_top_d[0].child[6].addchild("Ãµ¾È¾Æ»ê", "http://news.joins.com/list/local_chunanasan_list01.html", "", "chunanasan");
	
	// 2Â÷ ¸Þ´º : ´º½º -> »ç¼³Ä®·³
	_top_d[0].child[7].addchild("ÀüÃ¼", "http://news.joins.com/list/opinion_list01.html", "", "list");
	_top_d[0].child[7].addchild("»ç¼³", "http://news.joins.com/list/opinion_sasul_list01.html", "", "sasul");
	_top_d[0].child[7].addchild("Ä®·³", "http://news.joins.com/list/opinion_column_list01.html", "", "column");
	_top_d[0].child[7].addchild("ÀÌ¾î·ÉÀÇ ÇÑ±¹ÀÎ ÀÌ¾ß±â", "http://news.joins.com/opinion/leeoyoung.html", "", "leeoyoung");
	_top_d[0].child[7].addchild("ÇÑÁßÀÏ 30ÀÎÈ¸", "http://news.joins.com/opinion/forum30.html", "", "forum30");

	// 2Â÷ ¸Þ´º : ´º½º -> ÇÖÀÌ½´
	_top_d[0].child[9].addchild("ÀüÃ¼", "http://article.joins.com/issue/index.asp", "", "list");
	_top_d[0].child[9].addchild("Á¤Ä¡", "http://article.joins.com/issue/section.asp?sn=politics", "", "issuepolitics");
	_top_d[0].child[9].addchild("°æÁ¦", "http://article.joins.com/issue/section.asp?sn=money", "", "issuemoney");
	_top_d[0].child[9].addchild("»çÈ¸", "http://article.joins.com/issue/section.asp?sn=life", "", "issuelife");
	_top_d[0].child[9].addchild("Áö±¸ÃÌ", "http://article.joins.com/issue/section.asp?sn=world", "", "issueworld");
	_top_d[0].child[9].addchild("½ºÆ÷Ã÷", "http://article.joins.com/issue/section.asp?sn=sports", "", "issuesports");
	_top_d[0].child[9].addchild("¹®È­", "http://article.joins.com/issue/section.asp?sn=star", "", "issuestar");


	// 2Â÷ ¸Þ´º : ½ºÆ÷Ã÷ ¿¬¿¹ -> ½ºÆ÷Ã÷
	_top_d[1].child[0].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/sports_list01.html?cloc=home|top|sports_list", "", "list");
	_top_d[1].child[0].addchild("¾ß±¸", "http://news.joins.com/sports/baseball", "", "baseball");
	_top_d[1].child[0].addchild("Ãà±¸", "http://news.joins.com/list/sports_soccer_list01.html", "", "soccer");
	_top_d[1].child[0].addchild("°ñÇÁ", "http://news.joins.com/golf", "", "golf");
	_top_d[1].child[0].addchild("ÇØ¿ÜÆÄ", "http://media.joins.com/sites/worldsports", "", "worldsports");
	_top_d[1].child[0].addchild("±è¿¬¾Æ", "http://media.joins.com/sites/yuna", "", "yuna");
	_top_d[1].child[0].addchild("´í½º", "http://media.joins.com/sites/youcandance", "", "youcandance");
	_top_d[1].child[0].addchild("±âÅ¸", "http://news.joins.com/list/sports_all_list01.html", "", "all");


	// 2Â÷ ¸Þ´º : ½ºÆ÷Ã÷ ¿¬¿¹ -> ¿¬¿¹
	_top_d[1].child[1].addchild("ÃÖ½Å±â»ç", "http://news.joins.com/list/star_list01.html", "", "list");
	_top_d[1].child[1].addchild("¹æ¼Û", "http://media.joins.com/sites/onair", "", "onair");
	_top_d[1].child[1].addchild("¿µÈ­", "http://media.joins.com/sites/movie", "", "movie");
	_top_d[1].child[1].addchild("¿¬¿¹°¡¼Ò½Ä", "http://news.joins.com/list/star_entertainment_f_list01.html", "", "worldenter");
	_top_d[1].child[1].addchild("°¶·¯¸®", "http://news.joins.com/list/star_entertainment_p_list01.html", "", "enphoto");
	_top_d[1].child[1].addchild("ÀÎÅÍºä", "http://media.joins.com/sites/star_interview", "", "star_interview");
	_top_d[1].child[1].addchild("ÇÖ °É", "http://media.joins.com/sites/hotgirls", "", "hotgirls");
	_top_d[1].child[1].addchild("½ºÄµµé ", "http://media.joins.com/sites/slove", "", "slove");
	_top_d[1].child[1].addchild("½ºÅ¸ÆÐ¼Ç ", "http://media.joins.com/sites/dramastyle", "", "dramastyle");
	
	// 2Â÷ ¸Þ´º : ¸Ó´Ï  -> ÀçÅ×Å©
	_top_d[2].child[0].addchild("ÃÖ½Å±â»ç", "http://finance.joins.com/list/finance/list.asp?page=&ctg=&mc=1103013", "", "moneyftech");
	_top_d[2].child[0].addchild("¿¹±Ý", "http://finance.joins.com/list/finance/list_column.asp?page=1&column_gb=G&name=%BF%B9%B1%DD", "", "moneysaving");
	_top_d[2].child[0].addchild("º¸Çè", "http://finance.joins.com/list/finance/list_column.asp?page=1&column_gb=G&name=%BA%B8%C7%E8", "", "moneyinsu");	
	_top_d[2].child[0].addchild("ÆÝµå", "http://finance.joins.com/list/finance/list_column.asp?page=1&column_gb=G&name=%C6%DD%B5%E5", "", "moneyfund");	
	_top_d[2].child[0].addchild("´ëÃâ", "http://finance.joins.com/list/finance/list_column.asp?page=1&column_gb=G&name=%B4%EB%C3%E2", "", "moneyloan");	
	_top_d[2].child[0].addchild("Àü¹®°¡Ä®·³", "http://finance.joins.com/Column_Bbs/Column_List.asp", "", "moneycolumn");
	_top_d[2].child[0].addchild("1:1¹«·á»ó´ã", "http://finance.joins.com/Consult_Bbs/Consult_List.asp", "", "moneyconsult");	
	_top_d[2].child[0].addchild("ºÎÀÚ±³½Ç", "http://finance.joins.com/lecture/index.asp", "", "moneylecture");
		
	// 2Â÷ ¸Þ´º : ¸Ó´Ï  -> Áõ±Ç
	_top_d[2].child[1].addchild("Áõ±Ç¼Óº¸", "http://stock.joins.com/list/money/mp_mt_list.asp", "", "moneyarticle");
	_top_d[2].child[1].addchild("½Ã¼¼Á¤º¸", "http://thinkpool.joins.com/concert/joins/sdata/index.jsp", "", "moneysdata");
	_top_d[2].child[1].addchild("ÅõÀÚÀü·«", "http://thinkpool.joins.com/concert/joins/bbs/pdsView.jsp?name=s_001", "", "moneybbs");
	_top_d[2].child[1].addchild("Á¾¸ñºÐ¼®", "http://thinkpool.joins.com/concert/joins/premium/clinic_list.jsp", "", "moneypremium");
	_top_d[2].child[1].addchild("Àü¹®°¡ÄÁ¼³ÆÃ", "http://thinkpool.joins.com/concert/joins/spcenter/sptype/position_stability.jsp", "", "moneyspcenter");
	_top_d[2].child[1].addchild("Áõ±Ç°Ô½ÃÆÇ", "http://thinkpool.joins.com/concert/joins/discuss/thinkserial/pdsView.jsp", "", "moneydiscuss");
	_top_d[2].child[1].addchild("My Stock", "http://thinkpool.joins.com/concert/joins/mystock/my_stock.jsp", "", "moneymystock");

	// 2Â÷ ¸Þ´º : ¸Ó´Ï  -> ºÎµ¿»ê
	_top_d[2].child[2].addchild("ÃÖ½Å±â»ç", "http://land.joins.com/newsflash/", "", "landnews");
	_top_d[2].child[2].addchild("»ó´ã¡¤ÅõÀÚ", "http://land.joins.com/consult/", "", "landconsult");
	_top_d[2].child[2].addchild("½Ã¼¼", "http://land.joins.com/market.price/", "", "landmarket");
	_top_d[2].child[2].addchild("¸Å¹°", "http://land.joins.com/maemul/", "", "landmaemul");
	_top_d[2].child[2].addchild("ºÐ¾ç", "http://land.joins.com/bunyang/", "", "landbunyang");
	_top_d[2].child[2].addchild("ÇØ¿Ü", "http://land.joins.com/world/", "", "landworld");
	_top_d[2].child[2].addchild("Ä¿¹Â´ÏÆ¼", "http://land.joins.com/community/", "", "landcomm");
	_top_d[2].child[2].addchild("µ¿È£È¸", "http://club.joinsland.com/main/", "", "-1");
	_top_d[2].child[2].addchild("±³À°¡¤µµ¼­", "http://www.joinsland.com/academy/", "", "-1");

	// 2Â÷ ¸Þ´º : ¸Ó´Ï  -> IT View
	_top_d[2].child[3].addchild("ÃÖ½Å±â»ç", "http://itview.joins.com/list/list.asp?ctg=16&page=1", "", "itlist");
	_top_d[2].child[3].addchild("ÀÎÅÍ³Ý", "http://itview.joins.com/list/list.asp?ctg=1606&page=1", "", "itinternet");
	_top_d[2].child[3].addchild("Åë½Å/´º¹Ìµð¾î", "http://itview.joins.com/list/list.asp?ctg=1605&page=1", "", "itcomm");
	_top_d[2].child[3].addchild("ÄÄÇ»ÅÍ/°¡Àü", "http://itview.joins.com/list/list.asp?ctg=1605&page=1", "", "itcomputer");
	_top_d[2].child[3].addchild("°ÔÀÓ", "http://itview.joins.com/list/list.asp?ctg=1607&page=1", "", "itgame");
	_top_d[2].child[3].addchild("IT ÇÇÇÃ", "http://itview.joins.com/list/list.asp?ctg=1620&page=1", "", "itpeople");
	_top_d[2].child[3].addchild("¸®ºä", "http://itview.joins.com/list/list.asp?ctg=1621&page=1", "", "itreview");
	_top_d[2].child[3].addchild("TV", "http://itview.joins.com/tv_list.html", "", "ittv");

	// 2Â÷ ¸Þ´º : ¸Ó´Ï  -> Á÷ÀåÀÎ
	_top_d[2].child[4].addchild("ÃÖ½Å±â»ç", "http://office.joins.com/list/money/office/list.asp?service_gb=1&gb_sub=1", "", "officelist");
	_top_d[2].child[4].addchild("Á÷µù¹é¼­", "http://office.joins.com/list/money/office/list.asp?service_gb=2&gb_sub=1", "", "officewhite");
	_top_d[2].child[4].addchild("ÇÇÇÃ&ÀÎÅÍºä", "http://office.joins.com/list/money/office/list.asp?service_gb=3&gb_sub=1", "", "officepeople");
	_top_d[2].child[4].addchild("»ç³»Á¤Ä¡", "http://office.joins.com/list/money/office/list.asp?service_gb=4&gb_sub=1", "", "officeinter");
	_top_d[2].child[4].addchild("±â¾÷¼Ò½Ä", "http://office.joins.com/list/money/office/list.asp?service_gb=1&gb_sub=2", "", "officecompany");
	_top_d[2].child[4].addchild("Ã¢¾÷¸Þ¸ð", "http://office.joins.com/list/money/office/list.asp?service_gb=1&gb_sub=3", "", "officejob");

	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> ³¯¾¾
	_top_d[3].child[0].addchild("³¯¾¾ ¿¹º¸", "http://weather.joins.com/region_wx.php", "", "forecast");
	_top_d[3].child[0].addchild("Æ¯º¸ Á¤º¸", "http://weather.joins.com/warn.php", "", "sreport");
	_top_d[3].child[0].addchild("¿µ»ó ÀÚ·á", "http://weather.joins.com/radar.php", "", "visual");
	_top_d[3].child[0].addchild("»ýÈ° ³¯¾¾", "http://weather.joins.com/life_weather.php", "", "life");
	_top_d[3].child[0].addchild("·¹Àú / ½ºÆ÷Ã÷", "http://weather.joins.com/leisure_highway.php", "", "leports");

	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> ÄÃÃ³
	_top_d[3].child[1].addchild("ÃÖ½Å±â»ç", "http://life.joins.com/culture/list.asp", "", "cultureall");
	_top_d[3].child[1].addchild("Àü½Ã¼Ò½Ä", "http://life.joins.com/culture/list.asp?service_gb=1", "", "culture1706");
	_top_d[3].child[1].addchild("°ø¿¬´º½º", "http://life.joins.com/culture/list.asp?service_gb=2", "", "culture1707");
	_top_d[3].child[1].addchild("Ã¥ÀÌ¾ß±â", "http://life.joins.com/culture/list.asp?service_gb=3", "", "culture1703");
	_top_d[3].child[1].addchild("ÄÃÃ³Ä®·³", "http://life.joins.com/culture/culture_column.asp", "", "culturecolumn");
	//_top_d[3].child[0].addchild("ÄÃÃ³ºí·Î±×", "http://life.joins.com/culture/culture_blog.asp", "", "cultureblog");

	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> Çªµå
	_top_d[3].child[2].addchild("ÃÖ½Å±â»ç", "http://life.joins.com/food/foodInfo/list.asp", "", "foodall");
	_top_d[3].child[2].addchild("ÃßÃµ¸ÀÁý", "http://life.joins.com/food/foodInfo/list.asp?service_gb=1", "", "foodrest");
	_top_d[3].child[2].addchild("¿ä¸®ÇÇÇÃ", "http://life.joins.com/food/foodInfo/list.asp?service_gb=3", "", "foodpeople");
	_top_d[3].child[2].addchild("¿ä¸®¹ý", "http://life.joins.com/food/foodInfo/list.asp?service_gb=2", "", "recipe");
	_top_d[3].child[2].addchild("»ì¸²ÁöÇý", "http://life.joins.com/food/foodInfo/list.asp?service_gb=4", "", "living");
	_top_d[3].child[2].addchild("¿ÍÀÎ&", "http://media.joins.com/sites/wine/", "", "wine");
	//_top_d[3].child[1].addchild("Çªµåºí·Î±×", "http://life.joins.com/food/foodBlog/index.asp", "", "foodblog");

	
	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> Æ®·¡ºí
	_top_d[3].child[3].addchild("ÃÖ½Å±â»ç", "http://life.joins.com/travel/news/list.asp", "", "travelall");
	_top_d[3].child[3].addchild("±¹³»¿©Çà", "http://life.joins.com/travel/news/list.asp?service_gb=1", "", "traveldom");
	_top_d[3].child[3].addchild("ÇØ¿Ü¿©Çà", "http://life.joins.com/travel/news/list.asp?service_gb=2", "", "travelover");
	_top_d[3].child[3].addchild("ÃàÁ¦Á¤º¸", "http://life.joins.com/travel/news/travellist.asp?service_gb=3", "", "travelfestival");
	_top_d[3].child[3].addchild("¸ÀÁý¿©Çà", "http://life.joins.com/travel/news/list.asp?service_gb=4", "", "travelfood");
	_top_d[3].child[3].addchild("ºí·Î±× ¿©Çà", "http://blog.joins.com/center/blognews/list.asp?cat=03", "", "-1");
	_top_d[3].child[3].addchild("¿©ÇàÁ¤º¸", "http://life.joins.com/travel/news/travellist.asp?service_gb=5", "", "travelinfo");
	_top_d[3].child[3].addchild("¿©Çà»óÇ°", "http://hanatour.joins.com/app/default.asp", "", "-1");

	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> ¼îÇÎ
	_top_d[3].child[5].addchild("ÃÖ½Å±â»ç", "http://life.joins.com/shopping/news/list.asp", "", "shoppingall");
	_top_d[3].child[5].addchild("¼îÇÎ´º½º", "http://life.joins.com/shopping/news/list.asp?service_gb=1", "", "shoppingnews");
	_top_d[3].child[5].addchild("¼îÇÎÆÁ", "http://life.joins.com/shopping/news/issue_list.asp", "", "shoppingtip");
	_top_d[3].child[5].addchild("½Å»óÇ°Á¤º¸", "http://life.joins.com/shopping/news/list.asp?service_gb=2", "", "shoppinginfo");
	_top_d[3].child[5].addchild("Æ÷Åä", "http://life.joins.com/shopping/news/photo_list.asp", "", "shoppingphoto");
	//_top_d[3].child[5].addchild("ÇÒÀÎÁ¤º¸", "http://life.joins.com/shopping/news/list.asp?service_gb=3", "", "shoppingsale");

	// 2Â÷ ¸Þ´º : Ä«ÆäÀÎ(cafein)
	_top_d[3].child[6].addchild("ÃÖ½Å±â»ç", "http://cafein.joins.com/list/list.asp", "", "list");
	_top_d[3].child[6].addchild("Ä¿ÇÇ & Æ¼", "http://cafein.joins.com/coffee/", "", "coffee");
	_top_d[3].child[6].addchild("µðÀúÆ®", "http://cafein.joins.com/dessert/", "", "dessert");
	_top_d[3].child[6].addchild("¾ÆÄ«µ¥¹Ì", "http://cafein.joins.com/academy/academy_intro.asp", "", "academy");
	_top_d[3].child[6].addchild("ÇÖ! Ä«Æä", "http://cafein.joins.com/list/list.asp?mcd=hotcafe02", "", "hotcafe");//http://cafein.joins.com/hotcafe/
	_top_d[3].child[6].addchild("Ä¿¹Â´ÏÆ¼", "http://bbs.joins.com/list.asp?tb_name=cafein_job&mca=community01", "", "community");//http://cafein.joins.com/community/

	// 2Â÷ ¸Þ´º : ¶óÀÌÇÁ -> ¿ù±Ý¼½¼Ç
	_top_d[3].child[11].addchild("home&", "http://rainbow.joins.com/home.asp", "", "rainbowhome");	
	_top_d[3].child[11].addchild("°Ç°­ÇÑ ´ç½Å", "http://rainbow.joins.com/me.asp", "", "rainbowhealth");
	_top_d[3].child[11].addchild("food&", "http://rainbow.joins.com/food.asp", "", "rainbowfood");
	_top_d[3].child[11].addchild("Ãë¾÷°ú Ã¢¾÷", "http://rainbow.joins.com/jstyle.asp", "", "rainbowjob");
	_top_d[3].child[11].addchild("Style&", "http://rainbow.joins.com/style.asp", "", "rainbowstyle");
	_top_d[3].child[11].addchild("Week&", "http://rainbow.joins.com/week.asp", "", "rainbowweek");
	_top_d[3].child[11].addchild("´º½ºÅ¬¸³", "http://rainbow.joins.com/newsclip.asp", "", "rainbownewsclip");	
	_top_d[3].child[11].addchild("golf&", "http://rainbow.joins.com/golf.asp", "", "rainbowgolf");
	
	// 2Â÷ ¸Þ´º : ½ºÆä¼£  -> ÀÎ¹°Á¤º¸
	_top_d[4].child[0].addchild("CEO", "http://people.joins.com/ceo/index.asp", "", "ceo");
	_top_d[4].child[0].addchild("°ø¹«¿ø", "http://people.joins.com/official/index.asp", "", "official");
	_top_d[4].child[0].addchild("¹ýÁ¶ÀÎ", "http://people.joins.com/law/index.asp", "", "law");
	_top_d[4].child[0].addchild("Áß±¹ÀÎ¹°", "http://chinapeople.joins.com/index.asp", "", "chinapeople");
	_top_d[4].child[0].addchild("¸¶¸£Äû½ºÈÄÁîÈÄ", "http://people.joins.com/marquis/index.asp", "", "marquis");
	_top_d[4].child[0].addchild("±â¾÷Á¤º¸", "http://kisreport.people.joins.com/index.asp", "", "kisreport");
	_top_d[4].child[0].addchild("Æ÷Ä¿½º ÀÎ¹°", "http://people.joins.com/service/focuspeople.asp", "", "focuspeople");

	// 2Â÷ ¸Þ´º : ½ºÆä¼£  -> Ä£È¯°æ

	// 2Â÷ ¸Þ´º : ½ºÆä¼£  -> ±³À°
	_top_d[4].child[3].addchild("±³À°Á¤º¸", "http://edu.joins.com/info/open_study.asp", "", "open_study");
	_top_d[4].child[3].addchild("ÀÏÀÏÇÐ½À", "http://edu.joins.com/daily/index.asp?CTG=2004", "", "daily");
	_top_d[4].child[3].addchild("¿Â¶óÀÎÇÐ½À", "http://edu.joins.com/language/", "", "online");
	_top_d[4].child[3].addchild("Ãë¾÷±³À°", "http://reading.joins.com/", "", "reading");

	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> ±³À° -> ±³À°Á¤º¸
	_top_d[4].child[3].child[0].addchild("°øÁö/ÀÌº¥Æ®", "http://edu.joins.com/community/board/?db=operation&code=notice", "", "edunotice");
	_top_d[4].child[3].child[0].addchild("±³À°´º½º", "http://edu.joins.com/info/news.asp", "", "edunews");
	_top_d[4].child[3].child[0].addchild("¿­·Á¶ó!°øºÎ", "http://edu.joins.com/info/open_study.asp", "", "edustudy");
	_top_d[4].child[3].child[0].addchild("¿Í±Û¿Í±Û", "http://bbs.joins.com/list.asp?tb_name=edu_01", "", "eduwagle");

	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> ±³À° -> ÀÏÀÏÇÐ½À
	_top_d[4].child[3].child[1].addchild("½Ã°¡ ÀÖ´Â ¾ÆÄ§", "http://edu.joins.com/daily/index.asp?CTG=2004", "", "edumorning");
	_top_d[4].child[3].child[1].addchild("¿ì¸®¸» ¹Ù·ç±â", "http://edu.joins.com/daily/index.asp?CTG=2008", "", "edun2008");
	_top_d[4].child[3].child[1].addchild("¹ÙµÏ", "http://edu.joins.com/daily/baduk.asp", "", "edubaduk");
	_top_d[4].child[3].child[1].addchild("¿î¼¼", "http://edu.joins.com/daily/index.asp?CTG=2003", "", "edu2003");
	_top_d[4].child[3].child[1].addchild("ÀÏÀÏ¿µ¾î", "http://edu.joins.com/daily/index.asp?CTG=2005", "", "edu2005");
	_top_d[4].child[3].child[1].addchild("ÀÏÀÏ Áß±¹¾î", "http://edu.joins.com/daily/index.asp?CTG=2007", "", "edu2007");
	_top_d[4].child[3].child[1].addchild("ÀÏÀÏ ÀÏº»¾î", "http://edu.joins.com/daily/index.asp?CTG=2006", "", "edu2006");

	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> ±³À° -> ¿Â¶óÀÎÇÐ½À
	_top_d[4].child[3].child[2].addchild("ÃÊÁß°íÆÐÅ°Áö", "http://iwillpass.joins.com", "", "eduiwillpass");
	_top_d[4].child[3].child[2].addchild("¼Óµ¶ÇÁ·Î±×·¥", "http://speedbook.joins.com/", "", "eduspeedbook");
	_top_d[4].child[3].child[2].addchild("¿Ü±¹¾î", "http://edu.joins.com/language/", "", "edulanguage");
	_top_d[4].child[3].child[2].addchild("±Þ¼öÇÑÀÚ", "http://hanja.joins.com/html/main_joins.html ", "", "eduhanja");
	_top_d[4].child[3].child[2].addchild("±³¾ç°­ÁÂ", "http://iamhappy.joins.com/", "", "iamhappy");
	_top_d[4].child[3].child[2].addchild("e-Â÷ÀÌ³ª·Î", "http://e-chinaro.joins.com/", "", "echinao");
	//_top_d[4].child[2].child[2].addchild("ÀÎ¼öÇÑÀÚ", "http://insuhanja.joins.com/  ", "", "insuhanja");
	//_top_d[4].child[2].child[2].addchild(" MS Windows Vista", "http://edu.joins.com/community/board/index.asp?db=operation&mode=view&code=notice&idx=828&page=1&viewreq=298", "", "vista");
  
	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> ±³À° -> Ãë¾÷±³À°
	_top_d[4].child[3].child[3].addchild("ÀÚ±âÁÖµµÇÐ½ÀÁöµµ»ç±³À°", "http://reading.joins.com/selfedu/sub1.asp?code=L02", "", "L02M01S01");
	_top_d[4].child[3].child[3].addchild("ÁÖºÎ¹«·áÃë¾÷±³À°", "http://reading.joins.com/freeCourse/sub1.asp?code=L03", "", "L02M02S01");
	_top_d[4].child[3].child[3].addchild("ÀÏ¹ÝÀ¯·á±³À°", "http://reading.joins.com/nonsul/sub1.asp?code=L04", "", "L04M03S01");

	// 2Â÷ ¸Þ´º : ½ºÆä¼£  -> ¿ì¸®¸»±Û
//	_top_d[4].child[4].addchild("¿À´ÃÀÇ ¿ì¸®¸»", "http://news.joins.com/korean/list/korean_tkorean_list.html", "", "koreanlist");
	_top_d[4].child[4].addchild("¹¯°í ´äÇÏ±â", "http://bbs.joins.com/list.asp?tb_name=kor_qna", "", "koreanqna");
	_top_d[4].child[4].addchild("±Û¾²±â³í¼ú", "http://bbs.joins.com/list.asp?tb_name=kor_write", "", "koreanwrite");
	_top_d[4].child[4].addchild("¿ì¸®¸» ¹Ù·ç±â", "http://bbs.joins.com/list.asp?tb_name=korean", "", "koreankorean");
	_top_d[4].child[4].addchild("ÀÚ·á½Ç", "http://news.joins.com/korean/kor_dataroom_index.html", "", "koreandata");
	_top_d[4].child[4].addchild("µ¶ÀÚ±ÛÅÍ", "http://bbs.joins.com/list.asp?tb_name=kor_neti", "", "koreaneti");

	// 2Â÷ ¸Þ´º : ½ºÆä¼£  -> ¿©·ÐÁ¶»ç
	_top_d[4].child[6].addchild("ÀüÃ¼±â»ç", "http://news.joins.com/list/poll_list01.html", "", "rlist");
	_top_d[4].child[6].addchild("ÀÚ·á½Ç", "http://bbs.joins.com/list.asp?tb_name=nresearch", "", "bbs");

	// 2Â÷ ¸Þ´º : ½ºÆä¼£ -> Áöµµ
	_top_d[4].child[9].addchild("´º½º¸Ê", "http://map.joins.com/", "", "newsmap");
	_top_d[4].child[9].addchild("¶óÀÌÇÁ", "http://map.joins.com/?f=02", "", "lifemap");
	_top_d[4].child[9].addchild("ÀÎ¹°", "http://map.joins.com/?f=03&s=01", "", "pcmap");

// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> Áöµµ -> ´º½º¸Ê
	_top_d[4].child[9].child[0].addchild("Áöµµ·Î º¸´Â Áß¾ÓÀÏº¸", "http://map.joins.com/", "", "joongangnewsmap");
	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> Áöµµ -> ¶óÀÌÇÁ
	_top_d[4].child[9].child[1].addchild("°ø°øµµ¼­°ü", "http://map.joins.com/?f=02&s=01", "", "librarymap");
	_top_d[4].child[9].child[1].addchild("º´¿ø", "http://map.joins.com/?f=02&s=02", "", "hospitalmap");
	_top_d[4].child[9].child[1].addchild("ÇåÇ÷", "http://map.joins.com/?f=02&s=03", "", "bloodmap");
	_top_d[4].child[9].child[1].addchild("´ëÇÐ", "http://map.joins.com/?f=02&s=04", "", "universitymap");
	_top_d[4].child[9].child[1].addchild("ÃàÁ¦", "http://map.joins.com/?f=02&s=05", "", "festivalmap");
	_top_d[4].child[9].child[1].addchild("¿©Çà", "http://map.joins.com/?f=02&s=06", "", "travelmap");
	// 3Â÷ ¸Þ´º(4DEPTH) : ½ºÆä¼£ -> Áöµµ -> ÀÎ¹°±â¾÷
	_top_d[4].child[9].child[2].addchild("ÀÎ¹°", "http://map.joins.com/?f=03&s=01", "", "peoplemap");
//	_top_d[4].child[7].child[2].addchild("±â¾÷", "http://map.joins.com/?f=03&s=02", "", "companymap");
	

	// 2Â÷ ¸Þ´º : ½ºÆä¼£ -> ºí·Î±×´º½º
	_top_d[4].child[10].addchild("½Ã»ç", "http://blog.joins.com/center/blognews/list.asp?cat=01", "", "sisa");
	_top_d[4].child[10].addchild("¸®ºä", "http://blog.joins.com/center/blognews/list.asp?cat=02", "", "review");
	_top_d[4].child[10].addchild("¿©Çà", "http://blog.joins.com/center/blognews/list.asp?cat=03", "", "travel");
	_top_d[4].child[10].addchild("ÀÏ»ó", "http://blog.joins.com/center/blognews/list.asp?cat=04", "", "everyday");
	_top_d[4].child[10].addchild("·¹Àú", "http://blog.joins.com/center/blognews/list.asp?cat=05", "", "leisuer");
	_top_d[4].child[10].addchild("Æ÷Åä", "http://blog.joins.com/center/blognews/list.asp?cat=06", "", "Photo");
	_top_d[4].child[10].addchild("¹®ÇÐ", "http://blog.joins.com/center/blognews/list.asp?cat=07", "", "literature");
	_top_d[4].child[10].addchild("Æ¯Á¾", "http://blog.joins.com/center/blognews/list.asp?cat=08", "", "special");

	// 3Â÷ ¸Þ´º : Ä«ÆäÀÎ(cafein)
	_top_d[3].child[6].child[1].addchild("Ä¿ÇÇÀÇ À¯·¡", "http://cafein.joins.com/list/list.asp?mcd=coffee01", "", "coffee01");
	_top_d[3].child[6].child[1].addchild("½ºÆä¼È Á¤º¸", "http://cafein.joins.com/list/list.asp?mcd=coffee02", "", "coffee02");
	_top_d[3].child[6].child[1].addchild("Àü¹®°¡ Ä®·³", "http://cafein.joins.com/list/list.asp?mcd=coffee03", "", "coffee03");
	_top_d[3].child[6].child[1].addchild("Making Tip", "http://cafein.joins.com/list/list.asp?mcd=coffee04", "", "coffee04");
	_top_d[3].child[6].child[1].addchild("Hot! ´º½º", "http://cafein.joins.com/list/list.asp?mcd=coffee05", "", "coffee05");
	//_top_d[3].child[4].child[0].addchild("Æ÷Åä & µ¿¿µ»ó Á¤º¸", "http://cafein.joins.com/coffee/list.asp?mcd=coffee06", "", "coffee06");

	_top_d[3].child[6].child[2].addchild("µðÀúÆ® Á¤º¸ & ·¹½ÃÇÇ", "http://cafein.joins.com/list/list.asp?mcd=dessert01", "", "dessert01");
	_top_d[3].child[6].child[2].addchild("Çªµå ·¹½ÃÇÇ", "http://cafein.joins.com/list/list.asp?mcd=dessert02", "", "dessert02");
	
	_top_d[3].child[6].child[3].addchild("¾ÆÄ«µ¥¹Ì ¼Ò°³", "http://cafein.joins.com/academy/academy_intro.asp", "", "academy01");
	_top_d[3].child[6].child[3].addchild("Ä¿ÇÇ Ãë¹Ì°úÁ¤", "http://cafein.joins.com/academy/academy_coffee.asp", "", "academy02");
	_top_d[3].child[6].child[3].addchild("¹Ù¸®½ºÅ¸ ÀÏ¹Ý°úÁ¤", "http://cafein.joins.com/academy/academy_barista.asp", "", "academy03");
	_top_d[3].child[6].child[3].addchild("Ä«Æä Ã¢¾÷°úÁ¤", "http://cafein.joins.com/academy/academy_cafe.asp", "", "academy04");
	_top_d[3].child[6].child[3].addchild("Ä¿ÇÇ & Â÷ ·¹½ÃÇÇ", "http://cafein.joins.com/list/list.asp?mcd=academy05", "", "academy05");
	
	//_top_d[3].child[4].child[3].addchild("Áö¿ªº° Ä«ÆäÁ¤º¸", "javascript:alert('ÁØºñÁßÀÔ´Ï´Ù.');", "", "hotcafe01");
	_top_d[3].child[6].child[4].addchild("Å×¸¶º° Ä«Æä", "http://cafein.joins.com/list/list.asp?mcd=hotcafe02", "", "hotcafe02");
	_top_d[3].child[6].child[4].addchild("Å½¹æ! ÆÄ¿öºí·Î±×", "javascript:alert('ÁØºñÁßÀÔ´Ï´Ù.');", "", "hotcafe03");
	
	_top_d[3].child[6].child[5].addchild("Ã¢¾÷/Ãë¾÷Á¤º¸", "http://bbs.joins.com/list.asp?tb_name=cafein_job&mca=community01", "", "community01");
	_top_d[3].child[6].child[5].addchild("¹Ù¸®½ºÅ¸Á¤º¸", "http://bbs.joins.com/list.asp?tb_name=cafein_ba&mca=community02", "", "community02");
	_top_d[3].child[6].child[5].addchild("Ä«ÆäÁ¤º¸", "http://bbs.joins.com/list.asp?tb_name=cafein_ca&mca=community03", "", "community03");
	_top_d[3].child[6].child[5].addchild("³ª¸¸ÀÇ ·¹½ÃÇÇ", "http://bbs.joins.com/list.asp?tb_name=cafein_re&mca=community04", "", "community04");
	//_top_d[3].child[4].child[4].addchild("Self Poll", "javascript:alert('ÁØºñÁßÀÔ´Ï´Ù.');", "", "community05");//http://cafein.joins.com/community/poll/poll_list.asp

	// 3Â÷ ¸Þ´º(4DEPTH) : ¶óÀÌÇÁ -> ³¯¾¾  -> ³¯¾¾¿¹º¸
	_top_d[3].child[0].child[0].addchild("Áö¿ª º° ³¯¾¾", "http://weather.joins.com/region_wx.php", "", "regional");
	_top_d[3].child[0].child[0].addchild("¹Ù´Ù ³¯¾¾", "http://weather.joins.com/forecast_sea.php", "", "sea");
	_top_d[3].child[0].child[0].addchild("ÁÖ°£ ³¯¾¾", "http://weather.joins.com/week_wx.php", "", "weekly");
	_top_d[3].child[0].child[0].addchild("¿ù°£ ³¯¾¾", "http://weather.joins.com/month_wx.php", "", "monthly");
	_top_d[3].child[0].child[0].addchild("¼¼°èÀÇ ³¯¾¾", "http://weather.joins.com/world_wx.php", "", "world");
	_top_d[3].child[0].child[0].addchild("µ¿³× ³¯¾¾", "http://weather.joins.com/dongne.php", "", "dongne");
	
	// 3Â÷ ¸Þ´º(4DEPTH) : ¶óÀÌÇÁ -> ³¯¾¾  -> Æ¯º¸ Á¤º¸
	_top_d[3].child[0].child[1].addchild("±â»óÆ¯º¸", "http://weather.joins.com/warn.php", "", "wreport");
	_top_d[3].child[0].child[1].addchild("ÅÂÇ³Á¤º¸", "http://weather.joins.com/typhoon.php", "", "typoon");

	// 3Â÷ ¸Þ´º(4DEPTH) : ¶óÀÌÇÁ -> ³¯¾¾  -> ¿µ»ó ÀÚ·á
	_top_d[3].child[0].child[2].addchild("·¹ÀÌ´õ ¿µ»ó", "http://weather.joins.com/radar.php", "", "radar");
	_top_d[3].child[0].child[2].addchild("À§¼º ¿µ»ó", "http://weather.joins.com/sat.php", "", "sat");
	_top_d[3].child[0].child[2].addchild("È²»ç ºÐ¼®", "http://weather.joins.com/sand.php", "", "yellow");

	// 3Â÷ ¸Þ´º(4DEPTH) : ¶óÀÌÇÁ -> ³¯¾¾  -> »ýÈ° ³¯¾¾
	_top_d[3].child[0].child[3].addchild("»ýÈ° Áö¼ö", "http://weather.joins.com/life_weather.php", "", "degree");
	_top_d[3].child[0].child[3].addchild("ÀÚ¿Ü¼± Áö¼ö", "http://weather.joins.com/uv.php", "", "uv");

	// 3Â÷ ¸Þ´º(4DEPTH) : ¶óÀÌÇÁ -> ³¯¾¾  -> ·¹Àú / ½ºÆ÷Ã÷
	_top_d[3].child[0].child[4].addchild("°í¼Óµµ·Î", "http://weather.joins.com/leisure_highway.php", "", "highway");
	_top_d[3].child[0].child[4].addchild("Ãà±¸Àå", "http://weather.joins.com/leisure_soccer.php", "", "soccer");
	_top_d[3].child[0].child[4].addchild("¾ß±¸Àå", "http://weather.joins.com/leisure_baseball.php", "", "baseball");
	_top_d[3].child[0].child[4].addchild("°ñÇÁÀå", "http://weather.joins.com/leisure_golf.php", "", "golf");
	_top_d[3].child[0].child[4].addchild("½ºÅ°Àå", "http://weather.joins.com/leisure_ski.php", "", "ski");
	_top_d[3].child[0].child[4].addchild("µî»ê", "http://weather.joins.com/leisure_mountain.php", "", "mountain");
	_top_d[3].child[0].child[4].addchild("¹Ù´Ù³¬½Ã", "http://weather.joins.com/leisure_seafishing.php", "", "seafishing");
	_top_d[3].child[0].child[4].addchild("¹Î¹°³¬½Ã", "http://weather.joins.com/leisure_freshfishing.php", "", "waterfishing");
	_top_d[3].child[0].child[4].addchild("ÄÜµµ", "http://weather.joins.com/leisure_condo.php", "", "condo");
	_top_d[3].child[0].child[4].addchild("ÈÞ¾ç¸²", "http://weather.joins.com/leisure_repose.php", "", "rest");
	_top_d[3].child[0].child[4].addchild("ÇØ¼ö¿åÀå", "http://weather.joins.com/leisure_sea.php", "", "beach");
	_top_d[3].child[0].child[4].addchild("µå¶óÀÌºê", "http://weather.joins.com/leisure_drive.php", "", "driving");

/*
F_code : ´ëºÐ·ù ¿µ¹® ÄÚµå
S_code : ÁßºÐ·ù ¿µ¹® ÄÚµå
T_code : ¼ÒºÐ·ù ¿µ¹® ÄÚµå
H_code : 4Depth ¿µ¹® ÄÚµå

Default F_code => news
Default S_code => ""
Default T_code => ""
Default H_code => ""

F_index : ´ëºÐ·ù ¼ýÀÚ ¹è¿­ ÀÎµ¦½º
S_index : ÁßºÐ·ù ¼ýÀÚ ¹è¿­ ÀÎµ¦½º
T_index : ¼ÒºÐ·ù ¼ýÀÚ ¹è¿­ ÀÎµ¦½º
*/


	// ÇöÀç À§Ä¡ Ç¥½Ã¿ë º¯¼ö ¼¼ÆÃ
	var Sp_code, F_code = "", S_code = "", T_code = "", F_code2 = "", S_code2 = "",F_index = "" , S_index = "" , T_index = "" , F_class = "" , S_class ="" , T_class ="", Z_code = "";
	var fourdepthcheck=false; //4Depth check flag
	var timer; // MouseOut ÀÏ¶§ ´Ù¸¥ ¸Þ´º ¼±ÅÃÀÌ ¾Æ´Ï¶ó¸é ÃÖÃÊ ¸Þ´º·Î Restore ¿¡ »ç¿ëÇÏ´Â º¯¼ö
	var imgTitle="total";

	
	// ´ëÁß¼ÒºÐ·ù ±¸ºÐ Code ÃßÃâ

	
	try {
//ende	
	// CTG °ªÀÌ ÀÖÀ¸¸é ÀÌ°ÍÀÌ ¿ì¼±ÇÑ´Ù
	var qsCtg = new Querystring();
	var rqCtg = qsCtg.get("ctg");

		if (rqCtg==""||typeof(rqCtg) == "undefined") {
			// ±×³É Åë°ú
		} else {
			
			if (rqCtg.length>2) rqCtg = rqCtg.substring(0,2);
			
				switch(rqCtg)
					{
/*					case "-1":
					  Acode = "news||";
					  imgTitle="total";
					  break;*/
					case "10":
					  Acode = "news|politics|";
					  imgTitle="politics";
					  break;
					case "11":
					  Acode = "news|economy|";
					  imgTitle="money";
					  break;
					case "12":
					  Acode = "news|life|";
					  imgTitle="life";
					  break;
					case "13":
					  Acode = "news|world|";
					  imgTitle="world";
					  break;
					case "14":
					  Acode = "news|sports|";
					  imgTitle="sports";
					  break;					  
					case "15":
					  Acode = "news|star|";
					  imgTitle="star";
					  break;
					case "16":
					  Acode = "money|itview|";
					  imgTitle="infotech";
					  break;
					case "17":
					  Acode = "news|culture|";
					  imgTitle="culture";
					  break;
					case "20":
					  Acode = "news|opinion|";
					  imgTitle="opinion";
					  break;
					case "22":
					  Acode = "news|topic|";
					  imgTitle="total";
					  break;
					/*default:
					  Acode = "news||";
					  imgTitle="total";*/
					}
			}
	} catch(e) {}
		
		try {
					Sp_code = Acode.split("|"); F_code = Sp_code[0]; S_code = Sp_code[1]; T_code = Sp_code[2];H_code = Sp_code[3];
					S_code2 = S_code;
			
					if(F_code=="news" && S_code=="sports") F_code = "sportsen";
					else if(F_code=="news" && S_code=="walkholic") Z_code = "walkholic";
					else if(F_code=="news" && S_code=="przone") Z_code = "przone";
					else if(F_code=="news" && S_code=="digitalreporter") Z_code = "digitalreporter";
					else if(F_code=="news" && S_code=="star") {
							F_code = "sportsen";
							S_code = "entertainment";
						}

	} catch(e) {
		F_code = "news";
	}
	F_code2=F_code;
	S_code2=S_code;	

	// ´ëºÐ·ù ±¸ºÐ Index ÃßÃâ
	for(var _top09_i=0; _top09_i<_top_d.length; _top09_i++){

				if((F_code2 == _top_d[_top09_i].menu_id))
				{
					F_index=_top09_i;
				}
	}

	// ÁßºÐ·ù ±¸ºÐ Index ÃßÃâ
	S_index=-1; // Default
	if (S_code=="") {
		S_index=-1;
		} else {

			for(var _top09_j=0; _top09_j < _top_d[F_index].child.length; _top09_j++)
			{
					if((F_code2 == _top_d[F_index].menu_id) && (S_code2 != "" && S_code2 == _top_d[F_index].child[_top09_j].menu_id)) // ÇöÀç ºÐ·ùÄÚµå¸¦ ±½°Ô Ç¥½Ã¸¦ À§ÇØ
					{
						S_index=_top09_j;
					}
			}
			if (S_index==-1) {
				S_code=""; // ÀÔ·Â ÄÚµå ¿¡·¯ º¸Á¤
				S_index=0;
			}
		}

	// ¼ÒºÐ·ù ±¸ºÐ Index ÃßÃâ
	T_index = -1;
	if (T_code=="") {
		T_index=-1 // Default
		} else if (S_code=="") {
			S_index=""; // Default
		} else {
				for(var _top09_k=0; _top09_k<_top_d[F_index].child[S_index].child.length; _top09_k++)
				{
					if((T_code != "" && T_code == _top_d[F_index].child[S_index].child[_top09_k].menu_id)) // ÇöÀç ºÐ·ùÄÚµå¸¦ ±½°Ô Ç¥½Ã
					{
						T_index=_top09_k;
					}
				}
				if (T_index==-1) {
					T_code=""; // ÀÔ·Â ÄÚµå ¿¡·¯ º¸Á¤
					T_index=0;
				}
			}

	var _top09_str, _top09_tk, _top09_tk_Os; //Ãâ·Â º¯¼ö , °Ë»ö ¼øÀ§ , ¿ÀÇÂ½ºÅä¸®
	try { _top09_tk = showTodayKeyword(); } catch(e) { _top09_tk = ""; }
	try { _top09_tk_Os = showOpenStory_STR_v22(); } catch(e) { _top09_tk_Os = ""; }

	_top09_str ="<link rel=\"stylesheet\" type=\"text/css\" href=\"http://wtxt.joins.com/_ui/css/2009/joins_navigation.css\" media=\"all\" />";
	_top09_str += "<style>\n";
	_top09_str += ".naviTopArea ul.mainBtn {padding-left:6px;} \n";
	_top09_str += ".naviTopArea ul.sideBtn {padding:1px 0 0 99px;} \n";
	_top09_str += "</style>";
	
	_top09_str += "<!-- *********************************************** s : Header *********************************************** -->";
	_top09_str += "<div id=\"SUBHEADER\" >";
	_top09_str += "	<!-- s : Á¶ÀÎ½º ·Î°í -->";
	_top09_str += "	<h1><a href=\"http://www.joins.com/\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/logo_joins_sub.gif\" alt=\"JOINS\"></a>";

	if (S_code!=""&&F_code!="photo") {
		if (T_code=="election429") { // 429 ¿¹¿ÜÃ³¸®
			_top09_str += "<a href=\"http://news.joins.com/special/429/\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/"+F_code+"/"+F_code+"_"+T_code+".gif\" alt=\""+_top_d[F_index].child[S_index].child[T_index].menu_name+"\" /></a>";
		} else {
//			if (F_code=="life") _top09_str += "<a href=\""+_top_d[F_index].child[S_index].menu_url+"\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/"+F_code+"_"+S_code.replace("life","")+".gif\" alt=\""+_top_d[F_index].child[S_index].menu_name+"\" /></a>";
//			else	_top09_str += "<a href=\""+_top_d[F_index].menu_url+"\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/"+F_code+".gif\" alt=\""+_top_d[F_index].menu_name+"\" /></a>";
			_top09_str += "<a href=\""+_top_d[F_index].menu_url+"\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/"+F_code+".gif\" alt=\""+_top_d[F_index].menu_name+"\" /></a>";				
		}
	} else if(Z_code == "walkholic") { // walkholic ´ñ±Û ÀÌº¥Æ® ¿¹¿ÜÃ³¸®
		_top09_str += "<a href=\"http://news.joins.com/special/walkholic/\"><img src=\"http://images.joins.com/ui_joins/news09/news/news_workholic.gif\" alt=\"¿öÅ©È¦¸¯ ÀÌº¥Æ®\" /></a>";
	} else if(Z_code == "przone") { // przone ¿¹¿ÜÃ³¸®
		_top09_str += "<a href=\"http://przone.joins.com/\"><img src=\"http://images.joins.com/ui_jmn//ad08/log_adzone.gif\" alt=\"±â¾÷ ¸¶ÄÉÆÃ &amp; PRÁ¤º¸\" /></a>";
	} else if(Z_code == "digitalreporter") { // digitalreporter ¿¹¿ÜÃ³¸®
		_top09_str += "<a href=\"http://news.joins.com/list/digitalreport_list01.html\"><img src=\"http://images.joins.com/ui_joins/news09/news/digitalreport.jpg\" alt=\"µðÁöÅÐ¸®Æ÷ÅÍ\" /></a>";
	} else {
			_top09_str += "<a href=\""+_top_d[F_index].menu_url+"\"><img src=\"http://images.joins.com/ui_joins/news09/navi02/"+F_code+".gif\" alt=\""+_top_d[F_index].menu_name+"\" /></a>";
	}
	_top09_str += "</h1>";
	_top09_str += "<!-- e : Á¶ÀÎ½º ·Î°í -->	";
	
	
	_top09_str += "	<!-- s : ¿ìÃø¹è³Ê -->";
	_top09_str += "	<div class=\"topRightBnr\"><iframe src=\"http://news.joins.com/_ui/ad/2009/main_left_25555_new.html\" frameborder=\"0\" marginheight=\"0\" topmargin=\"0\" scrolling=\"no\"  width=\"225\" height=\"55\"></iframe></div><hr />";
	_top09_str += "	<!-- e : ¿ìÃø¹è³Ê -->";
	_top09_str += "</div>";
	_top09_str += "<!-- *********************************************** e : Header *********************************************** -->";

	_top09_str += "<!-- *********************************************** s : Sub Navigation*********************************************** -->"
	_top09_str += "<div id=\"NAVIGATION\" >";
	_top09_str += "	<h2>Á¶ÀÎ½º ³×ºñ°ÔÀÌ¼Ç</h2>";
	_top09_str += "	<div class=\"naviTopArea\" >";
	_top09_str += "		<!-- s : 1Depth menu -->";
	_top09_str += "		<ul class=\"mainBtn\" >";

// ´ëºÐ·ù »ó´Ü ¸Þ´º Ç¥½Ã
	for(var _top_tmp1=0;_top_tmp1<(_top_d.length-1);_top_tmp1++){
		if(F_index==_top_tmp1) {_top09_str += "			<li><a href=\""+_top_d[_top_tmp1].menu_url+"\" ><img src=\"http://images.joins.com/ui_joins/news09/navi02/btn_navi01_0"+(_top_tmp1+1)+"_on.gif\" alt=\""+_top_d[_top_tmp1].menu_name+"\" id=\"menu0"+(_top_tmp1+1)+"\"></a></li>";	 }
		else {_top09_str += "			<li><a href=\""+_top_d[_top_tmp1].menu_url+"\" ><img src=\"http://images.joins.com/ui_joins/news09/navi02//btn_navi01_0"+(_top_tmp1+1)+"_off.gif\" alt=\""+_top_d[_top_tmp1].menu_name+"\" id=\"menu0"+(_top_tmp1+1)+"\"></a></li>";}
	}

	_top09_str += "		</ul>";
	_top09_str += "		<!-- e : 1Depth menu -->";
	_top09_str += "		";
	_top09_str += "		<!-- s : TV, Æ÷Åä, ºí·Î±×, ÀÎ¹°Á¤º¸ -->";
	_top09_str += "		<ul class=\"sideBtn\">";
	_top09_str += "			<li><a href=\"http://tv.joins.com?cloc=home|top|joinstv\" target='_blank'><img src=\"http://images.joins.com/ui_joins/news09/news/btn_navi_side01.gif\" alt=\"TV\"></a></li>";
	_top09_str += "			<li><a href=\"http://pic.joins.com/photo/?cloc=home|top|photo\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_navi_side02.gif\" alt=\"Æ÷Åä\"></a></li>";
	_top09_str += "			<li><a href=\"http://blog.joins.com/center/?cloc=home|top|blog\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_navi_side03.gif\" alt=\"ºí·Î±×\"></a></li>";
	_top09_str += "			<li><a href=\"http://people.joins.com/?cloc=home|top|people\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_navi_side04_1.gif\" alt=\"ÀÎ¹°Á¤º¸\"></a></li>";
	_top09_str += "			<li><a href=\"http://www.jgolfi.com/?cloc=home|top|golf\" target=\"_golf\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_navi_side05.gif\" alt=\"°ñÇÁ\"></a></li>";
	_top09_str += "		</ul>";
	_top09_str += "		<!-- e : TV, Æ÷Åä, ºí·Î±×, ÀÎ¹°Á¤º¸ -->";
	

	_top09_str += "		<form name='top_search' method='get' action='http://find.joins.com/' onsubmit='searchCheck2(this);return false;'>"
	_top09_str += "		<input type='hidden' name='category' value='total'>"

	_top09_str += "		<!-- s : ÅëÇÕ°Ë»ö ¿µ¿ª -->";
	_top09_str += "		<div class=\"searchArea\">";
	_top09_str += "		<fieldset>";
	_top09_str += "			<legend>ÅëÇÕ°Ë»ö</legend>";
	_top09_str += "			<div class=\"searchEditBox\"><input class=\"editBox\" id=\"blogin_i\" name=\"kwd\" tabindex=\"1\" autocomplete=\"off\" type=\"edit\" onFocus=\"this.value='';this.className='editBox';\"  /></div>";
	_top09_str += "			<div class=\"searchBtn\"><input type=\"image\" src=\"http://images.joins.com/ui_joins/news09/navi02/btn_search.gif\" alt=\"°Ë»ö\" /></div>";
	_top09_str += "		</fieldset>";
	_top09_str += "		</div>";
	_top09_str += "</form>";
	_top09_str += "		<!-- e : ÅëÇÕ°Ë»ö ¿µ¿ª -->";
	_top09_str += "</div>";
	_top09_str += "<hr />";

								_top09_str += "<div class=\"naviBtmArea\">"  //  s) naviBtmArea   -----------------------------------------------------------

								_top09_str += "		<!-- s : 2Depth Area -->";
								_top09_str += "		<ul class=\"navi_Depth02\" onMouseOver=\"ClearTimer();\" >";

										var chsub_length_layer = _top_d[F_index].child.length;
										var chsub_menu_layer = _top_d[F_index].child;
										var subLayerNumber = 0; //º°µµ Numbering

										var _top09_templet_str =""; // ÅÛÇÃ¸´¿ë

										for(var _top09_k=0; _top09_k < chsub_length_layer ; _top09_k++){

											if(chsub_menu_layer[_top09_k].menu_id == "-2") { // ÅÜÇÃ¸´ ¿µ¿ª µû·Î
												_top09_templet_str += "<a href=\""+chsub_menu_layer[_top09_k].menu_url+"\" ";
												_top09_templet_str +=" >"+ chsub_menu_layer[_top09_k].menu_name +"</a>";
											} else {

													if (_top09_k==0) _top09_str += "<li class=\"first\" >";
													else _top09_str += "<li>";
													
													_top09_str += "<a href=\""+chsub_menu_layer[_top09_k].menu_url+"\" ";

													if(chsub_menu_layer[_top09_k].menu_id == "-1") _top09_str += " target=\"_blank\" "; // ´Üµ¶¸Þ´ºÀÏ °æ¿ì
													if (_top09_k==S_index) _top09_str += " class=\"btnON\" ";

													if (chsub_menu_layer[_top09_k].child.length >0 ){
														subLayerNumber++;
														_top09_str += "   onmouseover=\"setSubLayer("+subLayerNumber+","+chsub_length_layer +")\"  onMouseOut='setSubLayerMouseOut();' ";
													} 
														_top09_str+=" >"+ chsub_menu_layer[_top09_k].menu_name +"</a>";
													
		//s) showSubLayer	¿©±â Ãß°¡	

														if (chsub_menu_layer[_top09_k].child.length >0 ){
															_top09_str += "<ul class=\"navi_d03_down\" id=\"topmenu_"+subLayerNumber+"\" style=\"display:none;\" onMouseOver='setMouseOutClear();'  onMouseOut='setSubLayerMouseOut()' >";
															
																	for(var _top09_h=0; _top09_h < chsub_menu_layer[_top09_k].child.length ; _top09_h++){
																		_top09_str += "<li class=\"d03_list\"><a href=\""+chsub_menu_layer[_top09_k].child[_top09_h].menu_url+"\">"+chsub_menu_layer[_top09_k].child[_top09_h].menu_name+"</a></li>";
																	}
															_top09_str += "</ul>";
														} 
		//s) showSubLayer	¿©±â Ãß°¡																	

													_top09_str += " </li>";
											} // if ÅÛÇÃ¸´
										} // for


										_top09_str += "		</ul>";
										_top09_str += "<!-- e : 2Depth Area -->";

											if (_top09_templet_str!="") // Templete ¿µ¿ª Ãß°¡
											{
												_top09_str += "<!-- s : 2Depth Template -->";
												_top09_str +="<div class=\"addTmp\">";
												_top09_str +="<img src=\"http://images.joins.com/ui_joins/news09/template/addNaviLeft.gif\">";
												_top09_str += _top09_templet_str; 
												_top09_str +="<img src=\"http://images.joins.com/ui_joins/news09/template/addNaviRight.gif\"></div>"; // ÅÛÇÃ¸´ ¸¶°¨
												_top09_str += "<!-- e : 2Depth Template -->";

											}
				
										_top09_str += "		<!-- s : ½Ç½Ã°£ ±Þ»ó½Â °Ë»ö¾î -->";
										_top09_str += "		<div id=\"universalKeyword\" onmouseout=\"hideRealtimeKeywork();\">";
										_top09_str += "			<h2>½Ç½Ã°£ ±Þ»ó½Â °Ë»ö¾î</h2>";
										_top09_str += "			<div id=\"realTimeSearch\" title=\"½Ç½Ã°£ ±Þ»ó½Â °Ë»ö¾î\"  onmouseover=\"showRealtimeKeywork();\">";
										_top09_str += "				<div id=\"layer_realtime\" style=\"display:none;\" >";
										_top09_str += _top09_tk;
										_top09_str += "				</div>";
										_top09_str += "				";
										_top09_str += "				<ol id=\"marquee_keyword\">";
										_top09_str += "					<script type=\"text/javascript\" src=\"http://www.joins.com/_include/javascript/todayKeyword_rolling.js\"><\/script>";
										_top09_str += "				</ol>";
										_top09_str += "			</div>";
										_top09_str += _top09_tk_Os;

										_top09_str += "		</div>";
										_top09_str += "		<!-- e : ½Ç½Ã°£ ±Þ»ó½Â °Ë»ö¾î -->";
	
	
										_top09_str += "</div>";    //  s) naviBtmArea   -----------------------------------------------------------
										_top09_str += "<hr />";

				
						// s) ¼ÒºÐ·ù Ç¥½Ã
						if (F_code=="photo"||S_code=="") {
								// ´ëºÐ·ù¸¸ ¼±ÅÃµÇ¾úÀ»°æ¿ì
								var chsub_length = 0;
								var chsub_menu = "";
								var fourdepthcheck=false; //4Depth È®ÀÎ ¾ÈÇÏ±â
	
						} else {

								var chsub_length = _top_d[F_index].child[S_index].child.length;
								var chsub_menu = _top_d[F_index].child[S_index].child;
				
								for(var _top09_k=0; _top09_k < chsub_length ; _top09_k++){
									if(typeof(chsub_menu[_top09_k].child[0]) != "undefined" ) fourdepthcheck=true; //4Depth °¡ Á¸Àç ÇÏ´ÂÁö È®ÀÎÇÏ±â
								}
					}
					
					if (chsub_length>0) { // s) ¾ø´Â°ÍÀº ¾Èº¸ÀÌ°Ô....20090904
							_top09_str += "		<div class=\"naviBtmArea03\">";
					
								if (F_code=="life") _top09_str += "		<h2><a href='"+_top_d[F_index].child[S_index].menu_url+"'><img src=\"http://images.joins.com/ui_joins/news09/navi02/nv_"+F_code+"_"+S_code.replace("life","")+".gif\" title=\""+ _top_d[F_index].child[S_index].menu_name+"\"  border=0></a></h2>";
								else if (F_code=="sportsen") _top09_str += "		<h2><a href='"+_top_d[F_index].child[S_index].menu_url+"'><img src=\"http://images.joins.com/ui_joins/news09/navi02/nv_"+F_code.replace("sportsen","spen")+"_"+S_code+".gif\" title=\""+ _top_d[F_index].child[S_index].menu_name+"\"  border=0></a></h2>";
								else	_top09_str += "		<h2><a href='"+_top_d[F_index].child[S_index].menu_url+"'><img src=\"http://images.joins.com/ui_joins/news09/navi02/nv_"+F_code+"_"+S_code+".gif\" title=\""+ _top_d[F_index].child[S_index].menu_name+"\" border=0></a></h2>";

												
//					_top09_str += "		<h2><img src=\"http://images.joins.com/ui_joins/news09/navi02/nv_"+F_code+"_"+S_code+".gif\" title=\""+ _top_d[F_index].child[S_index].menu_name+"\"></h2>";
			 		_top09_str += "				<!-- s : 3Depth Area -->";

						} else {
//							_top09_str += "		<div style='margin-top:5px;'></div>";
							}

						
					_top09_str += "		<ul class=\"navi_Depth03\">";
											
						for(var _top09_k=0; _top09_k < chsub_length ; _top09_k++){
							_top09_str += "<li";
							if (T_index.toString().length > 0 &&_top09_k==T_index) _top09_str += " class=\"btnON\" ";
							if (S_code==chsub_menu[_top09_k].menu_id) _top09_str += " class=\"btnON\" ";
							_top09_str += ">";
							
							_top09_str += "<a href=\""+chsub_menu[_top09_k].menu_url+"\" ";
							
							if(chsub_menu[_top09_k].menu_id == "-1") _top09_str += " target=\"_blank\" "; // ´Üµ¶¸Þ´ºÀÏ °æ¿ì
					
					
							if (fourdepthcheck ) {
								if (chsub_menu[_top09_k].child.length>0) {
									_top09_str += " onMouseOver=\"show4depth('depth4',"+F_index+","+S_index+","+_top09_k+",'"+H_code+"');\" ";
								} else {
									_top09_str += " onMouseOver=\"clear4depth('depth4');\" ";
									}

								} else {
//SubLayer ¿©±â Ãß°¡ ¼­ºê¿ë ¿¹¿ÜÃ³¸®
								if (S_code=="")	_top09_str += "  onMouseOver=\"showSubLayer_now("+F_index+",'"+_top09_k+"')\" "									
									
								}
							_top09_str += " >"+ chsub_menu[_top09_k].menu_name +"</a></li>";

						}		
							_top09_str += "		</ul>";

						_top09_str += "		<!-- s : 3Depth Area -->";
						_top09_str += "			</div>";
						_top09_str += "		<hr />";

				if (chsub_length>0) { // s) ¾ø´Â°ÍÀº ¾Èº¸ÀÌ°Ô....20090904
							_top09_str +="<!-- s : ³¯Â¥, ³¯¾¾ Á¤º¸ -->";
							_top09_str +="	<div id=\"whataBeautifulDay\">";
							_top09_str +="		<hr /><h2>¿À´ÃÀÇ ³¯¾¾</h2>";
							_top09_str +="		<span id='todayWeather' title=\"¿À´ÃÀÇ ³¯¾¾\">³¯¾¾ </span>";
							_top09_str +="			<div id=\"todayWeatherBox\" style=\"display:none;\">";
							_top09_str +="				<dl>";
							_top09_str +="					<div id=\"locationWeather\" class=\"WeatherselectBox\" >";
							_top09_str +="					<ul> ";	
							_top09_str +="					<li><a id=\"localname\" href=\"javascript:todayWeather_selecOn()\" >¼­¿ï &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(1,'¼­¿ï');\">¼­¿ï</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(2,'´ë±¸');\">´ë±¸</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(3,'ºÎ»ê');\">ºÎ»ê</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(4,'±¤ÁÖ');\">±¤ÁÖ</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(5,'´ëÀü');\">´ëÀü</a></li>";
							_top09_str +="					<li><a href=\"javascript:set_todayWeatherBox(6,'µ¶µµ');\">µ¶µµ</a></li>";
							_top09_str +="					</ul>";	
							_top09_str +="					</div>";
							_top09_str +="				</dl>";
							_top09_str +="				<p class=\"locationWeatherBtn\"><a href=\"javascript:save_todayWeatherBox();\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_weathersave.gif\"  alt=\"ÀúÀå\"/></a> <a href=\"javascript:toggle_todayWeatherBox();\"><img src=\"http://images.joins.com/ui_joins/news09/news/btn_weatherclose.gif\" alt=\"´Ý±â\"/></a></p>";
							_top09_str +="			</div>";
							_top09_str +="	</div>";
							_top09_str +="	<!-- e : ³¯Â¥, ³¯¾¾ Á¤º¸ -->";
							_top09_str += "	";
							_top09_str += "	<!-- s : ±¸µ¶½ÅÃ» -->";
							_top09_str += "	<div id=\"subscribePaper\">";
							_top09_str += "		<h2><a href=\"http://subscribe.joins.com/?cloc=home|top|subscribe\">±¸µ¶½ÅÃ»</a><span class=\"bar01\">|</span><a href=\"http://pdf.joins.com/?cloc=home|top|pdf\"><img src=\"http://images.joins.com/ui_joins/news08/public/btn_jpdf01.gif\" alt=\"PDF\" ></a></h2>";
							_top09_str += "	</div>";
							_top09_str += "	<!-- e : ±¸µ¶½ÅÃ» -->";
							_top09_str += "	";
							_top09_str += "<!-- s) ³¯¾¾ ¿µ¿ª ½ÇÇà -->\n";
							_top09_str += "<script type=\"text/javascript\">loopWeather(loopNum);</sc"+ "ript>\n";
							_top09_str += "<!-- s) ³¯¾¾ ¿µ¿ª ½ÇÇà -->\n";
							
							
							// 4Depth ÀÖÀ»°æ¿ì Ç¥½Ã ¿µ¿ª
						if (fourdepthcheck) _top09_str += "<div id=\"depth4\" class=\"naviBtmArea04\" style=\"display:block;\" ></div>";
						else _top09_str += "<div id=\"depth4\" class=\"naviBtmArea04\" style=\"display:none;\" ></div>";
						//------------------------

					_top09_str += "</div>";
				} // s) ¾ø´Â°ÍÀº ¾Èº¸ÀÌ°Ô....20090904
	
	_top09_str += "<hr/>";
	_top09_str += "<!-- *********************************************** e : Sub Navigation*********************************************** -->";

// Ãß°¡ Layer 
document.write(_top09_str);

// Main ³¡---------------------------------------------------------------------

try{
	var _str_breadCrumb = "",_imgCatTitle = "";
	// ºÎ°¡ Å¸ÀÌÆ² °æ·Î ¸¸µé±â
	_imgCatTitle="http://images.joins.com/ui_joins/news09/news/tit_cat_"+imgTitle+".gif";
	// ºÎ°¡ À§Ä¡ °æ·Î ¸¸µé±â
	if(typeof(rqCtg) != "undefined" && rqCtg !="" && rqCtg !="-1" && typeof(S_index) != "undefined" && S_index !="" && S_index!="-1") {
		_str_breadCrumb="<hr /><h2>ÇöÀçÀ§Ä¡(Location)</h2>";
		_str_breadCrumb+="<ol>";
		_str_breadCrumb+="<li><a href=\"http://www.joins.com\">"+_top_d[F_index].menu_name+"</a></li>";
		_str_breadCrumb+="<li class=\"li_current\"><strong>"+_top_d[F_index].child[S_index].menu_name+"</strong></li>";
		_str_breadCrumb+="</ol>";
	}
	// ½ÇÇàÀº article_html.asp ÇÏ´Ü¿¡ ÀÖ´Ù
} catch (e) {_str_breadCrumb = ""; _imgCatTitle = ""; }


