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")){ var dvF = "1"; } console.log('rms_1.58'); window['rmsclient_f5fd7dec3b84f1b33da269a894ceef1f'] = window.location.href; window['rmsScriptUrl_f5fd7dec3b84f1b33da269a894ceef1f'] = '//s4.richmediastudio.com/rmsCre/yCRijAtbXg/?hasConsent=1&stid=0&adc=&cd='+encodeURIComponent(window['rmsclient_f5fd7dec3b84f1b33da269a894ceef1f'])+'&rnd=f5fd7dec3b84f1b33da269a894ceef1f'+'&mediaType='+'&rmsCont=f5fd7dec3b84f1b33da269a894ceef1f&dvF=' + dvF +'&gdpr=1&gdpr_consent=CPCtfR8PCtfR8AHABBENBPCsAP_AAH_AAAAAHNNf_X9fb2vj-_5999t0eY1f9_63t-wzjheNs-8NyZ_X_J8X42MyvB34pqYKmR4EunLBAQdlHGHcTQgAwIkVqTPsYk2MjzNKJ7JEilMbe2dYGH9vn8XTuZKY70-s___zv3-__v__7qAAAAAgBAAAAAgAAIABA4sAkw1L4CBMSxwJJo0qhRAhCuJCoBQAUUIwtE1hASOCnZHAR6ggQAIDEBCBECDEFELAIAAAIAkoiAEAOBAIgCIBAACAESAhAARIAgsALAwCAAUA0LACKAIQJCDA4KjlMCAiRaKCeQAAAAAEAIAAAAAAABAA.f_gAD_gAAAAA'; window['rmsOOPContent_f5fd7dec3b84f1b33da269a894ceef1f'] = document.createElement('script'); window['rmsOOPContent_f5fd7dec3b84f1b33da269a894ceef1f'].setAttribute('type', 'text/javascript'); window['rmsOOPContent_f5fd7dec3b84f1b33da269a894ceef1f'].setAttribute('src', window['rmsScriptUrl_f5fd7dec3b84f1b33da269a894ceef1f']); window['rmsOOPtracking_f5fd7dec3b84f1b33da269a894ceef1f'] = document.createElement('div'); window['rmsOOPtracking_f5fd7dec3b84f1b33da269a894ceef1f'].setAttribute('id', 'f5fd7dec3b84f1b33da269a894ceef1f'); try { if (window == window.parent) { if (typeof rms_oop_have_skin == 'undefined') { var rms_oop_have_skin = true; document.body.appendChild(window['rmsOOPContent_f5fd7dec3b84f1b33da269a894ceef1f']); document.body.appendChild(window['rmsOOPtracking_f5fd7dec3b84f1b33da269a894ceef1f']); 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_f5fd7dec3b84f1b33da269a894ceef1f']); targetIframe.document.body.appendChild(window['rmsOOPtracking_f5fd7dec3b84f1b33da269a894ceef1f']); 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); }