﻿/*상단Top메뉴*/
function click_topmenu(strMenu)
{
	//alert(strMenu);
	switch(strMenu)
	{
        
        // 기타  
	    case "home":			// Home
		    document.location.href = "/App/main/main.aspx"; 
		    break;
	    case "smap":			// 사이트맵
		    document.location.href = "/App/etc/etc_sitemap/etc_sitemap.aspx";
		    break;

	    case "agree":			// 이용약관
		    document.location.href = "/App/etc/etc_use_agreement.aspx";
		    break;
	    case "private":			// 개인정보 보호정책
		    document.location.href = "/App/etc/etc_private_policy.aspx";
		    break;
	    case "pcsite":			// pc방
		    window.open("http://pcbang.dekaron.co.kr");
		    break;
	    case "check":			// 정기점검
		    document.location.href = "/App/etc/etc_checkInfo_view.aspx";
		    break;

	    //게임가이드
	    case "intro":			// 데카론소개
		    document.location.href = "/App/guide/guide_introduction/guide_introduction_world_01_01.aspx";
		    break;
	    case "guide":	// 기본가이드
		    document.location.href = "/App/guide/guide_basic/guide_basic_setting_02_01.aspx";
		    break;
	    case "gsys":		// 게임시스템
		    document.location.href = "/App/guide/guide_basesystem/guide_basesystem_chat_03_01.aspx";
		    break;
	    case "item":			// 아이템정보
		    document.location.href = "/App/gameinfo/gameinfo_item/gameinfo_item_armor_normal.aspx";
		    break;
	    case "area":			// 지역정보
		    document.location.href = "/App/gameinfo/gameinfo_area/gameinfo_area_areainfo_01_01.aspx";
		    break;
	    case "skill":		// 스킬정보
		    document.location.href = "/App/gameinfo/gameinfo_skill/gameinfo_skill_skillinfo_01_01.aspx";
		    break;
	    case "quest":		// 퀘스트 
		    document.location.href = "/App/gameinfo/gameinfo_quest/gameinfo_quest_general_01.aspx";
		    break;

	    //자료실
	    case "down":			// 게임 다운로드
		    document.location.href = "<%=url_gameDown%>";
		    break;
	    case "cart":		// 컨셉아트
		    document.location.href = "/App/pds/pds_conceptArt/pds_conceptArt_list_02.aspx";
		    break;
	    case "wall":		// 웰페이퍼
		    document.location.href = "/App/pds/pds_wallpaper/pds_wallpaper_list_03.aspx";
		    break;
	    case "sshot":		// 스크린샷
		    document.location.href = "/App/pds/pds_screenshot/pds_screenshot_list_04.aspx";
		    break;
	    case "mov":		// 동영상
		    document.location.href = "/App/magazine/magazine_vod/magazine_vod_list_05.aspx";
		    break;
	    case "ost":		// OST
		    document.location.href = "/App/pds/pds_ost/pds_ost_list_05.aspx";
		    break;

	    // 데카론소식
	    case "notice":			// 공지사항
		    document.location.href = "/App/news/news_notice/news_notice_list_01.aspx";
		    break;
	    case "press":			// 관련기사
		    document.location.href = "/App/news/news_PatchUpdate/news_PatchUpdate_list_02.aspx";
		    break;
	    case "patch":			// 패치 업데이트
		    document.location.href = "/App/news/news_siegeDiary/news_siegeDiary_list_03.aspx";
		    break;
	    case "war":			   // 공성일지 
		    document.location.href = "/App/news/news_RelatedStory/news_RelatedStory_list_04.aspx";
		    break;
	    case "event":			// 데카론 이벤트
		    document.location.href = "/App/news/news_event/news_event_list_05.aspx";
		    break;


	    // 데카론월드 
	    case "novel":			// 데카론 에피소드
		    document.location.href = "/App/magazine/magazine_novel/magazine_novel_list_01.aspx";
		    break;
	    case "comic":			// 데카론 만화 
		    document.location.href = "/App/magazine/magazine_comic/magazine_comic_list_02.aspx";
		    break;

	    case "boad":			// 서버별 게시판
		    document.location.href = "/App/world/world_serverboard/world_serverboard_main_view_01.aspx";
		    break;
	    case "know":			// 유저노하우 
		    document.location.href = "/App/world/world_knowhow/world_knowhow_list_view_03.aspx";
		    break;
	    case "gall":			// 게임샷 유저 갤러리
		    document.location.href = "/App/world/world_gallery/world_gallery_list_view_02.aspx			"; 
		    break;
	    case "fan":			// 데카론 팬 사이트
		    document.location.href = "/App/magazine/magazine_fansite/magazine_fansite_list_06.aspx";
		    break;
	    case "poll":			// 데카론 Poll
		    document.location.href = "/App/world/world_survey/world_survey_list_view_07.aspx";
		    break;
	    case "debate":			// 자유토론
		    document.location.href = "/App/world/world_debate/world_debate_list_view_06.aspx";
		    break;
	    case "part":			// 유저참여마당 
		    document.location.href = "/App/world/world_userWith/world_userWith_fanart/world_userWith_fanart_list_view_04.aspx";
		    break;
	    case "ucc":			// 유저 UCC 
		    document.location.href = "/App/world/world_ucc/world_ucc_list_view_05.aspx"; 
		    break;

	    //데카론몰

	    case "itemmall":		// 아이템샵
		    document.location.href = "/App/itemshop/itemshop_itemmain/itemshop_itemmain_itemmain_01.aspx";
		    break;

	    case "mall":		// 아이템샵이용안내
		    document.location.href = "/App/itemshop/itemshop_itemguide/itemshop_itemguide_itemguide_06.aspx";
		    break;

	    
    		
	    //기타
	    case "start":   //게임시작
		    click_gamestart('start');
		    
		    break;

		
	}
}

