
	// Top 메뉴 이동
	function mainlink(idx)
	{
		var cLinkUrl = "";
	
		switch ( idx )
		{
			case 1	 	: cLinkUrl = "/about/sub_about.jsp";			break;		// 어바웃 경기도
			case 2	 	: cLinkUrl = "/travel/index.jsp"; 				break;		// 여행스케치
			case 3		: cLinkUrl = "/information/index.jsp"; 		break;		// 관광정보
			case 4		: cLinkUrl = "/reservation/index.jsp"; 		break;		// 땡큐예약
			//case 4		: cLinkUrl = "/community/index.jsp"; 		break;		// 땡큐포유
			//case 5		: cLinkUrl = "/citytour/index.jsp"; 			break;		// 경기시티투어
		}
	
		if ( "" != cLinkUrl ) window.location.href = cLinkUrl;
	}

  function fulldown()
  {
	document.getElementById("full_layer").style.top = "0";
  }


  function fullFunc(idx)
  {
	if(idx = 1)
	{
		top();
	}
  }

  function fullLink(idx1,idx2)
	{
		var cLinkUrl = "";
	
		if ( 1 == idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/about/sub_about.jsp";			break;		// 어바웃 경기도
				case 1	 	: cLinkUrl = "/about/sub_about.jsp";			break;		// 어바웃 경기도
			}
		}
		else if ( 2 == idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/travel/index.jsp"; 																							break;		// 여행스케치
				case 1		: cLinkUrl = "/travel/destination/destinationList.jsp"; 																break;		// 여행지 10선
				case 2	 	: cLinkUrl = "/travel/columnist/columnistList.jsp?category_s_search=113115111000"; 				break;		// 여행기자칼럼
			}
		}
		else if ( 3 == idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/information/index.jsp"; 																	break;		// 관광정보
				case 1	 	: cLinkUrl = "/information/informationList.jsp?category_m=112130000000"; 			break;		// 전통문화
				case 3		: cLinkUrl = "/information/informationList.jsp?category_m=112135000000"; 			break;		// 테마공원
				case 5		: cLinkUrl = "/information/informationList.jsp?category_m=112123000000"; 			break;		// 갤러리박물관
				case 6		: cLinkUrl = "/information/informationList.jsp?category_m=112136000000";				break;		// 야외 레져
				case 7		: cLinkUrl = "/information/informationList.jsp?category_m=112137000000";				break;		// 온천스파
				case 8		: cLinkUrl = "/information/informationList.jsp?category_m=112138000000";				break;		// 시티투어
				case 9		: cLinkUrl = "/information/informationList.jsp?category_m=112139000000";				break;		// 쇼핑센터
				case 10	: cLinkUrl = "/information/informationList.jsp?category_m=112140000000"; 			break;		// 수목원과 공원
				case 11	: cLinkUrl = "/information/informationList.jsp?category_m=112141000000"; 			break;		// 템플스테이
				case 12	: cLinkUrl = "/information/informationList.jsp?category_m=112142000000"; 			break;		// 가을단풍명소
				case 13	: cLinkUrl = "/information/informationList.jsp?category_m=112143000000";				break;		// 산업탐방 및 교육
			}
		}
		else if ( 4 ==  idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/reservation/index.jsp"; 																				break;		// 땡큐예약
				case 1	 	: cLinkUrl = "/reservation/lodge/lodgeList.jsp?category_s=111111111000"; 							break;		// 숙박
				case 2		: cLinkUrl = "/reservation/sight/sightList.jsp?category_s=111113111000"; 							break;		// 관람
				/**
				case 0	 	: cLinkUrl = "/community/index.jsp"; 										break;		// 땡큐포유
				case 1	 	: cLinkUrl = "/community/exploration/explorationView.jsp"; 		break;		// 코스답사
				case 2		: cLinkUrl = "/community/ucc/uccList.jsp"; 								break;		// 길따라 맛따라 UCC
				case 3		: cLinkUrl = "/community/suggestion/suggestionList.jsp"; 			break;		// 여기 어때요?
				case 4		: cLinkUrl = "/community/mosaic/mosaicList.jsp"; 						break;		// 모자이크 갤러리
				case 5		: cLinkUrl = "/community/event/eventList.jsp"; 							break;		// 이벤트
				case 6		: cLinkUrl = "/community/question/questionList.jsp"; 					break;		// 이땡큐 설문
				/**/
			}
		}
		else if ( 5 == idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/citytour/index.jsp"; 					break;		// 경기 시티투어
				case 1	 	: cLinkUrl = "/citytour/city/tour01.jsp"; 				break;		// 시티투어 체험관
				case 2		: cLinkUrl = "/citytour/lodge/lodgeList.jsp"; 		break;		// 지역특화 콘텐츠
			}
		}
		else if ( 6 == idx1 )
		{
			switch ( idx2 )
			{
				case 0	 	: cLinkUrl = "/reservation/index.jsp"; 											break;		// 마이페이지
				case 1	 	: cLinkUrl = "/mypage/scrap/reservation/reservationList.jsp"; 		break;		// 찜목록
				case 2		: cLinkUrl = "/mypage/cart/lodgeList.jsp"; 									break;		// 장바구니
				case 3		: cLinkUrl = "/mypage/reservation/reservationList.jsp"; 					break;		// 예약 및 결재내역 조회
				case 4		: cLinkUrl = "/mypage/reservation/cancelList.jsp"; 						break;		// 취소 및 환불내역 조회
				case 5		: cLinkUrl = "/mypage/member/infoWrite.jsp"; 								break;		// 회원정보 관리
				case 6		: cLinkUrl = ""; 																			break;		// 쿠폰내역 조회
				case 7		: cLinkUrl = "/mypage/inquiry/inquiryList.jsp"; 								break;		// 1:1 문의
			}
		}
		else if ( 7 == idx1 )
		{
			cLinkUrl = "/data/dataList.jsp";	// 이땡큐 자료실
		}
		else if ( 8 == idx1 )
		{
			cLinkUrl = "/offline/offlineList.jsp?category_s=";	// 오프라인 가맹점 소개
		}
		else if ( 9 == idx1 )
		{
			cLinkUrl = "/ucc/uccList.jsp";	// 땡큐 TV
		}
		else if ( 10 == idx1 )
		{
			cLinkUrl = "/card/card.jsp";	// 땡큐카드 소개
		}
		else if ( 11 == idx1 )
		{
			cLinkUrl = "/rss/rss.jsp";	// RSS 서비스
		}
		else if ( 12 == idx1 )
		{
			cLinkUrl = "/sitemap/siteMap.jsp";	// 사이트 맵
		}
	
		if ( "" != cLinkUrl ) window.location.href = cLinkUrl;
		else alert("준비중 입니다.");
	}

//6.0 셀렉트박스 z-index로 인한 수정.

function down(){
	document.getElementById("full_layer").style.display = "block";
	$("#full_layer").animate({
		marginTop: "0"
	}, 500);
	$("select").fadeOut("fast");
}


function top(){
	$("#full_layer").animate({marginTop: "-408px"}, 500);
	$("#full_layer").fadeOut("slow");
	$("select").fadeIn("slow");
}
//6.0 셀렉트박스 z-index로 인한 수정.



	function slideFunc(idx){
		if ( idx == 1 )
		{
			$("#how").fadeOut();
		}
		else
		{
			$("#how").fadeIn();
		}
	}



	function moreFunc(){
		window.location.href = "/community/exploration/explorationView.jsp";
	}