/******************************************************************************
	ÆÄÀÏ¸í : common.js - °øÅë Javascript
	ÀÛ¼ºÀÚ : PortfolioAD
	ÀÛ¼ºÀÏ : 2008-02-22
******************************************************************************/


function Link() {
	var num = arguments[0];
	var cate = arguments[1];
	if (!cate) cate = 1;
	switch(num) {
		case 0: document.location.href="../index/index_body.html"; //¸ÞÀÎ
		break;			

		//1_¼­ºñ½º
		case 1: document.location.href="../sub01/sub01.html"; //¼­ºñ½º ÀÌ¿ë¾È³»
			break;		
		case 2: document.location.href="../sub01/sub02.html"; //¼­ºñ½º FAQ
			break;
		case 3: document.location.href="../sub01/sub03.html"; //¿Â¶óÀÎ »ó´ã½Ç
			break;
		case 4: document.location.href="../sub01/sub04.html"; //º¸Á¶±â±¸ È°¿ëº¸°í¼­
			break;

		//2_º¸Á¶±â±¸
		case 5: document.location.href="../sub02/sub01.html"; //º¸Á¶±â±¸ ¼Ò°³
			break;
		case 6: document.location.href="../sub02/sub02.html"; //¼¾ÅÍº¸À¯±â±¸
			break;		
		case 7: document.location.href="../sub02/sub03.html"; //±â±¸Á¦¾È ¹× È°¿ë±â
			break;
		case 8: document.location.href="../sub02/sub04.html"; //º¸Á¶±â±¸ ÀÚ·á½Ç
			break;

		//3_Àü½ÃÃ¼ÇèÀå
		case 9: document.location.href="../sub03/sub01.html"; //Àü½ÃÀå µÑ·¯º¸±â-¹èÄ¡µµ
			break;
		case 39: document.location.href="../sub03/sub01_02.html"; //Àü½ÃÀå µÑ·¯º¸±â-A
			break;
		case 40: document.location.href="../sub03/sub01_03.html"; //Àü½ÃÀå µÑ·¯º¸±â-B
			break;
		case 41: document.location.href="../sub03/sub01_04.html"; //Àü½ÃÀå µÑ·¯º¸±â-C
			break;
		case 42: document.location.href="../sub03/sub01_05.html"; //Àü½ÃÀå µÑ·¯º¸±â-D
			break;
		case 43: document.location.href="../sub03/sub01_06.html"; //Àü½ÃÀå µÑ·¯º¸±â-E,F
			break;
		case 44: document.location.href="../sub03/sub01_07.html"; //Àü½ÃÀå µÑ·¯º¸±â-G
			break;
		case 45: document.location.href="../sub03/sub01_08.html"; //Àü½ÃÀå µÑ·¯º¸±â-H
			break;
		case 46: document.location.href="../sub03/sub01_09.html"; //Àü½ÃÀå µÑ·¯º¸±â-I
			break;
		case 47: document.location.href="../sub03/sub01_10.html"; //Àü½ÃÀå µÑ·¯º¸±â-J
			break;
		case 48: document.location.href="../sub03/sub01_11.html"; //Àü½ÃÀå µÑ·¯º¸±â-K
			break;

		case 10: document.location.href="../sub03/sub02.html"; //°ßÇÐ&Àü½ÃÈ¸ ¿äÃ»
			break;		
		case 11: document.location.href="../sub03/sub03.html"; //°ßÇÐ&Àü½ÃÈ¸ ÈÄ±â
			break;

		//4_ÀÌ¾ß±â
		case 12: document.location.href="../sub04/sub01.html"; //º¸Á¶°øÇÐ?
			break;		
		case 13: document.location.href="../sub04/sub02.html"; //³¯°³´Þ±â(e-book)
			break;
		case 14: document.location.href="../sub04/sub03.html"; //´º½º·¹ÅÍ
			break;
		case 15: document.location.href="../sub04/sub04.html"; //¼­ºñ½º »ç·Ê¼Ò°³
			break;
		case 16: document.location.href="../sub04/sub05.html"; //°³Á¶Á¦ÀÛ
			break;
		case 17: document.location.href="../sub04/sub06.html"; //µ¿¿µ»ó UCC
			break;

		//5_°Ô½ÃÆÇ
		case 18: document.location.href="../sub05/sub01.html"; //¼¾ÅÍ¼Ò½Ä
			break;
		case 19: document.location.href="../sub05/sub02.html"; //º¸Á¶°øÇÐµ¿Çâ
			break;
		case 20: document.location.href="../sub05/sub03.html"; //ÀÚÀ¯°Ô½ÃÆÇ
			break;

		//6_ÀÚ·á½Ç
		case 21: document.location.href="../sub06/sub01.html"; //ÀÚ·á½Ç
			break;
		case 22: document.location.href="../sub06/sub02.html"; //°¶·¯¸®
			break;
		case 23: document.location.href="../sub06/sub03.html"; //¹æ¼ÛÀÚ·á
			break;

		//7_ÈÄ¿ø¾È³»
		case 24: document.location.href="../sub07/sub01.html"; //ÈÄ¿ø¾È³»
			break;
		case 49: document.location.href="../sub07/sub03.html"; //ÇÊ¿äÇÕ´Ï´Ù
			break;
		case 50: document.location.href="../sub07/sub04.html"; //°í¸¿½À´Ï´Ù
			break;

		//8_¼¾ÅÍ¼Ò°³
		case 25: document.location.href="../sub08/sub01.html"; //¼¾ÅÍÀå ÀÎ»ç¸»
			break;
		case 26: document.location.href="../sub08/sub02.html"; //¼¾ÅÍ´Â?
			break;
		case 27: document.location.href="../sub08/sub03.html"; //»ç¾÷¾È³»
			break;
		case 28: document.location.href="../sub08/sub04.html"; //Á¶Á÷µµ
			break;
		case 29: document.location.href="../sub08/sub05.html"; //¼¾ÅÍÀ§¿øÈ¸ ¼Ò°³
			break;
		case 30: document.location.href="../sub08/sub06.html"; //Ã£¾Æ¿À½Ã´Â ±æ
			break;

		//9_¸â¹ö½±
		case 31: document.location.href="/HWI_MEMBER/?Hmmode=agree"; //È¸¿ø°¡ÀÔ
			break;
		case 32: document.location.href="javascript:Login2();"; //·Î±×ÀÎ
			break;
		case 33: document.location.href="/HWI_MEMBER/?Hmmode=search"; //ID/PW Ã£±â
			break;
		case 34: document.location.href="/HWI_MEMBER/?Hmmode=modify"; //³» Á¤º¸¼öÁ¤
			break;
		case 35: document.location.href="/HWI_MEMBER/?Hmmode=secession"; //È¸¿øÅ»Åð
			break;

		//10_±âÅ¸
		case 36: document.location.href="../sitemap/sub01.html"; //»çÀÌÆ®¸Ê
			break;
		case 37: document.location.href="../etc/sub01.html"; //°³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§
			break;
		case 38: document.location.href="../etc/sub02.html"; //È¸¿ø¾à°ü
			break;


	}
}

function Link2() {
	var num = arguments[0];
	var cate = arguments[1];
	if (!cate) cate = 1;
	switch(num) {
		case 0: document.location.href="../index/index_body.html"; //¸ÞÀÎ
		break;			

		//1_º¸Á¶°øÇÐ¼­ºñ½º
		case 1: document.location.href="../sub04/sub01.html"; //º¸Á¶°øÇÐÀÌ¶õ?
			break;		
		case 2: document.location.href="../sub02/sub01.html"; //º¸Á¶±â±¸ Á¾·ù
			break;
		case 3: document.location.href="../sub01/sub01.html"; //¼­ºñ½º ÀÌ¿ë¾È³»
			break;
		case 4: document.location.href="../sub01/sub02.html"; //FAQ
			break;
		case 5: document.location.href="../sub02/sub03.html"; //º¸Á¶±â±¸ È°¿ëÀÌ¾ß±â
			break;

		//2_Àü½ÃÃ¼ÇèÀå
		case 6: document.location.href="../sub03/sub01.html"; //Àü½ÃÀå µÑ·¯º¸±â
			break;
		case 7: document.location.href="../sub03/sub02.html"; //°ßÇÐ&Àü½ÃÈ¸ ½ÅÃ»
			break;		
		case 8: document.location.href="../sub03/sub03.html"; //°ßÇÐ&Àü½ÃÈ¸ ÈÄ±â
			break;

		//3_¼¾ÅÍ¼Ò½Ä
		case 9: document.location.href="../sub05/sub01.html"; //°øÁö»çÇ×(¼¾ÅÍ¼Ò½Ä)
			break;
		case 10: document.location.href="../sub04/sub03.html"; //´º½º·¹ÅÍ
			break;
		case 11: document.location.href="../sub06/sub03.html"; //¾ð·Ðº¸µµ
			break;
		//4_°Ô½ÃÆÇ
		case 12: document.location.href="../sub05/sub03.html"; //ÀÚÀ¯°Ô½ÃÆÇ
			break;		
		case 13: document.location.href="../sub01/sub03.html"; //¿Â¶óÀÎ »ó´ã½Ç
			break;
		case 14: document.location.href="../sub05/sub02.html"; //º¸Á¶°øÇÐ µ¿Çâ
			break;

		//5_ÀÚ·á½Ç
		case 15: document.location.href="../sub04/sub02.html"; //e-book
			break;
		case 16: document.location.href="../sub04/sub02_1.html"; //¹ß°£ÀÚ·á
			break;
		case 17: document.location.href="../sub06/sub02.html"; //»çÁøÃ¸
			break;
		case 18: document.location.href="../sub04/sub06.html"; //µ¿¿µ»ó
			break;
		case 19: document.location.href="../sub02/sub04.html"; //±âÅ¸ÀÚ·á
			break;

		//6_ÈÄ¿ø
		case 20: document.location.href="../sub07/sub01.html"; //ÈÄ¿ø¾È³»
			break;
		case 21: document.location.href="../sub07/sub03.html"; //ÇÊ¿äÇÕ´Ï´Ù
			break;
		case 22: document.location.href="../sub07/sub04.html"; //°í¸¿½À´Ï´Ù
			break;


		//7_¼¾ÅÍ¼Ò°³
		case 23: document.location.href="../sub08/sub01.html"; //¼¾ÅÍÀå ÀÎ»ç¸»
			break;
		case 24: document.location.href="../sub08/sub02.html"; //¼¾ÅÍ´Â?
			break;
		case 25: document.location.href="../sub08/sub03.html"; //»ç¾÷¾È³»
			break;
		case 26: document.location.href="../sub08/sub04.html"; //¼¾ÅÍÀ§¿øÈ¸ ¼Ò°³
			break;
		case 27: document.location.href="../sub08/sub05.html"; //Á¶Á÷µµ
			break;
		case 28: document.location.href="../sub08/sub06.html"; //Ã£¾Æ¿À½Ã´Â ±æ
			break;

	}
}
//-->

