function changeImg(imgName, fileName)
{
	eval("document.all."+imgName+".src ='"+fileName+"';");
}

function changeTb(tbName, tbCount, tbNum) {

	var a;
	for(i=1;i<=tbCount;i++){
		
		a = eval("document.all."+tbName+i);

		if(i != tbNum) {
			a.style.display = 'none';
		}
		else {
			a.style.display = 'block';
		}
	}
}

function empty(){
	alert("ÁØºñÁß ÀÔ´Ï´Ù");
}

function gomenu(str)
{
	if (str=='home') //È¨À¸·Î
	{
		var nextURL = "/index.asp";
	}
	// Hite Story
	else if (str=='1') {
		var nextURL = "/massage/mass01.asp";
	}
	else if (str=='2') {
		var nextURL = "/introduce/intro01.asp";
	}
	else if (str=='2_1')  {
		var nextURL = "/introduce/intro01.asp";
	}
	else if (str=='2_2')  {
		var nextURL = "/introduce/intro02.asp";
	}
	else if (str=='2_3')  {
		var nextURL = "/introduce/intro03.asp";
	}
	else if (str=='3') {
		var nextURL = "/ethics/regulations.asp";
	}
	else if (str=='3_1')  {
		var nextURL = "/ethics/regulations.asp";
	}
	else if (str=='3_2')  {
		var nextURL = "/ethics/regulations2.asp";
	}
	else if (str=='4') {
		var nextURL = "/community/notice/list.asp";
	}
	else if (str=='4_1')  {
		var nextURL = "/community/notice/list.asp";
	}
	else if (str=='4_2')  {
		var nextURL = "/community/news/list.asp";
	}
	else if (str=='4_3')  {
		var nextURL = "/community/down/list.asp";
	}
	else if (str=='4_4')  {
		var nextURL = "/community/qna.asp";
	}
	else if (str=='4_5')  {
		var nextURL = "/community/self_report.asp";
	}
	else if (str=='5') {
		var nextURL = "/donation/status/list.asp";
	}
	else if (str=='5_1') {
		var nextURL = "/donation/status/list.asp";
	}
	else if (str=='5_2')  {
		var nextURL = "/donation/news/list.asp";
	}
	else if (str=='6')  {
		alert('ÁØºñÁß ÀÔ´Ï´Ù');
		return;
		var nextURL = "#";
	}
	else if (str=='7') {
		var nextURL = "/report/about.asp";
	}
	else if (str=='7_1')  {
		var nextURL = "/report/about.asp";
	}
	else if (str=='7_2')  {
		var nextURL = "/report/inform.asp";
	}
	else if (str=='7_3')  {
		var nextURL = "/report/guard.asp";
	}
	else if (str=='7_4')  {
		var nextURL = "/report/report.asp";
	}
	else if (str=='7_5')  {
		var nextURL = "/report/report_confirm.asp";
	}
	else {
//		var nextURL = "http://www.";
		alert("¸µÅ©¾øÀ½");
		return;
		var nextURL = "#";
	}

	
	window.location.href=nextURL;//+"?" + "&setMenuNum=" + menuNum;
}

