function go_menu(fnum, snum) {
	
	//company
	if(fnum == 1) {
		switch(snum) {
			case 1:
				 document.location.href = "/ngames_eng/company/01games.php";
			break;
			
			case 2:
				 document.location.href = "/ngames_eng/company/02vision.php";
			break;
			
			case 3:
				document.location.href = "/ngames_eng/company/03history.php";
			break;
			
			case 4:
				document.location.href = "/ngames_eng/company/04awards.php";
			break;
			
			case 5:
				document.location.href = "/ngames_eng/company/05organization.php";
			break;
			
			case 6:
				 document.location.href = "/ngames_eng/company/06structure.php";
			break;
			
			case 7:
				document.location.href = "/ngames_eng/company/07partner.php";
			break;
			
			case 8:
				document.location.href = "/ngames_eng/company/08address.php";
			break;
			
			case 9:
				document.location.href = "/ngames_eng/company/09sitemap.php";
			break;
			
		}
	// Games
	}else if(fnum == 2) {
		
		switch(snum) {
			case 1:
				 document.location.href = "/ngames_eng/games/01arc_1.php";
			break;
			
			case 2:
				 document.location.href = "/ngames_eng/games/01arc_2.php";
			break;
			
			case 3:
				document.location.href = "/ngames_eng/games/02fps_1.php";
			break;
			
			case 4:
				document.location.href = "/ngames_eng/games/02fps_2.php";
			break;
			
			case 5:
				document.location.href = "/ngames_eng/games/02fps_3.php";
			break;
			
			case 6:
				 document.location.href = "/ngames_eng/games/03rpg_1.php";
			break;
			
			case 7:
				 document.location.href = "/ngames_eng/games/04spr_1.php";
			break;
		}
		
		
	// Business
	}else if(fnum == 3) {
			
		switch(snum) {
			case 1:
				document.location.href = "/ngames_eng/business/01international.php";
			break;
			
			case 2:
				document.location.href = "/ngames_eng/business/02project.php";
			break;
			
			case 3:
				document.location.href = "/ngames_eng/business/03investment.php";
			break;
			
			case 4:
				document.location.href = "/ngames_eng/business/04global.php";
			break;
			
			case 5:
				document.location.href = "/ngames_eng/business/05overseas.php";
			break;
		}
		
	// PR	
	}else if(fnum == 4) {
		switch(snum) {
			case 1:
				 document.location.href = "/ngames_eng/board/board_list.php?pageno=1&bbs_name=eng_IR_News";
			break;
		}
	// IR
	}else if(fnum == 5) {
		
		switch(snum) {
		
			case 0:
				 document.location.href = "/ngames_eng/ir/00main.php?first=1";
			break;
			
			case 1:
				 document.location.href = "/ngames_eng/ir/02management_info_02.php";
			break;
			
			case 2:
				 document.location.href = "/ngames_eng/ir/03stock_info_01.php";
			break;
			
			case 3:
				 document.location.href = "/ngames_eng/ir/04stock_info_02.php";
			break;
			
			case 4:
				document.location.href = "/ngames_eng/ir/05financail_info_01.php";
			break;
			
			case 5:
				document.location.href = "/ngames_eng/ir/05financail_info_01_2.php";
			break;
			
			case 6:
				document.location.href = "/ngames_eng/ir/06financail_info_02.php";
			break;
			
			case 7:
				document.location.href = "/ngames_eng/ir/06financail_info_02_2.php";
			break;
			 
			case 8:
				document.location.href = "/ngames_eng/board/board_list.php?pageno=1&bbs_name=ir_bzreport_eng&acro=disp";
			break;
			
			case 9:
				document.location.href = "/ngames_eng/board/board_list.php?pageno=1&bbs_name=ir_result_eng&acro=disp";
			break;
			
			case 10:
				document.location.href = "/ngames_eng/board/board_list.php?pageno=1&bbs_name=ir_presentation_eng&acro=disp"; 
			break;
		}
	}
}

function movePage(pageno, param){
  document.fo.pageno.value = pageno;
  document.fo.action = param;
  document.fo.submit();
}

function home() {
	location.href = "/ngames_kor/";
}

function ir_home() {
	location.href = "/ngames_kor/ir/index.php";
}

function eng_ir_home() {
	location.href = "/ngames_eng/ir/index.php";
}

function eng_home() {
	location.href = "/ngames_eng/";
}

function neofamily(a) {
	
	if(a == 0) {
		location.href="/";
	}else if(a == 1) {				
		window.open("http://www.neowizgames.com","","");		// 네오위즈게임즈
	}else if(a == 2) {
		window.open("http://www.neowizbugs.com","","");			// 인터넷
	}else if(a == 3) {
		popReady();												// INS
	}else if(a == 4) {	
		popReady();												// 인베스트 먼트
	}else if(a == 5) {
		popReady();												// 이엔씨
	}else if(a == 6) {
		window.open("http://www.neowizbugs.com","","");			// 인터넷 
	}else if(a == 7) {
		window.open("http://magictree.neowiz.com","","");		// 마법나무
	}else if(a == 8) {
		window.open("http://www.pmang.com","","");				// 피망
	}else if(a == 9) {
		window.open("http://pcbang.pmang.com/pcb/index.nwz","","");				// 네오위즈 PC방
	}else if(a == 10) {
		window.open("http://www.sayclub.com","","");				// 세이클럽
	}else if(a == 11) {
		window.open("http://www.neowizbugs.com","","");				// 벅스
	}else if(a == 12) {
		window.open("http://www.neowiz.com","","");		// 네오위즈
	}else if(a == 13) {
		window.open("https://neoin.neowiz.com","","");		// 채용사이트
	}
}

function popReady() {
	alert('Ready!');
}  

function p_info(){
	
	 	var w = 500;
        var h = 572;
        var LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
        var TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
        var win2 = window.open('http://www.neowiz.com/kor/company/privacy2.html','ready2', 'width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+'');
        win2.focus();

}

function inner_info() { 
        var w = 500;
        var h = 572;
        var LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
        var TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
        var win2 = window.open('http://www.neowiz.com/kor/company/inner_info.html','ready3', 'width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+'');
        win2.focus(); 
}   
 
function ir_detail(idxno, pageno) {
	document.location.href = "/ngames_eng/board/board_detail.php?pageno=1&bbs_name=eng_IR_News&idxno="+idxno+"&pageno="+pageno+"&depth1=4&depth2=1";
}

