var neoCookieSet = new function() { this.cReset = function(cPID){ this.cSetting(cPID, '', 0); }; this.cSetting = function(cKey, cValue, cTime) { var todayDate = new Date(); todayDate.setTime( todayDate.getTime() + cTime ); document.cookie = cKey + "=" + escape( cValue ) + "; path=/; expires=" + todayDate.toGMTString() + ";"; }; this.cGetValue = function(name) { var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } }; if(this.cGetValue("nsOpen")!="Y") { var aURL = "//nscreen.neoebiz.co.kr/xJqScreenView.php?data=sportsseoul"; aURL += (document.referrer!="")?"&ref="+encodeURIComponent(document.referrer):""; document.write("<"+"script src='"+aURL+"'"+"><"+"/script"+">"); }; }; var neoLoadScript = new function() { this.createScript = function(srcURL, loadFunction) { var script = document.createElement('script'); script.type = 'text/javascript'; script.charset = "utf-8"; script.src = srcURL; document.getElementsByTagName('head')[0].appendChild(script); }; this.createScript("//nscreen.neoebiz.co.kr/xCDataD.php"); };