	var sJoongdoFileServer = "http://www.joongdo.co.kr:8080";
	
	// Áñ°ÜÃ£±â µî·Ï
	 function add_favorites(){
		 if(document.all)
			 window.external.AddFavorite("http://www.joongdo.co.kr", "ÁßµµÀÏº¸ È¨ÆäÀÌÁö");
	 }

	// ÅÂ±×½ºÅä¸® µ¿¿µ»ó ÇÃ·¹ÀÌ¾î
	function newSmallFlashmEmbed(objId, url, width, height)
	{
		var contents = "";
		contents += "<object id=\"video_id\" width=\""+width+"\" height=\""+height+"\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\">";
		contents += "	<param name=\"allowScriptAccess\" value=\"always\" />";
		contents += "	<param name=\"allowFullScreen\" value=\"true\" />";
		contents += "	<param name=\"movie\" value=\""+url+"\" />";
		contents += "   <param name=\"quality\" value=\"high\" /> ";
	//    contents += "	<param name=\"wmode\" value=\"transparent\" />";
	//    contents += "	<embed src=\""+url+"\" width=\""+width+"\" height=\""+height+"\" wmode=\"transparent\" name=\"tagStory_Player\" allowScriptAccess=\"always\" allowFullScreen=\"true\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
		contents += "	<embed src=\""+url+"\" width=\""+width+"\" height=\""+height+"\" name=\"tagStory_Player\" allowScriptAccess=\"always\" allowFullScreen=\"true\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
		contents += "</object>";


		if(objId != null) {
			objId.innerHTML = contents;

	//		if(scroll)
			scroll(0,0);	// ½ºÅ©·Ñ¹Ù¸¦ À§ÂÊÀ¸·Î ÀÌµ¿½ÃÅ²´Ù.
		}
	}

	// ÇÃ·¡½Ã ¿Ü°û¼± »ý±â´Â°Å ¹æÁö
	function viewFlash(src, width, height, wmode)
	{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '">');
		document.write('<param name=movie value="' + src + '">');
		document.write('<param name=quality value=high>');
		document.write('<param name=allowScriptAccess value=always>');
		if(wmode == 1){ document.write('<param name="wmode" value="transparent">');}
		document.write('<embed src="' + src + '" quality=high type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="' + width + '" height="' + height + '"/>');
		document.write('</object>');
	}

	// Åé¸Þ´º ÇÃ·¡½Ã
	function viewTopMenu(src, width, height, wmode)
	{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '">');
		document.write('<param name=movie value="' + src + '">');
		document.write('<param name=quality value=high>');
		document.write('<param name=allowScriptAccess value=always>');
		if(wmode == 1){ document.write('<param name="wmode" value="transparent">');}
		document.write('<embed src="' + src + '" quality=high type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="' + width + '" height="' + height + '"/>');
		document.write('</object>');
	}

	function getElement(id) 
	{ 
		  if(document.all) return document.all(id); 
		  if(document.getElementById) return document.getElementById(id); 
	}


   // ÄíÅ°°ªÀ» ¼³Á¤ÇÏ±â À§ÇÑ ÇÔ¼ö¸¦ Á¤ÀÇÇÑ´Ù. 
   function setCookie( name, value, expiredays ) { 
		var todayDate = new Date(); 
		todayDate.setDate( todayDate.getDate() + expiredays ); 
		document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
	} 

	// ÄíÅ°ÀÌ¸§À¸·Î ÄíÅ°°ª °¡Á®¿À±â
	function getCookie(name) {

		name += "=";
		var start_idx = document.cookie.indexOf(name);
		if(start_idx >= 0) {

			start_idx += name.length;
			var end_idx = document.cookie.indexOf(";", start_idx);
			if(end_idx == -1) {
				end_idx = document.cookie.length;
			}

			return document.cookie.substring(start_idx, end_idx);
		}

		return "";
	}

	// ÄíÅ°ÀÌ¸§À¸·Î ÄíÅ°°ª Á¦°ÅÇÏ±â
	function removeCookie(name) {
		var today = new Date();
		today.setTime(today.getTime() - 1);

		var value = getCookie(name);

		document.cookie = name +"="+ value +"; expires="+ today.toGMTString();
		return;
	}


	// °ø¹é¹®ÀÚ Ã¼Å©(ÀÔ·ÂÆû)
	function isNull(obj) {
		var str = obj.value.replace(/\s/g, "");
		if(str == "") {
			return true;
			obj.focus();
		}
		return false;
	}


	// ÆË¾÷Ã¢(ÁÖ¼Ò, ³ÐÀÌ, ³ôÀÌ, ½ºÅ©·ÑÀ¯¹«)
	var option = "location=0,menubar=0,resizable=0,status=0,titlebar=0,toolbar=0,screeny=0,left=200,top=150";
	function popup(src, w, h, scroll) {

		if(w == null) {
			w = "600";
		}
		if(h == null) {
			h = "700";
		}
		if(scroll == null) {
			scroll = "no";
		}
		var win_option = "width="+ w +",height="+ h +",scrollbars="+ scroll +","+ option
		var win = window.open(src , "popup", win_option);

		return win.name;
	}


	// ¼ýÀÚ¸¸ ÀÔ·Â
	function onlyNumberInput()
	{
		var code = window.event.keyCode;

		if ((code > 34 && code < 41)
				|| (code > 47 && code < 58)
				|| (code > 95 && code < 106)
				|| code == 8
				|| code == 9
				|| code == 13
				|| code == 46)
		{
			window.event.returnValue = true;
			return;
		}
		window.event.returnValue = false;
	}



	// ³¯Â¥ Çü½Ä º¯È¯
	// 0000-00-00 -> 00000000(value°ª Ã³¸®)
	// checkDate : object
	function valDateToNum(checkDate){
		
		var date = checkDate.value;
		
		while(date.indexOf('-')!= -1){
			date = date.replace('-','');
		}
		checkDate.value = date;
		checkDate.select();
	}

	// ³¯Â¥ Çü½Ä º¯È¯
	// 00000000 -> 0000-00-00(¸®ÅÏ°ª Ã³¸®)
	// checkDate : object
	function reNumToDate(checkDate){
		
		var date = checkDate.value;
		
		// ³¯Â¥ ³Î Ã¼Å©.
		if (!isNull(checkDate)){
			
			// ³¯Â¥ ±æÀÌ Ã¼Å©.
			if (date.length < 8) {
				alert("¿Ã¹Ù¸£Áö ¾ÊÀº ³¯Â¥ Çü½ÄÀÔ´Ï´Ù. \n\n ³¯Â¥ Çü½ÄÀ» È®ÀÎÇØ ÁÖ½Ê½Ã¿À.! ");
				return false;
			
			} else {
				var dateY = date.substring(0,4);
				var dateM = date.substring(4,6);
				var dateD = date.substring(6,8);
			
				// ³¯Â¥ À¯È¿¼º Ã¼Å© (³¯Â¥ Çü½Ä dateY.dateM.dateD)
				if(isDate(dateY, dateM, dateD)){
					date = dateY + "-" + dateM + "-" + dateD;	
				} else {
					alert("¿Ã¹Ù¸£Áö ¾ÊÀº ³¯Â¥ Çü½ÄÀÔ´Ï´Ù. \n\n ³¯Â¥ Çü½ÄÀ» È®ÀÎÇØ ÁÖ½Ê½Ã¿À.! ");
					return;
				}
			}
		}
		checkDate.value = date;
	}




	// ÆÄ¶ó¹ÌÅÍ·Î µé¾î¿À´Â ³â¿ùÀÏÀÇ À¯È¿¼º Ã¼Å©
	function isDate(year, mon, day) {   
		var nyy, nmm, ndd;
		var yyt, mmt, ddt;
		var nMon = new Array(13);
		var leapyear;

		nMon[1] = 31;  nMon[2] = 29;   nMon[3] = 31;   nMon[4] = 30;
		nMon[5] = 31;  nMon[6] = 30;   nMon[7] = 31;   nMon[8] = 31;
		nMon[9] = 30;  nMon[10] = 31;  nMon[11] = 30;  nMon[12] = 31;

		nyy = parseInt(year, 10);
		nmm = parseInt(mon, 10);
		ndd = parseInt(day, 10);

		if( (nyy > 0) && (nyy < 9999) && (nmm > 0) && (nmm < 13) && (ndd > 0) )
		{
	//		 À±³â °è»ê

			 if(( nyy % 4 ) != 0)
				  leapyear = false
			 else if(( nyy % 100 ) != 0)
				  leapyear = true
			 else if(( nyy % 400 ) != 0)
				  leapyear = false
			 else
				  leapyear = true;

			 if(leapyear) nMon[2] = 29;
			 else nMon[2] = 28;

	//		 ÀÏÀÚ °Ë»ç

	//		 if( ( ndd > 0 ) && ( ndd < ( nMon[nmm] + 1 )) )
			 if((ndd > 0) && (ndd < (nMon[nmm]+1)))
			 {
				  return true;
			 }
			 else
			 {
				  return false;
			 }
		}
		else
		{
			 return false;
		}

		return false;
	}




	function view_news_layer() {
		getElement("id_news_view_layer").style.display = "block";
	}


	function hidden_news_layer() {
		getElement("id_news_view_layer").style.display = "none";
	}

	//////////  2010. 6. 2 Áö¹æ¼±°Å °ü·Ã ±â»ç ÀÌ¹ÌÁö ÄÁÆ®·Ñ
	function fnc_vt_img_ctl(gbn) {
		// ¹Ù¸¥¼±ÅÃ 6.2 Áö¹æ¼±°Å¿¡ ¸¶¿ì½º ¿Ã·ÈÀ»¶§...
		if(gbn == 1) {
			getElement("id_vt_img_1").src = sJoongdoFileServer + "/image/common/vt62/img_1_on.gif";
			getElement("id_vt_img_2").src = sJoongdoFileServer + "/image/common/vt62/img_2_off.gif";
			getElement("id_vt_62_1").style.display = "block";
			getElement("id_vt_62_2").style.display = "none";

		// Ãâ¸¶ÇÕ´Ï´Ù¿¡ ¸¶¿ì½º ¿Ã·ÈÀ»¶§.
		} else if(gbn == 2) {
			getElement("id_vt_img_1").src = sJoongdoFileServer + "/image/common/vt62/img_1_off.gif";
			getElement("id_vt_img_2").src = sJoongdoFileServer + "/image/common/vt62/img_2_on.gif";
			getElement("id_vt_62_1").style.display = "none";
			getElement("id_vt_62_2").style.display = "block";
		}
	}




	/*	¸ÞÀÎÆäÀÌÁö ¼±°Å	*/
/*	var Vt62Pq = new Array();
	var Vt62Tc = new Array();
	var Vt62Tx = new Array();
	var Vt62IndexNo = new Array();

	var idVt62Timer = null;
	var nVt62Items = 0;		// index.jspÆäÀÌÁö¿¡¼­ ¼¼ÆÃ.
	var nNowVt62Pos = 0;

	function viewVt62Item() {
		if(nNowVt62Pos >= nVt62Items)
			nNowVt62Pos = 0;

		var sTmp = "<table border=0 cellpadding=0 cellspacing=0 border=0 width=661>"
				 + "	<tr>"
				 + "		<td width=335 align='center'>"
				 + "			<table border=0 cellpadding=0 cellspacing=0 border=0 width=330>"
				 + "				<tr>"
				 + "					<td width=56 height=63 rowspan=2 background='"+sJoongdoFileServer+"/image/common/vt62/img_20.gif' style='padding-top:2'>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos]+"'>"
				 + "							<img src='"+sJoongdoFileServer+"/images/vote_62/vt_62/photo/"+Vt62Pq[nNowVt62Pos]+"_01_s.jpg' width=52 height=59 border=0>"
				 + "						</a>"
				 + "					</td>"
				 + "					<td style='padding-left:5;text-align:left' height=23>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos]+"' class='sub_news_list_link_text'>"
				 + "							"+Vt62Tc[nNowVt62Pos]
				 + "						</a>";

				if(Vt62IndexNo[nNowVt62Pos] != "")
					sTmp = sTmp + "			<img src='"+sJoongdoFileServer+"/image/common/vt62/mov_icon.gif' width=20 height=15>";

	 sTmp = sTmp + "					</td>"
				 + "				</tr>"
				 + "				<tr>"
				 + "					<td style='padding-left:5;text-align:left' height=40>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos]+"' class='basic_link_text'>"
				 + "							"+Vt62Tx[nNowVt62Pos]
				 + "						</a>"
				 + "					</td>"
				 + "				</tr>"
				 + "			</table>"
				 + "		</td>"
				 + "		<td width=1></td>"
				 + "		<td width=335 align='center'>"
				 + "			<table border=0 cellpadding=0 cellspacing=0 border=0 width=330>"
				 + "				<tr>"
				 + "					<td width=56 height=63 rowspan=2 background='"+sJoongdoFileServer+"/image/common/vt62/img_20.gif' style='padding-top:2'>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos+1]+"'>"
				 + "							<img src='"+sJoongdoFileServer+"/images/vote_62/vt_62/photo/"+Vt62Pq[nNowVt62Pos+1]+"_01_s.jpg' width=52 height=59 border=0>"
				 + "						</a>"
				 + "					</td>"
				 + "					<td style='padding-left:5;text-align:left' height=23>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos+1]+"' class='sub_news_list_link_text'>"
				 + "							"+Vt62Tc[nNowVt62Pos+1]
				 + "						</a>";

				if(Vt62IndexNo[nNowVt62Pos+1] != "")
					sTmp = sTmp + "				<img src='"+sJoongdoFileServer+"/image/common/vt62/mov_icon.gif' width=20 height=15>";

	 sTmp = sTmp + "					</td>"
				 + "				</tr>"
				 + "				<tr>"
				 + "					<td style='padding-left:5;text-align:left' height=40>"
				 + "						<a href='/jsp/article/article_view.jsp?pq="+Vt62Pq[nNowVt62Pos+1]+"' class='basic_link_text'>"
				 + "							"+Vt62Tx[nNowVt62Pos+1]
				 + "						</a>"
				 + "					</td>"
				 + "				</tr>"
				 + "			</table>"
				 + "		</td>"
				 + "	</tr>"
				 + "</table>";


		getElement("id_vt_62_td").innerHTML = sTmp;

		nNowVt62Pos = nNowVt62Pos + 2;

		idVt62Timer = setTimeout("viewVt62Item()", 3000);

	}
*/





	/*	¸ÞÀÎÆäÀÌÁö ½Ç½Ã°£ ´º½º	*/
	var HitNewsContentsPath = new Array();
	var HitNewsContentsText = new Array();

	var idHitNewsTimer = null;
	var nHitNewsItems = 0;		// index.jspÆäÀÌÁö¿¡¼­ ¼¼ÆÃ.
	var nNowHitNewsPos = 0;

	function viewHitNewsItem() {
		if(nNowHitNewsPos >= nHitNewsItems)
			nNowHitNewsPos = 0;

		var sTmp = "<table border=0 cellpadding=0 cellspacing=0>"
		         + "	<tr>"
				 + "		<td width=271> &nbsp;"
				 + "			<img src=\""+sJoongdoFileServer+"/image/common/main/index_tit_dot_3.gif\" width=3 height=3 align=\"absmiddle\">"
				 + "			<a href=\"/jsp/article/aqua_view.jsp?xmlpath=" + HitNewsContentsPath[nNowHitNewsPos] + "\" class=\"index_tit_02_3\">"
		         +					HitNewsContentsText[nNowHitNewsPos] + "</a>"
			     + "		</td>"
				 + "		<td width=271>"
				 + "			<img src=\""+sJoongdoFileServer+"/image/common/main/index_tit_dot_3.gif\" width=3 height=3 align=\"absmiddle\">"
				 + "			<a href=\"/jsp/article/aqua_view.jsp?xmlpath=" + HitNewsContentsPath[nNowHitNewsPos+1] + "\" class=\"index_tit_02_3\">"
		         +					HitNewsContentsText[nNowHitNewsPos+1] + "</a>"
			     + "		</td>"
			     + "	</tr>"
			     + "</table>";

		getElement("id_hit_news_td").innerHTML = sTmp;

		nNowHitNewsPos = nNowHitNewsPos + 2;

		idHitNewsTimer = setTimeout("viewHitNewsItem()", 3000);

	}




	/*		index.jsp		*/

	// Åé¸Þ´º ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexTopMenuMouseOver(gbn) {
		for(i=1; i<=7; i++) {
			if(i == gbn) {
				getElement("id_main_menu_"+i).src = sJoongdoFileServer + "/image/common/main/top_menu_item_"+i+"_on.gif";
				getElement("id_main_menu_bottom_"+i).style.display = "block";
			} else {
				getElement("id_main_menu_"+i).src = sJoongdoFileServer + "/image/common/main/top_menu_item_"+i+"_off.gif";
				getElement("id_main_menu_bottom_"+i).style.display = "none";
			}
		}
	}

	// Åé¸Þ´º ¿ìÃø ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexTopMenuRightMouseOver(gbn) {
		for(i=8; i<=10; i++) {
			if(i == gbn) {
				getElement("id_main_menu_right_"+i).src = sJoongdoFileServer + "/image/common/main/top_menu_item_"+i+"_on.gif";
			} else {
				getElement("id_main_menu_right_"+i).src = sJoongdoFileServer + "/image/common/main/top_menu_item_"+i+"_off.gif";
			}
		}
	}

	// Á¤Ä¡ÇàÁ¤/½ºÆ÷Ã÷/´º½ºÄÚ¸®¾Æ ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexCenter01MouseOver(gbn) {
		for(i=1; i<=3; i++) {
			if(i == gbn) {
				getElement("id_img_center_row_01_"+i).src = sJoongdoFileServer + "/image/common/main/index_list_title_"+i+"_on.gif";
				getElement("id_center_row_01_"+i).style.display = "block";
			} else {
				getElement("id_img_center_row_01_"+i).src = sJoongdoFileServer + "/image/common/main/index_list_title_"+i+"_off.gif";
				getElement("id_center_row_01_"+i).style.display = "none";
			}
		}
	}


	// ´º½ºÄÚ¸®¾Æ ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexNewskoreaTit(gbn) {
		for(i=1; i<=6; i++) {
			if(i == gbn) {
				getElement("id_img_newskorea_tit_01_"+i).src = sJoongdoFileServer + "/image/common/newskorea/tit_newskorea_01_"+i+"_on.gif";
				getElement("id_index_newskorea_01_"+i).style.display = "block";
			} else {
				getElement("id_img_newskorea_tit_01_"+i).src = sJoongdoFileServer + "/image/common/newskorea/tit_newskorea_01_"+i+"_off.gif";
				getElement("id_index_newskorea_01_"+i).style.display = "none";
			}
		}
	}


	// ½ºÆ÷Ã÷¡¤¿¬¿¹/¼¼°èÀÇ ÀÌ½´ ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexRight01MouseOver(gbn) {
		for(i=1; i<=2; i++) {
			if(i == gbn) {
				getElement("id_img_right_row_01_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_1_"+i+"_on.gif";
				getElement("id_right_row_01_"+i).style.display = "block";
			} else {
				getElement("id_img_right_row_01_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_1_"+i+"_off.gif";
				getElement("id_right_row_01_"+i).style.display = "none";
			}
		}
	}


	// ¿ÀÇÇ´Ï¾ð/»ç¼³/¿ÜºÎÇÊÁø/±âÀÚ¼öÃ¸ ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexRight02MouseOver(gbn) {
		for(i=1; i<=3; i++) {
			if(i == gbn) {
				getElement("id_img_right_row_02_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_2_"+i+"_on.gif";
				getElement("id_right_row_02_"+i).style.display = "block";
			} else {
				getElement("id_img_right_row_02_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_2_"+i+"_off.gif";
				getElement("id_right_row_02_"+i).style.display = "none";
			}
		}
	}


	// ¿À´ÃÀÇ ÀÎ±â´º½º/¾îÁ¦ÀÇ ÀÎ±â´º½º ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexRight03MouseOver(gbn) {
		for(i=1; i<=2; i++) {
			if(i == gbn) {
				getElement("id_img_right_row_03_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_3_"+i+"_on.gif";
				getElement("id_right_row_03_"+i).style.display = "block";
			} else {
				getElement("id_img_right_row_03_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_3_"+i+"_off.gif";
				getElement("id_right_row_03_"+i).style.display = "none";
			}
		}
	}


	// ½Ç½Ã°£ ´ñ±Û, ÀÌ½´Åä·Ð ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexRight04MouseOver(gbn) {
		for(i=1; i<=2; i++) {
			if(i == gbn) {
				getElement("id_img_right_row_04_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_4_"+i+"_on.gif";
				getElement("id_right_row_04_"+i).style.display = "block";
			} else {
				getElement("id_img_right_row_04_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_4_"+i+"_off.gif";
				getElement("id_right_row_04_"+i).style.display = "none";
			}
		}
	}


	// ±âÈ¹¿¬Àç/ÇàÁ¤µµ½Ã/´ë´öÆ¯±¸ ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö½Ã
	function indexRight05MouseOver(gbn) {
		for(i=1; i<=3; i++) {
			if(i == gbn) {
				getElement("id_img_right_row_05_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_5_"+i+"_on.gif";
				getElement("id_right_row_05_"+i).style.display = "block";
			} else {
				getElement("id_img_right_row_05_"+i).src = sJoongdoFileServer + "/image/common/main/tit_r_5_"+i+"_off.gif";
				getElement("id_right_row_05_"+i).style.display = "none";
			}
		}
	}



	// ¿ÀÇÇ´Ï¾ð ¿ÞÂÊ¸Þ´º ÄÞº¸ º¯°æ½Ã »ç¿ë
	function index09LeftSelectChange(obj) {
		if(obj.value != "") {
			// ¿ÀÇÇ´Ï¾ð
			if(obj.name == "selectbox_ca_09") {
				location.href = "/jsp/article/article_list_01.jsp?ck=09&ca="+obj.value;

			// »ç¼³
			} else if(obj.name == "selectbox_sasul") {
				location.href = "/jsp/sasul/sasul_list.jsp?year="+obj.value;

			// ±âÈ¹Æ¯Áý
			} else if(obj.name == "selectbox_ca_10") {
				location.href = "/jsp/article/article_list_01.jsp?ck=10&ca="+obj.value;

			}
		}
	}

/*
	// Á¦7È¸ Àü±¹°¹¹ú ¸ÓµåÇ²»ì´ëÈ¸ ÆË¾÷
	function open_popup_20100630() {
		if ( getCookie("popup_20100630") != "popup_20100630" )
			window.open("/jsp/popup/popup_20100630.jsp", "popup_20100630", "width=520, height=572, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}


	// Á¦8È¸ ÀÌµ¿ÈÆ ¹Ì¼ú»ó ÆË¾÷
	function open_popup_20100815() {
		if ( getCookie("popup_20100815") != "popup_20100815" )
			window.open("/jsp/popup/popup_20100815.jsp", "popup_20100815", "width=450, height=727, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}



	// ¾çÈñÀº-»ç¶û¹ä»ó-ÄÜ¼­Æ® ÆË¾÷
	function open_popup_20100817() {
		if ( getCookie("popup_20100817") != "popup_20100817" )
			window.open("/jsp/popup/popup_20100817_1.jsp", "popup_20100817", "width=450, height=727, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}

	// ÁßµµÀÏº¸ ±âÀÚ¸ðÁý ÆË¾÷
	function open_popup_20100819() {
		if ( getCookie("popup_20100819") != "popup_20100819" )
			window.open("/jsp/popup/popup_20100819.jsp", "popup_20100819", "width=500, height=626, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=460, top=0");
	}
*/

	// ¾çÈñÀº-»ç¶û¹ä»ó-ÄÜ¼­Æ® ÆË¾÷
	function open_window_20100903() {
			window.open("/jsp/popup/popup_20100831.jsp", "popup_20100831", "width=450, height=701, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}

	// Á¦8È¸ ÀÌµ¿ÈÆ ¹Ì¼ú»ó ÆË¾÷
	function open_window_20100819() {
		window.open("/jsp/popup/popup_20100815.jsp", "popup_20100815", "width=450, height=727, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}


	// ¾çÈñÀº-»ç¶û¹ä»ó-ÄÜ¼­Æ® ÆË¾÷
	function open_popup_20100831() {
		if ( getCookie("popup_20100831") != "popup_20100831" )
			window.open("/jsp/popup/popup_20100831.jsp", "popup_20100831", "width=450, height=701, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}

	// ¾çÈñÀº-»ç¶û¹ä»ó-ÄÜ¼­Æ® ÆË¾÷
	function open_popup_20100831_2() {
		if ( getCookie("popup_20100831_2") != "popup_20100831_2" )
			window.open("/jsp/popup/popup_20100831_2.jsp", "popup_20100831_2", "width=434, height=527, location=0, menubar=0, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, screeny=0, left=0, top=0");
	}

	// ±â»ç »ó¼¼ÆäÀÌÁö

	//////////	È®´ë ¹öÆ° Å¬¸¯½Ã¿¡
	function font_plus() {

		font_size += 1;

		if(font_size >= 30)
			font_size = 30;

		if(document.all.view_area)
			document.all.view_area.style.fontSize = font_size;
	}

	//////////	Ãà¼Ò ¹öÆ° Å¬¸¯½Ã¿¡
	function font_minus() {

		font_size -= 1;

		if(font_size <= 14)
			font_size = 14;

		if(document.all.view_area)
			document.all.view_area.style.fontSize = font_size;
	}


	///
	function articleCheckForm() {
		var form = document.form1;

		if(isNull(form.writer)) {
			alert("ÀÛ¼ºÀÚ¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			form.writer.focus();
			return;

		} else if(isNull(form.passwd)) {
			alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			form.passwd.focus();
			return;

		} else if(isNull(form.title)) {
			alert("Á¦¸ñÀ» ÀÔ·ÂÇÏ¼¼¿ä");
			form.title.focus();
			return;

		} else if(isNull(form.contents)) {
			alert("³»¿ëÀ» ÀÔ·ÂÇÏ¼¼¿ä");
			form.contents.focus();
			return;

		} else if(confirm("³×Æ¼Áð ÀÇ°ßÀ» µî·ÏÇÏ½Ã°Ú½À´Ï±î?")) {
			form.submit();

		}
	}



	//==================================================================================================================
	//==  9°³ È­¸é '°³ÀÎÁ¤º¸ Ãë±Þ ¹æÄ§' Ãß°¡  (START) 2009³â 6¿ù 2ÀÏ È­¿äÀÏ
	//==================================================================================================================
    function show_rule(cols){
        var sRule = "<textarea name='rule' cols='"+cols+"' rows='20' style='height:65px; font-size:12px; padding-left:20px; padding-top:10px' class='text'>"
                 + "'ÁßµµÀÏº¸'Àº (ÀÌÇÏ 'È¸»ç'´Â) "
                 + "\n  °í°´´ÔÀÇ °³ÀÎÁ¤º¸¸¦ Áß¿ä½ÃÇÏ¸ç, \"Á¤º¸Åë½Å¸Á ÀÌ¿ëÃËÁø ¹× Á¤º¸º¸È£\"¿¡ °üÇÑ ¹ý·üÀ» ÁØ¼öÇÏ°í ÀÖ½À´Ï´Ù."
                 + "\n "
                 + "\n  È¸»ç´Â °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§À» ÅëÇÏ¿© °í°´´Ô²²¼­ Á¦°øÇÏ½Ã´Â °³ÀÎÁ¤º¸°¡ ¾î¶°ÇÑ ¿ëµµ¿Í ¹æ½ÄÀ¸·Î ÀÌ¿ëµÇ°í ÀÖÀ¸¸ç, °³ÀÎÁ¤º¸º¸È£¸¦ À§ÇØ ¾î¶°ÇÑ Á¶Ä¡°¡ ÃëÇØÁö°í ÀÖ´ÂÁö ¾Ë·Áµå¸³´Ï´Ù. "
                 + "\n "
                 + "\n  È¸»ç´Â °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§À» °³Á¤ÇÏ´Â °æ¿ì À¥»çÀÌÆ® °øÁö»çÇ×(¶Ç´Â °³º°°øÁö)À» ÅëÇÏ¿© °øÁöÇÒ °ÍÀÔ´Ï´Ù. "
                 + "\n "
                 + "\n¡á ¼öÁýÇÏ´Â °³ÀÎÁ¤º¸ Ç×¸ñ "
                 + "\n  È¸»ç´Â È¸¿ø°¡ÀÔ, »ó´ã, ¼­ºñ½º ½ÅÃ» µîµîÀ» À§ÇØ ¾Æ·¡¿Í °°Àº °³ÀÎÁ¤º¸¸¦ ¼öÁýÇÏ°í ÀÖ½À´Ï´Ù. "
                 + "\n "
                 + "\n¥ï ¼öÁýÇ×¸ñ : ÀÌ¸§ , »ý³â¿ùÀÏ , ¼ºº° , ·Î±×ÀÎID , ºñ¹Ð¹øÈ£ , ÀÚÅÃ ÀüÈ­¹øÈ£ , ÀÚÅÃ ÁÖ¼Ò , ÀÌ¸ÞÀÏ , ÁÖ¹Îµî·Ï¹øÈ£ "
                 + "\n¥ï °³ÀÎÁ¤º¸ ¼öÁý¹æ¹ý : È¨ÆäÀÌÁö(È¸¿ø°¡ÀÔ)  "
                 + "\n "
                 + "\n "
                 + "\n¡á °³ÀÎÁ¤º¸ÀÇ ¼öÁý ¹× ÀÌ¿ë¸ñÀû "
                 + "\n  È¸»ç´Â ¼öÁýÇÑ °³ÀÎÁ¤º¸¸¦ ´ÙÀ½ÀÇ ¸ñÀûÀ» À§ÇØ È°¿ëÇÕ´Ï´Ù.. "
                 + "\n "
                 + "\n ¥ï ¼­ºñ½º Á¦°ø¿¡ °üÇÑ °è¾à ÀÌÇà ¹× ¼­ºñ½º Á¦°ø¿¡ µû¸¥ ¿ä±ÝÁ¤»ê "
                 + "\n    ±¸¸Å ¹× ¿ä±Ý °áÁ¦ , ¹°Ç°¹è¼Û ¶Ç´Â Ã»±¸Áö µî ¹ß¼Û "
                 + "\n ¥ï È¸¿ø °ü¸® "
                 + "\n    È¸¿øÁ¦ ¼­ºñ½º ÀÌ¿ë¿¡ µû¸¥ º»ÀÎÈ®ÀÎ "
                 + "\n "
                 + "\n "
                 + "\n¡á °³ÀÎÁ¤º¸ÀÇ º¸À¯ ¹× ÀÌ¿ë±â°£ "
                 + "\n  È¸»ç´Â °³ÀÎÁ¤º¸ ¼öÁý ¹× ÀÌ¿ë¸ñÀûÀÌ ´Þ¼ºµÈ ÈÄ¿¡´Â ¿¹¿Ü ¾øÀÌ ÇØ´ç Á¤º¸¸¦ ÁöÃ¼ ¾øÀÌ ÆÄ±âÇÕ´Ï´Ù. "
                 + "</textarea>";

        var sTable = "<table width='"+cols+"' border='0' cellspacing='0' cellpadding='0'>"
                  + "<tr><td>&nbsp;</td></tr>"
                  + "<tr><td>" + sRule + "</td></tr>"
                  + "<tr><td class='text'><input type='checkbox' name='chk_rule'> º»ÀÎÀº À§ °³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§¿¡ µ¿ÀÇÇÕ´Ï´Ù.</td></tr>"
                  + "<tr><td>&nbsp;</td></tr>"
                  + "</table>";

	    getElement("td_rule").innerHTML = sTable;
    	getElement("tr_rule").style.display = "block";
    }

    function rule_check(){
        var chk_rule = getElement("chk_rule");
        var b_rtn;

        if(chk_rule.checked == false){
            chk_rule.focus();
            b_rtn = false;
        }else{
            b_rtn = true;
        }
        return b_rtn;
    }
	//==================================================================================================================
	//==  9°³ È­¸é '°³ÀÎÁ¤º¸ Ãë±Þ ¹æÄ§' Ãß°¡  (END)
	//==================================================================================================================