	function linkMenu(num){

		if(num==0){				// HOME
			location.href="http://www.clubrichtour.co.kr/tour/main.asp";
		}else if(num==1){	// 1. air
			location.href="http://airbooking.clubrichtour.co.kr";
		}else if(num==2){	// 2. japan hotel
			location.href="http://www.clubrichtour.co.kr/hotel/";
		}else if(num==3){	// 3. free tour
//			location.href="http://www.clubrichtour.co.kr/tour/free/main.asp";
			location.href="http://www.clubrichtour.kr/Html/Goods/GoodsMain.asp?gt=F";
//alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		}else if(num==4){	// 4. package
//			location.href="http://www.clubrichtour.co.kr/tour/package/main.asp";
			location.href="http://www.clubrichtour.kr/Html/Goods/GoodsMain.asp?gt=P";

		}else if(num==5){	// 5. honeymoon
			location.href="http://www.clubrichtour.kr/Html/Goods/GoodsMain.asp?gt=H";
//alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		}else if(num==6){	// 6. golf
//			location.href="http://www.clubrichtour.co.kr/tour/golf/main.asp";
			location.href="http://www.clubrichtour.kr/Html/Goods/GoodsMain.asp?gt=G";
//alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		}else if(num==7){	// 7. domestic
			location.href="http://www.clubrichtour.co.kr/tour/domestic/main.asp";
		}else if(num==8){	// 8. jeju
			location.href="http://www.clubrichtour.co.kr/tour/jeju/main.asp";
		}else if(num==9){	// 9. domestic hotel
			//location.href="http://hotel.clubrichtour.co.kr";
//			location.href="http://www.segyetour.com/devdmsn/stsr_part/index.asp?partner=clubrichtour";
alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		}else if(num==10){	// 10. field tour
			location.href="http://www.clubrichtour.co.kr/tour/field/";
		}else if(num==11){	//11. custom tour
			location.href="http://www.clubrichtour.co.kr/tour/custom/";
		}else if(num==12){	// 12. cs center
			location.href="http://www.clubrichtour.co.kr/cscenter";
		}else if(num==13){	// 13. event
			location.href="http://www.clubrichtour.co.kr/event/";
		}else if(num==14){	// 14. community
			location.href="http://www.clubrichtour.co.kr/community/";
		}else if(num==15){	// 15. global network
			location.href="http://www.clubrichtour.co.kr/community/corr/";
		}else if(num==16){	// 16. mypage
			location.href="http://www.clubrichtour.co.kr/mypage/";
		}else if(num==17){	// 15. special news
			location.href="http://www.clubrichtour.co.kr/community/livenews/";
		}else if(num==18){	// 17. noblesse tour
			location.href="http://www.clubrichtour.co.kr/tour/noblesse/noblesse.asp";
		}else if(num==19){	// 18. tourvalley
			location.href="http://clubrichtour.tourvalley.net/tourvalley/join_site/common/main.jsp";
		}
	}

	function khotel_detail_main(hcode) {
		location.href = "http://hotel.clubrichtour.co.kr/agent/reservation/main?aid=clubrich&hcode="+hcode;
	}

	function menuSet(num){
			men_src = eval('men'+num);
			men_src.src='http://www.clubrichtour.co.kr/images/common/men'+num+'_off.gif';
		for(i=1; i<11; i++ ) {
//			if( i!=3 )	men_src = eval('men'+i);
			if( i!=10 )	{ 
				men_src = eval('men'+i);
				men_src.src='http://www.clubrichtour.co.kr/images/common/men'+i+'_off.gif';
			}
		}
			men_src = eval('men'+num);
			men_src.src='http://www.clubrichtour.co.kr/images/common/men'+num+'_on.gif';

			linkMenu(num);
	}


//############## TOP MENUBARS GOOD Search  ###########
	function top_search_submit() {
		var fm = document.search_goods_form;
		if (fm.search_goods_type_cd.value=="") {
			alert(fm.alert_msg.value);
			return;
		}

		var param = "";
		param = "goods_type_cd="+fm.search_goods_type_cd.value+"&"+
				"goods_nm="+fm.search_keyword.value+"&"+
				"str=count";

//				"comp_cd="+fm.search_comp_cd.value+"&"+

		location.href = "http://www.clubrichtour.co.kr/tour/company_goods.asp?"+param;

	}
//############## TOP MENUBARS GOOD Search ###########

//############## TOP MENUBARS HOTEL Search ###########
function top_search_hotel() {
	var fm = document.top_searchForm_hotel;
	if (fm.qs.value==""){
		alert(fm.alert_msg.value);
		fm.qs.focus();
		return;
	}


		var param = "";
		param = "aid="+fm.aid.value+"&"+
				"qkind="+fm.qkind.value+"&"+
				"qs="+fm.qs.value;

	var surl = "http://hotel.clubrichtour.co.kr/agent/search/list?"+param;

	document.location.href = surl;

}
//############## TOP MENUBARS HOTEL Search ###########

/*########################### CLUBRICH LOGIN ###########################
	'function :	login
	'contents   :	login
	'parameter :
	'rUrl - return url, defualt -> now page
	'AUTH : hwang
	'work : 2008.12.15
*/
function login( rUrl )
{
	if( rUrl == "" )
	{	rUrl = String(window.location);
		if( rUrl.indexOf("/login/") < 0 )
		{ rUrl = escape(rUrl); // URLEncode
			location.href = "http://www.clubrichtour.co.kr/login/?rUrl=" + rUrl;
		}
		else
		{	location.href = rUrl;	}
	}
	else
	{	location.href = "http://www.clubrichtour.co.kr/login/?rUrl=" + rUrl; }
}
/*function login()
{
		login("");
}*/
function logout()
{
	location.href = "http://www.clubrichtour.co.kr/login/logout.asp";
}
//########################### CLUBRICH LOGIN ###########################



//########################### notice ###########################
var notice_flag=true, notice_imgflag=true, notice_keyd=1, notice_speed=1, notice_wait=3000, notice_temp=0, notice_height=16, notice_amount=16;
var Netmessages=new Array(), startPanel=0, n_panel=0, notice_i=0, notice_j=0, notice_count=1;

function startText()
{
	window.setTimeout("scroll()",notice_wait);
}

function scroll()
{
	var div_notice_count = div_notice.length;
	if (notice_keyd && notice_flag)
	{	for (notice_i=0;notice_i<div_notice_count;notice_i++)
		{	notice_temp++;
			notice_tmp = document.all.div_notice[notice_i].style;
			notice_tmp.top = parseInt(notice_tmp.top)-notice_speed;
			if (parseInt(notice_tmp.top) <= notice_height*(-1))
			{	notice_tmp.top = notice_height*(div_notice_count-1); }
			if (notice_temp>(notice_amount-1)*div_notice_count)
			{	notice_flag=false;
				notice_temp=0;
				window.setTimeout("notice_flag=true;notice_temp=0;notice_imgflag=true;",notice_wait);
			}
		}//for
	}//if
	window.setTimeout("scroll()",notice_keyd);
}

function view_notice( no )
{
	location.href = "http://www.clubrichtour.co.kr/cscenter/notice/?mode=read&boardNo="+no;
}

startText();
//########################### notice ###########################



//########################### 072 good ###########################
var item_flag=true, item_imgflag=true, item_keyd=1, item_speed=1, item_wait=3000, item_temp=0, item_height=16, item_amount=16;
var item_i=0, item_j=0, item_count=1;

function startItem()
{
	window.setTimeout("scrollItem()",item_wait);
}

function scrollItem()
{

	var div_item_count = div_item.length;
	if (item_keyd && item_flag)
	{	for (item_i=0;item_i<div_item_count;item_i++)
		{	item_temp++;
			item_tmp = document.all.div_item[item_i].style;
			item_tmp.top = parseInt(item_tmp.top)-item_speed;
			if (parseInt(item_tmp.top) <= item_height*(-1))
			{	item_tmp.top = item_height*(div_item_count-1); }
			if (item_temp>(item_amount-1)*div_item_count)
			{	item_flag=false;
				item_temp=0;
				window.setTimeout("item_flag=true;item_temp=0;item_imgflag=true;",item_wait);
			}
		}//for
	}//if
	window.setTimeout("scrollItem()",item_keyd);
}

function view_item( comp_cd, goods_cd )
{
	location.href = "http://www.clubrichtour.co.kr/tour/detail.asp?comp_cd="+comp_cd+"&goods_type_cd=1&goods_cd="+goods_cd;
}

// startItem();
//########################### 072 good ###########################

