//ÇÃ·¡½Ã ¸µÅ©°ª ¼³Á¤
function movePage(strVar)
{
	URL = "";
	//alert(strVar);

	switch(strVar)
	{	
		//url ¼³Á¤ ¹æ¹ý
		//case "IA depth ÀÔ·Â" : URL = "page URL ÀÔ·Â"; break; //  [depth ÀÔ·Â]ÆäÀÌÁö Å¸ÀÌÆ²¸í ÀÔ·Â

		case "0" : URL = "/shop/main/index.php?nav="+strVar; break; // [1.1.1]Æä¾îÆ®·¹ÀÌµå¶õ?


		//************************************page1************************************//
		// [1]±¸¼¼±ºÈñ¸Á³ª´©¹Ì
		case "1_1_1" : URL = "/shop/main/html.php?htmid=html/fair01.htm&nav="+strVar; break; // [1.1.1]Æä¾îÆ®·¹ÀÌµå¶õ?
		case "1_2_1" : URL = "/shop/main/html.php?htmid=html/fair02.htm&nav="+strVar; break; // [1.2.1]È¸»ç°³¿ä
		case "1_3_1" : URL = "/shop/main/html.php?htmid=html/fair03.htm&nav="+strVar; break; // [1.3.1]È¸»ç¼Ò°³
		case "1_4_1" : URL = "/shop/main/html.php?htmid=html/fair04.htm&nav="+strVar; break; // [1.4.1]°æ¿µ¿øÄ¢
		case "1_5_1" : URL = "/shop/main/html.php?htmid=html/fair05.htm&nav="+strVar; break; // [1.5.1]»ç¾÷ºÐ¾ß
		case "1_6_1" : URL = "/shop/main/html.php?htmid=html/fair06.htm&nav="+strVar; break; // [1.6.1]¿¬Çõ
		case "1_7_1" : URL = "/shop/main/html.php?htmid=html/fair07.htm&nav="+strVar; break; // [1.7.1]ÇÔ²²ÇÏ´Â »ç¶÷µé
		case "1_8_1" : URL = "/shop/main/html.php?htmid=html/fair08.htm&nav="+strVar; break; // [1.8.1]Ã£¾Æ¿À½Ã´Â±æ

		//************************************page1************************************//

		//************************************page2************************************//
		// [2]»ç¾÷¼Ò°³
		case "2_1_1" : URL = "/shop/main/html.php?htmid=html/gru_brand01.htm&nav="+strVar; break; // [2.1.1]ºê·£µå ½ºÅä¸®
		case "2_2_1" : URL = "/shop/main/html.php?htmid=html/gru_heart.htm&nav="+strVar; break; // [2.2.1]¸¶À½°ú ¸¶À½À» ÀÕ´Â ¿Ê
		//case "2_3_1" : URL = "/shop/main/html.php?htmid=html/gru_collection01.htm&nav="+strVar; break; // [2.3.1]ÄÃ·º¼Ç
		case "2_3_1" : URL = "/shop/proc/gru_collection.php?tplSkin=siesta_gold&nav="+strVar; break; // [2.3.1]ÄÃ·º¼Ç
		//************************************page2************************************//

		//************************************page3************************************//
		// [3]¸ÅÀå¾È³»
		//case "3_1_1" : URL = "/shop/main/html.php?htmid=proc/maker_list.htm&nav="+strVar; break; // [3.1.1]»ý»êÀÚÀÌ¾ß±â
		case "3_1_1" : URL = "/shop/proc/maker_list.php?tplSkin=siesta_gold&nav="+strVar; break; // [3.1.1]»ý»êÀÚÀÌ¾ß±â
		//************************************page3************************************//

		//************************************page4************************************//
		// [4]±âÁõ/ÈÄ¿ø¾È³»
		case "4_1_1" : URL = "/shop/main/html.php?htmid=html/citizen01.htm&nav="+strVar; break; // [4.1.1] ÇÁ·ÎÁ§Æ® ¼Ò°³
		case "4_2_1" : URL = "/shop/main/html.php?htmid=html/citizen02.htm&nav="+strVar; break; // [4.2.1] ÁÖ½ÄÃ»¾à¾È³»
		//case "4_3_1" : URL = "/shop/main/html.php?htmid=proc/citizen.htm&nav="+strVar; break; // [4.2.1] Ã»¾à ½ÅÃ»ÇÏ±â
		case "4_3_1" : URL = "/shop/proc/citizen.php?tplSkin=siesta_gold&nav="+strVar; break; // [4.2.1] Ã»¾à ½ÅÃ»ÇÏ±â		
		//************************************page4************************************//

		//************************************page5************************************//
		// [5]Èñ¸Á³ª´©¹Ì¼Ò½Ä
		case "5_1_1" : URL = "/shop/board/list.php?id=notice&nav="+strVar; break; // [5.1.1]°øÁö»çÇ×
		case "5_2_1" : URL = "/shop/board/list.php?id=press&nav="+strVar; break; // [5.2.1]º¸µµÀÚ·á
		case "5_2_1" : URL = "/shop/board/list.php?id=press&nav="+strVar; break; // [5.2.1]º¸µµÀÚ·á		
		//************************************page5************************************//

		//************************************page6************************************//
		// [6]°í°´Áö¿ø
		case "6_1_1" : URL = "/shop/service/customer.php?nav="+strVar; break; // [6.1.1]°í°´¼¾ÅÍ
		//************************************page6************************************//

		//************************************page7************************************//
		// [7]È¸¿ø°¡ÀÔ
		case "7_1_1" : URL = "/shop/goods/goods_review.php?nav="+strVar; break; // [7.1.1]ÀÌ¿ëÈÄ±â
		case "7_2_1" : URL = "/shop/mypage/mypage_qna.php?nav="+strVar; break; // [7.2.1]1:1¹®ÀÇ
		case "7_3_1" : URL = "/shop/board/list.php?id=freeboard&nav="+strVar; break; // [7.3.1]ÀÚÀ¯°Ô½ÃÆÇ
		//case "7_4_1" : URL = "/shop/main/html.php?htmid=proc/community_gru.htm&nav="+strVar; break; // [7.4.1]±×·çÅäÅ©
		case "7_4_1" : URL = "/shop/proc/community_gru.php?tplSkin=siesta_gold&nav="+strVar; break; // [7.4.1]±×·çÅäÅ©		
		//************************************page7************************************//


		//************************************Footer************************************//
		// [1]Footer
		/*
		case "9_0_0_0" : URL = "/pop_use/pop_member.html&nav="+strVar; break; // [0.0.0.0]HERI ÀÌ¿ë¾à°ü
		case "9_0_0_1" : URL = "/pop_use/pop_copy.html&nav="+strVar; break; // [0.0.0.1]ÀúÀÛ±ÇÁ¤Ã¥
		case "9_0_0_2" : URL = "/pop_use/pop_care.html&nav="+strVar; break; // [0.0.0.2]°³ÀÎÁ¤º¸º¸È£Á¤Ã¥
		case "9_0_0_3" : URL = "/pop_use/pop_email.html&nav="+strVar; break; // [0.0.0.3]ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ
		case "9_0_0_4" : URL = "/company/company01.html?nav=5_1_1"; break; // [0.0.0.4]HERI ¼Ò°³
		case "9_0_0_5" : URL = "mailto:dayory@bluish.co.kr"; break; // [0.0.0.5]ÀÌ¸ÞÀÏ¹®ÀÇ
		*/
		//************************************Footer************************************//

		//************************************gnb(Å¾¿µ¿ª)************************************//

	}
	



	if(URL=="")
	{	
			alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù."); return;
	}
		
	//_blank ·Î ¶ç¿ì´Â °Ì´Ï´Ù.
	/*
	if(strVar == "8_3_1")
	{
		window.open(URL,'','width=550,height=350,top=10,left=10');	
	} else {
		location.href=URL;	
	}

		window.open(URL,'','width=550,height=350,top=10,left=10');	
	} else if(strVar == "9_0_0_3")	{
		window.open(URL,'','width=550,height=270,top=10,left=10');	
	} else if(strVar == "8_3_1")	{
		window.open(URL,'','width=346,height=235,top=200,left=200');	
	} else{
		location.href=URL;
	}
	*/
	if (strVar == "8_3_1") {
		window.open(URL,'','width=346,height=235,top=300,left=300');	
		//window.open(URL);

	} else if(strVar == "03")	{
		window.open(URL,'','width=346,height=310,top=300,left=400');	
	} else {
		location.href=URL;
	}

}
