(function(){ var menuKey = '1Umay_2016070120391020160701165330.3020160701012830.520160602220725.80'; var menuUrl = '/_c21_/bbs_menu_ajax?grpid=1Umay&bmt=_2016070120391020160701165330.3020160701012830.520160602220725.80&ajax=true'; var leftmenu = daum.$("leftmenu"); if(leftmenu){ var menuContent = null; if (typeof window.sessionStorage !== 'undefined' ) { try { menuContent = sessionStorage.getItem(menuKey + "v1") != null ? unescape(sessionStorage.getItem(menuKey + "v1")) : null; } catch (e) { // ignore not supported browser } } if (menuContent != null) { leftmenu.innerHTML = menuContent; if(daum.Browser.webkit){ daum.Element.removeClassName("menuList", "noscript"); } menu_select(); setTimeout(function(){daum.cafe.menu.MenuGroupManager.applyMenuGroup();}, 100); } else { if(daum.Browser.ie6){ menuUrl += "&ie6="+ (new Date()); } var cafeMenuAjax = new daum.ajax({url : menuUrl, method: "GET", onsuccess: function(response){ leftmenu.innerHTML = response.responseText; if(daum.Browser.webkit){ daum.Element.removeClassName("menuList", "noscript"); } if (typeof window.sessionStorage !== 'undefined') { try { sessionStorage.setItem(menuKey + "v1", escape(response.responseText)); } catch (e) { // private browsing mode } } menu_select(); daum.cafe.menu.MenuGroupManager.applyMenuGroup(); }, onfailure: function(response){ var extraString = ""; try{ // bingbot 으로 접근했을 때, errorpv 를 보내지 않도록 한다. if (daum.ua.indexOf("bingbot") > -1) { return; } if (response.status == 406) { return; } extraString += response.status + ";" + response.statusText + ";" + response.getAllResponseHeaders(); }catch(e){ } // new daum.ajax({url: "http://magpie.daum.net/magpie/opencounter/Open.do?service=cafe&key=CAFE_AJAX_MENU&extra=" + encodeURIComponent(extraString)}).request(); // 메시지 처리?? } }); cafeMenuAjax.request(); } } })(); function menu_select(){ var parUrl = document.location.href; var re1 = new RegExp( "hotissue_" ); var re_recent = new RegExp( "recent_bbs_" ); var re_favor = new RegExp( "favor_bbs_" ); var re_image = new RegExp( "image_bbs_" ); var re_movie = new RegExp( "movie_bbs_" ); var re_poll = new RegExp( "poll_list" ); var obj, fldid, sum; if ( null != re1.exec( parUrl ) ) { obj = document.getElementById( "link_hotissue" ); if ( null != obj ) obj.className = 'u'; } else if ( null != re_recent.exec(parUrl)) { obj = document.getElementById( "fldlink_recent_bbs" ); if (null != obj ){ obj.className = "u b"; } } else if ( null != re_favor.exec(parUrl)) { obj = document.getElementById( "fldlink_favor_bbs" ); if (null != obj ){ obj.className = "u b"; } } else if ( null != re_image.exec(parUrl)) { obj = document.getElementById( "fldlink_image_bbs" ); if (null != obj ){ obj.className = "u b"; } } else if ( null != re_movie.exec(parUrl)) { obj = document.getElementById( "fldlink_movie_bbs" ); if (null != obj ){ obj.className = "u b"; } } else if ( null != re_poll.exec(parUrl)) { obj = document.getElementById( "fldlink_poll_bbs" ); if (null != obj ){ obj.className = "u b"; } } else { var re2 = new RegExp( "&fldid=([_0-9a-zA-Z]+)" ); var match2 = re2.exec( parUrl ); if ( null != match2 && 2 == match2.length ) { fldid = match2[1]; sum = 0; for ( i = 0; i < fldid.length; i++ ) { sum += fldid.charCodeAt(i); } obj = document.getElementById("fldlink_" + fldid + "_" + sum); if ( null != obj ) { obj.className = 'u b'; } } } }
자주가는카페 추가 //
//
♣* 열어보지 않은 선물* ♣
우리가 맞이하는 하루하루는 열어 보지 않은 선물입니다. 아무도 알지 못하는 사랑의 선물입니다 우리는 날마다 하나하나