//Topmenu----------------------------------------------------------------------------------
function topmenu(str){
	var http = "http://www.rohan.jp";
	var https = "https://security.rohan.jp";
  
	switch ( str ) {
		case '1' :		topmenu("1_1");	break;
		case '1_1' :	document.location.href=http+"/news/notice1_l.asp";	break;
		case '1_2' :	document.location.href=http+"/news/notice2_l.asp";	break;
		case '1_3' :	document.location.href=http+"/news/notice3_l.asp";	break;
		case '1_4' :	document.location.href=http+"/news/notice4_l.asp";	break;
		case '1_5' :	document.location.href=http+"/news/mail_l.asp";	break;
		case '1_6' :	document.location.href=http+"/news/event_calendar.asp";	break;
		
		case '2' :		topmenu("2_1");	break;
		case '2_1' :	document.location.href=http+"/guide/prepare_1.asp";	break;
		case '2_2' :	document.location.href=http+"/guide/start_5_1.asp";	break;
		case '2_3' :	document.location.href=http+"/guide/enjoy_1_1.asp";	break;
		
		case '3' :		topmenu("3_9");	break;
		case '3_9' :	document.location.href=http+"/data/intro.asp";	 break;
		case '3_1' :	document.location.href=http+"/data/world.asp";	 break;
		case '3_2' :	document.location.href=http+"/data/area_world.asp";	 break;
		case '3_3' :	document.location.href=http+"/data/character01_1.asp"; break;
		case '3_4' :	document.location.href=http+"/data/skill_human1.asp"; break;
		case '3_5' :	document.location.href=http+"/data/item01.asp";	 break;
		case '3_6' :	document.location.href=http+"/data/monster.asp"; break;
		case '3_7' :	document.location.href=http+"/data/quest.asp"; break;
    case '3_8' :	document.location.href=http+"/data/toolbar.asp";	break;
		
		case '4' :		topmenu("4_1");	break;
		case '4_1' :	document.location.href=http+"/community/gameplay/gameplay_l.asp";	break;
		case '4_2' :	document.location.href=http+"/community/screenshot/screenshot_l.asp";	break;
		case '4_3' :	document.location.href=http+"/community/rohanquiz/quiz_list.asp"; break;
		case '4_4' :	document.location.href=http+"/community/fansite/fansite_l.asp";	break;
		case '4_5' :	document.location.href=http+"/community/poll/poll_l.asp";	break;
		case '4_6' :	document.location.href=http+"/community/media/wallpaper.asp";	break;
		case '4_7' :	document.location.href=http+"/community/novel/novel_l.asp";	break;
		
		case '5' :		topmenu("5_1");	break;
		case '5_1' :	document.location.href=http+"/warshipzone/GuildState.asp";	break;
		case '5_2' :	document.location.href=http+"/warshipzone/GuildRanking.asp";	break;
		case '5_3' :	document.location.href=http+"/warshipzone/GuildBattle.asp";	break;
		case '5_4' :	document.location.href=http+"/warshipzone/GuildInfo/guild_all_list.asp";	break;
		case '5_5' :	document.location.href=http+"/warshipzone/GuildBoard/GuildBoard.asp";	break;
		
		case '6' :		topmenu("6_1");	break;
		case '6_1' :	document.location.href=http+"/support/faq_l.asp";	break;
		case '6_2' :	document.location.href=http+"/support/bug_l.asp";	break;
		case '6_3' :	document.location.href=http+"/support/qna_l.asp";	break;
		case '6_4' :	document.location.href=http+"/support/policy_2.asp";	break;
		
		case '7' :		top.document.location.href=https+"/itemmall/mall_front.asp";	break;
		case '7_1' :	top.document.location.href=https+"/itemmall/set_list.asp";	break;
		case '7_2' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=1";	break;
		case '7_3' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=2";	break;
		case '7_4' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=7";	break;
		case '7_5' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=6";	break;
		case '7_6' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=3";	break;
		case '7_7' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=4";	break;
		case '7_8' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=5";	break;
		case '7_9' :	top.document.location.href=https+"/itemmall/item_list.asp?Category=8";	break;
		case '7_10' :	top.document.location.href=https+"/service/big5Play.asp";	break;
		case '7_11' :	top.document.location.href=https+"/payment/append_1.asp";	break;
		
		case '8' :	  document.location.href=http+"/index.asp";	break;
		case '9' :	  window.open("https://customer.gamecom.jp/Support/PrivacyPolicy.aspx",'policy',''); break;
		case '10' :		document.location.href=http+"/support/policy_3.asp";	break;
		case '11' :		window.open("https://customer.gamecom.jp/MyPage/MemberInfo.aspx",'mypage',''); break;
		case '12' :		document.location.href=http+"/guide/prepare_1.asp";	break;

		default :	break;
	}
}

function kaiken() {
  window.open("/event/20070328/news_index.asp", "kaiken", "width=685,height=600,top=100,left=100");
}

function lottoevent2() {
  window.open("https://security.rohan.jp/event/20070427_lotto.asp", "lottoEvent", "width=230,height=250,top=100,left=100,scrollbars=yes");
}

function Ready(){
	alert('ただいま準備中です。');
}

//Epic1 ---------------------------
function PopupEpic1(){
	WindowLeft = 400;
	WindowTop = 300;
	window.open("/event/20061005/epic1.asp", "EPIC1", "scrollbars=no,width=700, height=400, top="+WindowTop+", left="+WindowLeft);
}

function newguide() {
  window.open("/guide/guide_main.asp", "newguide", "scrollbars=no,width=1000, height=700");
}

function newguide2() {
  window.open("/guide/mid_guide/new_guide.asp", "newguide2", "scrollbars=no,width=1000, height=700");
}

function main_epic4() {
  window.open("/epic/main_epic4.asp", "main_epic4", "scrollbars=no, width=1000, height=700");
}

function main_epic3() {
  window.open("/epic/main_epic3.asp", "main_epic3", "scrollbars=no, width=900, height=648");
}

function main_epic2() {
  window.open("/epic/main_epic2.asp", "main_epic2", "scrollbars=no, width=700, height=400");
}

function main_epic5() {
  window.open("/epic/epic5/index/intro.asp", "main_epic5", "scrollbars=no, width=1100, height=900");
}
function epic6() {
  window.open("/epic/epic6/intro.asp","epic6","scrollbars=no, width=1000, height=706");
}


function newguide() {
  window.open("http://www.rohan.jp/guide/guide_main.asp", "newguide", "scrollbars=no,width=1000, height=700");
}

function newguide2() {
  window.open("http://www.rohan.jp/guide/mid_guide/new_guide.asp", "newguide2", "scrollbars=no,width=1000, height=700");
}

function info_pop() {
  window.open("/itemmall/wayofitem_main.asp", "item", "scrollbars=no,width=650, height=650");
}

function info_pop_present() {
  window.open("/itemmall/wayofitem_3.asp", "item", "scrollbars=no,width=650, height=650");
}

function info_pop_coupon() {
  window.open("/itemmall/wayofitem_5.asp", "item", "scrollbars=no,width=650, height=650");
}