function openURL(a, b) 
{

	//NOTICIAS
	if(a == 1){
		if (b == 0){
			location.href= "/notice/notice.php?cate=all";										//NOTICIAS
		}else if (b == 1){
			location.href= "/notice/notice.php?cate=all";										//TODAS
		}else if (b == 2){
			location.href= "/notice/notice.php?cate=notice";										//NOTICIAS
		}else if (b == 3){
			location.href= "/notice/notice.php?cate=news";										//ACTUALIZACIONES
		}else if (b == 4){
			location.href= "/notice/notice.php?cate=event";										//EVENTOS
		}
	
	}
	//guide
	else if(a == 2){
		if (b == 0){	
			location.href= "/guide/cara_game.php";									//GUIA
		}else if (b == 1){
			location.href= "/guide/cara_game.php";								//CARACTERISTICAS ESPECIALES
		}else if (b == 2){
			location.href= "/guide/sis_pet.php";									//SISTEMAS DE JUEGO
		}

	}
	//INFORMACION
	else if(a == 3){
		if(b == 0){
			location.href= "/info/basica_fabricacion.php";
		}else if (b == 1){
			location.href= "/info/basica_fabricacion.php";									//destrezas
		}else if (b == 2){
			location.href= "/info/avanzada_ride.php";									//expediciones
		}
	}
	//CLASIFICACION
	else if(a == 4){

		if (b == 0){
			//error('Próximamente…');return;
			location.href= "/ranking/?id=individual";								//개인순위
		}else if (b == 1){
			//error('Próximamente…');return;
			location.href= "/ranking/?id=individual";								//개인순위	
		}else if (b == 2){
			//error('Próximamente…');return;
			location.href= "/ranking/?id=clanes";								//길드순위
		}else if (b == 3){
			//error('Próximamente…');return;
			location.href= "/ranking/?id=fabricacion";								//제조순위
		}

	}
	//COMUNIDAD
	else if(a == 5){
		
		if (b == 0){
			//error('Próximamente…');return;
			location.href= "/community/forum.php";								//커뮤니티
		}else if (b == 1){
			//error('Próximamente…');return;
			location.href= "/community/forum.php";									//이야기광장
		}else if (b == 2){
			location.href= "/community/players.php";			//스크린샷게시판
		}else if (b == 3){
			location.href= "/community/screenshot.php";				//홀릭2 UCC게시판
		}else if (b == 4){
			location.href= "/community/encuesta.php";				//encuesta
		}else if (b == 5){
			//location.href= "/shop/slot/suerte.php";				//suerte
		}

	}

	//DATOS
	else if(a == 6){

		if (b == 0){
			location.href= "/data/download.php";									//자료실
		}else if (b == 1){
			location.href= "/data/download.php";									//다운로드
		}else if (b == 2){
			location.href= "/data/media.php";									//멀티미디어
		}

	}

	//NETGAME
	else if(a == 7){
		
		if (b == 0){
			if(!colmgameUserCheck()) return;
			location.href= "/login/netgame_login.php?cate=customer";
		}else if (b == 1){
			if(!colmgameUserCheck()) return;
			location.href= "/login/netgame_login.php?cate=customer";
		}else if (b == 2){
			if(!colmgameUserCheck()) return;
			location.href= "/support/faq.php";
		}else if (b == 3){
			if(!colmgameUserCheck()) return;
			window.open('/login/netgame_login.php?cate=charge', 'charge', '');
		}else if (b == 5){
			if(!colmgameUserCheck()) return;
			location.href= "/support/faq.php";
		}else if (b == 6){
			if(!colmgameUserCheck()) return;
			location.href= "/login/netgame_login.php?cate=customer_status";
		}else if (b == 7){
			if(!colmgameUserCheck()) return;
			window.open('/login/netgame_login.php?cate=free_charge', 'free_charge', '');
		}		

	}

	//메인페이지
	else if(a == 8){
		
		if (b == 0){
			location.href= "/";														//메인
		}
	}
	// netgame 
	else if(a == 9){
		if(!colmgameUserCheck()) return;
		if (b == 0){
			window.open('/login/netgame_login.php?cate=cow', 'cow', '');
		}
		else if (b == 1){
			window.open('/login/netgame_login.php?cate=hero', 'hero', '');
		}
		else if (b == 2){
			window.open('/login/netgame_login.php?cate=fate', 'fate', '');
		}
		else if (b == 3){
			window.open('/login/netgame_login.php?cate=mini', 'mini', '');
		}
	}
}
