function MediaIndexMake() { var MediaIndex_AdArea = document.getElementById('MediaIndex_MDAwMDAwMDU4OQ=='); var MediaIndex_WSize = MediaIndex_AdArea.getAttribute( 'data-ad-width' ); var MediaIndex_HSize = MediaIndex_AdArea.getAttribute( 'data-ad-height' ); var jsreferrer = document.referrer; var MediaIndex_Iframe = document.createElement('iframe'); MediaIndex_Iframe.setAttribute('id','MediaIndex_MDAwMDAwMDU4OQ=='); MediaIndex_Iframe.setAttribute('name','MediaIndex_MDAwMDAwMDU4OQ=='); MediaIndex_Iframe.setAttribute('scrolling','no'); MediaIndex_Iframe.setAttribute('marginwidth','0'); MediaIndex_Iframe.setAttribute('marginheight','0'); MediaIndex_Iframe.setAttribute('vspace','0'); MediaIndex_Iframe.setAttribute('hspace','0'); MediaIndex_Iframe.setAttribute('allowtransparency','true'); MediaIndex_Iframe.setAttribute('frameborder','0'); MediaIndex_Iframe.style.width = MediaIndex_WSize+'px'; MediaIndex_Iframe.style.height = MediaIndex_HSize+'px'; MediaIndex_Iframe.src = '//mediaindex.co.kr/DABanner.php?M=MDAwMDAwMDU4OQ==&R=' + encodeURIComponent(jsreferrer); MediaIndex_AdArea.appendChild(MediaIndex_Iframe); } function MediaIndexTracker() { var ViewData = {}; ViewData['_SReferer'] = document.referrer; ViewData['_UserAgent'] = window.navigator.userAgent; ViewData['_mCode'] = '0000000589'; ViewData['_AUID'] = '7064cf7c12b614181a4737be2b2d5399'; ViewData['_RemoteIP'] = ''; ViewData['_RealIP'] = '3.16.68.244'; ViewData['_UserNetwork'] = ''; ViewData['_Country'] = ''; ViewData['_City'] = ''; jQuery.ajax({ url : 'https://tracker.adallshop.com/Tracker.php', type : 'post', dataType : 'json', data : ViewData, async: false, success : function(result){ }, error : function(e){ } }); } MediaIndexMake();