/********************************************************************
# ¸ÞÀÎ ÆäÀÌÁö
********************************************************************/
function goHome()
{
	location.href = "/";
}

/********************************************************************
# °øÁö»çÇ×&´º½º
********************************************************************/
function goNotice(fg)
{
	switch(fg)
	{
		case 0 : location.href = "/board_/index.php?mode=main"; break;	// °øÁö»çÇ×& ´º½º¸ÞÀÎ
		case 1 : location.href = "/board_/index.php?mode=notice_list&mflag=1"; break;	// °øÁö»çÇ×
		case 2 : location.href = "/board_/index.php?mode=notice_list&mflag=2"; break;	// ´º½º
		case 3 : location.href = "/board_/index.php?mode=tooni_list"; break;			// Åõ´ÏÅõµ¥ÀÌ
		case 4 : location.href = "/board_/index.php?mode=event_list"; break;			// ÀÌº¥Æ® ÁøÇàÁß
	}
}

/********************************************************************
# ÀÌº¥Æ® 
********************************************************************/
function goTabEvent(fg)
{
	switch(fg)
	{
		case 1 : goNotice(4); break;													// ÀÌº¥Æ® ÁøÇàÁßÀÌº¥Æ®
		case 2 : location.href = "/board_/index.php?mode=fevent_list"; break;			// ÀÌº¥Æ® ¸¶°¨ÀÌº¥Æ®
	}
}

/********************************************************************
# ¸ÞÀÎ - °øÁö»çÇ×&´º½º »ó¼¼º¸±â
********************************************************************/
function goNoticeView(mflag, seq)
{
	location.href = "/board_/index.php?mode=notice_view&mflag="+mflag+"&seq="+seq+"&page=1";
}


function goEventView(seq)
{
	location.href = "/board_/index.php?mode=event_view&seq="+seq;	
}

/********************************************************************
# ¸ÞÀÎ - Åõ´ÏÅõµ¥ÀÌ »ó¼¼º¸±â
********************************************************************/
function goTooniTodayView(seq)
{
	location.href = "/board_/index.php?mode=tooni_view&seq="+seq+"&page=1";
}


/********************************************************************
# ¸ÞÀÎ - ÇÏ´Ü ¾÷¹«Á¦ÈÞ ¸ÞÀÏÆû
********************************************************************/
function goBottomMenu(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/ad_/index.php?mode=ad01"; break;
		case 2 : location.href = "/ad_/index.php?mode=ad02"; break; // Open_Win("/mail_/advertising.php","mail01","610","700","no"); break;
		case 3 : location.href = "/ad_/index.php?mode=ad03"; break; // Open_Win("/mail_/business.php","mail02","610","590","no"); break;
		case 4 : location.href = "/ad_/index.php?mode=jobs_list"; break; // alert("¸µÅ©¸¦ /common_/js/link.js¿¡¼­ ¼öÁ¤ÇÏ¼¼¿ä."); break;
		case 5 : location.href = "/ad_/index.php?mode=ad05"; break;
	}
}


function goAd(fg)
{
	goBottomMenu(fg);
}
/********************************************************************
# Áö±¹°³¼³¾È³»
********************************************************************/
function goGiguk(fg,mflag)
{
	switch(fg)
	{
		case 1 : location.href = "/giguk_/index.php?mode=gigukinfo"; break;							// Áö±¹ÀÌ¶õ?
		case 2 : location.href = "/giguk_/index.php?mode=gigukcondi"; break;						// °³¼³Á¶°Ç
		case 3 : location.href = "/giguk_/index.php?mode=gigukproc"; break;							// °³¼³ÀýÂ÷
		case 4 : location.href = "/giguk_/index.php?mode=gigukexpe&mflag="+mflag; break;			// °³¼³ºñ¿ë
		case 5 : location.href = "/giguk_/index.php?mode=earnings"; break;							// ¿¹»ó¼öÀÍ
		case 6 : location.href = "/giguk_/index.php?mode=online"; break;							// °³¼³»ó´ã
		case 7 : location.href = "/giguk_/index.php?mode=opened"; break;							// °³¼³½ÅÃ»
	}
}

/********************************************************************
# Åõ´ÏÄÝÀÌ¶õ?
********************************************************************/
function goCall(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/call_/index.php?mode=call01"; break;							// Åõ´ÏÄÝÀÌ¶õ?
		case 2 : location.href = "/call_/index.php?mode=call02"; break;							// °³¿ä
		case 3 : location.href = "/call_/index.php?mode=call03"; break;							// BI
		case 4 : location.href = "/call_/index.php?mode=call04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/call_/index.php?mode=call05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/call_/index.php?mode=call06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/call_/index.php?mode=call07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/call_/index.php?mode=call08"; break;							// »ùÇÃÆäÀÌÁö
	}
}

/********************************************************************
# Åõ´Ï¸ùÀÌ¶õ?
********************************************************************/
function goMong(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/mong_/index.php?mode=mong01"; break;							// Åõ´Ï¸ùÀÌ¶õ?
		case 2 : location.href = "/mong_/index.php?mode=mong02"; break;							// °³¿ä
		case 3 : location.href = "/mong_/index.php?mode=mong03"; break;							// BI
		case 4 : location.href = "/mong_/index.php?mode=mong04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/mong_/index.php?mode=mong05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/mong_/index.php?mode=mong06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/mong_/index.php?mode=mong07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/mong_/index.php?mode=mong08"; break;							// »ùÇÃÆäÀÌÁö
	}
}


function goHomme(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/home_/index.php?mode=home01"; break;							// Åõ´Ï¸ùÀÌ¶õ?
		case 2 : location.href = "/home_/index.php?mode=home02"; break;							// °³¿ä
		case 3 : location.href = "/home_/index.php?mode=home03"; break;							// BI
		case 4 : location.href = "/home_/index.php?mode=home04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/home_/index.php?mode=home05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/home_/index.php?mode=home06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/home_/index.php?mode=home07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/home_/index.php?mode=home08"; break;							// »ùÇÃÆäÀÌÁö
	}
}

function goMember(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/member_/index.php?mode=mjoin"; break;						// È¸¿ø°¡ÀÔ
		case 2 : location.href = "/member_/index.php?mode=login"; break;						// ·Î±×ÀÎ
		case 3 : location.href = "/member_/index.php?mode=search"; break;						// ¾ÆÀÌµð/ºñ¹øÃ£±â
		case 4 : location.href = "/member_/index.php?mode=medit"; break;						// °³ÀÎÁ¤º¸¼öÁ¤
		case 5 : location.href = "/member_/logout.php"; break;									// ·Î±×¾Æ¿ô
	}	
}

function goGOnly(fg)
{
	switch(fg)
	{
		case 0 : location.href = "/gonly_/index.php?mode=gmain"; break;							// ¸ÞÀÎ
		case 1 : location.href = "/gonly_/index.php?mode=gnotice_list"; break;					// °øÁö»çÇ×
		case 2 : location.href = "/gonly_/index.php?mode=gceo_list"; break;					// CEOÅäÅ©
		case 3 : location.href = "/gonly_/index.php?mode=gboard_list&mflag=2"; break;			// ³ëÇÏ¿ì°øÀ¯
		case 4 : location.href = "/gonly_/index.php?mode=gboard_list&mflag=3"; break;			// ¿ì¸®Áö±¹¼Ò½Ä
		case 5 : location.href = "/gonly_/index.php?mode=gigukjang_list"; break;				// Áö±¹Àå¼Ò°³
		case 6 : location.href = "/gonly_/index.php?mode=gboard_list&mflag=4"; break;			// ¼¼»ó»ç´ÂÀÌ¾ß±â
		case 7 : location.href = "/gonly_/index.php?mode=gboard_list&mflag=5"; break;			// °ÇÀÇ»çÇ×
		case 8 : location.href = "/gonly_/index.php?mode=gmemo"; break;							// ÇÑÁÙ¸Þ¸ð
		case 9 : location.href = "/gonly_/index.php?mode=gpds_list"; break;						// ÀÚ·á½Ç
		case 10 : location.href = "/gonly_/index.php?mode=ebook_list&mflag=1"; break;
		case 11 : location.href = "/gonly_/index.php?mode=ebook_list&mflag=2"; break;
		case 12 : location.href = "/gonly_/index.php?mode=gtalk_list"; break;		// Áö±¹ÇùÀÇÈ¸
	}	
}

function goCompany(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/company_/index.php?mode=info01"; break;						// °øÁö»çÇ×
		case 2 : location.href = "/company_/index.php?mode=info02"; break;						// CEOÅäÅ©
		case 3 : location.href = "/company_/index.php?mode=info03"; break;						// ³ëÇÏ¿ì°øÀ¯
		case 4 : location.href = "/company_/index.php?mode=info04"; break;						// ¿ì¸®Áö±¹¼Ò½Ä
		case 5 : location.href = "/company_/index.php?mode=info05"; break;						// Áö±¹Àå¼Ò°³
		case 6 : location.href = "/company_/index.php?mode=info06"; break;						// ¼¼»ó»ç´ÂÀÌ¾ß±â
		case 7 : location.href = "/company_/index.php?mode=info07"; break;						// °ÇÀÇ»çÇ×
		case 8 : location.href = "/company_/index.php?mode=info08"; break;						// ÇÑÁÙ¸Þ¸ð
	}	
}

function goGCondi(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/gcondi_/index.php?mode=gh01"; break;						// ÀüÃ¼Áö±¹
		case 2 : location.href = "/gcondi_/index.php?mode=gh02"; break;						// Áö¿ªº°Áö±¹
		case 3 : location.href = "/gcondi_/index.php?mode=gh03"; break;						// ÇØ¿ÜÁö±¹
	}	
}

function GradeChk(grade)
{
	if(grade < 2)
	{
		alert("Áö±¹Àü¿ë°ø°£ÀÔ´Ï´Ù\n\nÀÏ¹ÝÈ¸¿øÀº Âü¿© ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
	}
	else
	{
		location.href = "/gonly_/index.php?mode=gmain";
	}
}

function goCar(fg)
{

	switch(fg)
	{
		case 1 : location.href = "/car_/index.php?mode=car01"; break;							// Åõ´Ï¸ùÀÌ¶õ?
		case 2 : location.href = "/car_/index.php?mode=car02"; break;							// °³¿ä
		case 3 : location.href = "/car_/index.php?mode=car03"; break;							// BI
		case 4 : location.href = "/car_/index.php?mode=car04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/car_/index.php?mode=car05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/car_/index.php?mode=car06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/car_/index.php?mode=car07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/car_/index.php?mode=car08"; break;							// »ùÇÃÆäÀÌÁö
	}
	
}

function goClic(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/clic_/index.php?mode=clic01"; break;							// Åõ´Ï¸ùÀÌ¶õ?
		case 2 : location.href = "/clic_/index.php?mode=clic02"; break;							// °³¿ä
		case 3 : location.href = "/clic_/index.php?mode=clic03"; break;							// BI
		case 4 : location.href = "/clic_/index.php?mode=clic04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/clic_/index.php?mode=clic05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/clic_/index.php?mode=clic06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/clic_/index.php?mode=clic07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/clic_/index.php?mode=clic08"; break;							// »ùÇÃÆäÀÌÁö
	}

}

function goCity(fg)
{
	switch(fg)
	{
		case 1 : location.href = "/citynine_/index.php?mode=city01"; break;							// Åõ´Ï¸ùÀÌ¶õ?
		case 2 : location.href = "/citynine_/index.php?mode=city02"; break;							// °³¿ä
		case 3 : location.href = "/citynine_/index.php?mode=city03"; break;							// BI
		case 4 : location.href = "/citynine_/index.php?mode=city04"; break;							// Áö¸é±¸¼º
		case 5 : location.href = "/citynine_/index.php?mode=city05"; break;							// Åõ´ÏÄÝ °­Á¡
		case 6 : location.href = "/citynine_/index.php?mode=city06"; break;							// ¼öÀÍ¸ðµ¨
		case 7 : location.href = "/citynine_/index.php?mode=city07"; break;							// ´ë»ó±¤°íÁÖ
		case 8 : location.href = "/citynine_/index.php?mode=city08"; break;							// »ùÇÃÆäÀÌÁö
	}
}
