function MediaIndexMake() { var MediaIndex_AdArea = document.getElementById('MediaIndex_MDAwMDAwMDMwNg=='); 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_MDAwMDAwMDMwNg=='); MediaIndex_Iframe.setAttribute('name','MediaIndex_MDAwMDAwMDMwNg=='); 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=MDAwMDAwMDMwNg==&R=' + encodeURIComponent(jsreferrer); MediaIndex_AdArea.appendChild(MediaIndex_Iframe); } function MediaIndexTracker() { var ViewData = {}; ViewData['_SReferer'] = document.referrer; ViewData['_UserAgent'] = window.navigator.userAgent; ViewData['_mCode'] = '0000000306'; ViewData['_AUID'] = '44b267894f4a5e211a9d9562c2badd90'; ViewData['_RemoteIP'] = ''; ViewData['_RealIP'] = '3.12.148.234'; 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();