function TopMenu(str){
	if(str=="1_1"){
	location.href="about_greet.htm?pageNum=a1&subNum=b1";
	}else if(str=="1_2"){
	location.href="about_history.htm?pageNum=a1&subNum=b2";
	}else if(str=="1_3"){
	location.href="about_view.htm?pageNum=a1&subNum=b3";
	}else if(str=="1_4"){
	location.href="about_equip.htm?pageNum=a1&subNum=b4";
	}else if(str=="1_5"){
	location.href="about_map.htm?pageNum=a1&subNum=b5";
	}else if(str=="2_1"){
	location.href="theme_theme.htm?pageNum=a2&subNum=b1";
	}else if(str=="2_2"){
	location.href="theme_view.htm?pageNum=a2&subNum=b2";
	}else if(str=="2_3"){
	location.href="theme_play.htm?pageNum=a2&subNum=b3";
	}else if(str=="2_4"){
	location.href="theme_food.htm?pageNum=a2&subNum=b4";
	}else if(str=="3_1"){
	location.href="season_expi.htm?pageNum=a3&subNum=b1";
	}else if(str=="3_2"){
	location.href="season_month.htm?pageNum=a3&subNum=b2";
	}else if(str=="3_3"){
	location.href="season_day.htm?pageNum=a3&subNum=b3";
	}else if(str=="4_1"){
	location.href="buksam_info.htm?pageNum=a4&subNum=b1";
	}else if(str=="4_2"){
	location.href="buksam_family.htm?pageNum=a4&subNum=b2";
	}else if(str=="4_3"){
	location.href="shop.htm?pageNum=a4&subNum=b1";
	}else if(str=="5_1"){
	location.href="reser_reser.htm?pageNum=a5&subNum=b1";
	}else if(str=="5_2"){
	location.href="reser_sleep.htm?pageNum=a5&subNum=b2";
	}else if(str=="5_3"){
	location.href="reser_use.htm?pageNum=a5&subNum=b3";
	}else if(str=="5_4"){
	location.href="reser_qna.htm?pageNum=a5&subNum=b4";
	}else if(str=="5_5"){
	location.href="reser_reser.htm?pageNum=a5&subNum=b5&menu=list";
	}else if(str=="6_1"){
	location.href="board.htm?pageNum=a6&subNum=b1&board=1";
	}else if(str=="6_2"){
	location.href="board.htm?pageNum=a6&subNum=b2&board=3";
	}else if(str=="6_3"){
	location.href="board.htm?pageNum=a6&subNum=b3&board=4";
	}else if(str=="6_4"){
	location.href="reser_qna.htm?pageNum=a6&subNum=b4";
	}else if(str=="6_5"){
	location.href="mv.htm?pageNum=a6&subNum=b5";
	}else if(str=="7_1"){
	location.href="around.htm?board=1&pageNum=a7&subNum=b1";
	}
}


function setEmbed(){
	var obj = new String;
	var parameter = new String;
	var embed = new String;
	var html = new String;
	var allParameter = new String;
	var clsid = new String;
	var codebase = new String;
	var pluginspace = new String;
	var embedType = new String;
	var src = new String;
	var width = new String;
	var height = new String;

	this.init = function( getType , s ,w , h ){
		if( getType == "flash"){
			clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";
			codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";
			pluginspage = "http://www.macromedia.com/go/getflashplayer";
			embedType = "application/x-shockwave-flash";
		}
		parameter += "<param name='movie' value='"+ s + "'>\n"; 
		parameter += "<param name='quality' value='high'>\n";
		src = s;
		width = w;
		height = h;
	}

	this.parameter = function( parm , value ){
		parameter += "<param name='"+parm +"' value='"+ value + "'>\n";
		allParameter += " "+parm + "='"+ value+"'";
	}

	this.show = function(){
		if(clsid) obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n";
		embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n";
		if(obj){embed += "</object>\n";}
		html = obj + parameter + embed; 
		document.write(html);
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
