var SetSearch = {
	search_bg:false,
	check_search : function(val) {
		val.value='';
		document.isearch.kw.value = '';
		this.search_bg = true;

	 },
	GoAction : function(){
		if(document.isearch.kw.value == '' || document.isearch.kw.value == "°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä."){
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä!');
		return false;
	}
		document.isearch.action = "http://search.hankooki.com/search.php?so=1&st=0&sa=all&co";
		return true;
	}
}

document.writeln("<div id=\"TopM\" class=\"topbg\">");
document.writeln(" <center>");
document.writeln(" <div id=\"flash\">");
document.writeln("	 <!-- flash Menu -->");
document.writeln("	 <script>ShowFlash(\"http://img.hankooki.com/kids/2008/08/main.swf\",970,248)</script>");
document.writeln("	 <!-- //flash Menu -->");
document.writeln("	 <!-- Áñ°ÜÃ£±â -->");
document.writeln("	 <ul class=\"md1\">");
document.writeln("	  <dl class=\"wid\">");
document.writeln("	   <dd><a href=\"javascript:window.external.addFavorite('http://kids.hankooki.com','¾î¸°ÀÌÀÇ Ã¢! ¼Ò³âÇÑ±¹ÀÏº¸!');\"><img src=\"http://img.hankooki.com/kids/2008/08/top_m1.gif\" width=\"107\" height=\"29\" border=\"0\" /></a></dd>");
document.writeln("    <dd><a href=\"http://pdf.hankooki.com/pdf_headline.php?media=sn\"><img src=\"http://img.hankooki.com/kids/2008/08/top_m2.gif\" width=\"64\" height=\"29\" border=\"0\" /></a></dd>");
document.writeln("	   <dd><a href=\"http://dokja.hankooki.com/wwwboardlist.php?tablename=clubboard&cat=60\"><img src=\"http://img.hankooki.com/kids/2008/08/top_m3.gif\" width=\"68\" height=\"29\" border=\"0\" /></a></dd>");
document.writeln("	  </dl>");
document.writeln("	 </ul>");
document.writeln("	 <!-- //Áñ°ÜÃ£±â -->");
document.writeln("	 <!-- Search -->");
document.writeln("	 <ul class=\"md2\">");
document.writeln("	  <dl class=\"wid\" style=\"padding-left:42px;\">");
document.writeln("	   <form name=isearch method=get action=\"http://search.hankooki.com/search.php\" onSubmit='return SetSearch.GoAction()'>");
document.writeln("	    <dd style=\"width:59px;\"><img src=\"http://img.hankooki.com/kids/2008/08/top_sh1.gif\" width=\"59\" height=\"29\" /></dd>");
document.writeln("	    <dd style=\"width:14px;\"><img src=\"http://img.hankooki.com/kids/2008/08/top_sh2.gif\" width=\"14\" height=\"29\" /></dd>");
document.writeln("	    <dd style=\"width:204px; height:29px; background:#ffffff; \"><input type=\"text\" name=\"kw\" style=\"width:204px;height:20px;\"  class=\"input02\" value=\"°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä\" onClick=\"SetSearch.check_search(this)\"></dd>");
document.writeln("	    <dd style=\"width:14px;\"><img src=\"http://img.hankooki.com/kids/2008/08/top_sh3.gif\" width=\"14\" height=\"29\" /></dd>");
document.writeln("	    <dd style=\"width:68px;\"><input type=\"image\" src=\"http://img.hankooki.com/kids/2008/08/top_sh4.gif\" width=\"68\" height=\"29\" /></dd>");
document.writeln("	   </form>");
document.writeln("	  </dl>");
document.writeln("	 </ul>");
document.writeln("	 <!-- //Search -->");
document.writeln("	 <!-- ³¯¾¾/·Î±×ÀÎ -->");
document.writeln("	 <ul class=\"md3\">");
document.writeln("	  <dl class=\"wid\">");
document.writeln("    <dd>");
document.writeln("	    <!-- ³¯¾¾ -->");
document.writeln("     <iframe id=\"weather\" width=\"110\" height=\"30\" src=\"http://www.hankooki.com/iweather/data/wxbn.html\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" style=\"width:100px;height:23px;\" scrolling=\"no\" allowtransparency=\"true\"></iframe>");
document.writeln("     <!-- ³¯¾¾ -->");
document.writeln("	   </dd>");
document.writeln("	   <dd>");
// ·Î±×ÀÎ
kids_login();
// ·Î±×ÀÎ
document.writeln("	   </dd>");
document.writeln("   </dl>");
document.writeln("	 </ul>");
document.writeln("	 <!-- //³¯¾¾/·Î±×ÀÎ -->");
document.writeln(" </div>");
document.writeln(" </center>");
document.writeln("</div>");

//¾î¸°ÀÌ ´º½º
function GoMenu1(){
        self.location.href='http://kids2.hankooki.com/news/news.htm';
}
//¹è¿òÅÍ
function GoMenu2(){
        self.location.href='http://kids2.hankooki.com/edu/edu.htm';
}
//³îÀÌÅÍ
function GoMenu3(){
        self.location.href='http://kids2.hankooki.com/play/play.php';
}
//ºñµÑ±â±âÀÚ
function GoMenu4(){
        self.location.href='http://kids2.hankooki.com/report/report.htm';
}
//¾ö¸¶»ý°¢
function GoMenu5(){
        self.location.href='http://kids2.hankooki.com/mother/mother.htm';
}
//Ä¿¹Â´ÏÆ¼
function GoMenu6(){
        self.location.href='http://kids.hankooki.com/community/wwwboardlist.php?tablename=opinionroom';
}