/**
* DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML .
* Author: Drew Diller
* Email: drew.diller@gmail.com
* URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
* Version: 0.0.8a
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
*
* Example usage:
* DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
* DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
**/
/*
PLEASE READ:
Absolutely everything in this script is SILLY. I know this. IE's rendering of certain pixels doesn't make sense, so neither does this code!
*/
/**
* jquery.belatedPNG: Adds IE6/7/8 support: PNG images for CSS background-image and HTML
.
* Author: Kazunori Ninomiya
* Email: Kazunori.Ninomiya@gmail.com
* Version: 0.0.4
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
*
* Example usage:
* $('.png_bg').fixPng();
**/
(function($){var doc=document;var DD_belatedPNG={ns:'DD_belatedPNG',imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(doc.namespaces&&!doc.namespaces[this.ns]){doc.namespaces.add(this.ns,'urn:schemas-microsoft-com:vml')}},createVmlStyleSheet:function(){var screenStyleSheet,printStyleSheet;screenStyleSheet=doc.createElement('style');screenStyleSheet.setAttribute('media','screen');doc.documentElement.firstChild.insertBefore(screenStyleSheet,doc.documentElement.firstChild.firstChild);if(screenStyleSheet.styleSheet){var selector=!doc.documentMode||doc.documentMode<8?this.ns+'\\:*':this.ns+'\\:shape, '+this.ns+'\\:fill';screenStyleSheet=screenStyleSheet.styleSheet;screenStyleSheet.addRule(selector,'behavior:url(#default#VML);');screenStyleSheet.addRule(this.ns+'\\:shape','position:absolute;');screenStyleSheet.addRule('img.'+this.ns+'_sizeFinder',['behavior:none','border:none','position:absolute','z-index:-1','top:-10000px','visibility:hidden'].join(';'));this.screenStyleSheet=screenStyleSheet;printStyleSheet=doc.createElement('style');printStyleSheet.setAttribute('media','print');doc.documentElement.firstChild.insertBefore(printStyleSheet,doc.documentElement.firstChild.firstChild);printStyleSheet=printStyleSheet.styleSheet;printStyleSheet.addRule(selector,'display: none !important;');printStyleSheet.addRule('img.'+this.ns+'_sizeFinder','display: none !important;')}},readPropertyChange:function(){var el,display,v;el=event.srcElement;if(!el.vmlInitiated){return}var propName=event.propertyName;if(propName.search('background')!=-1||propName.search('border')!=-1){DD_belatedPNG.applyVML(el)}if(propName=='style.display'){display=(el.currentStyle.display=='none')?'none':'block';for(v in el.vml){if(el.vml.hasOwnProperty(v)){el.vml[v].shape.style.display=display}}}if(propName.search('filter')!=-1){DD_belatedPNG.vmlOpacity(el)}},vmlOpacity:function(el){if(el.currentStyle.filter.search('lpha')!=-1){var trans=el.currentStyle.filter;trans=parseInt(trans.substring(trans.lastIndexOf('=')+1,trans.lastIndexOf(')')),10)/100;el.vml.color.shape.style.filter=el.currentStyle.filter;el.vml.image.fill.opacity=trans}},handlePseudoHover:function(el){setTimeout(function(){DD_belatedPNG.applyVML(el)},1)},applyVML:function(el){el.runtimeStyle.cssText='';this.vmlFill(el);this.vmlOffsets(el);this.vmlOpacity(el);if(el.isImg){this.copyImageBorders(el)}},attachHandlers:function(el){var self,handlers,handler,moreForAs,a,h;self=this;handlers={resize:'vmlOffsets',move:'vmlOffsets'};if(el.nodeName=='A'){moreForAs={mouseleave:'handlePseudoHover',mouseenter:'handlePseudoHover',focus:'handlePseudoHover',blur:'handlePseudoHover'};for(a in moreForAs){if(moreForAs.hasOwnProperty(a)){handlers[a]=moreForAs[a]}}}for(h in handlers){if(handlers.hasOwnProperty(h)){handler=function(){self[handlers[h]](el)};el.attachEvent('on'+h,handler)}}el.attachEvent('onpropertychange',this.readPropertyChange)},giveLayout:function(el){el.style.zoom=1;if(el.currentStyle.position=='static'){el.style.position='relative'}},copyImageBorders:function(el){var styles,s;styles={'borderStyle':true,'borderWidth':true,'borderColor':true};for(s in styles){if(styles.hasOwnProperty(s)){el.vml.color.shape.style[s]=el.currentStyle[s]}}},vmlFill:function(el){if(!el.currentStyle){return}else{var elStyle,noImg,lib,v,img,imgLoaded;elStyle=el.currentStyle}for(v in el.vml){if(el.vml.hasOwnProperty(v)){el.vml[v].shape.style.zIndex=elStyle.zIndex}}el.runtimeStyle.backgroundColor='';el.runtimeStyle.backgroundImage='';noImg=true;if(elStyle.backgroundImage!='none'||el.isImg){if(!el.isImg){el.vmlBg=elStyle.backgroundImage;el.vmlBg=el.vmlBg.substr(5,el.vmlBg.lastIndexOf('")')-5)}else{el.vmlBg=el.src}lib=this;if(!lib.imgSize[el.vmlBg]){img=doc.createElement('img');lib.imgSize[el.vmlBg]=img;img.className=lib.ns+'_sizeFinder';img.runtimeStyle.cssText=['behavior:none','position:absolute','left:-10000px','top:-10000px','border:none','margin:0','padding:0'].join(';');imgLoaded=function(){this.width=this.offsetWidth;this.height=this.offsetHeight;lib.vmlOffsets(el)};img.attachEvent('onload',imgLoaded);img.src=el.vmlBg;img.removeAttribute('width');img.removeAttribute('height');doc.body.insertBefore(img,doc.body.firstChild)}el.vml.image.fill.src=el.vmlBg;noImg=false}el.vml.image.fill.on=!noImg;el.vml.image.fill.color='none';el.vml.color.shape.style.backgroundColor=elStyle.backgroundColor;el.runtimeStyle.backgroundImage='none';el.runtimeStyle.backgroundColor='transparent'},vmlOffsets:function(el){var thisStyle,size,fudge,makeVisible,bg,bgR,dC,altC,b,c,v;thisStyle=el.currentStyle;size={'W':el.clientWidth+1,'H':el.clientHeight+1,'w':this.imgSize[el.vmlBg].width,'h':this.imgSize[el.vmlBg].height,'L':el.offsetLeft,'T':el.offsetTop,'bLW':el.clientLeft,'bTW':el.clientTop};fudge=(size.L+size.bLW==1)?1:0;makeVisible=function(vml,l,t,w,h,o){vml.coordsize=w+','+h;vml.coordorigin=o+','+o;vml.path='m0,0l'+w+',0l'+w+','+h+'l0,'+h+' xe';vml.style.width=w+'px';vml.style.height=h+'px';vml.style.left=l+'px';vml.style.top=t+'px'};makeVisible(el.vml.color.shape,(size.L+(el.isImg?0:size.bLW)),(size.T+(el.isImg?0:size.bTW)),(size.W-1),(size.H-1),0);makeVisible(el.vml.image.shape,(size.L+size.bLW),(size.T+size.bTW),(size.W),(size.H),1);bg={'X':0,'Y':0};if(el.isImg){bg.X=parseInt(thisStyle.paddingLeft,10)+1;bg.Y=parseInt(thisStyle.paddingTop,10)+1}else{for(b in bg){if(bg.hasOwnProperty(b)){this.figurePercentage(bg,size,b,thisStyle['backgroundPosition'+b])}}}el.vml.image.fill.position=(bg.X/size.W)+','+(bg.Y/size.H);bgR=thisStyle.backgroundRepeat;dC={'T':1,'R':size.W+fudge,'B':size.H,'L':1+fudge};altC={'X':{'b1':'L','b2':'R','d':'W'},'Y':{'b1':'T','b2':'B','d':'H'}};if(bgR!='repeat'){c={'T':(bg.Y),'R':(bg.X+size.w),'B':(bg.Y+size.h),'L':(bg.X)};if(bgR.search('repeat-')!=-1){v=bgR.split('repeat-')[1].toUpperCase();c[altC[v].b1]=1;c[altC[v].b2]=size[altC[v].d]}if(c.B>size.H){c.B=size.H}el.vml.image.shape.style.clip='rect('+c.T+'px '+(c.R+fudge)+'px '+c.B+'px '+(c.L+fudge)+'px)'}else{el.vml.image.shape.style.clip='rect('+dC.T+'px '+dC.R+'px '+dC.B+'px '+dC.L+'px)'}},figurePercentage:function(bg,size,axis,position){var horizontal,fraction;fraction=true;horizontal=(axis=='X');switch(position){case'left':case'top':bg[axis]=0;break;case'center':bg[axis]=0.5;break;case'right':case'bottom':bg[axis]=1;break;default:position.search('%')!=-1?bg[axis]=parseInt(position,10)/100:fraction=false}bg[axis]=Math.ceil(fraction?((size[horizontal?'W':'H']*bg[axis])-(size[horizontal?'w':'h']*bg[axis])):parseInt(position,10));if(bg[axis]%2===0){bg[axis]++}return bg[axis]},fixPng:function(el){var lib,els,nodeStr,v,e;if(el.nodeName=='BODY'||el.nodeName=='TD'||el.nodeName=='TR'){return}el.isImg=false;if(el.nodeName=='IMG'){if(el.src.toLowerCase().search(/\.png$/)!=-1){el.isImg=true;el.style.visibility='hidden'}else{return}}else if(el.currentStyle.backgroundImage.toLowerCase().search('.png')==-1){return}lib=DD_belatedPNG;el.vml={color:{},image:{}};els={shape:{},fill:{}};for(v in el.vml){if(el.vml.hasOwnProperty(v)){for(e in els){if(els.hasOwnProperty(e)){nodeStr=lib.ns+':'+e;el.vml[v][e]=doc.createElement(nodeStr)}}el.vml[v].shape.stroked=false;if(el.nodeName=='IMG'){var width=el.width/96*72;var height=el.height/96*72;el.vml[v].fill.type='tile';el.vml[v].fill.size=width+'pt,'+height+'pt'}else if(el.currentStyle){var elStyle=el.currentStyle;if(elStyle.backgroundImage!='none'){var vmlBg=elStyle.backgroundImage;var img=doc.createElement("img");img.src=vmlBg.substr(5,vmlBg.lastIndexOf('")')-5);var run=img.runtimeStyle;var mem={w:run.width,h:run.height};run.width='auto';run.height='auto';w=img.width;h=img.height;run.width=mem.w;run.height=mem.h;var width=w/96*72;var height=h/96*72;el.vml[v].fill.type='tile';el.vml[v].fill.aspect='atleast';el.vml[v].fill.size=width+'pt,'+height+'pt'}}el.vml[v].shape.appendChild(el.vml[v].fill);el.parentNode.insertBefore(el.vml[v].shape,el)}}el.vml.image.shape.fillcolor='none';el.vml.color.fill.on=false;lib.attachHandlers(el);lib.giveLayout(el);lib.giveLayout(el.offsetParent);el.vmlInitiated=true;lib.applyVML(el)}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet();$.extend($.fn,{fixPng:function(){if([,]!=0){$.each(this,function(){DD_belatedPNG.fixPng(this)})}return this}})})(jQuery);
//
// nkds.my.base.js
//
// システム名 : 日経電子新聞 配信システム
// 機能名 : 画面処理 my日経処理
//
// Copyright (C) 2013-2014 Nikkei
// $Rev: 69311 $
//
_nk.my=_nk.my||{},_nk.my.followid=_nk.my.followid||{},_nk.my.followidCompany=_nk.my.followidCompany||{},_nk.my.followidIndustry=_nk.my.followidIndustry||{},_nk.my.followidJw=_nk.my.followidJw||{},_nk.my.followidMail=_nk.my.followidMail||{},_nk.my.groupFollowInfo=_nk.my.groupFollowInfo||{},_nk.my.groupFollowCompanyInfo=_nk.my.groupFollowCompanyInfo||{},_nk.my.groupFollowIndustryInfo=_nk.my.groupFollowIndustryInfo||{},_nk.my.html=_nk.my.html||{},_nk.my.token=!0,_nk.my.html.follow=' ',_nk.my.html.jw=' ',_nk.my.html.followbtn='',_nk.my.html.groupbtn='個人でフォローする'+"グループでフォローする",_nk.my.html.grouponlybtn=''+"個人でフォローするグループでフォローする",_nk.my.html.followbtncompany='',_nk.my.html.mail='\r\n
'+o+"
");function C(){c.one("nk_eventMyBalloonClose",function(){S.fadeOut(0,function(){w.children(".m-action__button").attr("data-click-status",""),S.remove(),$("html, body, div.cmn-floatWindow").unbind("click",g)})})}if(w.children(".m-balloon.m-balloon--lg").after(S.append(e.append(a.append(k)))),w.children(".m-action__button").attr("data-click-status","clicked"),S.data("myOpenTime",+new Date),S.data("data-animate",1),!n)return t=function(o){S.data("data-animate",0),y=setTimeout(function(){C(),y=setTimeout(function(){c.trigger("nk_eventMyBalloonClose"),w.data("JSID_balloonActive","")},4e3)},600)},I=400,l?(S.hide(),c.one("nk_eventMyWindowCloseEnd",function(){S.show(),t()}),I=800):t(),function(o,n,l,t,e,a){var c,i,s,r,_,m,d,f,u,p;y&&clearTimeout(y),c=w,s=k,r=o,_=n,m=C,d=l,f=t,u=e,o=I,p=a,n=(i=S).data("myOpenTime"),o=(o=o-(+new Date-n))<0?0:o,setTimeout(function(){var o=function(){c.data("JSID_balloonActive",""),d?(m(),v.window(d,{JSID_myLocalHtmlWindow:!0})):(s.html(r),_&&_(),$("html, body, div.cmn-floatWindow, div.m-drawerMenuMain").one("click",g),m()),f&&v.reflectFollow(f,p)(),u&&v.reflectUnfollow(u,p)()},n=function(){1!=i.data("data-animate")?o():setTimeout(n,20)};n()},o)};S.data("data-animate",0),C(),$("html, body, div.cmn-floatWindow, div.m-drawerMenuMain").one("click",g)},v.balloonMailSignup=function(o){$("body").find("button.m-action__button").each(function(o,n){$(n).attr("data-click-status","")}),$(o).attr("data-click-status","clicked")},v.balloonMailSignupClose=function(){$("body.#JSID_mailSettingBody").click(function(o){$(o.target).hasClass("m-action__button")||$(o.target).parent().hasClass("m-action__button")||$("body").find("button.m-action__button").each(function(o,n){$(n).attr("data-click-status","")})})},o.setClickEvents.set("JSID_actMyBalloon",function(o,n,l){0==l.cancelBubble&&(l.cancelBubble=!0),l.stopPropagation&&l.stopPropagation();l="#JSID_htmlBalloon";o&&o.JSID_dataMyBalloonId&&(l=o.JSID_dataMyBalloonId),v.balloon($(this),$(l).html(),!0)})},_nk.my.setScrapMemo=function(o,n,l){var o=$(o),t=o.parent(),e=$(n),a=$(l),c=t.parent().find(".cmn-button-submit");o.bind("keyup keydown blur change paste cut input propertychange",function(o,n){var l=$(this);setTimeout(function(){var o=l.val().length;100<(o=1==l.data("nk_dataHintShow")?0:o)?(a.html("これ以上入力できません"),t.addClass("cmnc-error"),c.data("JSID_myMemoCheckDisable",1),c.addClass("cmn-button-disable")):(a.html("※メモは100文字まで入力できます"),t.removeClass("cmnc-error"),c.data("JSID_myMemoCheckDisable",0),1!=c.data("JSID_myLabelCheckDisable")&&c.removeClass("cmn-button-disable")),e.html(o)},10)})},_nk.my.setScrap=function(){var o=_nksys,t=_nk.my,e=$(window),a=null;function c(o,n){var l,t=o.find(".cmnc-addList");n?(1!=(l=o.find(".cmnc-addLabel")).data("JSID_myFormCheck")&&(l.data("JSID_myFormCheck","1"),n=o.find(".cmn-button-submit"),_nk.my.labelManageCheck(l,n,function(){return!t.hasClass("cmnc-addList-active")},function(){l.data("JSID_myFormCheck","0")})),t.addClass("cmnc-addList-active"),o.find("input.cmnc-addLabel").val("").focus()):(t.removeClass("cmnc-addList-active"),o.find("input.cmnc-addLabel").val(""),e.trigger("nk_eventMyCheckLabelClose"))}function i(o,n,l){o.find(".JSID_myProcType").val(n),o.find(".JSID_myLabelId").val(l)}o.setClickEvents.set("JSID_actMyScrap",function(o){var n,l=$(this);(o=o||{}).JSID_isBalloonTargetObj=!1,o.JSID_actBalloonTarget?(n=$("#"+o.JSID_actBalloonTarget),o.JSID_isBalloonTargetObj=!0):n=l,o.JSID_actBalloonTopBottom?a=l:a&&(n=a,o.JSID_isBalloonTargetObj=!1),_nk.my.hashObj&&e.one("nk_eventMyWindowCloseEnd",function(){a=null}),o.JSID_actBalloonTargetObj=n,o.JSID_myBalloonMsg="保存中…",t.formSubmit(l,o,function(){l.hasClass("cmn-button-articleClip")&&l.removeClass("cmn-button-articleClip").addClass("cmn-button-articleCliped")})}),o.setClickEvents.set("JSID_actMyScrap_tmp",function(o){var n,l=$(this);(o=o||{}).JSID_isBalloonTargetObj=!1,"window"==o.JSID_targetType?n=t.kobetsutarget=l:"list"==o.JSID_targetType?n=t.ichirantarget=l:!t.hashObj||"window"==t.getHashObj().type?n=null===t.kobetsutarget?a:t.kobetsutarget:null===t.ichirantarget?(n=$("#"+o.JSID_actBalloonTarget),o.JSID_isBalloonTargetObj=!0):n=t.ichirantarget,o.JSID_actBalloonTargetObj=n,o.JSID_myBalloonMsg="保存中…",t.formSubmit(l,o,function(){l.hasClass("cmn-button-articleClip")&&l.removeClass("cmn-button-articleClip").addClass("cmn-button-articleCliped")})}),o.setClickEvents.set("JSID_actMyScrapDelete",function(o){var n=$(this);n.hasClass("cmn-button-articleDelete")?(t.setProcType(n,t.proctype.scrapdelete),t.formSubmit(n,o,function(){var o=n.closest("div.my-article");o.find("div.myc-scrapLabel").hide(),o.addClass("my-article-delete"),n.removeClass("cmn-button-articleDelete").addClass("cmn-button-articleDeleted").attr("title","この記事の削除を取り消す"),n.find("span.cmn-icon2").removeClass("cmn-icon2 cmn-icon2-trash16 cmn-icon2-alone").addClass("cmnc-label").text("取消")})):n.hasClass("cmn-button-articleDeleted")&&(t.setProcType(n,t.proctype.scrapback),t.formSubmit(n,o,function(){var o=n.closest("div.my-article");o.find("div.myc-scrapLabel").show(),o.removeClass("my-article-delete"),n.removeClass("cmn-button-articleDeleted").addClass("cmn-button-articleDelete").attr("title","この記事を削除する"),n.find("span.cmnc-label").removeClass("cmnc-label").addClass("cmn-icon2 cmn-icon2-trash16 cmn-icon2-alone").text("")}))}),o.setClickEvents.set("JSID_actMyLabelSelect",function(o){var n=$(this),l=n.closest("form");n.hasClass("cmnc-selected")?(i(l,_nkconf.DATA_MYNEWS_PROCTYPE_LABELUNSELECT,0),l.find("a").removeClass("cmnc-selected")):(i(l,_nkconf.DATA_MYNEWS_PROCTYPE_LABELSELECT,o.JSID_myLabelId),l.find("a").removeClass("cmnc-selected"),n.addClass("cmnc-selected"),c(l,!1))}),o.setClickEvents.set("JSID_actMyLabelEdit",function(o){var n=$(this).closest("form");n.find("a").removeClass("cmnc-selected"),c(n,!0),i(n,_nkconf.DATA_MYNEWS_PROCTYPE_LABELEDIT,"")}),o.setClickEvents.set("JSID_actMyLabelManage",function(o){var n,l=$(this);l.hasClass("cmn-button-submit")?l.hasClass("cmn-button-disable")||t.formSubmit(l,o):((o=$("#JSID_myLabelList")).find("input[type='text']").remove(),o.find(".cmn-button-submit").removeClass("cmn-button-submit").addClass("cmn-button-setting").find(".cmnc-label").text("変更"),o.find(".myc-label").show(),e.trigger("nk_eventMyCheckLabelClose"),l.removeClass("cmn-button-setting").addClass("cmn-button-submit").find(".cmnc-label").text("確定"),o=$("#JSID_myLabelAdd").find(".myc-query").clone().removeClass("myc-query cmn-default").addClass("myc-query"),(n=(l=l.closest("form")).find(".myc-label").hide()).after(o.val(n.text())),o=l.find("input[type='text']"),n=l.find(".cmn-button-submit"),_nk.my.labelManageCheck(o,n))})},_nk.my.setImageScrap=function(){var o=_nksys,l=_nk.my;$(window);o.setClickEvents.set("JSID_actScrapImage",function(o){var n=$(this);(o=o||{}).JSID_actBalloonTargetObj=n,o.JSID_myBalloonMsg="処理中…",l.formSubmit(n,o)}),o.setClickEvents.set("JSID_actScrapImageDelete",function(o){var n=$(this);(o=o||{}).JSID_actBalloonTargetObj=n,o.JSID_myBalloonMsg="処理中…",l.formSubmit(n,o)}),l.reflectSaveImage=function(l){return function(){var o=$("#JSID_saveImage_form_"+l+"_save"),n=$("#JSID_saveImage_form_"+l+"_unsave");o.hide(),n.show(),o=null}},l.reflectDeleteImage=function(l){return function(){var o=$("#JSID_saveImage_form_"+l+"_save"),n=$("#JSID_saveImage_form_"+l+"_unsave");n.hide(),o.show(),o=null}}},_nk.my.labelManageCheck=function(o,t,n,e,a,c){var i=_nk.my,s=$(window),l=-1;function r(){n&&n()||1==o.data("nk_dataHintShow")||""==o.val()?1!=l&&(l=1,t.data("JSID_myLabelCheckDisable",1),t.addClass("cmn-button-disable")):0!=l&&(l=0,t.data("JSID_myLabelCheckDisable",0),1!=t.data("JSID_myMemoCheckDisable"))&&t.removeClass("cmn-button-disable")}!function o(){var n=setInterval(r,100),l=a||"nk_eventMyCheckLabelClose";s.one(l,function(){t.data("JSID_myLabelCheckDisable",0),1!=t.data("JSID_myMemoCheckDisable")&&t.removeClass("cmn-button-disable"),clearTimeout(n),n=null,e&&e()}),r(),c||(i.checkRestart=function(){i.checkRestart=null,o()})}()},_nk.my.labelManageInit=function(){$(window).trigger("nk_eventMyCheckLabelClose2"),_nk.my.labelManageCheck($("#ADD_LABEL"),$("#JSID_labelAddButton"),void 0,void 0,"nk_eventMyCheckLabelClose2",!0)},_nk.my.setSubmit=function(){var o=_nksys,s=_nk,r=s.my,_=$(window);o.setClickEvents.set("JSID_actMySubmit",function(o){r.formSubmit($(this),o)}),r.formSubmit=function(o,l,t){if(!o.hasClass("cmn-button-disable")){l=l||{},a=t,t=function(o,n,l){function t(){e&&e(),n.location?o.JSID_myMenuReload?r.menureload(function(){location.href=n.location},o.JSID_myMenuReload):location.href=n.location:(o.JSID_myMenuReload&&r.menureload(null,o.JSID_myMenuReload),o.JSID_myListReload&&r.listreload(void 0,!0,o.JSID_myListReload,o.JSID_myListReloadHash))}var e;l==s.RES_SUCCESS?(n.popup?(n.checkRestart||(r.checkRestart=null),o._balloon?o._balloon(null,null,n.popup,n.followon,n.followoff,n.followtype):(r.window(n.popup,{JSID_myLocalHtmlWindow:!0}),n.followon&&r.reflectFollow(n.followon,n.followtype)(),n.followoff&&r.reflectUnfollow(n.followoff,n.followtype)(),n.saveImage&&(e=r.reflectSaveImage(n.imageId)),n.deleteImage&&(e=r.reflectDeleteImage(n.imageId)))):(n.checkRestart||(r.checkRestart=null),n.followon&&(e=r.reflectFollow(n.followon,n.followtype,n.tonyunum)),n.followoff&&(e=r.reflectUnfollow(n.followoff,n.followtype)),n.saveImage&&(e=r.reflectSaveImage(n.imageId)),n.deleteImage&&(e=r.reflectDeleteImage(n.imageId)),a&&(e=a),o._balloon&&n.balloon?o._balloon(n.balloon,t):t()),_nk.my.hashObj&&_nk.my.hashObj.memo&&n.memo_key&&0<(l=$("#"+n.memo_key+" .myc-articleComment")).size()&&(0==n.memo.length?l.hide():l.show().find("p").html(n.memo))):_nkmsg.putMessageDlg("UECO0001","ERROR")};var a,n=o.closest("form"),e=(r.token(n.find("input[name='utoken']")),n.attr("action")),c=n.attr("method"),n=(n.trigger("nk_eventSubmitBefore"),n.serialize());if(_.trigger("nk_eventMyWindowClose"),_.trigger("nk_eventMyCheckLabelClose"),l.JSID_myBalloonMsg){var i=!1;if(l.JSID_actBalloonTargetObj&&(o=l.JSID_actBalloonTargetObj),l.JSID_isBalloonTargetObj&&(i=!0),l._balloon=r.balloon(o,l.JSID_myBalloonMsg,!1,i),!1===l._balloon)return}s.getAsync({url:e,type:c,data:n,json:!0,exclusive:!0,callback:function(o,n){t(l,o,n)}})}}},_nk.my.setFollow=function(o){var l=_nkset,n=_nksys,d=_nk.my,i=[],s={},a=_nk.my.browser.ltIE6;function r(o,n,l,t,e,a,c,i){var l=l?",'JSID_dataUrlFollow':'"+l+"'":"",t=t?",'JSID_dataUrlUnFollow':'"+t+"'":"",i=i?",'JSID_myNoBalloon':1":"",s={},r=("F"==o?s=d.followid:"C"==o?s=d.followidCompany:"I"==o?s=d.followidIndustry:"J"==o?s=d.followidJw:"M"==o&&(s=d.followidMail),s[n]?"cmn-button-unfollow":"cmn-button-follow"),_=s[n]?"cmn-icon2-check16c-reverse":"cmn-icon2-plus16c",e=e||"フォローする",a=a||"フォロー済み",c=c||"フォロー解除",s=s[n]?a:e,m=d.proctype.html[o];return m=(m=(m=(m=(m=(m=(m=(m=(m=(m=(m=m.replace(/#UID#/g,n)).replace(/#FOLLOW#/g,l)).replace(/#FOLLOWTYPE#/g,o)).replace(/#UNFOLLOW#/g,t)).replace(/#CLASS1#/g,r)).replace(/#CLASS2#/g,_)).replace(/#TEXT#/g,s)).replace(/#FTEXT#/g,e)).replace(/#UTEXT#/g,a)).replace(/#UTEXTH#/g,c)).replace(/#NOBALOON#/g,i)}function t(o,n){1!=(n=n||{}).JSID_myNoBalloon&&(n.JSID_myBalloonMsg="処理中…"),d.formSubmit(o,n)}function c(o,n){for(var l=o.length;l--;){var t=o[l][0];if(function(o,n){var l=o.length,t=d.hashObj.hash;for(;l--;){var e=o[l].replace("#KEY#",n);if(t.match(e))return 1}return}(o[l][1],n))return void(t?"window"!=d.getHashObj().type?location.href=t:d.listreload(null,null,!0,t):d.listreload())}}d.followButton=function(o,n,l,t,e,a,c){o=r("F",o,n,l,t,e,a,c);document.write(o)},d.followButtonCompany=function(o,n,l,t,e,a,c){n=r("C",o,n,l,t,e,a,c);$(".JSID_follow_button_C_"+o).append(n)},d.followButtonIndustry=function(o,n,l,t,e,a,c){n=r("I",o,n,l,t,e,a,c);$(".JSID_follow_button_I_"+o).append(n)},d.followButtonJw=function(o,n,l,t,e,a,c){o=r("J",o,n,l,t,e,a,c);document.write(o)},d.followButtonMail=function(o,n,l,t,e,a,c){o=r("M",o,n,l,t,e,a,c);document.write(o)},d.followButtonHover=function(o){var n,l=$(this);o?l.hasClass("cmn-button-unfollow")&&(n=l.attr("data-unfollowtext-hover"),alert(n),l.addClass("my-unfollowHover"),n)&&l.find(".cmnc-label").text(n):l.hasClass("my-unfollowHover")&&(n=l.attr("data-unfollowtext"),l.removeClass("my-unfollowHover"),n)&&l.find(".cmnc-label").text(n)},n.setClickEvents.set("JSID_actMyFollow",function(o){l.click_cancel=!0;var n=$(this);if(n.hasClass("cmn-button-follow"))return o.JSID_dataUrlFollow?0==o.JSID_dataUrlFollow.indexOf("#")?void(location.href=o.JSID_dataUrlFollow):void _nk.my.window(o.JSID_dataUrlFollow):(d.setProcType(n,d.proctype.follow[n.attr("data-followtype")]),void t(n,o));if(n.hasClass("cmn-button-unfollow")){if(o.JSID_dataUrlUnFollow)return 0==o.JSID_dataUrlUnFollow.indexOf("#")?void(location.href=o.JSID_dataUrlUnFollow):void _nk.my.window(o.JSID_dataUrlUnFollow);d.setProcType(n,d.proctype.unfollow[n.attr("data-followtype")]),"J"==n.attr("data-followtype")&&d.setTonyunum(n,d.followidJw[o.JSID_dataUid]),t(n,o)}}),d.reflectFollow=function(l,t,e){return function(){"C"==t?d.followidCompany[l]=!0:"I"==t?d.followidIndustry[l]=!0:"J"==t?d.followidJw[l]=e:(t="F",d.followid[l]=!0);var o=$(".JSID_follow_"+t+"_"+l),n=o.attr("data-unfollowtext");o.removeClass("cmn-button-follow").addClass("cmn-button-unfollow"),o.find(".cmn-icon2").removeClass("cmn-icon2-plus16c").addClass("cmn-icon2-check16c-reverse"),o.find(".cmnc-label").text(n),o=null,d.condition&&(d.menureload(null,_nk.my.notelecomparam),c(d.condition.follow,l))}},d.reflectUnfollow=function(l,t){return function(){"C"==t?delete d.followidCompany[l]:"I"==t?delete d.followidIndustry[l]:"J"==t?delete d.followidJw[l]:"M"==t?delete d.followidMail[l]:(t="F",delete d.followid[l]);var o=$(".JSID_follow_"+t+"_"+l),n=o.attr("data-followtext");o.removeClass("cmn-button-unfollow").addClass("cmn-button-follow"),o.find(".cmn-icon2").removeClass("cmn-icon2-check16c-reverse").addClass("cmn-icon2-plus16c"),n&&o.find(".cmnc-label").text(n),o=null,d.condition&&(d.menureload(null,_nk.my.notelecomparam),c(d.condition.unfollow,l))}},d.followButtonAsync=function(o,n,l,t,e,a,c){s["F_"+o]||(i.push({uid:o,followUrl:n,unFollowUrl:l,followText:t,unFollowText:e,unFollowTextHover:a,noBalloonFlg:c,followType:"F"}),s["F_"+o]=!0)},d.followButtonAsyncCompany=function(o,n,l,t,e,a,c){s["C_"+o]||(i.push({uid:o,followUrl:n,unFollowUrl:l,followText:t,unFollowText:e,unFollowTextHover:a,noBalloonFlg:c,followType:"C"}),s["C_"+o]=!0)},d.followButtonAsyncIndustry=function(o,n,l,t,e,a,c){s["I_"+o]||(i.push({uid:o,followUrl:n,unFollowUrl:l,followText:t,unFollowText:e,unFollowTextHover:a,noBalloonFlg:c,followType:"I"}),s["I_"+o]=!0)},d.followButtonAsyncJw=function(o,n,l,t,e,a,c){s["J_"+o]||(i.push({uid:o,followUrl:n,unFollowUrl:l,followText:t,unFollowText:e,unFollowTextHover:a,noBalloonFlg:c,followType:"I"}),s["J_"+o]=!0)},d.followButtonAsyncMail=function(o,n,l,t,e,a,c){s["M_"+o]||(i.push({uid:o,followUrl:n,unFollowUrl:l,followText:t,unFollowText:e,unFollowTextHover:a,noBalloonFlg:c,followType:"M"}),s["M_"+o]=!0)},d.followButtonAsyncInit=function(){i=[],s={}},d.followButtonAsyncDo=function(){var o=i.length;for(d.followid;o--;){var n=i[o],l=n.uid,t=r(n.followType,n.uid,n.followUrl,n.unFollowUrl,n.followText,n.unFollowText,n.unFollowTextHover,n.noBalloonFlg),e=$(".JSID_follow_button_"+n.followType+"_"+l);e.append(t).removeClass("JSID_follow_button_"+n.followType+"_"+l),a&&e.find(".cmn-icon2, .cmnc-label").fixPng()}d.followButtonAsyncInit()}},_nk.my.setFloatingWindow=function(){var t,o=_nksys,e=_nk,u=e.my,p=$(window),w=_nk.my.browser.ltIE6,y=_nk.my.browser.isIE7,I=_nk.my.browser.isIE8,a=_nk.my.browser.ltIE8||_nk.my.browser.ltIE7||_nk.my.browser.ltIE6,S=[];t=a?'