function naviURL(val) {
	switch (val) {
		case 0 :
			// HOME
			location.href = common.topDir + "/" + common.language;
			break;

		case 1 :
			// ·Î±×ÀÎ
			location.href = common.topDir + "/" + common.language + "/src/member/?m=login&goUrl=" + escape(getGoUrl());
			break;

		case 2 :
			// °Ë»ö
			location.href = common.topDir + "/" + common.language + "/src/program/search/";
			break;

		case 3 :
			// ¸¶ÀÌÆäÀÌÁö
			location.href = common.topDir + "/" + common.language + "/src/member/mypage/?m=myinfo";
			break;

		case 4 :
			// »çÀÌÆ®¸Ê
			location.href = common.topDir + "/" + common.language + "/src/util/?page=sitemap";
			break;

		case 5 :
			// °³ÀÎÁ¤º¸ º¸È£Á¤Ã¥
			window.open(common.topDir + "/" + common.language + "/src/util/?page=privacy", "privacy", "width=500, height=607, left=0, top=0, scrollbars=no");
			break;

		case 6 :
			// ÀÌ¿ë¾à°ü
			window.open(common.topDir + "/" + common.language + "/src/util/?page=agreement", "agreement", "width=500, height=607, left=0, top=0, scrollbars=no");
			break;

		case 7 :
			// ÀÌ¸ÞÀÏ ¹«´Ü¼öÁý °ÅºÎ
			window.open(common.topDir + "/" + common.language + "/src/util/?page=email", "email", "width=500, height=240, left=0, top=0, scrollbars=no");
			break;

		case 8 :
			// Contact us
			location.href = common.topDir + "/" + common.language + "/src/util/?page=contactus";
			break;

		case 9 :
			// ¾ÆÀÌµð/ºñ¹Ð¹øÈ£ Ã£±â
			window.open(common.topDir + "/" + common.language + "/src/member/?m=find", "find", "width=500, height=240, left=0, top=0, scrollbars=no");
			break;

		case 10 :
			// ·Î±×¾Æ¿ô
			if (confirm("·Î±×¾Æ¿ôÇÏ½Ã°Ú½À´Ï±î?") == false) {
				break;
			}
			location.href = common.topDir + "/" + common.language + "/src/member/?m=logout&goUrl=" + escape(getGoUrl());
			break;

	// AISFF 2008 INFO /////
		case 100 :
			// AISFF 2008 INFO
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=introduction";
			break;

		case 101 :
			// AISFF 2008
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=introduction";
			break;

		case 102 :
			// Æ÷½ºÅÍ¿Í Æ®·¹ÀÏ·¯
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=poster";
			break;

		case 103 :
			// ÃâÇ°±ÔÁ¤
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=regulation";
			break;

		case 104 :
			// »çÀüÁ¦ÀÛÁö¿ø
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=fundProject";
			break;

		case 105 :
			// ½Ã»ó³»¿ª 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=awards";
			break;

		case 106 :
			// ½É»çÀ§¿ø 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=juries";
			break;

		case 107 :
			// ½ºÆù¼­ 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=sponsors";
			break;

		case 108 :
			// AISFF »ç¶÷µé 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=organizers";
			break;

		case 109 :
			// ¼øÈ¸»ó¿µ 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=touring";
			break;

		case 110 :
			// Áö³­¿µÈ­Á¦ 
			location.href = common.topDir + "/" + common.language + "/src/introduction/?page=history";
			break;

	// PROGRAMS /////
		case 200 :
			// PROGRAMS
			location.href = common.topDir + "/" + common.language + "/src/program/?c=C01^C02&s=opening";
			break;

		case 201 :
			// °³¸·ÀÛ/Æó¸·ÀÛ
			location.href = common.topDir + "/" + common.language + "/src/program/?c=C01^C02&s=opening";
			break;

		case 202 :
			// ±¹Á¦°æÀïºÎ¹®
			location.href = common.topDir + "/" + common.language + "/src/program/?s=competition"
			break;

		case 203 :
			// Æ¯º°ÇÁ·Î±×·¥ > °¨µ¶¿­Àü
			location.href = common.topDir + "/" + common.language + "/src/program/?c=B01&s=special"
			break;

		case 204 :
			// Æ¯º°ÇÁ·Î±×·¥ > Å×¸¶´ÜÆíÀü
			location.href = common.topDir + "/" + common.language + "/src/program/?c=B02&s=special"
			break;

		case 205 :
			// Æ¯º°ÇÁ·Î±×·¥ > ¹Í½ºÇÃ·¹´Ö
			location.href = common.topDir + "/" + common.language + "/src/program/?c=B03&s=special"
			break;

		case 206 :
			// ±â³»»ó¿µÇÁ·Î±×·¥
			window.alert("ÁØºñÁßÀÔ´Ï´Ù");
			//location.href = common.topDir + "/" + common.language + "/src/program/?s=inFlight"
			break;

		case 207 :
			// »çÀüÁ¦ÀÛÁö¿øÀÛ
			window.alert("ÁØºñÁßÀÔ´Ï´Ù");
			//location.href = common.topDir + "/" + common.language + "/src/program/?s=fundProject"
			break;

		case 208 :
			// Æ¯º°ÇÁ·Î±×·¥
			location.href = common.topDir + "/" + common.language + "/src/program/?s=special"
			break;

	// EVENTS /////
		case 300 :
			// EVENTS
			location.href = common.topDir + "/" + common.language + "/src/event/?page=rendezvous";
			break;

		case 301 :
			// ¾Æ½ÃÇÁ ¶ûµ¥ºÎ
			location.href = common.topDir + "/" + common.language + "/src/event/?page=rendezvous";
			break;

		case 302 :
			// ½Ã³×¸¶ ÅäÅ©
			location.href = common.topDir + "/" + common.language + "/src/event/?page=cinemaTalk";
			break;

		case 303 :
			// ¸¶½ºÅÍ Å¬·¡½º
			location.href = common.topDir + "/" + common.language + "/src/event/?page=masterClass";
			break;

		case 304 :
			// ¾Æ½ÃÇÁÀÇ ¹ã
			location.href = common.topDir + "/" + common.language + "/src/event/?page=aisffNight";
			break;

		case 305 :
			// Ã£¾Æ¶ó! °ü°´ÀÌº¥Æ®
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=EVENT.KR.2008";
			break;

		case 306 :
			// µÚÁ®¶ó! ¾Æ¸§´Ù¿î°¡°Ô
			location.href = common.topDir + "/" + common.language + "/src/event/?page=beautifulMarket";
			break;

		case 307 :
			// Áñ°Ü¶ó! ±â³äÇ°
			location.href = common.topDir + "/" + common.language + "/src/event/?page=souvenirs";
			break;

	// SCREENING INFO /////
		case 400 :
			// SCREENING INFO
           location.href = common.topDir + "/" + common.language + "/src/program/?m=timetable&s=timetable";
			break;

		case 401 :
			// »ó¿µ½Ã°£Ç¥
			location.href = common.topDir + "/" + common.language + "/src/program/?m=timetable&s=timetable";
			break;

		case 402 :
			// Æ¼ÄÏ¾È³»
			location.href = common.topDir + "/" + common.language + "/src/screening/?page=ticketing";
			break;

		case 403 :
			// »ó¿µ°ü¾È³»
			location.href = common.topDir + "/" + common.language + "/src/screening/?page=theater";
			break;

		case 404 :
			// AISFF ZONE
			location.href = common.topDir + "/" + common.language + "/src/screening/?page=aisffzone";
			break;

	// COMMUNITY /////
		case 500 :
			// COMMUNITY
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=NEWS.KR.2008";
			break;

		case 501 :
			// WHAT'S NEW
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=NEWS.KR.2008";
			break;

		case 502 :
			// AISFF BLOG
			location.href = common.topDir + "/" + common.language + "/src/bbs/?m=blog&s=BLOG.KR.2008";
			break;

		case 503 :
			// ´º½º·¹ÅÍ
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=NEWSLETTER.KR.2008";
			break;

		case 504 :
			// º¸µµÀÚ·á
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=PRESS.KR.2008";
			break;

		case 505 :
			// ÀÚ¿øÈ°µ¿°¡ & °ü°´½É»ç´Ü
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=VOLUNTEER.KR.2008";
			break;

		case 506 :
			// È¸¿ø°¡ÀÔ
			location.href = common.topDir + "/" + common.language + "/src/member/?m=join";
			break;

		case 507 :
			// ÀÚÀ¯°Ô½ÃÆÇ
			location.href = common.topDir + "/" + common.language + "/src/bbs/?s=FREEBOARD.KR.2008";
			break;
	}
}

function getGoUrl() {
	var dir = location.pathname.substr(common.topDir.length, location.pathname.substr(common.topDir.length, location.pathname.length).lastIndexOf("/") + 1);
	var url = location.protocol + "//" + location.host + location.pathname + location.search;
	var tmp;

	if (dir == "/" + common.language + "/src/member/" || dir == "/" + common.language + "/src/member/mypage/") {
		url = common.topDir + "/" + common.language;
		tmp = location.search.substr(1, location.search.length).split("&");

		for (var i = 0; i < tmp.length; i++) {
			var temp = tmp[i].split("=");

			if (temp[0] == "goUrl") {
				url = unescape(temp[1]);
				break;
			}
		}
	}

	return url;
}