/****** ºÎ°¡¼­ºñ½º ¹è³Ê ********/
function go_menu(no){
	if (no ==1001) { //¿©ÇàÀÚº¸Çè
		location.href = 'http://airbooking.tour.daum.net/insurance/InsInfoForm.txp';
	}else if (no==1002) {//·Ôµ¥¸é¼¼Á¡ + AK¸é¼¼Á¡
		//·Ôµ¥location.href = 'http://info.tour.daum.net/publish/daum/tourinfo/LOTTE_DUTY.html';
		location.href = 'http://info.tour.daum.net/publish/daum/tourinfo/AK_DUTY.html?&sub_menu=090802';
	}else if (no==1003) {//Å©·çÁî
		location.href = 'http://tourexpress.daum.net/tour/daum/meta/B25.html';
	}else if (no==1004) { //·»ÅÍÄ«
		location.href = 'http://common.tour.daum.net/tour/daum/meta/0706.html';
    } else if (no==1005) {//±¹Á¦·Î¹ÖÆù
		location.href = 'http://info.tour.daum.net/cgi-bin/daum/main/dtpl.cgi?tmpfl=/template/tourinfo/tmp_tourinfo_main&cntfl=/tourinfo/smartel_roaming&sub_menu=090801';
    } else if (no==1006) {//ÇÒÀÎÄíÆù
		location.href = 'http://eventd.tour.daum.net/eventlist/view.php?no=365';
	} else if (no==1007) {//¸Å°ÅÁø½ÅÃ»
		location.href = '';
    } else if (no==1008) {// À¯ÇÐ¿¬¼ö
		location.href = '';
/****** »ó´Ü 6ÄÆ ¹è³Ê ********/
	}else if (no==2001) {//Æ¯°¡
		location.href = 'http://eventd.tour.daum.net/eventlist/view.php?no=1055';
	}else if (no==2002) {//¼¿ÅõÀÚÀ¯¿©Çà
		location.href = 'http://eventd.tour.daum.net/eventlist/view.php?no=837';
	}else if (no==2003) { //Ã¶µµÆÐ½º
		location.href = 'http://tourexpress.daum.net/tour/daum/meta/0207.html';
    } else if (no==2004) {//Á¦ÁÖ¿©Çà
		location.href = 'http://tourexpress.daum.net/tour/daum/meta/07.html';
    } else if (no==2005) {//°ñÇÁ
		location.href = 'http://tourexpress.daum.net/tour/daum/meta/B06.html';
	} else if (no==2006) {//¿öÅ·ÇÐ»ý
		//location.href = 'http://tourexpress.daum.net/tour/daum/meta/B05.html';
		//location.href = 'http://airbooking.tour.daum.net/event/AEVEventFare.txp?FILE_PATH=090522ALL_NA&CAR_CODE=&AREA_CODE=NA&FARE_TYPE=ALL';
		location.href = 'http://airbooking.tour.daum.net/uhakDaum.html';		
	}else if (no==2007) {//Ç×°ø + È£ÅÚ
		location.href = 'http://tour.daum.net/publish/airtel/AirtelTOP.html';
	}

}


//<!-- MD °­·ÂÃßÃµ Tab-->

			var tab_Main_on = new Array();
			var tab_Main_off = new Array();
			for (i=1; i<=4; i++){
			 tab_Main_on[i] = new Image() ;
			 tab_Main_on[i].src = "http://image.tourexpress.com/korea/image08/page/daum_ui/image_01/Tab" + i + "main_on.gif" ;
			}
			for (i=1; i<=4; i++){
			 tab_Main_off[i] = new Image();
			 tab_Main_off[i].src = "http://image.tourexpress.com/korea/image08/page/daum_ui/image_01/Tab" + i + "main_off.gif" ;
			}

			function MainTabCtr(arg){
			 var MainTabName, MainListName, MainTabLine;
			 for (i=1; i<=4; i++){
				MainTabName = "MainTab" + i ;
				document.getElementById(MainTabName).src = tab_Main_off[i].src ;
				MainListName = "MainList" + i ;
				document.getElementById(MainListName).style.display = "none" ;
				MainTabLine = "MainLine" + i ;
				document.getElementById(MainTabLine).style.display = "none" ;

			 }
			 MainTabName = "MainTab" + arg ;
			 document.getElementById(MainTabName).src = tab_Main_on[arg].src ;
			 MainListName = "MainList" + arguments[0] ;
			 document.getElementById(MainListName).style.display = "" ;
				MainTabLine = "MainLine" + arguments[0] ;
				document.getElementById(MainTabLine).style.display = "" ;
			}



// ÀÌ¹ÌÁö º¯°æ(ÇØ¿À/±¹³»¿©Çà)
		function change_main_img(img_id_name, on_img_url) {
			document[img_id_name].src = on_img_url;
		}



//<!-- ºü¸¥ °Ë»ö(Search Box) -->

			function SearchTabCtr(sid, arg){
			 var MainTabName, MainListName ;
			 for (i=1; i<=4; i++){
				//MainListName = "SearchBox" + i ;
				MainListName = sid + "" + i ;
				document.getElementById(MainListName).style.display = "none" ;
			 }
			 //MainListName = "SearchBox" + arguments[0] ;
			 MainListName = arguments[0] + "" + arguments[1] ;
			 document.getElementById(MainListName).style.display = "" ;
			}



	// ÁÖ¸»¿©Çà
var free_scr_img = 1;
var pkg_scr_img = 1;
var dom_scr_img = 1;
var week_scr_img = 1;

	function subMainView(prd_gbn, table_name, id){
		for (var i = 1 ; i < 4  ; i++ ) {
				document.getElementById(table_name + i).style.display = "none";
		}

		if (prd_gbn == "free") {
			if (id == "+") {
				if ( free_scr_img < 3) {
					free_scr_img = free_scr_img + 1;
				}
			} else {
				if ( free_scr_img > 1) {
					free_scr_img = free_scr_img - 1;
				}
			}

			document.getElementById(table_name + free_scr_img).style.display = "";

		} else if (prd_gbn == "pkg") {
			if (id == "+") {
				if ( pkg_scr_img < 3) {
					pkg_scr_img = pkg_scr_img + 1;
				}
			} else {
				if ( pkg_scr_img > 1) {
					pkg_scr_img = pkg_scr_img - 1;
				}
			}

			document.getElementById(table_name + pkg_scr_img).style.display = "";

		} else if (prd_gbn == "dom") {
			if (id == "+") {
				if ( dom_scr_img < 3) {
					dom_scr_img = dom_scr_img + 1;
				}
			} else {
				if ( dom_scr_img > 1) {
					dom_scr_img = dom_scr_img - 1;
				}
			}

			document.getElementById(table_name + dom_scr_img).style.display = "";

		} else if (prd_gbn == "week") {
			if (id == "+") {
				if ( week_scr_img < 3) {
					week_scr_img = week_scr_img + 1;
				}
			} else {
				if ( week_scr_img > 1) {
					week_scr_img = week_scr_img - 1;
				}
			}

			document.getElementById(table_name + week_scr_img).style.display = "";
		}
	}

