;// **********************************************************************************************************************************
//                                                   최종 수정일 : 2012-2-10  홍경은
// **********************************************************************************************************************************
 function setPng24(obj) {
        obj.width=obj.height=1;
        obj.className=obj.className.replace(/\bpng24\b/i,'');
        obj.style.filter =
        "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
        obj.src=''; 
        return '';
    }

// 메인링크
	function goMenu(url) {
		switch (url) {
			case 1:	// 해외여행
				location.href='/Product/Package/PackageMain.aspx';
				break;
			case 2:	// 자유여행
				location.href='/Product/Free/Main.aspx';
				break;
			case 3:	// 국내/제주
				location.href='/Product/Domestic/DomesticMain.aspx';
				break;
			case 4:	// 골프
				location.href='/Product/Golf/GolfMain.aspx';
				break;
			case 5:	// 부산출발
				location.href='/Product/Package/PackageMainBS.aspx?productCode=B';
				break;
			//case 6:	// 골프여행
				//location.href='/Product/Package/PackageList.aspx?menuCode=1&productCode=G';
				//break;
			case 6:	// 허니문
				location.href='/Product/HoneyMoon/HoneyMoonMain.aspx';
				break;
			case 7:	// 해외항공
				location.href='/Product/AirFare/AirMain.aspx?productCode=A';
				break;
			case 8:	// 해외호텔
				location.href='/product/hotel/hotelmain.aspx';
				break;	
			case 9:	// 참좋은 기획전
				location.href='/Event/EventMain.aspx?menuCode=19401';
				break;
			case 10:// 참좋은 이벤트
				location.href='/Event/Event.aspx?Event=Y&menuCode=19403';
				break;
			case 11:	// 해외출장
				location.href='/common/info.aspx?type=lccinfo&page=lccMain&productCode=BI';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

// 메인링크
	function goMain(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=58';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=151';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=53';
				break;
			case 17:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=111';
				break;
			case 4:	// 긴급모객 01
				location.href='/Product/Package/packageDetail.aspx?proCode=JPP404-090605&priceSeq=1';
				break;
			case 5:	// 긴급모객 02
				location.href='/Product/Package/packageDetail.aspx?proCode=APP201-090610&priceSeq=1';
				break;
			case 6:	// 긴급모객 03
				location.href='/Product/Package/packageDetail.aspx?proCode=CPP108-090행5&priceSeq=1';
				break;
			case 7:	// 긴급모객 04
				location.href='/Product/Package/packageDetail.aspx?proCode=APF050-090605&priceSeq=1';
				break;
			case 8:	// 테마여행 01 (주말여행)
				location.href='/Event/EventView.aspx?evtseq=137';
				break;
			case 9:	// 테마여행 02 (가족여행)
				location.href='/Event/EventView.aspx?evtseq=129';
				break;
			case 10:	// 테마여행 03 (자유여행)
				location.href='/Event/EventView.aspx?evtseq=135';
				break;
			case 11:	// 테마여행 04 (온천여행)
				location.href='/Event/EventView.aspx?evtseq=119';
				break;
			case 12:	// 테마여행 05 (휴양지여행)
				location.href='/Event/EventView.aspx?evtseq=136';
				break;
			case 13:	// 테마여행 06 (골프여행)
				location.href='/Event/EventView.aspx?evtseq=134';
				break;
			case 14:	// 할인항공 Event 01
				location.href='/Product/Air/AirEventView.aspx?seq=99&region=01';
				break;
			case 15:	// 할인항공 Event 02
				location.href='/Product/Air/AirEventView.aspx?seq=100&region=02';
				break;
			case 16:	// 메인 기획전
				location.href='/Event/EventView.aspx?evtseq=312';
				break;
			case 18:	// 자유여행 배너 01 free new
				location.href='/Event/EventView.aspx?evtseq=36';
				break;
			case 19:	// 자유여행 배너 02 free hot
				location.href='/Event/EventView.aspx?evtseq=359';
				break;
			case 20:	// 떠나떠나삼천리 하단
				location.href='/Event/EventView.aspx?evtseq=141';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

	function goM(url) {
		switch (url) {
			// ******************** 패키지 지역별 카테고리 ********************
			case 1:	// 동남아
				location.href='/Event/EventView.aspx?evtseq=376';
				break;
			case 2:	// 일본
				location.href='/Event/EventView.aspx?evtseq=396';
				break;
			case 3:	// 중국
				location.href='/Event/EventView.aspx?evtseq=331';
				break;
			case 4:	// 유럽
				location.href='/Event/EventView.aspx?evtseq=377';
				break;
			case 5:	// 호주 뉴질랜드
				location.href='/Event/EventView.aspx?evtseq=315';
				break;
			case 6:	// 괌 사이판 남태평양
				location.href='/Event/EventView.aspx?evtseq=279';
				break;
			case 7:	// 중남미
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10112&omd=8&productCode=P&groupCode=GSPP011';
				break;
			case 8:	// 미주
				location.href='/Event/EventView.aspx?evtseq=401';
				break;
			case 9:	// 인도 중동 아프리카
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10113&omd=9&productCode=P&groupCode=MPPP900&sort=1&simple=N';
				break;
			case 10: //배너 EVENT 01 
				location.href='/Product/Common/ProductList.aspx?menuCode=2&productCode=D&iurl=http://theme.verygoodtour.com/promotion/2days_730.asp';
				break;
			case 11: //배너 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=370';
				break;
			// ******************** 자유여행 카테고리 ********************
			case 12: //일본
				location.href='/Event/EventView.aspx?evtseq=313';
				break;
			case 13: //동남아
				location.href='/Event/EventView.aspx?evtseq=213';
				break;
			case 14: //중국
				location.href='#';
				break;
			case 15: //유럽
				location.href='/Event/EventView.aspx?evtseq=397';
				break;
			case 16: //호주 뉴질랜드
				location.href='#';
				break;
			case 17: //괌 사이판 남태평양
				location.href='/Event/EventView.aspx?evtseq=199';
				break;
			case 18: //미주
				location.href='/Event/EventView.aspx?evtseq=289';
				break;
			case 21: //JAPAN+ASIA
				location.href='/Product/Package/PackageList.aspx?menuCode=10&productCode=F&groupCode=FITAJP001,FITAJP002,FITAJP003';
				break;
			case 22: //JAPAN_CHINA
				location.href='/Product/Package/PackageList.aspx?menuCode=11&productCode=F&groupCode=FITJCP001,FITJCP002';
				break;
			case 23: //자유여행 1:1 문의
			    location.href = '/vgtboard/BoardCommonList.aspx?MasterSeq=12&menuCode=10212&productCode=F';
				break;
			case 24: //몰디브
				location.href='/Product/Package/PackageList.aspx?menuCode=12&productCode=F&attCode=F&cityCode=MLE&sort=1&category=C';
				break;
			case 25: //제주도
				location.href='/Event/EventView.aspx?evtseq=352&productCode=EV&regionCode=D';
				break;				
			case 19: //배너 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=141&menuCode=2&productCode=EV&attCode=F';
				break;
			case 20: //배너 EVENT 02
				location.href='/product/package/packageDetail.aspx?masterCode=UPF001';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

// 해외여행
	function goPack(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 
				location.href='/Event/EventView.aspx?evtseq=819';
				break;
			case 2:	// 메인롤링 EVENT 02 
				location.href='/Event/EventView.aspx?evtseq=833';
				break;
			case 3:	// 메인롤링 EVENT 03 
				location.href='/Event/EventView.aspx?evtseq=699';
				break;
			case 4:	// 메인롤링 EVENT 04 
				location.href='/Event/EventView.aspx?evtseq=718';
				break;
			case 5:	// 메인롤링 EVENT 05 
				location.href='/Event/EventView.aspx?evtseq=823';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }
	 
// 해외여행_동남아
	function goasia(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=479';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=356';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=568';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=545';
				break;
			case 5:	// 메인롤링 EVENT 05
				location.href='/Event/EventView.aspx?evtseq=467';
				break;

            default:	//메인
				location.href='#';		
                break;
		}
     }

// 해외여행_중국
	function gochina(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 황산
				location.href='/Event/EventView.aspx?evtseq=488';
				break;
			case 2:	// 메인롤링 EVENT 02 / 장가계
				location.href='/Event/EventView.aspx?evtseq=450';
				break;
			case 3:	// 메인롤링 EVENT 03 / 북경 쉐라톤호텔
				location.href='/Event/EventView.aspx?evtseq=484';
				break;
			case 4:	// 메인롤링 EVENT 04 / 상해 항주 
				location.href='/Event/EventView.aspx?evtseq=500';
				break;
			case 5:	// 메인롤링 EVENT 05 / 구채구
				location.href='/Event/EventView.aspx?evtseq=9';
				break;
            default:	//메인
				location.href='#';
                break;
		}
     }

// 해외여행_일본
	function gojapan(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 규슈 항공vs선박
				location.href='/Event/EventView.aspx?evtseq=536';
				break;
			case 2:	// 메인롤링 EVENT 02 / 규슈 항공vs선박
				location.href='/Event/EventView.aspx?evtseq=536';
				break;
			case 3:	// 메인롤링 EVENT 03 /북해도&오키나와
				location.href='/Event/EventView.aspx?evtseq=523';
				break;
			case 4:	// 메인롤링 EVENT 03 /북해도&오키나와
				location.href='/Event/EventView.aspx?evtseq=523';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

// 해외여행_유럽
	function goeurope(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 크로아티아
				location.href='/Event/EventView.aspx?evtseq=514';
				break;
			case 2:	// 메인롤링 EVENT 02 / 옹플뢰르
				location.href='/Event/EventView.aspx?evtseq=551';
				break;
			case 3:	// 메인롤링 EVENT 03 / 발트3개국
				location.href='/Event/EventView.aspx?evtseq=538';
				break;
			case 4:	// 메인롤링 EVENT 04 / 숲,빙하,호수 북유럽
				location.href='/Event/EventView.aspx?evtseq=519';
				break;
			case 5:	// 메인롤링 EVENT 05 / 곧미남 그리스 & 터키
				location.href='/Event/EventView.aspx?evtseq=527';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }
	 
// 해외여행_호주/뉴질랜드
	function goaus(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 발리와 시드니가 만나다.
				location.href='/Event/EventView.aspx?evtseq=548';
				break;
			case 2:	// 메인롤링 EVENT 02 / 조기예약하고 더블할인 받자
				location.href='/Event/EventView.aspx?evtseq=567';
				break;
			case 3:	// 메인롤링 EVENT 03 / 시드니인의 라이프스타일
				location.href='/Event/EventView.aspx?evtseq=414';
				brea다
			case 4:	// 메인롤링 EVENT 04 / 경제적인 호주/뉴질랜드
				location.href='/Event/EventView.aspx?evtseq=497';
				break;
			case 5:	// 메인롤링 EVENT 05 / 호주만큼 멋진곳은 없습니다.
				location.href='/Event/EventView.aspx?evtseq=487';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }
	
// 해외여행_괌/사이판
	function gopacific(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 사이판 맞춤여행
				location.href='/Event/EventView.aspx?evtseq=537';
				break;
			case 2:	// 메인롤링 EVENT 02 / 괌웨스틴
				location.href='/Event/EventView.aspx?evtseq=587';
				break;
			case 3:	// 메인롤링 EVENT 03 / PIC 100배 즐기기
				location.href='/Event/EventView.aspx?evtseq=279';
				break;
			case 4:	// 메인롤링 EVENT 04 / 니코 괌
				location.href='/Event/EventView.aspx?evtseq=566';
				break;
			case 5:	// 메인롤링 EVENT 05 / 사이판 아쿠아 리조트
				location.href='/Event/EventView.aspx?evtseq=528';
				break;
		}
     }	
	 
// 해외여행_미주/캐나다
	function goamerica(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01 / 라스베가스드림
				location.href='/Event/EventView.aspx?evtseq=502';
				break;
			case 2:	// 메인롤링 EVENT 02 / 시애틀
				location.href='/Event/EventView.aspx?evtseq=439';
				break;
			case 3:	// 메인롤링 EVENT 03 / 미주여행
				location.href='/Event/EventView.aspx?evtseq=457';
				break;
		    case 4:	// 메인롤링 EVENT 04 / 미주여흠휴가
				location.href='/Event/EventView.aspx?evtseq=526';
				break;
			case 5:	// 메인롤링 EVENT 03 / 알로하 하와이
				location.href='/Event/EventView.aspx?evtseq=319';
				break;				
            default:	//메인
				location.href='#';		
                break;
		}
     }	
	 
	 
// 골프여행_중국
	function gochinagolf(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 02 / 하이난 해구
				location.href='/Event/EventView.aspx?evtseq=406';
				break;
			case 2:	// 메인롤링 EVENT 03 / 나의 최고타 도전기2
				location.href='/Event/EventView.aspx?evtseq=504';
				break;
			case 3:	// 메인롤링 EVENT 04 / 심천 곤명
				location.href='/Event/EventView.aspx?evtseq=374';
				break;
			case 4:	// 메인롤링 EVENT 05 / 골프여행
				location.href='/Event/EventView.aspx?evtseq=134';
				break;	
			default:	//메인
				location.href='#';		
                break;
		}
     }


// 골프여행_동남아
	function goasiagolf(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=375';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=134';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=474';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=334';
				break;	
			case 5:	// 메인롤링 EVENT 05
				location.href='/Event/EventView.aspx?evtseq=504';
				break;				
			 default:	//메인
				location.href='#';		
                break;
		}
     }


// 골프여행
	function gonewGolf(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=504';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=375';
				break;	
			case 3:	// 메인롤링 EVENT 03
				location.href='/Product/Package/PackageList.aspx?menuCode=104010901&productCode=G&omd=3&groupCode=APG102,APG100,APG101&bestProductCode=APG106,APG456,APG610&sort=1&category=C&simple=N';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=730';
				break;
			case 5:	// 메인롤링 EVENT 05
				location.href='/Event/EventView.aspx?evtseq=134';
				break;
			case 6:	// 주목받는 이벤트 01 
				location.href='/VgtBoard/BoardWebZineView.aspx?MasterSeq=16&CategorySeq=1&BoardSeq=7';
				break;
			case 22: //주목받는 이벤트 02
				location.href='/Event/EventView.aspx?evtseq=770';
				break;
			case 7:	//마닐라
				location.href='/Product/Package/PackageMaster.aspx?masterCode=APG405&productCode=G';
				break;
			case 8:	// 중국
				location.href='/Event/EventView.aspx?evtseq=504';
				break;
			case 9:	// 태국
				location.href='/Product/Package/PackageMaster.aspx?masterCode=APP0199&productCode=G';
				break;
			case 10: // 코타키나바루
				location.href='/Product/Package/PackageMaster.aspx?masterCode=APG003&productCode=G';
				break;	
			case 11: // 일본
				location.href='/Product/Package/PackageMaster.aspx?masterCode=JPG653&productCode=G';
				break;		
			case 12: // 사이판
				location.href='/Product/Package/PackageMaster.aspx?masterCode=IPG011&productCode=G';
				break;
			case 14: // 단장거리 (방콕)
				location.href='/Product/Golf/GolfThema.aspx?golfType=1';
				break;
			case 15: // 단장거리 (해남도)
				location.href='/Product/Golf/GolfThema.aspx?golfType=2';
				break;
			case 16: // 단장거리 (마닐라)
				location.href='/Product/Golf/GolfThema.aspx?golfType=3';
				break;
			case 17: // 단장거리 (후쿠오카)
				location.href='/Product/Golf/GolfThema.aspx?golfType=4';
				break;
			case 18: // 단장거리 (다카마츠)
				location.href='/Product/Golf/GolfThema.aspx?golfType=5';
				break;
			case 19: // 명품 (미식)
				location.href='/Product/Golf/GolfThema.aspx?golfType=6';
				break;
			case 20: // 명품 (미션힐)
				location.href='/Product/Golf/GolfThema.aspx?golfType=7';
				break;
			case 21: // 명품 (춘성)
				location.href='/Product/Golf/GolfThema.aspx?golfType=8';
				break;
			case 23:	// Menu 단/장거리
				location.href='/Product/Golf/GolfThema.aspx?golfType=1';
				break;
			case 24: //Menu 명품C.C
				location.href='/Product/Golf/GolfThema.aspx?golfType=6';
				break;	
			case 25: //Menu 무제한
				location.href='/Product/Golf/GolfThema.aspx?golfType=9';
				break;		
			case 26: // Menu 주말골프
				location.href='/Product/Golf/GolfThema.aspx?golfType=10';
				break;
			case 27: // Menu 골프텔
				location.href='/Product/Golf/GolfThema.aspx?golfType=11';
				break;
            case 28: // Main 우측 (배너top)
				location.href='/Product/Package/PackageMaster.aspx?masterCode=JPG659&productCode=G';
				break;
            case 29: //  Main 우측 (배너1)
				location.href='/Product/Package/PackageList.aspx?menuCode=104010901&productCode=G&omd=3&groupCode=APG102,APG100,APG101&bestProductCode=APG106,APG456,APG610&sort=1&category=C&simple=N';
				break;
            case 30: // Main 우측 (배너2)
				location.href='http://www.jxgolf.com';
				break;
            default:	//메인
				location.href='#';		
                break;
		}
     }

// 골프여행More
	function gonewGolfMore(url) {
		switch (url) {
			case 7:	// 필리핀
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10401&productCode=G&regionCode=A&attCode=G&cityCode=CRK,MNL&sort=1&category=C&omd=3';
				break;
			case 8:	// 중국
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10402&productCode=G&regionCode=C&attCode=G&sort=1&category=C&simple=N&omd=1';
				break;
			case 9:	// 태국
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10401&productCode=G&regionCode=A&attCode=G&nationCode=TH&sort=1&category=C&omd=3';
				break;
			case 10: // 코타키나바루
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10401&productCode=G&groupCode=APG01&sort=1&category=C&omd=3';
				break;	
			case 11: // 일본
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10404&productCode=G&groupCode=JP308,JP301,JP302,JP303,JP306&sort=1&category=A&simple=N&omd=2';
				break;
			case 12: // 괌사이판
			    location.href = '/Product/Package/PackageList.aspx?menuCode=10403&productCode=G&regionCode=I&cityCode=GUM,SPN&attCode=G&sort=3&category=C&simple=N&omd=5';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

// 해외항공권
	function goAir(url) {
		switch (url) {
			case 1:	// Sub Main (event 01)
				location.href='/Event/EventView.aspx?evtseq=496&erp=Y';
				break;
			case 2:	// Sub Main (event 02)
				location.href='/Event/EventView.aspx?evtseq=495&erp=Y';
				break;
			case 3:	// Sub Main (플래시 이벤트01)
				location.href='/Event/EventView.aspx?evtseq=498&erp=Y';
				break;
			case 4:	// Sub Main (플래시 이벤트02)
				location.href='/Product/Air/AirEventView.aspx?seq=68&region=15';
				break;
			case 5:	// Sub Main (플래시 이벤트03)
				location.href='/Product/Air/AirEventView.aspx?seq=30&region=06';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }	


// 해외호텔
	function goHotel(url) {
		switch (url) {
			case 1:	// 호텔 배너 1
				location.href='/Event/EventView.aspx?evtseq=750';
				break;
			case 2:	// 호텔 배너 2
				location.href='/Event/EventView.aspx?evtseq=805';
				break;
			case 3:	// 호텔 배너 3
				location.href='/Event/EventView.aspx?evtseq=659';
				break;
			case 4:	// 호텔 배너 4
				location.href='/Event/EventView.aspx?evtseq=697';
				break;
			case 5:	// 호텔 배너 5
				location.href='/Event/EventView.aspx?evtseq=634';
				break;
			case 6:	// 호텔 배너 6
				location.href='/Event/EventView.aspx?evtseq=741';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }	








// 자유여행
	function goFree(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=421';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=710';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=738';
				break;
		    case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=705';
				break;
		    case 5:	// 메인롤링 EVENT 05
				location.href='/Event/EventView.aspx?evtseq=748';
				break;
			case 6:	// 주목받는 이벤트
				location.href='/Event/EventView.aspx?evtseq=313';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }


// 국내여행
	function goDomestic(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=352';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=175';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=138';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=353';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

// new국내여행
	function goLocal(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=688';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=661';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=365';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=813';
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }


// 허니문
	function gohymoon(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=815';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=592';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=754';
				break;
			case 4:	// 메인롤링 EVENT 04
				location.href='/Event/EventView.aspx?evtseq=553';
				break;
			//case 5:	맞춤견적
				//location.href='/product/honeymoon/vipestimate.aspx';
				//break;
			case 5:	// 1:1문의
			    location.href = '/VgtBoard/BoardQuestionList.aspx?menuCode=1920102&productCode=w';
				break;
			case 6:	// 배너 EVENT 01
				location.href='/Event/Event.aspx?menuCode=2&productCode=EV&attCode=W&sort=1';
				break;
			case 7:	// 배너 EVENT 02
				location.href='/common/info.aspx?type=Honeyinfo&page=tourism&menuCode=&productCode=W';
				break;
			case 8:	// 허니문사은품
				location.href='/common/info.aspx?type=Honeyinfo&page=Page_Special&menuCode=&productCode=W';
				break;
			case 9:	// 허니문 찾아오시는길
				location.href='/common/info.aspx?type=companyinfo&page=companymap&menuCode=5&productCode=CO';
				break;
			case 10:// 짐꾸리기
				location.href='/common/info.aspx?type=tourinfo&page=tourready&menuCode=1&productCode=W';
				break;
			case 11:// LEFT 공지사항
				location.href='/VgtBoard/BoardCommonList.aspx?MasterSeq=14&CategorySeq=0&menuCode=&productCode=W';
				break;
			case 12:// LEFT 사은품안내
				location.href='/common/info.aspx?type=Honeyinfo&page=Page_Special&menuCode=&productCode=W';
				break;
			case 13:// LEFT 블로그
				//location.href='http://blog.verygoodtour.com/honey/cover';
				window.open('http://blog.verygoodtour.com/honey/cover');
				break;
			default:	//메인
				location.href='#';		
                break;
		}
     }

 // 자유여행메인 (지역추천 VS 테마추천)
// goPackage(1, "theme")
// goPackage(1, "region")
    function goPackage(v, t)
    {
        if (t == "theme")    
        {
            switch(v)
            {
                case 1:
					location.href='/';
					break;   
				case 2:
					location.href='/';
					break; 
				case 3:
					location.href='/';
					break; 
				case 4:
					location.href='/';
					break; 
				case 5:
					location.href='/';
					break; 
				case 6:
					location.href='/';
					break; 
				case 7:
					location.href='/';
					break; 
				default:	//메인
					location.href='/';		
					break;
            }
        }
        else
        {
            switch(v)
            {
				
				case 1:
				    location.href = '/Product/Package/PackageList.aspx?menuCode=10205&productCode=F&groupCode=FITJP040&sort=1&category=C'; //일본
					break;   
				case 2:
					location.href='/product/package/packageDetail.aspx?masterCode=APF236&productCode=F'; //동남아
					break; 
				case 3:
					location.href='/product/package/packageDetail.aspx?masterCode=CPF115&productCode=F'; //중국
					break; 
				case 4:
					location.href='/product/package/packageDetail.aspx?masterCode=EPF009&productCode=F';//유럽
					break;
				case 5:
					location.href='/product/package/packageDetail.aspx?masterCode=PPF024&productCode=F';//대양주
					break;
				case 6:
					location.href='/';
					break; 
				case 7:
				    location.href = '/Product/Package/PackageList.aspx?menuCode=10209&productCode=F&groupCode=UPFG0001&sort=1&category=C'; //하와이
					break; 
				default:	//메인
					location.href='/';		
					break;
            }
        }
    }


// 이벤트메인
	function goE(url) {
		switch (url) {
			case 1:	// 메인롤링 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=750';
				break;
			case 2:	// 메인롤링 EVENT 02
				location.href='/Event/EventView.aspx?evtseq=658';
				break;
			case 3:	// 메인롤링 EVENT 03
				location.href='/Event/EventView.aspx?evtseq=766';
				break;
			default:	//메인
				location.href='/';		
                break;
		}
     }


	 // 마이페이지
	function goMypage(url) {
		switch (url) {
			case 1:	// 로그인페이지 EVENT 01
				location.href='/Event/EventView.aspx?evtseq=741';
				break;
			case 2:	// 마이페이지  EVENT 02
				location.href='/Event/EventView.aspx?evtseq=780';
				break;
		   default:	//메인
				location.href='/';		
                break;
		}
     }
     


     /* 여기부터 새로운 자유여행 */


     // 담당자 랜덤배너 이미지 경로, link
     var randomBanner = [
        { src: '/images/fit/main_top_best_01.jpg', link: '/Product/Free/FreeMaster.aspx?masterCode=EPF005' },
        { src: '/images/fit/main_top_best_02.jpg', link: '/Product/Free/FreeMaster.aspx?masterCode=JPF0013' },
        { src: '/images/fit/main_top_best_03.jpg', link: '/Product/Free/FreeMaster.aspx?masterCode=PPF024' }
    ];

     // 자유여행 메인 롤링 링크
     function goFreeBannerLink(idx) {
         switch (idx) {
             case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=771'; break;
             case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=691'; break;
             case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=826'; break;
         }
     }

     // 자유여행 서브메인 롤링 링크
     function goFreeSubBannerLink(region, idx) {
         switch (region.toUpperCase()) {
             case 'E': // 유럽
                 switch (idx) {
                     case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=421'; break;
                     case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=421'; break;
                     case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=421'; break;
                 }
                 break;
             case 'JC':    // 일본/중국
                 switch (idx) {
                     case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=820'; break;
                     case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=710'; break;
                     case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=756&cate1=2'; break;
                 }
                 break;
             case 'A':     // 동남아
                 switch (idx) {
                     case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=738'; break;
                     case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=672'; break;
                     case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=676'; break;
                 }
                 break;
             case 'P':     // 호주/뉴질랜드
                 switch (idx) {
                     case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=818&menuCode=19401&productCode=EV&attCode=F'; break;
                     case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=818&menuCode=19401&productCode=EV&attCode=F'; break;
                     case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=818&menuCode=19401&productCode=EV&attCode=F'; break;
                 }
                 break;
             case 'UI':    // 미주/괌사이판
                 switch (idx) {
                     case 0: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=657&productCode=EV&regionCode=U'; break;
                     case 1: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=556'; break;
                     case 2: location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=517'; break;
                 }
                 break;
         }
     }

     // 자유여행 좌측, 우측, 텍스트 배너 링크
     function goFreeMiddleBannerLink(region, loc) {
         loc = loc.toLowerCase();

         switch (region.toUpperCase()) {
             case "MAIN":
                 switch (loc) {
                     case "left": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=818&menuCode=19401&productCode=EV&attCode=F'; break;
                     case "right": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=313'; break;
                 }
                 break;
             case 'E': // 유럽
                 switch (loc) {
                     case "text": location.href = '/Product/Free/FreeList.aspx?menuCode=1020105&productCode=F&omd=1&groupCode=FIT026,FIT027,FIT028&sort=1&category=C&simple=N'; break;
                     case "left": location.href = '/Product/Free/FreeMaster.aspx?masterCode=EPF001'; break;
                     case "right": location.href = '/Product/Free/FreeMaster.aspx?masterCode=EPF005'; break;
                 }
                 break;
             case 'JC':    // 일본/중국
                 switch (loc) {
                     case "text": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=313'; break;
                     case "left": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=582'; break;
                     case "right": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=544'; break;
                 }
                 break;
             case 'A':     // 동남아
                 switch (loc) {
                     case "text": location.href = '/Product/Free/FreeList.aspx?menuCode=102060103&productCode=F&omd=2&groupCode=APFCX&sort=1&category=C&simple=N'; break;
                     case "left": location.href = '/Product/Free/FreeList.aspx?menuCode=102060805&omd=2&productCode=F&groupCode=APFVTE&bestProductCode=APF600,APF841,APF700&sort=1&category=C&simple=N'; break;
                     case "right": location.href = '/Product/Free/FreeList.aspx?menuCode=102060401&productCode=F&omd=2&groupCode=APFSIA&sort=1&category=C&simple=N'; break;
                 }
                 break;
             case 'P':     // 호주/뉴질랜드
                 switch (loc) {
                     case "text": location.href = '/Product/Free/FreeList.aspx?menuCode=1020704&productCode=F&omd=5&groupCode=FIT040&sort=1&category=C&simple=N'; break;
                     case "left": location.href = '/Product/Free/FreeMaster.aspx?masterCode=PPF201'; break;
                     case "right": location.href = '/Product/Free/FreeMaster.aspx?masterCode=PPF050'; break;
                 }
                 break;
             case 'UI':    // 미주/괌사이판
                 switch (loc) {
                     case "text": location.href = '/Product/Free/FreeMaster.aspx?masterCode=UPF1500'; break;
                     case "left": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=556'; break;
                     case "right": location.href = '/Event/EventView.aspx?menuCode=19213&evtseq=517'; break;
                 }
                 break;
         }
     }

     // 자유여행 전체보기 리스트 링크
     function goViewAllProduct(menuCode) {
         var groupCode = "";
         switch (menuCode) {
             case "10201": groupCode = "FIT304"; break;  // 유럽
             case "10205": groupCode = "FIT308"; break;  // 일본/중국
             case "10206": groupCode = "FIT309"; break;  // 동남아
             case "10207": groupCode = "FIT307"; break;  // 호주/뉴질랜드
             case "10209": groupCode = "FIT310"; break;  // 미주/괌사이판
         }

         document.location.href = "/Product/Free/FreeList.aspx?menuCode=" + menuCode + "&groupCode=" + groupCode + "&sort=1&category=C&simple=N";
     }
