if(!ccsrv){var ccsrv="cc.naver.com"}var module="cc";if(!nsc){var nsc="decide.me"}var g_nClksImgF=[];var isIE=(navigator.appVersion.toLowerCase().indexOf("msie")!=-1)?true:false;var isSafari=(navigator.userAgent.toLowerCase().indexOf("safari")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1)?true:false;function clickcrF(typeNum,obj,en){var p1,p2,p1_id,p2_id,ptarr;var pt="";var sx=sy=px=py=-1;var mode,clink;var dBody,dElement;var offset;var flashName;var fullUrl,lastSlash;var w=xWindowSize(window);var objTarget;if(!obj){return false}try{if(isIE&&isWin&&!isOpera){flashName=document.getElementById(en)}else{flashName=document.getElementsByName(en)[0]}offset=findPos(flashName)}catch(e){}try{px=offset[0]+obj.xMouse;py=offset[1]+obj.yMouse}catch(e){}try{if(document.body&&(document.body.scrollTop||document.body.scrollLeft)){dBody=document.body;sx=px-dBody.scrollLeft;sy=py-dBody.scrollTop}else if(document.documentElement&&(document.documentElement.scrollTop||document.documentElement.scrollLeft)){dElement=document.documentElement;sx=px-dElement.scrollLeft;sy=py-dElement.scrollTop}else{sx=px;sy=py}}catch(e){}if(typeNum==1||typeNum==2||isIE){mode=0}else{mode=1}if(obj.href){if(obj.href.substring(0,7)=="http://"||obj.href.substring(0,8)=="https://"){fullUrl=obj.href}else{lastSlash=document.URL.lastIndexOf("/");fullUrl=document.URL.substring(0,lastSlash)+obj.href}if(obj.href.indexOf("http://"+ccsrv)==0){clink=obj.href}else{clink="http://"+ccsrv+"/"+module+"?a="+obj.area+"&r="+obj.rank+"&i="+obj.cid+"&nsc="+nsc+"&w="+w+"&px="+px+"&py="+py+"&sx="+sx+"&sy="+sy+"&m="+mode+"&u="+encodeURIComponent(fullUrl)}}else{clink="http://"+ccsrv+"/"+module+"?a="+obj.area+"&r="+obj.rank+"&i="+obj.cid+"&nsc="+nsc+"&w="+w+"&px="+px+"&py="+py+"&sx="+sx+"&sy="+sy+"&m="+mode+"&u="+encodeURIComponent("about:blank")}if(typeNum==0){if(isIE){var o=new Image();g_nClksImgF.push(o);o.src=clink;document.location.href=fullUrl}else{document.location.href=clink}}else if(document.images){var o=new Image();g_nClksImgF.push(o);o.src=clink;if(typeNum==1){if(obj.wparam){window.open(obj.href,obj.target,obj.wparam)}else{window.open(obj.href,obj.target)}}}return true}function findPos(obj){var curleft=curtop=0;if(isSafari&&obj.parentNode.tagName.toLowerCase()=="object"){obj=obj.parentNode}if(obj.offsetParent){do{curleft+=obj.offsetLeft;curtop+=obj.offsetTop}while(obj=obj.offsetParent)}else if(obj.x||obj.y){if(obj.x)curleft+=obj.x;if(obj.y)curtop+=obj.y}return[curleft,curtop]}function xWindowSize(win){if(!win)win=window;var winWidth=0;if(win.innerWidth){winWidth=win.innerWidth;if(typeof(win.innerWidth)=='number'){var scrollbarWidth=getScrollBarWidth();winWidth=win.innerWidth-scrollbarWidth}}else if(document.documentElement&&document.documentElement.clientWidth){winWidth=document.documentElement.clientWidth}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){winWidth=document.body.clientWidth}return winWidth}function getScrollBarWidth(){var inner=document.createElement('p');inner.style.width='200px';inner.style.height='200px';var outer=document.createElement('div');outer.style.position='absolute';outer.style.top='0px';outer.style.left='0px';outer.style.visibility='hidden';outer.style.width='200px';outer.style.height='150px';outer.style.overflow='hidden';outer.appendChild(inner);document.body.appendChild(outer);var w1=inner.offsetWidth;outer.style.overflow='scroll';var w2=inner.offsetWidth;if(w1==w2)w2=outer.clientWidth;document.body.removeChild(outer);return(w1-w2)}