﻿function goHome()
{
		document.location='/index.php';
}

//학교소개
function go1(chk)
{
         if (chk==0) {
			document.location ='#';//
		}  else if (chk==1) {
			document.location ='/introduction/introduction01.php';	//
		}  else if (chk==2) {
			document.location ='/introduction/introduction02.php';	//
		}  else if (chk==3) {
			document.location ='/introduction/introduction03.php';	//
		}  else if (chk==4) {
			document.location ='/introduction/introduction04.php';	//
		}  	
}

//커리큘럼
function go2(chk)
{
         if (chk==0) {
			document.location ='#';//
		}  else if (chk==1) {
			document.location ='/curriculum/curriculum01.php';	//
		}  else if (chk==2) {
			document.location ='/curriculum/curriculum02.php';	//
		}  else if (chk==3) {
			document.location ='/curriculum/curriculum03.php';	//
		}  else if (chk==4) {
			document.location ='/curriculum/curriculum04.php';	//
		}  	
}

//
function go3(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	}  else if (chk==1) {
			document.location ='/admission/admission01.php';	//
		} else if (chk==2) {
			document.location='/admission/admission02.php';	
		} else if (chk==3) {
			document.location='/admission/admission03.php';	
		} else if (chk==4) {
			document.location='/admission/admission04.php';	
		} 
}



//
function go4(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	//}  else if (chk==1) {
			//document.location ='/special/special01.php';	//
		} else if (chk==1) {
			document.location='/special/special02.php';	
		} else if (chk==2) {
			document.location='/special/special03.php';	
		} else if (chk==3) {
			document.location='/special/special04.php';	
		} else if (chk==4) {
			document.location='/special/special06.php';	
		} else if (chk==5) {
			document.location='/special/special05.php';	
		} 
}

//
function go5(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	}  else if (chk==1) {
			document.location ='/house/house01.php';	//
		} else if (chk==2) {
			document.location='/house/house02.php';	//
		} else if (chk==3) {
			document.location ='/house/house03.php';	//
		} else if (chk==4) {
			document.location ='/house/house04.php';	//
		} else if (chk==5) {
			document.location ='/house/house05.php';	//
		} else if (chk==6) {
			document.location ='/house/house06.php';	//
		} 
}


//
function go6(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	}  else if (chk==1) {
			document.location ='/staff/staff01.php';	//
		} 
}


//
function go7(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	}  else if (chk==1) {
			document.location ='/bbs/board.php?bo_table=news';	//
		}  else if (chk==2) {
			document.location ='/bbs/board.php?bo_table=school_news';	//
		}  else if (chk==3) {
			document.location ='/bbs/board.php?bo_table=gallery';	//
		}  else if (chk==4) {
			document.location ='/bbs/board.php?bo_table=movie';	//
		} else if (chk==5) {
			document.location ='/bbs/board.php?bo_table=column';	//
		}  else if (chk==6) {
			document.location ='/bbs/board.php?bo_table=bbs';	//
		}   else if (chk==7) {
			document.location ='/bbs/board.php?bo_table=re_bbs';	//
		}   else if (chk==8) {
			document.location ='/bbs/board.php?bo_table=dataroom';	//
		}   else if (chk==9) {
			document.location ='/bbs/board.php?bo_table=faq';	//
		}   else if (chk==10) {
			document.location ='/bbs/board.php?bo_table=japan_life';	//
		} 
}

//
function go8(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	}  else if (chk==1) {
			document.location ='/human/human01.php';	//
		} else if (chk==2) {
			document.location='/human/human02.php';	//
		} else if (chk==3) {
			document.location ='/human/human03.php';	//
		} else if (chk==4) {
			document.location ='/human/human04.php';	//
		} 
}

//
function mypage(chk)
{
         if (chk==0) {
			document.location ='#';//
	 	} else if (chk==1) {
			document.location ='/bbs/login.php';	//로그인
		} else if (chk==2) { 
			document.location='/bbs/register.php';	// 회원가입
		} else if (chk==3) { 
			document.location ='/bbs/login.php';	// 아뒤패스찾기
		} else if (chk==4) { 
			document.location ='/mypage/person.php';	// 개인정보취급방침
		} else if (chk==5) { 
			document.location ='/mypage/use.php';	// 홈페이지 이용약관
		} else if (chk==6) { 
			document.location ='/bbs/member_confirm.php?url=register_form.php';	//개인정보확인수정
		} else if (chk==7) { 
			document.location ='/bbs/new.php?mb_id='+g4_mb_id;	// 나의전체게시물
		} else if (chk==8) { 
			document.location ='/mypage/person.php';	// 개인정보취급정책
		} else if (chk==9) { 
			document.location ='/mypage/use.php';	//홈페이지이용약관
		} else if (chk==10) { 
			document.location ='/bbs/logout.php';	//로그아웃
		} else if (chk==11) { 
			document.location ='/adm';	//관리자
		} 
}


//sitemap
function sitemap(chk)
{
		if (chk==1) {
			document.location ='/mypage/sitemap.php';	//
		}
}
// mail
function mail(chk)
{
		if (chk==1) {
				document.location = 'mailto:';
						}
}

//top
function GoTop()
{
		document.location = '#top';
}