nhn.deskhome_menu={_sServiceName:null,_sExtenstionType:null,_htEvent:{},_htElement:{},_htInitData:null,_htAjaxRequestData:{},_htAPI:{API0001:"/deskhome/getNewInformationCount.nhn",API0002:"/deskhome/data.nhn",API0003:"/data.nhn"},_htMessage:{MSG0001:"알 수 없는 오류가 발생하였습니다.",MSG0002:"현재 응답이 없습니다.\n페이지를 새로고침 하거나 잠시 후 다시 시도해 주세요.",MSG0003:"팝업창이 차단 설정되어 있습니다.\n팝업창 설정을 변경해 주세요.",MSG0004:"파라미터가 올바르지 않습니다."},_htPage:{me:"http://me.naver.com",mail:"http://mail.naver.com",note:"http://mail.naver.com/note",calendar:"http://calendar.naver.com",memo:"http://memo.naver.com",contact:"http://contact.naver.com",ndrive:"http://ndrive.naver.com",office:"http://office.naver.com",moneybook:"http://moneybook.naver.com/mybook/write.nhn",acct:"http://acct.naver.com/accthome/home.nhn",myshelf:"http://myshelf.naver.com",healthbook:"http://health.naver.com/phr/home.nhn"},initialize:function(A){this._sServiceName=A.sServiceName||"naverme";this._sExtenstionType=A.sExtenstionType||"";this._sUserId=A.sUserId;this._htInitData=A.htInitialData||{};this._sSkinClass=A.sSkinClass||"";this._setElement(A.elContainer);this._initElementAttr();$Element(this._htElement.header).addClass("h_"+this._sServiceName+(this._sExtenstionType!=""?"_"+this._sExtenstionType:""));if(this._sSkinClass!=""){$Element(this._htElement.header).addClass(this._sSkinClass);$Element(this._htElement.menu_last).addClass(this._sSkinClass);}this._attachEvent();this.xxonResize();if(this._sServiceName!="mail"){this._setNewDataCount();}},_attachEvent:function(){this._htEvent.click=$Fn(this._xxonClick,this).attach(this._htElement.header,"click");},_xxonClick:function(D){var C=D.element;var E=$Element(C);var A="";var B="GNB.";if(E.hasClass("naver")){A=B+"naver";}else{if(E.hasClass("pwe_home")){A=B+this._sServiceName+"logo";}else{if(E.hasClass("btn_more")){A=B+"more";}else{if(E.hasClass("me")){A=B+"me";}else{if(E.hasClass("mail")){A=B+"mail";}else{if(E.hasClass("note")){A=B+"note";}else{if(E.hasClass("calendar")){A=B+"calendar";}else{if(E.hasClass("memo")){A=B+"memo";}else{if(E.hasClass("address")){A=B+"contact";}else{if(E.hasClass("ndrive")){A=B+"ndrive";}else{if(E.hasClass("office")){A=B+"office";}else{if(E.hasClass("myshelf")){A=B+"myshelf";}else{if(E.hasClass("moneybook")){A=B+"moneybook";}else{if(E.hasClass("healthbook")){A=B+"health";}}}}}}}}}}}}}}if(E.hasClass("btn_more")){if(E.hasClass("on")){E.removeClass("on");$Element(this._htElement.menu_last).hide();}else{E.addClass("on");$Element(this._htElement.menu_last).show();}D.stopDefault();}if(A){clickcr(C,A,"","",D.$value());}},_detachEvent:function(){this._htEvent.click.detach(this._getElement("_root",true),"click");},destroy:function(){this._detachEvent();this._sServiceName=null;this._sServiceType=null;this._htElement=null;this._htInitData=null;this._htLayoutData=null;},_initElementAttr:function(){var B="";$Element(this._htElement.header_title).html(this._getServiceName());$Element(this._htElement.cnt_mail).css("cursor","pointer");$Element(this._htElement.cnt_note).css("cursor","pointer");$Element(this._htElement.cnt_calendar).css("cursor","pointer");$Element(this._htElement.me).attr("title","네이버me");$Element(this._htElement.mail).attr("title","메일");$Element(this._htElement.note).attr("title","쪽지");$Element(this._htElement.calendar).attr("title","캘린더");$Element(this._htElement.memo).attr("title","메모");$Element(this._htElement.contact).attr("title","주소록");$Element(this._htElement.ndrive).attr("title","네이버 클라우드");$Element(this._htElement.office).attr("title","오피스");$Element(this._htElement.moneybook).attr("title","가계부");var A=cssquery.getSingle(".me",this._htElement.me);$Element(A).attr("accesskey","4");$Element(A).attr("href",this._htPage.me);switch(this._sServiceName){case"mail":B="http://mail.naver.com";break;case"note":B="http://note.naver.com";break;case"calendar":B="http://calendar.naver.com";break;case"memo":B="http://memo.naver.com";break;case"contact":B="http://contact.naver.com";break;case"ndrive":B="http://ndrive.naver.com";break;case"office":B="http://office.naver.com";break;case"myshelf":B="http://office.naver.com";break;case"moneybook":B="http://moneybook.naver.com";break;case"healthbook":B="http://healthbook.naver.com";break;}$Element(this._htElement.service_link).attr("href",B);if(this._sServiceName!="me"){A=cssquery.getSingle(".me",this._htElement.me);$Element(A).attr("href",this._htPage.me);}if(this._sServiceName!="mail"){A=cssquery.getSingle(".mail",this._htElement.mail);$Element(A).attr("href",this._htPage.mail);}if(this._sServiceName!="note"){A=cssquery.getSingle(".note",this._htElement.note);$Element(A).attr("href",this._htPage.note);}if(this._sServiceName!="calendar"){A=cssquery.getSingle(".calendar",this._htElement.calendar);$Element(A).attr("href",this._htPage.calendar);}if(this._sServiceName!="memo"){A=cssquery.getSingle(".memo",this._htElement.memo);$Element(A).attr("href",this._htPage.memo);}if(this._sServiceName!="contact"){A=cssquery.getSingle(".address",this._htElement.contact);$Element(A).attr("href",this._htPage.contact);}if(this._sServiceName!="ndrive"){A=cssquery.getSingle(".ndrive",this._htElement.ndrive);$Element(A).attr("href",this._htPage.ndrive);}if(this._sServiceName!="office"){A=cssquery.getSingle(".office",this._htElement.office);$Element(A).attr("href",this._htPage.office);}if(this._sServiceName!="moneybook"){A=cssquery.getSingle(".moneybook",this._htElement.moneybook);$Element(A).attr("href",this._htPage.moneybook);}},_setElement:function(A){this._htElement.header=$("header");this._htElement.menu_area=A||cssquery.getSingle(".gnb_area",$("header"));this._htElement.service_link=cssquery.getSingle("a._svc_lnk",this._htElement.header);this._htElement.header_title=cssquery.getSingle("span._header_tit",this._htElement.header);this._htElement.menu_list=cssquery.getSingle(".gnb_list_box",this._htElement.menu_area);this._htElement.menu_last=cssquery.getSingle("ul._gnb_last",this._htElement.menu_area);this._htElement.btn_more=cssquery.getSingle("a.btn_more",this._htElement.menu_area);this._htElement.me=cssquery.getSingle("._me",this._htElement.menu_list);this._htElement.new_me=cssquery.getSingle(".article_num",this._htElement.me);this._htElement.cnt_me=cssquery.getSingle("._count",this._htElement.new_me);this._htElement.mail=cssquery.getSingle("._mail",this._htElement.menu_list);this._htElement.new_mail=cssquery.getSingle(".article_num",this._htElement.mail);this._htElement.cnt_mail=cssquery.getSingle("._count",this._htElement.new_mail);this._htElement.note=cssquery.getSingle("._note",this._htElement.menu_list);this._htElement.new_note=cssquery.getSingle(".article_num",this._htElement.note);this._htElement.cnt_note=cssquery.getSingle("._count",this._htElement.new_note);this._htElement.calendar=cssquery.getSingle("._calendar",this._htElement.menu_list);this._htElement.new_calendar=cssquery.getSingle(".article_num",this._htElement.calendar);this._htElement.cnt_calendar=cssquery.getSingle("._count",this._htElement.new_calendar);this._htElement.memo=cssquery.getSingle("._memo",this._htElement.menu_list);this._htElement.new_memo=cssquery.getSingle(".article_num",this._htElement.memo);this._htElement.cnt_memo=cssquery.getSingle("._count",this._htElement.memo);this._htElement.contact=cssquery.getSingle("._contact",this._htElement.menu_list);this._htElement.new_contact=cssquery.getSingle(".article_num",this._htElement.contact);this._htElement.cnt_contact=cssquery.getSingle("._count",this._htElement.contact);this._htElement.ndrive=cssquery.getSingle("._ndrive",this._htElement.menu_list);this._htElement.new_ndrive=cssquery.getSingle(".article_num",this._htElement.ndrive);this._htElement.cnt_ndrive=cssquery.getSingle("._count",this._htElement.new_ndrive);this._htElement.office=cssquery.getSingle("._office",this._htElement.menu_list);this._htElement.new_office=cssquery.getSingle(".article_num",this._htElement.office);this._htElement.cnt_office=cssquery.getSingle("._count",this._htElement.new_office);this._htElement.moneybook=cssquery.getSingle("._moneybook",this._htElement.menu_list);this._htElement.new_moneybook=cssquery.getSingle(".article_num",this._htElement.moneybook);this._htElement.cnt_moneybook=cssquery.getSingle("._count",this._htElement.new_moneybook);},getAPI:function(A){return this._htAPI[A]||"";},getMessage:function(A){return this._htMessage[A]||"";},alertMessage:function(C,B){var A=this.getMessage(C);if(A){alert(B?this._replaceString(A,B):A);return true;}else{return false;}},_getDomainInfo:function(){var A="API0002";if(this._sServiceType=="main"){A="API0003";}this.requestAjax(A,{},$Fn(function(B){if(!this._htInitData){this._htInitData={};}if(B.result=="success"){this._htInitData.htDomainInfo=B.returnValue;}else{this._htInitData.htDomainInfo={DESK_URL:"http://desk.naver.com",CONTACT_IMAGE_URL:"http://img.contact.naver.com",CONTACT_URL:"http://contact.naver.com",MAIL_URL:"http://mail.naver.com",NOTE_POP_URL:"http://note.naver.com",NDRIVE_URL:"http://ndrive.naver.com",NAVER_OFFICE_VIEWR_URL:"http://word.office.naver.com",OFFICE_VIEWR_URL:"http://docviewer.office.naver.com",NPHOTO_URL:"http://nphoto.naver.com",WEBMSG_URL:"http://webmsg.naver.com",HELP_DESK_URL:"http://help.naver.com",PROFILE_POPUP_URL:"http://contact.naver.com/editMyAddressBook.nhn?addressNo=0&openedSupplement=true"};}},this).bind(),"jsonp",true,true);},getDomain:function(A){if(!this._htInitData||typeof this._htInitData.htDomainInfo=="undefined"){this._getDomainInfo();return false;}if(!A||!this._htInitData.htDomainInfo[A]){return false;}var B=this._htInitData.htDomainInfo[A];B=/^http:\/\//.test(B)?B:"http://"+B;return B;},_getNewDataCount:function(){if(typeof this._sUserId=="undefined"||!this._sUserId){return false;}this.requestAjax("API0001",{userId:this._sUserId},$Fn(function(A){if(A.result=="success"){this._htInitData.htNewInfomationCount=A.returnValue;this._setNewDataCount();}},this).bind(),"jsonp",true,true);},_setNewDataCount:function(){if(typeof this._htInitData.htNewInfomationCount=="undefined"||this._htInitData.htNewInfomationCount=="TIMEOUT"){this._getNewDataCount();return false;}var A=this._htInitData.htNewInfomationCount;this._setMeDataCount(A);this._setMailDataCount(A);this._setNoteDataCount(A);this._setCalendarDataCount(A);this._setMemoDataCount(A);this._setContactDataCount(A);this._setNdriveDataCount(A);this._setOfficeDataCount(A);this._setMoneybookDataCount(A);},_setMeDataCount:function(A){if(this._sServiceName!="me"&&A.meCount&&A.meCount>0&&this._htElement.new_me){$Element(this._htElement.new_me).show();this._htElement.cnt_me.innerHTML=(A.meCount<1000)?A.meCount:"999+";}else{if(A.meCount===0){$Element(this._htElement.new_me).hide();}}},_setMailDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.mail&&A.extraInfo.mail.icon&&A.extraInfo.mail.icon!="none"){B=A.extraInfo.mail.icon;}if(this._sServiceName!="mail"&&A.mailCount&&A.mailCount>0&&this._htElement.new_mail){$Element(this._htElement.new_mail).show();this._htElement.cnt_mail.innerHTML=(A.mailCount<1000)?A.mailCount:"999+";}else{if(A.mailCount===0){if(this._sServiceName=="mail"){$Element(this._htElement.new_mail).hide();}else{if(B!=""){$Element(this._htElement.new_mail).show();$Element(this._htElement.new_mail).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_mail).hide();}}}}},_setNoteDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.note&&A.extraInfo.note.icon&&A.extraInfo.note.icon!="none"){B=A.extraInfo.note.icon;}if(this._sServiceName!="note"&&A.noteCount&&A.noteCount>0&&this._htElement.new_note){$Element(this._htElement.new_note).show();this._htElement.cnt_note.innerHTML=(A.noteCount<1000)?A.noteCount:"999+";}else{if(A.noteCount===0){if(B!=""){$Element(this._htElement.new_note).show();$Element(this._htElement.new_note).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_note).hide();}}}},_setCalendarDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.calendar&&A.extraInfo.calendar.icon&&A.extraInfo.calendar.icon!="none"){B=A.extraInfo.calendar.icon;}if(this._sServiceName!="calendar"&&A.scheduleCount&&A.scheduleCount>0&&this._htElement.new_calendar){$Element(this._htElement.new_calendar).show();this._htElement.cnt_calendar.innerHTML=(A.scheduleCount<1000)?A.scheduleCount:"999+";}else{if(A.scheduleCount===0){if(this._sServiceName=="calendar"){$Element(this._htElement.new_calendar).hide();}else{if(B!=""){$Element(this._htElement.new_calendar).show();$Element(this._htElement.new_calendar).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_calendar).hide();}}}}},_setMemoDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.memo&&A.extraInfo.memo.icon&&A.extraInfo.memo.icon!="none"){B=A.extraInfo.memo.icon;}if(this._sServiceName=="memo"){$Element(this._htElement.new_memo).hide();}else{if(B!=""){$Element(this._htElement.new_memo).show();$Element(this._htElement.new_memo).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_memo).hide();}}},_setContactDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.contact&&A.extraInfo.contact.icon&&A.extraInfo.contact.icon!="none"){B=A.extraInfo.contact.icon;}if(this._sServiceName=="contact"){$Element(this._htElement.new_contact).hide();}else{if(B!=""){$Element(this._htElement.new_contact).show();$Element(this._htElement.new_contact).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_contact).hide();}}},_setNdriveDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.ndrive&&A.extraInfo.ndrive.icon&&A.extraInfo.ndrive.icon!="none"){B=A.extraInfo.ndrive.icon;}if(this._sServiceName!="ndrive"&&A.ndriveCount&&A.ndriveCount>0&&this._htElement.new_ndrive){$Element(this._htElement.new_ndrive).show();this._htElement.cnt_ndrive.innerHTML=(A.ndriveCount<1000)?A.ndriveCount:"999+";}else{if(A.ndriveCount===0){if(this._sServiceName=="ndrive"){$Element(this._htElement.new_contact).hide();}else{if(B!=""){$Element(this._htElement.new_ndrive).show();$Element(this._htElement.new_ndrive).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_ndrive).hide();}}}}},_setOfficeDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.office&&A.extraInfo.office.icon&&A.extraInfo.office.icon!="none"){B=A.extraInfo.office.icon;}if(this._sServiceName=="office"){$Element(this._htElement.new_office).hide();}else{if(B!=""){$Element(this._htElement.new_office).show();$Element(this._htElement.new_office).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_office).hide();}}},_setMoneybookDataCount:function(A){var B="";if(A.extraInfo&&A.extraInfo.moneybook&&A.extraInfo.moneybook.icon&&A.extraInfo.moneybook.icon!="none"){B=A.extraInfo.moneybook.icon;}if(this._sServiceName=="moneybook"){$Element(this._htElement.new_moneybook).hide();}else{if(B!=""){$Element(this._htElement.new_moneybook).show();$Element(this._htElement.new_moneybook).addClass(this._getBubbleIconClass(B));}else{$Element(this._htElement.new_moneybook).hide();}}},_getBubbleIconClass:function(B){var A="";switch(B){case"up":A="icon_up";break;case"event":A="icon_event_pnb";break;case"newapp":A="icon_newapp";break;default:A="";break;}return A;},_getServiceName:function(){var A="";switch(this._sServiceName){case"mail":A="메일";break;case"note":A="쪽지";break;case"calendar":A="캘린더";break;case"memo":A="메모";break;case"contact":A="주소록";break;case"ndrive":A="네이버 클라우드";break;case"office":A="오피스";break;case"myshelf":A="내서재";break;case"moneybook":A="가계부";break;case"health":A="건강기록부";break;}return A;},getInfomationForPWE:function(){this._setNewDataCount();},setSkinType:function(B){var C=$Element(this._htElement.header),A=$Element(this._htElement.menu_last);if(this._sSkinClass!=""){C.removeClass(this._sSkinClass);A.removeClass(this._sSkinClass);}C.addClass(B);A.addClass(B);this._sSkinClass=B;},xxonResize:function(){$Element(this._htElement.btn_more).removeClass("on");if($Document(document).clientSize().width<1024){$Element(this._htElement.menu_list).addClass("gnb_more_area");$Element(this._htElement.menu_last).hide();}else{$Element(this._htElement.menu_list).removeClass("gnb_more_area");$Element(this._htElement.menu_last).show();}},_getRandomId:function(){return String(parseInt(Math.random()*10000000000,10));},_showEventBlockLayer:function(){var A=this.getTemplate("_event_block_layer","",true).show();this._setLayerSizeToClientSize(A);setTimeout($Fn(this._hideEventBlockLayer,this).bind(),3000);},_hideEventBlockLayer:function(){this.getTemplate("_event_block_layer","",true).hide();},requestAjax:function(I,G,A,B,C,H){var F=this.getAPI(I);if(F){var E=this._getRandomId();G=G||{};for(var D in this._htAjaxRequestData){if(I==this._htAjaxRequestData[D].sAPI&&$Json(this._htAjaxRequestData[D].htParameter).compare(G)){return false;}}this._htAjaxRequestData[E]={sAPI:I,htParameter:G,fCallback:A,bNotUseEventBlockLayer:C,bNotUseErrorAlert:H};if(!C){this._showEventBlockLayer();}$Ajax(F,{type:B||"xhr",xxonload:$Fn(this._onReceiveData,this).bind(E)}).request(G);return true;}else{return false;}},_onReceiveData:function(C,A){var D=this._htAjaxRequestData[C];if(!D.bNotUseEventBlockLayer){this._hideEventBlockLayer();}delete this._htAjaxRequestData[C];var B=A.json();if(B){if(B.result=="fail"&&!D.bNotUseErrorAlert){if(B.returnValue&&B.returnValue.errorCode&&B.returnValue.errorMessage){if(this._bLogOut){return false;}if(B.returnValue.errorCode=="LOGGED_OUT"||B.returnValue.errorCode=="INVALID_USER"){this._bLogOut=true;alert(B.returnValue.errorMessage);location.href="/";return false;}else{alert(B.returnValue.errorMessage);}}else{this.alertMessage("MSG0001");}}if(D.fCallback){D.fCallback(B);}}else{this.alertMessage("MSG0002");}}};
var gnb_date=new Date();var gnbSvcs={svc_lst1:[{id:"game",name:"게임",sname:"게임",link:"http://game.naver.com/"},{id:"weather",name:"날씨",sname:"날씨",link:"http://weather.naver.com/"},{id:"shopping",name:"네이버쇼핑",sname:"네이버쇼핑",link:"http://shopping.naver.com/"},{id:"navercast",name:"네이버캐스트",sname:"네이버캐스트",link:"http://navercast.naver.com/"},{id:"cloud",name:"네이버클라우드",sname:"클라우드",link:"http://cloud.naver.com/"},{id:"naverpay",name:"네이버페이",sname:"네이버페이",link:"http://order.pay.naver.com/home"},{id:"news",name:"뉴스",sname:"뉴스",link:"http://news.naver.com/"},{id:"comic",name:"만화/웹툰",sname:"만화/웹툰",link:"http://comic.naver.com/"},{id:"memo",name:"메모",sname:"메모",link:"http://memo.naver.com/"},{id:"mail",name:"메일",sname:"메일",link:"http://mail.naver.com/"},{id:"music",name:"뮤직",sname:"뮤직",link:"http://music.naver.com/"},{id:"land",name:"부동산",sname:"부동산",link:"http://land.naver.com/"},{id:"bookmark",name:"북마크",sname:"북마크",link:"http://bookmark.naver.com/"},{id:"blog",name:"블로그",sname:"블로그",link:"http://section.blog.naver.com/"},{id:"dic",name:"사전",sname:"사전",link:"http://dic.naver.com/"},{id:"software",name:"소프트웨어",sname:"소프트웨어",link:"http://software.naver.com/main.nhn"},{id:"sports",name:"스포츠",sname:"스포츠",link:"http://sports.news.naver.com/"},{id:"ya9",name:"야구9단",sname:"야구9단",link:"http://ya9.naver.com/?adtr=A19A132"},{id:"movie",name:"영화",sname:"영화",link:"http://movie.naver.com/"},{id:"office",name:"오피스",sname:"오피스",link:"http://office.naver.com/"},{id:"novel",name:"웹소설",sname:"웹소설",link:"http://novel.naver.com/webnovel/weekday.nhn"},{id:"auto",name:"자동차",sname:"자동차",link:"http://auto.naver.com/"},{id:"contact",name:"주소록",sname:"주소록",link:"http://contact.naver.com/"},{id:"finance",name:"증권(금융)",sname:"증권(금융)",link:"http://stock.naver.com/"},{id:"map",name:"지도",sname:"지도",link:"http://map.naver.com/"},{id:"kin",name:"지식iN",sname:"지식iN",link:"http://kin.naver.com/"},{id:"terms",name:"지식백과",sname:"지식백과",link:"http://terms.naver.com/"},{id:"book",name:"책",sname:"책",link:"http://book.naver.com/"},{id:"cafe",name:"카페",sname:"카페",link:"http://section.cafe.naver.com/"},{id:"calendar",name:"캘린더",sname:"캘린더",link:"http://calendar.naver.com/"},{id:"photo",name:"포토갤러리",sname:"포토갤러리",link:"http://photo.naver.com/"},{id:"nstore",name:"N스토어",sname:"N스토어",link:"http://nstore.naver.com/"},{id:"tvcast",name:"TV캐스트",sname:"TV캐스트",link:"http://tvcast.naver.com/"},{id:"tvguide",name:"TV편성표",sname:"TV편성표",link:"http://tvguide.naver.com/"}],svc_lst2:[{id:"krdic",name:"국어사전",sname:"국어",link:"http://krdic.naver.com/"},{id:"endic",name:"영어/영영사전",sname:"영어/영영",link:"http://endic.naver.com/"},{id:"hanja",name:"한자사전",sname:"한자사전",link:"http://hanja.naver.com/"},{id:"jpdic",name:"일어사전",sname:"일본어",link:"http://jpdic.naver.com/"},{id:"cndic",name:"중국어사전",sname:"중국어",link:"http://cndic.naver.com/"},{id:"frdic",name:"프랑스어사전",sname:"프랑스어",link:"http://frdic.naver.com/"},{id:"dedic",name:"독일어사전",sname:"독일어",link:"http://dedic.naver.com/dedic/"},{id:"rudic",name:"러시아어사전",sname:"러시아어",link:"http://rudic.naver.com/?sLn=kr"},{id:"vndic",name:"베트남어사전",sname:"베트남어",link:"http://vndic.naver.com/"},{id:"spdic",name:"스페인어사전",sname:"스페인어",link:"http://spdic.naver.com/"},{id:"translate",name:"번역기",sname:"번역기",link:"http://translate.naver.com/"}],svc_lst3:[{id:"grafolio",name:"그라폴리오",sname:"그라폴리오",link:"http://grafolio.net/"},{id:"post",name:"포스트",sname:"포스트",link:"http://post.naver.com/"},{id:"luncherapp",name:"도돌런처",sname:"도돌런처",link:"http://dodol.naver.com:10080/recommendtheme/get.camp"},{id:"band",name:"밴드",sname:"밴드",link:"http://band.us/"},{id:"line",name:"라인",sname:"라인",link:"http://line.naver.jp/ko/"}]};var gnbWholeSvc=[{name:"N스토어",query:["N스토어","엔스토어","앤스토어"],link:"http://nstore.naver.com/",clickCd:"gnbSR_nstore"},{name:"QR코드",query:["QR코드","큐알코드"],link:"http://qr.naver.com/",clickCd:"gnbSR_qr"},{name:"TV캐스트",query:["TV캐스트","tvcast","티비캐스트"],link:"http://tvcast.naver.com/",clickCd:"gnbSR_tvcast"},{name:"가계부",query:["가계부"],link:"http://moneybook.naver.com/",clickCd:"gnbSR_moneybook"},{name:"개발자센터",query:["개발자센터"],link:"http://developer.naver.com/",clickCd:"gnbSR_developer"},{name:"검색광고",query:["검색광고"],link:"http://searchad.naver.com",clickCd:"gnbSR_searchad"},{name:"검색등록",query:["검색등록"],link:"https://submit.naver.com/",clickCd:"gnbSR_searchsubmit"},{name:"게시중단 요청 서비스",query:["게시중단요청서비스"],link:"http://inoti.naver.com/inoti/claim.nhn?m=purpose",clickCd:"gnbSR_stoppost"},{name:"게임",query:["게임"],link:"http://game.naver.com/",clickCd:"gnbSR_game"},{name:"고객센터",query:["고객센터"],link:"https://help.naver.com",clickCd:"gnbSR_help"},{name:"국어사전",query:["국어사전"],link:"http://krdic.naver.com/",clickCd:"gnbSR_krdic"},{name:"그라폴리오",query:["그라폴리오","grafolio"],link:"http://www.grafolio.net/",clickCd:"gnbSR_grafolio"},{name:"그린인터넷",query:["그린인터넷"],link:"http://green.naver.com/",clickCd:"gnbSR_green"},{name:"글로벌회화",query:["글로벌회화"],link:"http://phrasebook.naver.com/",clickCd:"gnbSR_phrasebook"},{name:"나눔글꼴",query:["나눔글꼴"],link:"http://hangeul.naver.com/font",clickCd:"gnbSR_nanum"},{name:"날씨",query:["날씨"],link:"http://weather.naver.com/",clickCd:"gnbSR_weather"},{name:"내정보",query:["내정보"],link:"https://nid.naver.com/user2/help/myInfo.nhn?menu=home",clickCd:"gnbSR_myinfo"},{name:"네이버me",query:["네이버me","네이버미"],link:"http://me.naver.com",clickCd:"gnbSR_me"},{name:"네이버SE",query:["네이버SE"],link:"http://se.naver.com",clickCd:"gnbSR_se"},{name:"네이버랩",query:["네이버랩"],link:"http://lab.naver.com/",clickCd:"gnbSR_lab"},{name:"네이버쇼핑",query:["지식쇼핑","네이버쇼핑"],link:"http://shopping.naver.com/",clickCd:"gnbSR_shopping"},{name:"네이버쇼핑입점",query:["네이버쇼핑입점"],link:"http://join.shopping.naver.com/index.nhn",clickCd:"gnbSR_shopjoin"},{name:"네이버캐스트",query:["네이버캐스트"],link:"http://navercast.naver.com/",clickCd:"gnbSR_navercast"},{name:"네이버트렌드",query:["네이버트렌드","네이버트랜드"],link:"http://trend.naver.com",clickCd:"gnbSR_trend"},{name:"네이버페이",query:["네이버페이","네이버pay"],link:"http://order.pay.naver.com/home",clickCd:"gnbSR_pay"},{name:"네이버 Works",query:["네이버Works","네이버웍스"],link:"https://works.naver.com/",clickCd:"gnbSR_works"},{name:"네이버 캐쉬",query:["네이버캐쉬"],link:"https://bill.naver.com/pay/index.nhn",clickCd:"gnbSR_cash"},{name:"네이버클라우드",query:["N드라이브","엔드라이브","앤드라이브","네이버클라우드","클라우드"],link:"http://cloud.naver.com/index.nhn",clickCd:"gnbSR_ndrive"},{name:"뉴스",query:["뉴스"],link:"http://news.naver.com/",clickCd:"gnbSR_news"},{name:"뉴스라이브러리",query:["뉴스라이브러리"],link:"http://newslibrary.naver.com/search/searchByDate.nhn",clickCd:"gnbSR_newslibrary"},{name:"뉴스스탠드",query:["뉴스스탠드"],link:"http://newsstand.naver.com/",clickCd:"gnbSR_newsstand"},{name:"단어장",query:["단어장"],link:"http://wordbook.naver.com/",clickCd:"gnbSR_wordbook"},{name:"단축URL",query:["단축URL"],link:"http://me2.do/",clickCd:"gnbSR_url"},{name:"독일어사전",query:["독일어사전"],link:"http://dedic.naver.com/",clickCd:"gnbSR_dedic"},{name:"디스플레이광고",query:["디스플레이광고"],link:"http://displayad.naver.com/",clickCd:"gnbSR_displayad"},{name:"라틴어사전",query:["라틴어사전"],link:"http://ladic.naver.com",clickCd:"gnbSR_ladic"},{name:"러시아어사전",query:["러시아어사전"],link:"http://rudic.naver.com",clickCd:"gnbSR_rudic"},{name:"마일리지",query:["마일리지"],link:"http://mileage.naver.com/customer/home",clickCd:"gnbSR_mileage"},{name:"매거진캐스트",query:["매거진캐스트"],link:"http://navercast.naver.com/magazine_list.nhn",clickCd:"gnbSR_magazine"},{name:"메모",query:["메모"],link:"http://memo.naver.com/",clickCd:"gnbSR_memo"},{name:"메일",query:["메일"],link:"http://mail.naver.com/",clickCd:"gnbSR_mail"},{name:"모바일팜",query:["모바일팜"],link:"http://www.mobilefarms.com/",clickCd:"gnbSR_mobilefarms"},{name:"몽골어사전",query:["몽골어사전"],link:"http://mndic.naver.com/",clickCd:"gnbSR_mndic"},{name:"문자메시지",query:["문자메시지"],link:"http://webmsg.naver.com/message/webmsg_main.php",clickCd:"gnbSR_message"},{name:"뮤직",query:["뮤직"],link:"http://music.naver.com/",clickCd:"gnbSR_music"},{name:"미디어플레이어",query:["미디어플레이어"],link:"http://tools.naver.com/service/mediaplayer/index.nhn",clickCd:"gnbSR_mediaplayer"},{name:"백신",query:["백신"],link:"http://tools.naver.com/service/vaccine/index.nhn",clickCd:"gnbSR_vaccine"},{name:"번역기",query:["번역기"],link:"http://translate.naver.com/",clickCd:"gnbSR_translate"},{name:"베트남어사전",query:["베트남어사전"],link:"http://vndic.naver.com",clickCd:"gnbSR_vndic"},{name:"부동산",query:["부동산"],link:"http://land.naver.com/",clickCd:"gnbSR_land"},{name:"북마크",query:["북마크"],link:"http://bookmark.naver.com/",clickCd:"gnbSR_bookmark"},{name:"브랜드스토어",query:["브랜드스토어"],link:"http://nhnstore.naver.com/",clickCd:"gnbSR_brandstore"},{name:"블로그",query:["블로그"],link:"http://section.blog.naver.com/",clickCd:"gnbSR_blog"},{name:"비밀번호 찾기",query:["비밀번호찾기"],link:"https://nid.naver.com/user/help.nhn?todo=pwinquiry",clickCd:"gnbSR_findpw"},{name:"사전",query:["사전"],link:"http://dic.naver.com/",clickCd:"gnbSR_dic"},{name:"산지직송",query:["산지직송"],link:"http://checkout.naver.com/sanji/m/index.nhn",clickCd:"gnbSR_sanji"},{name:"소프트웨어(자료실)",query:["소프트웨어(자료실)"],link:"http://software.naver.com/",clickCd:"gnbSR_software"},{name:"스타일윈도우",query:["스타일윈도우"],link:"http://stylewindow.naver.com/home?f=nsearch",clickCd:"gnbSR_stylewindow"},{name:"스토리",query:["스토리"],link:"http://story.naver.com/naverbrand/main.nhn",clickCd:"gnbSR_story"},{name:"스토어팜",query:["스토어팜"],link:"http://sell.storefarm.naver.com/",clickCd:"gnbSR_storefarm"},{name:"스페인어사전",query:["스페인어사전"],link:"http://spdic.naver.com/",clickCd:"gnbSR_spdic"},{name:"스포츠",query:["스포츠","네이버스포츠"],link:"http://sports.news.naver.com/",clickCd:"gnbSR_sports"},{name:"스포츠/라디오",query:["스포츠/라디오"],link:"http://sports.news.naver.com/radio/index.nhn",clickCd:"gnbSR_sports_radio"},{name:"스포츠/프로야구",query:["스포츠/프로야구"],link:"http://sports.news.naver.com/sports/index.nhn?category=baseball",clickCd:"gnbSR_sports_baseball"},{name:"신고센터",query:["신고센터"],link:"https://help.naver.com/support/reportCenter/home.nhn",clickCd:"gnbSR_reportcenter"},{name:"아이디 찾기",query:["아이디찾기"],link:"https://nid.naver.com/user/help.nhn?todo=idinquiry",clickCd:"gnbSR_findid"},{name:"아이템팩토리",query:["아이템팩토리"],link:"http://item2.naver.com/",clickCd:"gnbSR_itemfactory"},{name:"알바니아어사전",query:["알바니아어사전"],link:"http://aldic.naver.com/",clickCd:"gnbSR_aldic"},{name:"애널리틱스",query:["애널리틱스","analytics"],link:"http://analytics.naver.com/",clickCd:"gnbSR_analytics"},{name:"연예",query:["연예"],link:"http://news.naver.com/main/main.nhn?mode=LSD&mid=shm&sid1=106",clickCd:"gnbSR_news_ent"},{name:"연예/스타캐스트",query:["연예/스타캐스트"],link:"http://news.naver.com/main/hotissue/sectionList.nhn?mid=hot&sid1=106&cid=941214",clickCd:"gnbSR_news_starcast"},{name:"열린연단",query:["열린연단"],link:"http://openlectures.naver.com/",clickCd:"gnbSR_openlectures"},{name:"영어/영영사전",query:["영어/영영사전"],link:"http://endic.naver.com/",clickCd:"gnbSR_endic"},{name:"영화",query:["영화"],link:"http://movie.naver.com/index.html",clickCd:"gnbSR_movie"},{name:"오늘의신문",query:["오늘의신문"],link:"http://newspaper.naver.com",clickCd:"gnbSR_newspaper"},{name:"오픈캐스트",query:["오픈캐스트"],link:"http://opencast.naver.com/",clickCd:"gnbSR_opencast"},{name:"오피스",query:["오피스"],link:"http://office.naver.com/",clickCd:"gnbSR_office"},{name:"우즈베크어사전",query:["우즈베크어사전"],link:"http://uzdic.naver.com/",clickCd:"gnbSR_uzdic"},{name:"우크라이나어사전",query:["우크라이나어사전"],link:"http://uadic.naver.com/",clickCd:"gnbSR_uadic"},{name:"웹마스터도구",query:["웹마스터"],link:"http://webmastertool.naver.com/",clickCd:"gnbSR_webmastertool"},{name:"웹소설",query:["웹소설"],link:"http://novel.naver.com",clickCd:"gnbSR_webnovel"},{name:"웹툰/만화",query:["웹툰/만화"],link:"http://comic.naver.com/index.nhn",clickCd:"gnbSR_comic"},{name:"위시카드",query:["위시카드"],link:"http://m.shopping.naver.com/wishcard/index.nhn",clickCd:"gnbSR_wishcard"},{name:"인도네시아어사전",query:["인도네시아어사전"],link:"http://iddic.naver.com/",clickCd:"gnbSR_iddic"},{name:"인물검색",query:["인물검색"],link:"http://people.search.naver.com/",clickCd:"gnbSR_peoplesearch"},{name:"일본어사전",query:["일본어사전"],link:"http://jpdic.naver.com/",clickCd:"gnbSR_jpdic"},{name:"자동차",query:["자동차"],link:"http://auto.naver.com/",clickCd:"gnbSR_auto"},{name:"작은창사전",query:["작은창사전"],link:"http://endic.naver.com/popManager.nhn?m=miniPopMain",clickCd:"gnbSR_minidic"},{name:"저작권 보호센터",query:["저작권보호센터"],link:"https://cpc.naver.com/cpc/index.nhn",clickCd:"gnbSR_copyright"},{name:"전문정보(학술)",query:["전문정보(학술)"],link:"http://academic.naver.com/",clickCd:"gnbSR_academic"},{name:"조지아어사전",query:["조지아어사전"],link:"http://gedic.naver.com/",clickCd:"gnbSR_gedic"},{name:"주소록",query:["주소록"],link:"http://contact.naver.com/",clickCd:"gnbSR_contact"},{name:"중국어사전",query:["중국어사전"],link:"http://cndic.naver.com/",clickCd:"gnbSR_cndic"},{name:"쥬니어네이버/헬로잉글리쉬",query:["쥬니버/헬로잉글리쉬","쥬니어네이버/헬로잉글리쉬"],link:"http://study.jr.naver.com/english/",clickCd:"gnbSR_jr_english"},{name:"쥬니어네이버",query:["쥬니버","쥬니어네이버"],link:"http://jr.naver.com/",clickCd:"gnbSR_jr"},{name:"쥬니어네이버/TV만화",query:["쥬니버/TV만화","쥬니어네이버/TV만화","쥬니버/티비만화","쥬니어네이버/티비만화"],link:"http://fun.jr.naver.com/tv/",clickCd:"gnbSR_jr_tvcomic"},{name:"쥬니어네이버/게임랜드",query:["쥬니버/게임랜드","쥬니어네이버/게임랜드"],link:"http://game.jr.naver.com/game/",clickCd:"gnbSR_jr_game"},{name:"쥬니어네이버/공룡나라",query:["쥬니버/공룡나라","쥬니어네이버/공룡나라"],link:"http://study.jr.naver.com/dinosaurs/",clickCd:"gnbSR_jr_dinosaurs"},{name:"쥬니어네이버/동요세상",query:["쥬니버/동요세상","쥬니어네이버/동요세상"],link:"http://study.jr.naver.com/dongyo/",clickCd:"gnbSR_jr_dongyo"},{name:"쥬니어네이버/동화여행",query:["쥬니버/동화여행","쥬니어네이버/동화여행"],link:"http://study.jr.naver.com/donghwa/",clickCd:"gnbSR_jr_donghwa"},{name:"쥬니어네이버/디즈니",query:["쥬니버/디즈니","쥬니어네이버/디즈니"],link:"http://fun.jr.naver.com/disney",clickCd:"gnbSR_jr_disney"},{name:"쥬니어네이버/레고",query:["쥬니버/레고","쥬니어네이버/레고"],link:"http://fun.jr.naver.com/lego/",clickCd:"gnbSR_jr_lego"},{name:"쥬니어네이버/로보카폴리",query:["쥬니버/로보카폴리","쥬니어네이버/로보카폴리"],link:"http://fun.jr.naver.com/poli/",clickCd:"gnbSR_jr_poli"},{name:"쥬니어네이버/만화책",query:["쥬니버/만화책","쥬니어네이버/만화책"],link:"http://fun.jr.naver.com/comic/",clickCd:"gnbSR_jr_comicbook"},{name:"쥬니어네이버/뽀로로 놀이교실",query:["쥬니버/뽀로로놀이교실","쥬니어네이버/뽀로로놀이교실"],link:"http://pororo.jr.naver.com/",clickCd:"gnbSR_jr_pororo"},{name:"쥬니어네이버/사파리",query:["쥬니버/사파리","쥬니어네이버/사파리"],link:"http://study.jr.naver.com/safari/",clickCd:"gnbSR_jr_safari"},{name:"쥬니어네이버/성폭력 예방",query:["쥬니버/성폭력예방","쥬니어네이버/성폭력예방"],link:"http://study.jr.naver.com/forchild/",clickCd:"gnbSR_jr_forchild"},{name:"쥬니어네이버/세서미 스트리트",query:["쥬니버/세서미스트리트","쥬니어네이버/세서미스트리트"],link:"http://study.jr.naver.com/sesame/",clickCd:"gnbSR_jr_sesame"},{name:"쥬니어네이버/스케치북",query:["쥬니버/스케치북","쥬니어네이버/스케치북"],link:"http://fun.jr.naver.com/sketchbook/",clickCd:"gnbSR_jr_sketchbook"},{name:"쥬니어네이버/스티커샵",query:["쥬니버/스티커샵","쥬니어네이버/스티커샵"],link:"http://fun.jr.naver.com/shop/",clickCd:"gnbSR_jr_stickershop"},{name:"쥬니어네이버/아바타랜드",query:["쥬니버/아바타랜드","쥬니어네이버/아바타랜드"],link:"http://avatar.jr.naver.com/",clickCd:"gnbSR_jr_avatar"},{name:"쥬니어네이버/어린이 실종예방",query:["쥬니버/어린이실종예방","쥬니어네이버/어린이실종예방"],link:"http://study.jr.naver.com/mia/",clickCd:"gnbSR_jr_missing"},{name:"쥬니어네이버/엔크의 에너지 대모험",query:["쥬니버/엔크의에너지대모험","쥬니어네이버/엔크의에너지대모험"],link:"http://fun.jr.naver.com/enc/index.nhn",clickCd:"gnbSR_jr_enc"},{name:"쥬니어네이버/우리들솜씨",query:["쥬니버/우리들솜씨","쥬니어네이버/우리들솜씨"],link:"http://fun.jr.naver.com/artist/",clickCd:"gnbSR_jr_artist"},{name:"쥬니어네이버/유아세상",query:["쥬니버/유아세상","쥬니어네이버/유아세상"],link:"http://study.jr.naver.com/babystudy/",clickCd:"gnbSR_jr_baby"},{name:"쥬니어네이버/코코몽",query:["쥬니버/코코몽","쥬니어네이버/코코몽"],link:"http://fun.jr.naver.com/cocomong/",clickCd:"gnbSR_jr_cocomong"},{name:"쥬니어네이버/트리플래닛",query:["쥬니버/트리플래닛","쥬니어네이버/트리플래닛"],link:"http://game.jr.naver.com/treeplanet/",clickCd:"gnbSR_jr_treeplanet"},{name:"증권/금융",query:["증권/금융"],link:"http://finance.naver.com/",clickCd:"gnbSR_finance"},{name:"지도",query:["지도"],link:"http://map.naver.com/",clickCd:"gnbSR_map"},{name:"지도/교통상황",query:["지도/교통상황"],link:"http://map.naver.com/?menu=location&dlevel=9&traffic=on&cctv=on",clickCd:"gnbSR_map_traffic"},{name:"지도/길찾기",query:["지도/길찾기"],link:"http://map.naver.com/?menu=route",clickCd:"gnbSR_map_route"},{name:"지도/실시간버스",query:["지도/실시간버스"],link:"http://map.naver.com/?menu=bus&perimeter=0&type=BUS_ROUTE",clickCd:"gnbSR_map_bus"},{name:"지도/지하철",query:["지도/지하철"],link:"http://map.naver.com/?menu=subway",clickCd:"gnbSR_map_subway"},{name:"지도/테마지도",query:["지도/테마지도"],link:"http://map.naver.com/?menu=openmap&openmap=1",clickCd:"gnbSR_map_theme"},{name:"지식iN",query:["지식iN","지식인"],link:"http://kin.naver.com/",clickCd:"gnbSR_kin"},{name:"지식백과",query:["지식백과"],link:"http://terms.naver.com/",clickCd:"gnbSR_terms"},{name:"지역정보샵",query:["지역정보샵"],link:"http://localshop.naver.com",clickCd:"gnbSR_localshop"},{name:"쪽지",query:["쪽지"],link:"http://mail.naver.com/note/",clickCd:"gnbSR_note"},{name:"책",query:["책"],link:"http://book.naver.com/",clickCd:"gnbSR_book"},{name:"카페",query:["카페"],link:"http://section.cafe.naver.com/",clickCd:"gnbSR_cafe"},{name:"카페지원센터",query:["카페지원센터"],link:"http://cafe.naver.com/cafesupport/",clickCd:"gnbSR_cafesupport"},{name:"캄보디아어사전",query:["캄보디아어사전"],link:"http://khdic.naver.com/",clickCd:"gnbSR_khdic"},{name:"캘린더",query:["캘린더"],link:"http://calendar.naver.com/",clickCd:"gnbSR_calendar"},{name:"캡쳐",query:["캡쳐"],link:"http://tools.naver.com/service/capture",clickCd:"gnbSR_capture"},{name:"크로스미디어",query:["크로스미디어"],link:"http://crossmedia.naver.com",clickCd:"gnbSR_crossmedia"},{name:"클리너",query:["클리너"],link:"http://tools.naver.com/service/cleaner/index.nhn",clickCd:"gnbSR_cleaner"},{name:"터키어사전",query:["터키어사전"],link:"http://trdic.naver.com/",clickCd:"gnbSR_trdic"},{name:"투데이픽",query:["투데이픽"],link:"http://ntodaypick.naver.com/todaypick/m/index.nhn",clickCd:"gnbSR_todaypick"},{name:"툴바/툴즈",query:["툴바/툴즈"],link:"http://tools.naver.com",clickCd:"gnbSR_tools"},{name:"파트너센터",query:["파트너센터"],link:"https://www.navercorp.com/ko/company/partnersLine.nhn",clickCd:"gnbSR_partner"},{name:"포르투갈어사전",query:["포르투갈어사전"],link:"http://ptdic.naver.com",clickCd:"gnbSR_ptdic"},{name:"포스트",query:["포스트","POST"],link:"http://post.naver.com/main.nhn",clickCd:"gnbSR_post"},{name:"포스트 에디터",query:["포스트에디터","posteditor","post에디터"],link:"http://editor.post.naver.com/",clickCd:"gnbSR_posteditor"},{name:"포토갤러리",query:["포토갤러리"],link:"http://new.photo.naver.com/",clickCd:"gnbSR_photo"},{name:"포토뷰어",query:["포토뷰어"],link:"http://tools.naver.com/service/photoviewer",clickCd:"gnbSR_photoviewer"},{name:"포토인화",query:["포토인화"],link:"http://photoprint.naver.com/",clickCd:"gnbSR_photoprint"},{name:"프라이버시센터",query:["프라이버시센터"],link:"http://privacy.naver.com",clickCd:"gnbSR_privacy"},{name:"프랑스어사전",query:["프랑스어사전"],link:"http://frdic.naver.com/",clickCd:"gnbSR_frdic"},{name:"한영번역기",query:["한영번역기"],link:"http://translate.naver.com/#/ko/en",clickCd:"gnbSR_translate_en"},{name:"한일번역기",query:["한일번역기"],link:"http://translate.naver.com/#/ko/ja",clickCd:"gnbSR_translate_jp"},{name:"한자사전",query:["한자사전"],link:"http://hanja.naver.com/",clickCd:"gnbSR_hanjadic"},{name:"항공권",query:["항공권"],link:"http://flights.search.naver.com/",clickCd:"gnbSR_flights"},{name:"해피빈",query:["해피빈"],link:"http://happybean.naver.com/",clickCd:"gnbSR_happybean"},{name:"회원가입",query:["회원가입"],link:"https://nid.naver.com/user2/join.nhn?m=init&lang=ko_KR",clickCd:"gnbSR_join"}];var gnbSvcsArr=gnbSvcs.svc_lst1.concat(gnbSvcs.svc_lst2).concat(gnbSvcs.svc_lst3);function gnbSvcFromId(B){for(var A=0;A');var B=function(E,G,D){D.push("");};B("gnb_first",gnbSvcs.svc_lst1.slice(0,13),A);B("",gnbSvcs.svc_lst1.slice(13,26),A);B("",gnbSvcs.svc_lst1.slice(26,gnbSvcs.svc_lst1.length),A);A.push("