var dvF = ""; if(window.navigator.userAgent.toLowerCase().includes('mac') && window.navigator.userAgent.toLowerCase().includes('safari') && (window.innerWidth == 768 || window.innerWidth == 1024) && navigator.vendor.toLowerCase().includes("apple")){ dvF = "1"; } console.log('rms_1.58'); window['rmsclient_55c064def10b8fbb77ac2beb0c7820f3'] = window.location.href; window['rmsScriptUrl_55c064def10b8fbb77ac2beb0c7820f3'] = '//s4.richmediastudio.com/rmsCre/DeCDFvv5Q0/?hasConsent=0&stid=0&adc=https%3A%2F%2Ffra1-ib.adnxs.com%2Fclick%3FSKzFpwCAM0BIrMWnAIAzQAAAAAAAgDNASKzFpwCAM0BIrMWnAIAzQLIPzMZnENk0BGowwRBwtFyDgpxfAAAAAJjcqQAmAwAAJgMAAAIAAACwEgIPASkTAAAAAABVU0QAVVNEAAEAAQAd5gAAAAABAQQCAAAAALgAJB6X5wAAAAA.%2Fbcr%3DAAAAAAAA8D8%3D%2Fcnd%3D%2521bg_DHwjgzrEWELCliHgYgdJMIAQoADEAAAAAAIAzQDoJRlJBMTo0NzkwQM0nSQAAAAAAAPA_UQAAAAAAAAAAWQAAAAAAAAAAYQAAAAAAAAAAaQAAAAAAAAAAcQAAAAAAAAAAeAA.%2Fcca%3DODA2I0ZSQTE6NDc5MA%3D%3D%2Fbn%3D89089%2Fclickenc%3D&cd='+encodeURIComponent(window['rmsclient_55c064def10b8fbb77ac2beb0c7820f3'])+'&rnd=55c064def10b8fbb77ac2beb0c7820f3'+'&mediaType='+'&rmsCont=55c064def10b8fbb77ac2beb0c7820f3&dvF=' + dvF +''; window['rmsOOPContent_55c064def10b8fbb77ac2beb0c7820f3'] = document.createElement('script'); window['rmsOOPContent_55c064def10b8fbb77ac2beb0c7820f3'].setAttribute('type', 'text/javascript'); window['rmsOOPContent_55c064def10b8fbb77ac2beb0c7820f3'].setAttribute('src', window['rmsScriptUrl_55c064def10b8fbb77ac2beb0c7820f3']); window['rmsOOPtracking_55c064def10b8fbb77ac2beb0c7820f3'] = document.createElement('div'); window['rmsOOPtracking_55c064def10b8fbb77ac2beb0c7820f3'].setAttribute('id', '55c064def10b8fbb77ac2beb0c7820f3'); try { if (window == window.parent) { if (typeof rms_oop_have_skin == 'undefined') { var rms_oop_have_skin = true; document.body.appendChild(window['rmsOOPContent_55c064def10b8fbb77ac2beb0c7820f3']); document.body.appendChild(window['rmsOOPtracking_55c064def10b8fbb77ac2beb0c7820f3']); console.log('rms_oop_have_skin: '+rms_oop_have_skin); } else { console.log('rms_oop_have_skin: '+rms_oop_have_skin); } } else { targetIframe = null; if(window.parent.window.parent != window.parent) { targetIframe = window.parent.window.parent; subTargetIframe = window.parent; } else { targetIframe = window.parent; subTargetIframe = window; } if(targetIframe != targetIframe.window.parent){ subTargetIframe = targetIframe; targetIframe = targetIframe.window.parent; } pnetFound = ""; var i,ifcnt=targetIframe.frames.length; for(i = 0; i < ifcnt; i++) { try { if (targetIframe.frames[i]==subTargetIframe.self) { pnetFound=i;break; } } catch(e) {} } if (window.frameElement) { for(i = 0; i < ifcnt; i++){ try { if(targetIframe.frames[pnetFound].frameElement===targetIframe.document.getElementsByTagName('IFRAME')[i]){ pnetFound=i;break; } }catch(e){ } } } pnetIframeExt = targetIframe.document.getElementsByTagName('IFRAME')[pnetFound]; if(typeof pnetIframeExt !== "undefined"){ pnetIframeExt.style.width = "0px"; pnetIframeExt.style.height = "0px"; pnetIframeExt.style.display = "none"; } if (typeof targetIframe.rms_oop_have_skin == 'undefined') { targetIframe.rms_oop_have_skin = true; targetIframe.document.body.appendChild(window['rmsOOPContent_55c064def10b8fbb77ac2beb0c7820f3']); targetIframe.document.body.appendChild(window['rmsOOPtracking_55c064def10b8fbb77ac2beb0c7820f3']); console.log('rms_oop_have_skin: '+ targetIframe.rms_oop_have_skin); } else { console.log('rms_oop_have_skin: '+ targetIframe.rms_oop_have_skin); } } } catch(e) { console.log(e); }