function pf_link(link){
	// ¹Ú¹°°ü ¸¶À»
  if      (link == ""   ){document.location.href="/home/page/index.jsp";}
  else if (link == "00"   ){document.location.href="/home/page/index.jsp";}
  else if (link == "01"   ){document.location.href="/home/page/sub1/index.jsp";}
  else if (link == "01_01"){document.location.href="/home/page/sub1/01_01_01.jsp";}
  else if (link == "01_01_01"){document.location.href="/home/page/sub1/01_01_04.jsp";}
  else if (link == "01_02"){document.location.href="/home/page/sub1/01_02.jsp";}
 	else if (link == "01_02_01"){document.location.href="/section/danjong/main.jsp";}
 	else if (link == "01_02_02"){document.location.href="/section/dgphoto/main.jsp";}
 	else if (link == "01_02_03"){document.location.href="/section/insect/main.jsp";}
 	else if (link == "01_02_04"){document.location.href="/section/folkart/main.jsp";}
 	else if (link == "01_02_05"){document.location.href="/section/kimsatgat/main.jsp";}
 	else if (link == "01_02_06"){document.location.href="/section/modernart/main.jsp";}
 	else if (link == "01_02_07"){document.location.href="/section/byeolmaro/main.jsp";}
 	else if (link == "01_02_08"){document.location.href="/section/muksan/main.jsp";}
	else if (link == "01_02_09"){document.location.href="/section/book/main.jsp";}
	else if (link == "01_02_10"){document.location.href="/section/sg";}
	else if (link == "01_02_11"){document.location.href="/section/hs";}
	else if (link == "01_02_12"){document.location.href="/section/hoan";}
	else if (link == "01_02_13"){document.location.href="/section/hoya";}
	else if (link == "01_02_14"){document.location.href="/section/ak";}

 	else if (link == "01_02_01_h"){document.location.href="/section/danjong/page/main.jsp";}
 	else if (link == "01_02_02_h"){document.location.href="/section/dgphoto/page/main.jsp";}
 	else if (link == "01_02_03_h"){document.location.href="/section/insect/page/main.jsp";}
 	else if (link == "01_02_04_h"){document.location.href="/section/folkart/page/main.jsp";}
 	else if (link == "01_02_05_h"){document.location.href="/section/kimsatgat/page/main.jsp";}
 	else if (link == "01_02_06_h"){document.location.href="/section/modernart/page/main.jsp";}
 	else if (link == "01_02_07_h"){document.location.href="/section/byeolmaro/page/main.jsp";}
 	else if (link == "01_02_08_h"){document.location.href="/section/muksan/page/main.jsp";}
	else if (link == "01_02_09_h"){document.location.href="/section/book/page/main.jsp";}

	else if (link == "01_02_10_h"){document.location.href="/section/sg";}
	else if (link == "01_02_11_h"){document.location.href="/section/hs";}
	else if (link == "01_02_12_h"){document.location.href="/section/hoan";}
	else if (link == "01_02_13_h"){document.location.href="/section/hoya";}
	else if (link == "01_02_14_h"){document.location.href="/section/ak";}

 	else if (link == "01_02_01_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/dan", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_02_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/pho", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_03_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/insect", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_04_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/cho", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_05_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/kim/", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_06_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/int", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_07_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/byul", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_08_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/muk", "cybertour", 0,0,910, 700,1,1,0);}
	else if (link == "01_02_09_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/kor/book", "cybertour", 0,0,910, 700,1,1,0);}
	else if (link == "01_02_10_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber2/html/sg", "cybertour", 0,0,1024, 744,1,1,0);}
 	else if (link == "01_02_11_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber2/html/hoan", "cybertour", 0,0,1024, 744,1,1,0);}
 	else if (link == "01_02_12_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber2/html/hs", "cybertour", 0,0,1024, 744,1,1,0);}
 	else if (link == "01_02_13_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber2/html/hoya", "cybertour", 0,0,1024, 744,1,1,0);}
	else if (link == "01_02_14_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber2/html/ak", "cybertour", 0,0,1024, 744,1,1,0);}

  else if ( link == "01_03"){document.location.href="/home/page/sub1/01_03.jsp";}
  else if ( link == "01_04"){document.location.href="/home/page/sub1/01_04_01.jsp";}
  else if ( link == "01_05"){document.location.href="/home/page/sub1/01_05.jsp";}
  else if ( link == "01_06"){document.location.href="/home/page/sub1/01_06.jsp";}
  else if ( link == "01_07"){document.location.href="/home/page/sub1/01_07.jsp";}

  // »çÀÌ¹öÃ¼Çè°ü
  else if ( link == "02"   ){document.location.href="/home/page/sub2/index.jsp";}
  else if ( link == "02_01"){document.location.href="/home/page/sub2/02_01.jsp";}
  else if ( link == "02_02"){document.location.href="/home/page/sub2/02_02.jsp";}
  else if ( link == "02_03"){document.location.href="/home/page/sub2/02_03.jsp";}
  else if ( link == "02_04"){document.location.href="/home/page/sub2/02_04.jsp";}
  else if ( link == "02_05"){document.location.href="/home/page/sub2/02_05.jsp";}

	// ¼ÒÀåÇ° Á¤º¸
	else if ( link == "03"   ){document.location.href="/home/page/sub3/index.jsp";}
  else if ( link == "03_01"){document.location.href="/home/page/sub3/03_01_01.jsp";}
  else if ( link == "03_01_01"){document.location.href="/home/page/sub3/03_01_01.jsp";}
  else if ( link == "03_01_02"){document.location.href="/home/page/sub3/03_01_02.jsp";}
  else if ( link == "03_01_03"){document.location.href="/home/page/sub3/03_01_03.jsp";}
  else if ( link == "03_01_04"){document.location.href="/home/page/sub3/03_01_04.jsp";}
  else if ( link == "03_02"){document.location.href="/home/page/sub3/03_02_01.jsp";}
  else if ( link == "03_03"){document.location.href="/home/page/sub3/03_03_01.jsp";}

	// ÀÚ·á°ü
  else if ( link == "04"   ){document.location.href="/home/page/sub4/index.jsp";}
  else if ( link == "04_01"){document.location.href="/home/page/sub4/04_01.jsp";}
  else if ( link == "04_02"){document.location.href="/home/page/sub4/04_02.jsp";}
  else if ( link == "04_03"){document.location.href="/home/page/sub4/04_03.jsp";}
  else if ( link == "04_04"){document.location.href="/home/page/sub4/04_04.jsp";}

	// ±â³äÇ° Àü
  else if ( link == "05"   ){document.location.href="/home/page/sub5/index.jsp";}
  else if ( link == "05_01"){document.location.href="/home/page/sub5/05_01.jsp";}
  else if ( link == "05_02"){document.location.href="/home/page/sub5/05_02.jsp";}
  else if ( link == "05_03"){document.location.href="/home/page/sub5/05_03.jsp";}

  // Âü¿©±¤Àå
  else if ( link == "06"   ){document.location.href="/home/page/sub6/index.jsp";}
  else if ( link == "06_01"){document.location.href="/home/page/sub6/06_01.jsp";}
  else if ( link == "06_02"){document.location.href="/home/page/sub6/06_02_01.jsp";}             // Çà»çÀÏÁ¤
  else if ( link == "06_02_01"){document.location.href="/home/page/sub6/06_02_01.jsp";}
  else if ( link == "06_03"){document.location.href="/home/page/sub6/06_03.jsp";}
  else if ( link == "06_04"){document.location.href="/home/page/sub6/06_04.jsp";}
  else if ( link == "06_05"){document.location.href="/home/page/sub6/06_05.jsp";}
  else if ( link == "06_06"){document.location.href="/home/page/sub6/06_06.jsp";}
  else if ( link == "06_07"){document.location.href="/home/page/sub6/06_07.jsp";}

  // ºÎ°¡ ¸Þ´º
  else if ( link == "07_05"){document.location.href="/home/page/sub7/07_05.jsp";}

  // ·Î±×ÀÎ, È¸¿ø°¡ÀÔ, ·Î±×¾Æ¿ô, °øÁö»çÇ×  °³º° ÁÂÃø ¸Þ´º
  else if ( link == "login"){cf_login(_rtn_url);}
  else if ( link == "join"){cf_memberJoin();}
  else if ( link == "logout"){cf_logout();}
  else if ( link == "mypage"){cf_mypage();}
  else if ( link == "ywtour"){open("http://ywtour.com/kor/CMSView.php?pid=57");}

  // ±âÅ¸ ¸µÅ©
  else if ( link == "panorama"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/panoramatour/kor/", "cyberpanorama", 0,0,900, 675,1,1,0);}
  else if ( link == "panoramaEng"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/panoramatour/eng/", "cyberpanorama", 0,0,900, 675,1,1,0);}


  else
  	alert(link);
}

function cf_personal() {
	location.href="/home/page/sub7/07_04.jsp";
}

//¾î¸°ÀÌ¹Ú¹°°ü ¸µÅ© °æ·Î
function f_link(link){
       if (link == "child_01"){document.location.href="/child/page/sub01_01.jsp";}
  else if (link == "child_01_01"){document.location.href="/child/page/sub01_01.jsp";}
  else if (link == "child_01_02"){document.location.href="/child/page/sub01_02.jsp";}
  else if (link == "child_01_03"){document.location.href="/child/page/sub01_03.jsp";}
  else if (link == "child_01_04"){document.location.href="/child/page/sub01_04.jsp";}
  else if (link == "child_02"){document.location.href="/child/page/sub02_01_01.jsp";}
  else if (link == "child_02_01"){document.location.href="/child/page/sub02_01_01.jsp";}
  else if (link == "child_02_02"){document.location.href="/child/page/sub02_02_01.jsp";}
  else if (link == "child_02_03"){document.location.href="/child/page/sub02_03.jsp";}
  else if (link == "child_03"){document.location.href="/child/page/sub03_01.jsp";}
  else if (link == "child_03_01"){document.location.href="/child/page/sub03_01.jsp";}
  else if (link == "child_03_02"){document.location.href="/child/page/sub03_02.jsp";}
  else if (link == "child_04"){document.location.href="/child/page/sub04_01.jsp";}
  else if (link == "child_04_01"){document.location.href="/child/page/sub04_01.jsp";}
  else if (link == "child_04_02"){document.location.href="/child/page/sub04_02.jsp";}
  else if (link == "child_04_03"){document.location.href="/child/page/sub04_03.jsp";}
  else if (link == "child_04_04"){document.location.href="/child/page/sub04_04.jsp";}
  else if (link == "child_04_05"){document.location.href="/child/page/sub04_05.jsp";}
  else if (link == "child_05"){document.location.href="/child/page/sub05_01.jsp";}
  else if (link == "child_05_01"){document.location.href="/child/page/sub05_01.jsp";}
  else if (link == "child_05_02"){document.location.href="/child/page/sub05_02.jsp";}
  else if (link == "child_05_03"){document.location.href="/child/page/sub05_03.jsp";}
  else if (link == "child_home"){document.location.href="/child/page/main.jsp";}
  else if (link == "child_sitemap"){document.location.href="/child/page/sub06.jsp";}
  else
  	alert(link);
}

// ¿Ü±¹¾î »çÀÌ¹ö ¹Ú¹°°ü ¸µÅ©
function pf_engCyber(link){
       if (link == "01_02_01_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/dan", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_02_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/pho", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_03_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/insect", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_04_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/cho", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_05_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/kim/", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_06_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/int", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_07_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/byul", "cybertour", 0,0,910, 700,1,1,0);}
 	else if (link == "01_02_08_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/muk", "cybertour", 0,0,910, 700,1,1,0);}
	else if (link == "01_02_09_m"){jf_openWindow("http://www.ywmuseum.com/upload/cyber/cybermuseum/eng/book", "cybertour", 0,0,910, 700,1,1,0);}
}