function isTouchAble(){
if(navigator.userAgent.indexOf('Mobile') != -1){
return true;
} else {
return false;
}
}
var WCR_CODE="wcr_frien_956";
var CODE_SPLIT = WCR_CODE.split("_")[1];
var w_szFullPath=location.href.replace("http://","").replace("https://","");
var w_arrUrlPath=w_szFullPath.split('/');
var WCR_HOST = w_arrUrlPath[0];
var WCR_URL = w_szFullPath.replace(WCR_HOST,"").split("?");
var WCR_QUERYSTRING=(WCR_URL[1])?WCR_URL[1]:"";
var WCR_ADCNT="8";
if (WCR_CODE == "wcr_wecyd_98"){
if (isTouchAble() == true)
{
var WCR_WIDTH="100%";
var WCR_HEIGHT="364px";
}else{
var WCR_WIDTH="100%";
var WCR_HEIGHT="240";
}
}else{
var WCR_WIDTH="100%";
var WCR_HEIGHT="240";
}
var WCR_fsize="15"; var WCR_fw="N"; var WCR_fs="0"; var WCR_fheight="30";
var WCR_CPPYN="1";
var WCR_CPCYN="0";
var WCR_POPUPYN="1";
var WCR_POPUPURL=encodeURIComponent("//news-topic.kr/backx/");
var WCR_CALL_URL="//wr.catad5959.com/text/wrcatad.t4.Text_banner.asp";
//var WCR_CALL_DATA="sitehost="+WCR_HOST+"&siteurl="+escape(WCR_URL[0]+"?"+WCR_QUERYSTRING)+"&madvc="+ WCR_CODE+"&cpp="+ WCR_CPPYN +"&cpc="+ WCR_CPCYN +"&dAC="+WCR_ADCNT+"&dW="+WCR_WIDTH+"&dH="+WCR_HEIGHT+"&fsize="+WCR_fsize+"&fw="+WCR_fw+"&fs="+WCR_fs+"&fh="+WCR_fheight+"&popupYn="+ WCR_POPUPYN+"&popupUrl="+ WCR_POPUPURL;
var WCR_CALL_DATA="madvc="+ WCR_CODE+"&cpp="+ WCR_CPPYN +"&cpc="+ WCR_CPCYN +"&dAC="+WCR_ADCNT+"&dW="+WCR_WIDTH+"&dH="+WCR_HEIGHT+"&fsize="+WCR_fsize+"&fw="+WCR_fw+"&fs="+WCR_fs+"&fh="+WCR_fheight+"&popupYn="+ WCR_POPUPYN+"&popupUrl="+ WCR_POPUPURL;
if (WCR_CODE == "wcr_wecyd5_720")
{
document.writeln ("");
}
else{
document.writeln ("");
}