//46.101.179.140 //BUILD: 20160210-131024 var OnAds_595f006f60d52f3ddb88761ef608176e_mraid = false; document.write("
Loading...
"); var OnAds_595f006f60d52f3ddb88761ef608176ereadyStateCheckInterval; function OnAds_595f006f60d52f3ddb88761ef608176epoliteListen () { OnAds_595f006f60d52f3ddb88761ef608176ereadyStateCheckInterval = setInterval(function() { if (document.readyState === "complete") { clearInterval(OnAds_595f006f60d52f3ddb88761ef608176ereadyStateCheckInterval); document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e').contentWindow.politeInit(); } }, 10); } var OnAds_595f006f60d52f3ddb88761ef608176eAutoReadyStateCheckInterval; function OnAds_595f006f60d52f3ddb88761ef608176e_autoPolite () { document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e_banner').innerHTML = '
'; OnAds_595f006f60d52f3ddb88761ef608176eAutoReadyStateCheckInterval = setInterval(function() { if (document.readyState === "complete") { clearInterval(OnAds_595f006f60d52f3ddb88761ef608176eAutoReadyStateCheckInterval); OnAds_595f006f60d52f3ddb88761ef608176e_init(); } }, 10); } function OnAds_595f006f60d52f3ddb88761ef608176e_init () { document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e_banner').innerHTML = ''; var OnAds_595f006f60d52f3ddb88761ef608176e = document.createElement('iframe'); OnAds_595f006f60d52f3ddb88761ef608176e.width = '930'; OnAds_595f006f60d52f3ddb88761ef608176e.height = '180'; OnAds_595f006f60d52f3ddb88761ef608176e.setAttribute('frameborder', '0'); OnAds_595f006f60d52f3ddb88761ef608176e.setAttribute('border', '0'); OnAds_595f006f60d52f3ddb88761ef608176e.setAttribute('allowfullscreen', 'allowfullscreen'); OnAds_595f006f60d52f3ddb88761ef608176e.setAttribute('scrolling', 'no'); OnAds_595f006f60d52f3ddb88761ef608176e.setAttribute('style', 'width: 930px; height: 180px; overflow: hidden; border: none; outline: none;'); OnAds_595f006f60d52f3ddb88761ef608176e.src = 'about:blank'; OnAds_595f006f60d52f3ddb88761ef608176e.id = "OnAds_595f006f60d52f3ddb88761ef608176e"; document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e_banner').appendChild(OnAds_595f006f60d52f3ddb88761ef608176e); OnAds_595f006f60d52f3ddb88761ef608176e.contentWindow.contents = '' + "\n" + '' + "\n" + '' + "\n" + 'var API; var clickTAG = \'\'; window.onload = function() { API = new OnAdsStatsAPI(); API.init(\'REPLACEME\'); API.trackElement(\'container\'); parent.OnAds_595f006f60d52f3ddb88761ef608176e_isInScreen(); init(); }; function mouseOver (e) { var obj=e.relatedTarget; while(obj!=null){ if(obj==this){ return; }; obj=obj.parentNode; }; if (typeof mouseOverListener == \'function\') { mouseOverListener(); }; API.registerEvent(API.EVENT_MOUSE_OVER); }; function mouseOut (e) { var obj=e.relatedTarget; while(obj!=null){ if(obj==this){ return; }; obj=obj.parentNode; }; API.registerEvent(API.EVENT_MOUSE_OUT); if (typeof mouseOutListener == \'function\') { mouseOutListener(); }; }; ' + "\n" + '' + "\n" + '' + "\n" + '' + "\n" + '' + "\n" + '
' + "\n" + '' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + ' ' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + '' + "\n" + '
' + "\n" + '
' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + ' ' + "\n" + ' ' + "\n" + '' + "\n" + ' ' + "\n" + '' + "\n" + '
' + "\n" + '' + "\n" + '' + "\n" + 'var landingUrl = \'http://www.singaporeair.com\';' + "\n" + '' + "\n" + 'var counter = 0;' + "\n" + 'var tl = new TimelineLite({onComplete:restartTimeline});' + "\n" + 'tl.pause();' + "\n" + '' + "\n" + '//RESET//' + "\n" + 'tl.to(BEN, 0, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(BEN2, 0, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(LOGO1, 0, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TEKST1, 0, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + '//tl.to(TEKST2, 0, {x:0, y:-10, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + '' + "\n" + 'tl.to(REJSE1, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(REJSE2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(INDEIVINDUET, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(GARDIN, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(YDERSTEAFVINDUET, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(PLIGTTEKST, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(LOGO2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TILBUDTEKST1, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TILBUDTEKST2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(ONESTOP, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(KNAP, 0, {scale:0, x:0, y:0, alpha:1, ease:"Back.easeOut", delay: 0});' + "\n" + '' + "\n" + 'tl.to(SLIDE3, 0, {x:0, y:-200, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + '' + "\n" + '//PLAY//' + "\n" + 'tl.to(BEN2, 0.5, {x:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(LOGO1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TEKST1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + '//tl.to(TEKST2, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(BEN, 2.5, {x:-180, alpha:1, ease:"Linear.easeNone", delay: -0.2});' + "\n" + '' + "\n" + 'tl.to(LOGO1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TEKST1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(BEN, 0.5, {x:-180, alpha:0, ease:"Expo.easeOut", delay: -0.5});' + "\n" + '//tl.to(TEKST2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: -0.5});' + "\n" + '' + "\n" + 'tl.to(REJSE1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(REJSE2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(INDEIVINDUET, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(GARDIN, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(YDERSTEAFVINDUET, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(PLIGTTEKST, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(LOGO2, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(TILBUDTEKST1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(ONESTOP, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(TILBUDTEKST2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: -0.5});' + "\n" + 'tl.to(KNAP, 0.5, {scale:1, x:0, y:0, alpha:1, ease:"Back.easeOut", delay: 0});' + "\n" + '' + "\n" + 'tl.to(REJSE1, 0.0001, {x:0, y:0, alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + '' + "\n" + 'tl.to(GARDIN, 0.3, {x:0, y:-120, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(REJSE1, 5, {x:190, y:0, alpha:1, ease:"Linear.easeNone", delay: -0.3});' + "\n" + 'tl.to(GARDIN, 0.3, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + '' + "\n" + '' + "\n" + 'tl.to(REJSE2, 0.0001, {x:0, y:0, alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + '' + "\n" + 'tl.to(BEN, 0.0001, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(LOGO1, 0.0001, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TEKST1, 0.0001, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + '//tl.to(TEKST2, 0.0001, {x:0, y:-10, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + '' + "\n" + 'tl.to(TILBUDTEKST1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TILBUDTEKST2, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.2});' + "\n" + '' + "\n" + 'tl.to(GARDIN, 0.3, {x:0, y:-120, alpha:1, ease:"Expo.easeOut", delay: -0.2});' + "\n" + 'tl.to(REJSE2, 5, {x:190, y:0, alpha:1, ease:"Linear.easeNone", delay: -0.3});' + "\n" + 'tl.to(GARDIN, 0.3, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: -0.5});' + "\n" + '' + "\n" + 'tl.to(SLIDE3, 0.01, {x:0, y:-200, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(SLIDE3, 1, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(BEN2, 0.0001, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(LOGO1, 0.0001, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(TEKST1, 0.0001, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + 'tl.to(SLIDE3, 1, {x:0, y:-200, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + '' + "\n" + 'function restartTimeline () {' + "\n" + ' counter++' + "\n" + ' if (counter > 2)' + "\n" + ' {' + "\n" + ' // final tweens here' + "\n" + ' //TweenLite.to(element, 0.5, {top: 80, ease:"Expo.easeOut", delay: 0});' + "\n" + '' + "\n" + ' //RESET//' + "\n" + ' TweenLite.to(BEN, 0, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(BEN2, 0, {x:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(LOGO1, 0, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(TEKST1, 0, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0});' + "\n" + ' //TweenLite.to(TEKST2, 0, {x:0, y:-10, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + '' + "\n" + ' TweenLite.to(REJSE1, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(REJSE2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(INDEIVINDUET, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(GARDIN, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(YDERSTEAFVINDUET, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(PLIGTTEKST, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(LOGO2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(TILBUDTEKST1, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(TILBUDTEKST2, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(ONESTOP, 0, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(KNAP, 0, {scale:0, x:0, y:0, alpha:1, ease:"Back.easeOut", delay: 0});' + "\n" + '' + "\n" + ' //PLAY//' + "\n" + ' TweenLite.to(BEN2, 0.5, {x:0, alpha:0, ease:"Expo.easeOut", delay: 0});' + "\n" + ' TweenLite.to(LOGO1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0.5});' + "\n" + ' TweenLite.to(TEKST1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 0.5});' + "\n" + ' //TweenLite.to(TEKST2, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 1});' + "\n" + ' TweenLite.to(BEN, 1.5, {x:-180, alpha:1, ease:"Linear.easeNone", delay: 1});' + "\n" + '' + "\n" + ' TweenLite.to(LOGO1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 2.5});' + "\n" + ' TweenLite.to(TEKST1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 2.5});' + "\n" + ' TweenLite.to(BEN, 0.5, {x:-180, alpha:0, ease:"Expo.easeOut", delay: 2.5});' + "\n" + ' //TweenLite.to(TEKST2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 2.5});' + "\n" + '' + "\n" + ' TweenLite.to(REJSE1, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(REJSE2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(INDEIVINDUET, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(GARDIN, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(YDERSTEAFVINDUET, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(PLIGTTEKST, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(LOGO2, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(TILBUDTEKST1, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(ONESTOP, 0.5, {x:0, y:0, alpha:1, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(TILBUDTEKST2, 0.5, {x:0, y:0, alpha:0, ease:"Expo.easeOut", delay: 3});' + "\n" + ' TweenLite.to(KNAP, 0.5, {scale:1, x:0, y:0, alpha:1, ease:"Back.easeOut", delay: 3.5});' + "\n" + '' + "\n" + ' TweenLite.to(REJSE1, 0.0001, {x:0, y:0, alpha:1, ease:"Linear.easeNone", delay: 3.5});' + "\n" + '' + "\n" + ' TweenLite.to(GARDIN, 0.5, {x:0, y:-120, alpha:1, ease:"Expo.easeOut", delay: 4});' + "\n" + ' TweenLite.to(REJSE1, 5, {x:190, y:0, alpha:1, ease:"Linear.easeNone", delay: 4});' + "\n" + '' + "\n" + ' return false;' + "\n" + ' }' + "\n" + ' else' + "\n" + ' {' + "\n" + ' tl.restart();' + "\n" + ' }' + "\n" + '}' + "\n" + '' + "\n" + 'function init () {' + "\n" + '' + "\n" + ' API.registerImpression();' + "\n" + ' ' + "\n" + ' document.getElementById("REJSE1").src = data[0].picture1;' + "\n" + ' document.getElementById("REJSE2").src = data[0].picture2;' + "\n" + ' document.getElementById("TILBUDTEKST1").innerHTML = data[0].text1;' + "\n" + ' document.getElementById("TILBUDTEKST2").innerHTML = data[0].text2;' + "\n" + ' ' + "\n" + ' document.getElementById("container").onmouseover=mouseOver;' + "\n" + ' document.getElementById("container").onmouseout=mouseOut;' + "\n" + ' ' + "\n" + ' parent.OnAds_595f006f60d52f3ddb88761ef608176e_isInViewport();' + "\n" + '}' + "\n" + '' + "\n" + 'function inViewport ()' + "\n" + '{' + "\n" + ' tl.restart();' + "\n" + '}' + "\n" + '' + "\n" + 'var lastClick = new Date().getTime();' + "\n" + 'function redir (url, itemId)' + "\n" + '{' + "\n" + ' if (lastClick+500 > new Date().getTime())' + "\n" + ' {' + "\n" + ' return;' + "\n" + ' }' + "\n" + ' lastClick = new Date().getTime();' + "\n" + '' + "\n" + ' if (url == undefined)' + "\n" + ' {' + "\n" + ' var url = landingUrl;' + "\n" + ' var itemId = 0;' + "\n" + ' }' + "\n" + ' window.open(clickTAG + url); ' + "\n" + ' API.registerEvent(API.EVENT_CLICK, clickTAG + url, itemId, clickTAG + url); ' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + '' + "\n"; if (location.protocol === 'https:') { OnAds_595f006f60d52f3ddb88761ef608176e.contentWindow.contents = OnAds_595f006f60d52f3ddb88761ef608176e.contentWindow.contents.replace(/http:\/\/pool/g, 'https://pool'); OnAds_595f006f60d52f3ddb88761ef608176e.contentWindow.contents = OnAds_595f006f60d52f3ddb88761ef608176e.contentWindow.contents.replace(/http:\/\/betterbannerscloud.com/g, 'https://betterbannerscloud.com'); } OnAds_595f006f60d52f3ddb88761ef608176e.src = 'javascript:window["contents"]'; } function OnAds_595f006f60d52f3ddb88761ef608176e_scroll (intMove) { document.body.scrollTop = document.body.scrollTop + intMove; } function OnAds_595f006f60d52f3ddb88761ef608176e_isInScreen () { if (OnAds_595f006f60d52f3ddb88761ef608176e_isElementInViewport('OnAds_595f006f60d52f3ddb88761ef608176e')) { // register inscreen view document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e').contentWindow.API.registerEvent(4); } else { setTimeout("OnAds_595f006f60d52f3ddb88761ef608176e_isInScreen();", 500); } } function OnAds_595f006f60d52f3ddb88761ef608176e_isInViewport () { if (OnAds_595f006f60d52f3ddb88761ef608176e_isElementInViewport('OnAds_595f006f60d52f3ddb88761ef608176e')) { document.getElementById('OnAds_595f006f60d52f3ddb88761ef608176e').contentWindow.inViewport(); } else { setTimeout("OnAds_595f006f60d52f3ddb88761ef608176e_isInViewport()", 500); } } function OnAds_595f006f60d52f3ddb88761ef608176e_isElementInViewport(el) { var rect = document.getElementById(el).getBoundingClientRect(); //tmp dba fix if (rect.top == -15) { return true; } return ( rect.top >= 0 && rect.left >= 0 && rect.top <= (window.innerHeight || document. documentElement.clientHeight) && rect.left <= (window.innerWidth || document. documentElement.clientWidth) ); } if (OnAds_595f006f60d52f3ddb88761ef608176e_mraid) { mraid.addEventListener('stateChange', function(state) { if (state == 'default') { OnAds_595f006f60d52f3ddb88761ef608176e_collapse (); } }); if (mraid.getState() === 'loading') { mraid.addEventListener('ready', OnAds_595f006f60d52f3ddb88761ef608176e_init); } else { OnAds_595f006f60d52f3ddb88761ef608176e_init(); } } else { var OnAds_595f006f60d52f3ddb88761ef608176e_AutoPolite = 0; if (OnAds_595f006f60d52f3ddb88761ef608176e_AutoPolite == 1) { OnAds_595f006f60d52f3ddb88761ef608176e_autoPolite(); } else { setTimeout("OnAds_595f006f60d52f3ddb88761ef608176e_init();", 500); } } function OnAds_595f006f60d52f3ddb88761ef608176e_mraid_open (url) { mraid.open(url); } function OnAds_595f006f60d52f3ddb88761ef608176e_setCookie(c_name, value, exdays) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); document.cookie=c_name + "=" + c_value; } function OnAds_595f006f60d52f3ddb88761ef608176e_getCookie(c_name) { var c_value = document.cookie; var c_start = c_value.indexOf(" " + c_name + "="); if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; var c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start,c_end)); } return c_value; }