<!--
//##############################################################
//#################	ÆäÀÌÁö ÀÌµ¿ÇÔ¼ö   		  ##################
//#################	ÀÛ¼º : 2003.10.06		  ##################
//#################	ÀÛ¾÷ÀÚ : À¯Áø¾Æ			  ##################
//##############################################################   

//#########################¸ÞÀÎÆäÀÌÁö¸Þ´º###############################
	function Notice_Go(ab_id){  //°øÁö»çÇ×    
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=notice_detail.php?ab_id='+ ab_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   function Play_Go(ap_id){ //°ø¿¬
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=play_detail.php?ap_id='+ ap_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
  
   function Hotitem_Go(ai_id,ac_id){ //ÃßÃµ»óÇ°
//	document.frm.c_url.value ='./shop/shop_index.php?inc_url=shop_detail.php?ai_id='+ai_id+'&ac_id='+ac_id;
//	document.frm.c_url.value ='./shop/shop_detail.php?ai_id='+ai_id+'&ac_id='+ac_id;
//  document.frm.method= 'post';
//  document.frm.action = 'default.php?d_url='+document.frm.c_url.value;
//	alert(document.frm.c_url.value);
	this.location.href='./shop/shop_detail.php?ai_id='+ai_id+'&ac_id='+ac_id;
//  document.frm.submit();
   } 

   function Shop_Go(){ //¼îÇÎ¹Ù·Î°¡±â    
	document.frm.c_url.value ='./shop/shop_index.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   
   function Interview_Go(ab_id){ //ÀÎÅÍºä    
	document.frm.c_url.value ='./info/info_index.php?inc_url=interview_detail.php?ab_id='+ab_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
    
 
	function Hotnews_Go(ab_id){ //ÇÖ´º½º    
	document.frm.c_url.value ='./info/info_index.php?inc_url=hot_detail.php?ab_id='+ab_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

   	function Free_Go(ab_id){ //ÇÖ´º½º    
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=free_detail.php?ab_id='+ab_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

   	function Shopnews_Go(ab_id){ //ÇÖ´º½º    
	document.frm.c_url.value ='./shop/shop_index.php?inc_url=shopnews_detail.php?ab_id='+ab_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   	
	function Hotnewslist_Go(){ //ÇÖ´º½º¸®½ºÆ®    
	document.frm.c_url.value ='./info/info_index.php?inc_url=hot_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

   function Bbslist_Go(){ //ÇÖ´º½º¸®½ºÆ®    
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=free_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

   function Festival_Go(af_id){ //´ëÈ¸    
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=festival_detail.php?af_id='+af_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   }
      
   function Group_Go(ag_id){ //±¹¾Ç´ÜÃ¼    
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=group_detail.php?ag_id='+ag_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   
   function Main_Mem_Edit(){    //¸ÞÀÎÆäÀÌÁö È¸¿øÁ¤º¸¼öÁ¤
//    document.frm_member.c_url.value = './mypage/mypage_index.php?inc_url=mem_edit.php';
//	document.frm_member.inc_url.value  = '/mypage/mypage_edit.php';
	this.location.href=	'/mypage/mem_edit.php';
	//	alert('¿Ö ¾ÈµÅ³Ä?');
//   	document.frm_member.submit();
   }
   
   function Main_Mem_Regi(){ //¸ÞÀÎÆäÀÌÁö È¸¿ø°¡ÀÔ
	document._frm_member.c_url.value ='./mypage/mem_intro.php';
	document._frm_member.method= 'post';
//   	document.frm_member.action = 'default.php';
	this.location.href='/mypage/mem_intro.php';
//   	document.frm_member.submit();
   } 

   function Main_Idpwd(){ //¸ÞÀÎ ¾ÆÀÌµðÆÐ½º¿öµå Ã£±â
	document._frm_member.c_url.value ='./mypage/idpwd_search.php';
	document._frm_member.method= 'post';
//   	document._frm_member.action = 'default.php';
	this.location.href='/mypage/idpwd_search.php';
//   	document._frm_member.submit();
   } 

   function Monthly_Go(){   
	document.frm.c_url.value ='./info/info_index.php?inc_url=month_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   }
   function Monthly_Item(){  
	document.frm.c_url.value ='./shop/shop_index.php?inc_url=shop_detail.php?ai_id=HB1590001';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
 //#########################¸ÞÀÎÆäÀÌÁö¸Þ´º###############################

 //#########################¸ÞÀÎÆäÀÌÁö ¹è³Ê¸µÅ©###########################
   
   function Banner01_Go(){  
	document.frm.c_url.value ='http://cafe.daum.net/hanullimgroup';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   
   function Banner02_Go(){   
	document.frm.c_url.value ='http://www.ncktpa.go.kr/';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 


   function Banner03_Go(){ 
	document.frm.c_url.value ='./info/info_index.php?inc_url=guin_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

    function Banner04_Go(){   
	document.frm.c_url.value ='./company/company_index.php?inc_url=press_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   }
    
	function Banner05_Go(){   
	document.frm.c_url.value ='http://www.hanullimdrum.com/korea/index_gong.htm';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

    function Banner06_Go(){   
	document.frm.c_url.value ='./nanum/nanum_index.php?inc_url=market_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
	}
	function Banner07_Go(){   
	document.frm.c_url.value ='http://cafe.daum.net/hanullimteacher';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   }
 //#########################¸ÞÀÎÆäÀÌÁö ¹è³Ê¸µÅ©###########################
 //#########################¸ÞÀÎÆäÀÌÁö »óÇ°¹è³Ê¸µÅ©###########################

	
   function ITEM_GO(ai_id,ac_id){ //ÃßÃµ»óÇ°
	document.frm.c_url.value ='./shop/shop_index.php?inc_url=shop_detail.php?ai_id='+ai_id+'&ac_id='+ac_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
  function ITEM01_GO(ac_id){   
	document.frm.c_url.value ='./shop/shop_index.php?inc_url=shop_list.php?ac_id='+ac_id;
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   }
 //#########################¸ÞÀÎÆäÀÌÁö »óÇ°¹è³Ê¸µÅ©###########################
 
 //#########################ÇÏ´Ü°øÅë¸Þ´º#################################
   function Contact1_Go(){    //¸ÞÀÎÆäÀÌÁö »ç¾÷Á¦ÈÞ¹®ÀÇ 
	document.frm.c_url.value ='./company/company_index.php?inc_url=contact1.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
   
   function Person_Inform(){    //¸ÞÀÎÆäÀÌÁö °³ÀÎº¸È£Á¤Ã¥ 
	document.frm.c_url.value ='./company/company_index.php?inc_url=personalinform.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 


   function Contact2_Go(){   //¸ÞÀÎÆäÀÌÁö ÀÔÁ¡¾÷Ã¼¹®ÀÇ 
	document.frm.c_url.value ='./company/company_index.php?inc_url=contact2.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 

    function Press_Go(){   //¸ÞÀÎÆäÀÌÁö º¸µµÀÚ·á 
	document.frm.c_url.value ='./company/company_index.php?inc_url=press_list.php';
   	document.frm.method= 'post';
   	document.frm.action = 'default.php';
   	document.frm.submit();
   } 
 
 //#########################¸ÞÀÎÇÏ´Ü¸Þ´º#################################
 
   function Mypage_Go(member_id){  
	var id = member_id ;
	var return_url = './mypage/mypage_index.php';
      if (id){  
		document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = return_url;
		document.frm.submit();
		}
	 else {
   		document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = './login_open.php?return_url='+return_url;
		document.frm.submit();   
	    } 
   } 
   function Company_Info() { //È¸¿ø°¡ÀÔ
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './company/company_index.php';
   	document.frm.submit();
   }    
   
   function Mem_Regi() { //È¸¿ø°¡ÀÔ
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './mypage/mem_intro.php';
   	document.frm.submit();

   }    
   function S_Mem_Regi() { //¼­ºêÆäÀÌÁö¿¡¼­ È¸¿ø°¡ÀÔÈ­¸éÀ¸·Î ÀÌµ¿
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = '../mypage/mem_intro.php';
   	document.frm.submit();
   }    
   
   function S_Idpwd() { //¼­ºêÆäÀÌÁö¿¡¼­ ¾ÆÀÌµðÆÐ½º¿öµå Ã£±â È­¸éÀ¸·Î ÀÌµ¿
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = '../mypage/idpwd_search.php';
   	document.frm.submit();
   }    
    function Loginchk_Go(){ //·Î±×ÀÎÃ¼Å©
	   var id = document.frm.member_id.value;

//      if (id){  
//		var inc_url = document.frm.inc_url.value;
//		document.frm.method= 'post';
//		document.frm.action = inc_url;
//		document.frm.submit();   
//		}
//	 else {
//		document.frm.method= 'post';
//		document.frm.action = '/login_open.php';
//		document.frm.submit();   
//	    } 
		var inc_url = document.frm.inc_url.value;
		document.frm.method= 'post';
		document.frm.action = inc_url;
		document.frm.submit();   

	}   
 
	
     function Loginchk_Go_pwd(aa_id,login_id){ //·Î±×ÀÎÃ¼Å©
	 var return_url = './info/info_index.php?inc_url=guin_pwd.php?aa_id='+aa_id;
     var mem_id = login_id;
	 if (mem_id){  
		document.frm_1.method= 'post';
		document.frm_1.action = "guin_pwd.php?aa_id="+aa_id;
		document.frm_1.submit();   
		}
	 else {
		document.frm_1.target = 'main';
		document.frm_1.method= 'post';
		document.frm_1.action = '../login_open.php?return_url='+return_url;
		document.frm_1.submit();   
	    } 
	}   

   function Logout_Go(){ //·Î±×¾Æ¿ô
   	var return_url = document.frm.return_url.value;
		this.parent.parent.location.href="../logout_sub.php?return_url=" + return_url;
   } 
    
  function Wish_In(ai_id){  //°ü½É¹°Ç°µî·Ï
	var id = document.frm.member_id.value ;
		var gubun = document.frm.ab_size.value;
 //   var ai_id = document.frm.ai_id.value ;
 //   var ai_id = ai_id ;

   	  if (id){  
		var return_url = 'wish_insert.php?ai_id='+ai_id+'&ai_size='+gubun;
		//document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = return_url;
		document.frm.submit();
		}
	 else {
//	    var return_url = '/shop/shop_detail.php?inc_url=wish_insert.php?ai_id='+ai_id;
		var return_url = '/shop/wish_insert.php?ai_id='+ai_id+'&ai_size='+gubun;
//    	document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = '/login_open.php?return_url='+return_url;
		document.frm.submit();   
	    } 
   } 
//#########################»ó´Ü°øÅë¸Þ´º###############################

   function Basket_Go(){ // »ó´Ü¸Þ´º Àå¹Ù±¸´Ï
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './shop/shop_index.php?inc_url=basket.php';
   	document.frm.submit();

   }    

   function Mem_Edit(){ // »ó´Ü¸Þ´º È¸¿ø¼öÁ¤
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './mypage/mypage_index.php?inc_url=mem_edit.php';
   	document.frm.submit();

   }    


  function Order_Go(member_id){  //»ó´Ü¸Þ´º ÁÖ¹®¹è¼Û Á¶È¸
	var id = member_id ;
	var return_url = './mypage/mypage_index.php?inc_url=order_list.php';
      if (id){  
		document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = return_url;
		document.frm.submit();
		}
	 else {
   		document.frm.target = 'main';
		document.frm.method= 'post';
		document.frm.action = './login_open.php?return_url='+return_url;
		document.frm.submit();   
	    } 
   } 
    
	function Shop_Bbs(){ // »ó´Ü¸Þ´º ¼îÇÎ¸ô°Ô½ÃÆÇÀÌ¿ë¾È³»
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './shop/shop_index.php?inc_url=shopnews_list.php';
   	document.frm.submit();

   }    
   function Shop_Guide(){ // »ó´Ü¸Þ´º ¼îÇÎ¸ôÀÌ¿ë¾È³»
    document.frm.target = 'main';
	document.frm.method= 'post';
   	document.frm.action = './shop/shop_index.php?inc_url=shop_guide.php';
   	document.frm.submit();

   }    

//#########################»ó´Ü°øÅë¸Þ´º###############################
