﻿// JavaScript Document

function home(){
	document.location.href='/';
}

function m(num){
	switch(num){
		case 1:
			document.location.href='/news/notice_list.asp';
			break
		case 2:
			document.location.href='/game_info/main.asp';
			break
		case 3:
			document.location.href='/world_info/main.asp';
			break
		case 4:
			document.location.href='/community/free_list.asp';
			break
		case 5:
			document.location.href='/dataroom/pds.asp';
			break
		case 6:
			document.location.href="/cs/faq.asp";
			break
		default :
			break
	}
}

function joinus(){
	document.location.href='/member/certify.asp';
}

function s(num){
	switch(num){
		case 1:
			document.location.href='/news/notice_list.asp';
			break
		case 2:
			document.location.href='/news/update_list.asp';
			break
		case 3:
			document.location.href='/news/event_list.asp';
			break
		case 4:
			window.open('http://www.namisum.com/_ver01/_bbs_iw2000/?link_code=050101');
			break
		case 5:
			document.location.href='/game_info/main.asp';
			break
		case 6:
			document.location.href='/world_info/main.asp';
			break
		case 7:
			document.location.href='/community/free_list.asp';
			break
		case 8:
			document.location.href='/community/screenshot_list.asp';
			break
		case 9:
			document.location.href='/community/hot_tip_list.asp';
			break
		case 10:
			document.location.href='/dataroom/pds.asp';
			break
		case 11:
			document.location.href='/dataroom/movie_list.asp';
			break
		case 12:
//			document.location.href='/cs/faq.asp';
			document.location.href="/cs/faq.asp";
			break
		case 13:
			document.location.href='/cs/1vs1.asp';
			break
		default :
			break
	}
}

function even(num){
	switch(num){
		case 1:
			document.location.href="/news/event_list.asp?m=5";
			break
		case 2:
			document.location.href="/news/event_list.asp?m=4";
			break
		case 3:
			document.location.href="/news/event_list.asp?m=3";
			break
		default :
			break
	}
}

function gamestart(){
	alert('오픈 일정이 잡히는 대로 공지해드리겠습니다.');
	// document.location.href="/dataroom/pds.asp";
}
