var OnAds_b0915c493ef0dc52b75bb50042842a81_mraid = false; document.write("
Loading...
"); var OnAds_b0915c493ef0dc52b75bb50042842a81readyStateCheckInterval; function OnAds_b0915c493ef0dc52b75bb50042842a81politeListen () { OnAds_b0915c493ef0dc52b75bb50042842a81readyStateCheckInterval = setInterval(function() { if (document.readyState === "complete") { clearInterval(OnAds_b0915c493ef0dc52b75bb50042842a81readyStateCheckInterval); document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81').contentWindow.politeInit(); } }, 10); } var OnAds_b0915c493ef0dc52b75bb50042842a81AutoReadyStateCheckInterval; function OnAds_b0915c493ef0dc52b75bb50042842a81_autoPolite () { document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81_banner').innerHTML = '
'; OnAds_b0915c493ef0dc52b75bb50042842a81AutoReadyStateCheckInterval = setInterval(function() { if (document.readyState === "complete") { clearInterval(OnAds_b0915c493ef0dc52b75bb50042842a81AutoReadyStateCheckInterval); OnAds_b0915c493ef0dc52b75bb50042842a81_init(); } }, 10); } function OnAds_b0915c493ef0dc52b75bb50042842a81_init () { document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81_banner').innerHTML = ''; var OnAds_b0915c493ef0dc52b75bb50042842a81 = document.createElement('iframe'); OnAds_b0915c493ef0dc52b75bb50042842a81.width = '930'; OnAds_b0915c493ef0dc52b75bb50042842a81.height = '180'; OnAds_b0915c493ef0dc52b75bb50042842a81.setAttribute('frameborder', '0'); OnAds_b0915c493ef0dc52b75bb50042842a81.setAttribute('border', '0'); OnAds_b0915c493ef0dc52b75bb50042842a81.setAttribute('scrolling', 'no'); OnAds_b0915c493ef0dc52b75bb50042842a81.setAttribute('style', 'width: 930px; height: 180px; overflow: hidden; border: none; outline: none;'); OnAds_b0915c493ef0dc52b75bb50042842a81.src = 'about:blank'; OnAds_b0915c493ef0dc52b75bb50042842a81.id = "OnAds_b0915c493ef0dc52b75bb50042842a81"; document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81_banner').appendChild(OnAds_b0915c493ef0dc52b75bb50042842a81); OnAds_b0915c493ef0dc52b75bb50042842a81.contentWindow.contents = '' + "\n" + '' + "\n" + '' + "\n" + 'var API; var clickTAG = \'\'; window.onload = function() { API = new OnAdsStatsAPI(); API.init(\'REPLACEME\'); API.trackElement(\'container\'); parent.OnAds_b0915c493ef0dc52b75bb50042842a81_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" + 'var landingUrl = \'http://www.volvobusiness.dk/\';' + "\n" + 'var car = 0;' + "\n" + 'var interaction = false;' + "\n" + '' + "\n" + 'var counter1 = 0;' + "\n" + 'var tl1 = new TimelineLite({onComplete:restartTimeline1, onReverseComplete: restartTimeline1});' + "\n" + 'tl1.pause();' + "\n" + '' + "\n" + 'function switchCar ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + '' + "\n" + ' if (direction == 0)' + "\n" + ' {' + "\n" + ' direction = 1;' + "\n" + ' tl1.reverse(); ' + "\n" + ' }' + "\n" + ' else' + "\n" + ' {' + "\n" + ' direction = 0;' + "\n" + ' tl1.restart(); ' + "\n" + ' }' + "\n" + ' interaction = true;' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + '' + "\n" + 'function resetCar ()' + "\n" + '{' + "\n" + ' TweenLite.to(clickEquipmentSlideXC60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickVideoSlideXC60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickGallerySlideXC60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickEquipmentSlideBottomXC60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(clickEquipmentSlideV60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickVideoSlideV60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickGallerySlideV60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(clickEquipmentSlideBottomV60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(carXC60, 0, {x:0, y:0, scale:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(carV60, 0, {x:200, y:-10, scale:0.6, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(textXC60, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(textV60, 0, {alpha:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(oplevXC60, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(oplevV60, 0, {alpha:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(beskatningXC60, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(beskatningV60, 0, {alpha:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(whiteDot, 0, {x:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(blueDot, 0, {x:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' TweenLite.to(hotspotEquipment, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(hotspotVideo, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + ' TweenLite.to(hotspotGallery, 0, {alpha:1, ease:"Linear.easeNone", delay: 0});' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'var rotateSpeed = 1;' + "\n" + '' + "\n" + 'function animationCar () ' + "\n" + '{' + "\n" + ' tl1.to(carXC60, rotateSpeed, {bezier:[{x:30, y:-50}, {x:200, y:-10}], ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(carXC60, rotateSpeed/2, {scale: 0.3, zIndex:19, ease:"Linear.easeNone", delay: rotateSpeed*-1});' + "\n" + ' tl1.to(carXC60, rotateSpeed/2, {scale: 0.6, zIndex:19, ease:"Linear.easeNone", delay: rotateSpeed*-1/2});' + "\n" + ' tl1.to(carV60, rotateSpeed, {bezier:[{x:170, y:20}, {x:0, y:0}], ease:"Linear.easeNone", delay: rotateSpeed*-1});' + "\n" + ' tl1.to(carV60, rotateSpeed/2, {scale: 1.3, zIndex:19, ease:"Linear.easeNone", delay: rotateSpeed*-1});' + "\n" + ' tl1.to(carV60, rotateSpeed/2, {scale: 1, zIndex:19, ease:"Linear.easeNone", delay: rotateSpeed*-1/2});' + "\n" + ' tl1.to(carV60, 1, {car: 2, delay: -1});' + "\n" + ' tl1.to(textXC60, 1, {alpha:0, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(textV60, 1, {alpha:1, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(oplevXC60, 1, {alpha:0, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(oplevV60, 1, {alpha:1, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(beskatningXC60, 1, {alpha:0, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(beskatningV60, 1, {alpha:1, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(whiteDot, 1, {x:-15, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(blueDot, 1, {x:15, ease:"Expo.easeOut", delay: -1});' + "\n" + ' tl1.to(clickEquipmentSlideXC60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickVideoSlideXC60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickGallerySlideXC60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickEquipmentSlideBottomXC60, 0, {y:-200, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickEquipmentSlideV60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickVideoSlideV60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickGallerySlideV60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' tl1.to(clickEquipmentSlideBottomV60, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'function appendHtml ()' + "\n" + '{' + "\n" + ' $("#container").append(' + "\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" + ' \'
\' +' + "\n" + ' \'\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\' +' + "\n" + ' \'
\');' + "\n" + '}' + "\n" + '' + "\n" + 'function initGalleries ()' + "\n" + '{' + "\n" + ' $("#cycleXC60").cycle({fx: \'scrollHorz\', timeout: 0, speed: 500, next: \'#next\', prev: \'#prev\'});' + "\n" + ' $("#cycleV60").cycle({fx: \'scrollHorz\', timeout: 0, speed: 500, next: \'#next\', prev: \'#prev\'});' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'function prevXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' $("#cycleXC60").cycle(\'prev\'); ' + "\n" + '}' + "\n" + '' + "\n" + 'function nextXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' $("#cycleXC60").cycle(\'next\'); ' + "\n" + '}' + "\n" + '' + "\n" + 'function prevV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' $("#cycleV60").cycle(\'prev\'); ' + "\n" + '}' + "\n" + '' + "\n" + 'function nextV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' $("#cycleV60").cycle(\'next\'); ' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + '' + "\n" + 'var direction = 0;' + "\n" + 'var timer;' + "\n" + '' + "\n" + 'function restartTimeline1 () {' + "\n" + ' if (interaction) { return false; }' + "\n" + ' counter1++;' + "\n" + ' if (counter1 > 8)' + "\n" + ' {' + "\n" + ' //TweenLite.to(element, 0.5, {top: 80, ease:"Expo.easeOut", delay: 0});' + "\n" + ' return false;' + "\n" + ' }' + "\n" + ' else' + "\n" + ' {' + "\n" + ' if (direction == 0)' + "\n" + ' {' + "\n" + ' clearTimeout(timer);' + "\n" + ' timer = setTimeout (function () {' + "\n" + ' direction = 1;' + "\n" + ' tl1.reverse(); ' + "\n" + ' }, 4000);' + "\n" + ' }' + "\n" + ' else' + "\n" + ' {' + "\n" + ' clearTimeout(timer);' + "\n" + ' setTimeout (function () {' + "\n" + ' direction = 0;' + "\n" + ' tl1.restart(); ' + "\n" + ' }, 4000);' + "\n" + ' }' + "\n" + ' ' + "\n" + ' }' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'var tl2 = new TimelineLite;' + "\n" + 'tl2.pause();' + "\n" + 'var tl3 = new TimelineLite;' + "\n" + 'tl3.pause();' + "\n" + 'var tl4 = new TimelineLite;' + "\n" + 'tl4.pause();' + "\n" + 'var tl5 = new TimelineLite;' + "\n" + 'tl5.pause();' + "\n" + 'var tl6 = new TimelineLite;' + "\n" + 'tl6.pause();' + "\n" + 'var tl7 = new TimelineLite;' + "\n" + 'tl7.pause();' + "\n" + '' + "\n" + 'function animationOther () ' + "\n" + '{' + "\n" + '' + "\n" + ' tl2.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl2.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl2.to(videoSlideXC60, 0.001, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl2.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl2.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' tl3.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl3.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl3.to(EquipmentSlideXC60, 0.001, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl3.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl3.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' tl4.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl4.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl4.to(GallerySlideXC60, 0.01, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl4.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl4.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' tl5.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl5.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl5.to(videoSlideV60, 0.001, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl5.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl5.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' tl6.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl6.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl6.to(EquipmentSlideV60, 0.001, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl6.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl6.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' tl7.to(BLACK, 0.001, {zIndex:9999999999, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl7.to(BLACK, 0.2, {alpha:1, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl7.to(GallerySlideV60, 0.01, {alpha:1, zIndex:120, ease:"Expo.easeOut", delay: 0});' + "\n" + ' tl7.to(BLACK, 0.2, {alpha:0, ease:"Linear.easeNone", delay: 0.1});' + "\n" + ' tl7.to(BLACK, 0.001, {zIndex:0, ease:"Linear.easeNone", delay: 0});' + "\n" + ' ' + "\n" + ' ' + "\n" + '' + "\n" + ' tl99.to(words, 0, {y:0, ease:"Linear.easeNone", delay: 0});' + "\n" + '' + "\n" + ' ' + "\n" + '' + "\n" + ' tl99.to(words, 0.5, {y:-20, ease:"Expo.easeOut", delay: 2});' + "\n" + ' tl99.to(words, 0.5, {y:-40, ease:"Expo.easeOut", delay: 2});' + "\n" + ' tl99.to(words, 0.5, {y:-60, ease:"Expo.easeOut", delay: 2});' + "\n" + ' tl99.to(words, 0.5, {y:-80, ease:"Expo.easeOut", delay: 2});' + "\n" + ' tl99.to(words, 0.5, {y:-100, ease:"Expo.easeOut", delay: 2});' + "\n" + ' tl99.to(words, 0.5, {y:-120, ease:"Expo.easeOut", delay: 2});' + "\n" + ' ' + "\n" + '}' + "\n" + '' + "\n" + 'var counter99 = 0;' + "\n" + 'var tl99 = new TimelineLite({onComplete:restartTimeline99});' + "\n" + 'tl99.pause();' + "\n" + '' + "\n" + '' + "\n" + 'function restartTimeline99 () {' + "\n" + ' counter99++' + "\n" + ' if (counter99 > 2)' + "\n" + ' {' + "\n" + ' //TweenLite.to(element, 0.5, {top: 80, ease:"Expo.easeOut", delay: 0});' + "\n" + ' return false;' + "\n" + ' }' + "\n" + ' else' + "\n" + ' {' + "\n" + ' tl99.restart(); ' + "\n" + ' }' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'function init () {' + "\n" + '' + "\n" + ' API.registerImpression();' + "\n" + ' ' + "\n" + ' document.getElementById("container").onmouseover=mouseOver;' + "\n" + ' document.getElementById("container").onmouseout=mouseOut;' + "\n" + '' + "\n" + ' parent.OnAds_b0915c493ef0dc52b75bb50042842a81politeListen();' + "\n" + '}' + "\n" + 'var intViewport;' + "\n" + '' + "\n" + 'function politeInit ()' + "\n" + '{' + "\n" + ' appendHtml();' + "\n" + ' resetCar();' + "\n" + ' animationCar();' + "\n" + ' animationOther();' + "\n" + ' initGalleries();' + "\n" + ' ' + "\n" + ' $(\'#container\').waitForImages(function() {' + "\n" + ' parent.OnAds_b0915c493ef0dc52b75bb50042842a81_isInViewport(); // Listen for the banner to enter the viewport / getting visible on the webpage.' + "\n" + ' });' + "\n" + '}' + "\n" + '' + "\n" + 'function inViewport ()' + "\n" + '{' + "\n" + ' ' + "\n" + ' setTimeout(function () { tl1.restart(); }, 1000);' + "\n" + ' tl99.restart();' + "\n" + ' $("#startImage").fadeOut();' + "\n" + '}' + "\n" + '' + "\n" + 'var mytimer;' + "\n" + '' + "\n" + '$("#container").mouseleave(function () {' + "\n" + ' clearTimeout(mytimer);' + "\n" + '});' + "\n" + '' + "\n" + '$("#container").mouseenter(function ()' + "\n" + '{' + "\n" + ' mytimer = setTimeout(track, 2000);' + "\n" + '});' + "\n" + '' + "\n" + 'function track ()' + "\n" + '{' + "\n" + ' document.getElementById(\'pixel\').innerHTML = \'\';' + "\n" + '}' + "\n" + '' + "\n" + 'function showVideoSlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl2.play();' + "\n" + ' $("#linkVideoSlideXC60").show();' + "\n" + ' $("#closeVideoSlideXC60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideVideoSlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl2.reverse();' + "\n" + ' $("#linkVideoSlideXC60").hide();' + "\n" + ' $("#closeVideoSlideXC60").hide();' + "\n" + '}' + "\n" + '' + "\n" + 'function showEquipmentSlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl3.play();' + "\n" + ' $("#linkEquipmentSlideXC60").show();' + "\n" + ' $("#closeEquipmentSlideXC60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideEquipmentSlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl3.reverse();' + "\n" + ' $("#linkEquipmentSlideXC60").hide();' + "\n" + ' $("#closeEquipmentSlideXC60").hide();' + "\n" + '}' + "\n" + '' + "\n" + 'function showGallerySlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl4.play();' + "\n" + ' $("#linkGallerySlideXC60").show();' + "\n" + ' $("#closeGallerySlideXC60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideGallerySlideXC60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl4.reverse();' + "\n" + ' $("#linkGallerySlideXC60").hide();' + "\n" + ' $("#closeGallerySlideXC60").hide();' + "\n" + '}' + "\n" + '' + "\n" + 'function showVideoSlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl5.play();' + "\n" + ' $("#linkVideoSlideV60").show();' + "\n" + ' $("#closeVideoSlideV60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideVideoSlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl5.reverse();' + "\n" + ' $("#linkVideoSlideV60").hide();' + "\n" + ' $("#closeVideoSlideV60").hide();' + "\n" + '}' + "\n" + '' + "\n" + 'function showEquipmentSlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl6.play();' + "\n" + ' $("#linkEquipmentSlideV60").show();' + "\n" + ' $("#closeEquipmentSlideV60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideEquipmentSlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl6.reverse();' + "\n" + ' $("#linkEquipmentSlideV60").hide();' + "\n" + ' $("#closeEquipmentSlideV60").hide();' + "\n" + '}' + "\n" + '' + "\n" + 'function showGallerySlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl7.play();' + "\n" + ' $("#linkGallerySlideV60").show();' + "\n" + ' $("#closeGallerySlideV60").show();' + "\n" + '}' + "\n" + '' + "\n" + 'function hideGallerySlideV60 ()' + "\n" + '{' + "\n" + ' regInt();' + "\n" + ' tl7.reverse();' + "\n" + ' $("#linkGallerySlideV60").hide();' + "\n" + ' $("#closeGallerySlideV60").hide();' + "\n" + '}' + "\n" + '' + "\n" + '' + "\n" + 'function regInt ()' + "\n" + '{' + "\n" + '}' + "\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" + ' ' + "\n"; if (location.protocol === 'https:') { OnAds_b0915c493ef0dc52b75bb50042842a81.contentWindow.contents = OnAds_b0915c493ef0dc52b75bb50042842a81.contentWindow.contents.replace(/http:\/\/pool/g, 'https://pool'); } OnAds_b0915c493ef0dc52b75bb50042842a81.src = 'javascript:window["contents"]'; } function OnAds_b0915c493ef0dc52b75bb50042842a81_scroll (intMove) { document.body.scrollTop = document.body.scrollTop + intMove; } function OnAds_b0915c493ef0dc52b75bb50042842a81_isInScreen () { if (OnAds_b0915c493ef0dc52b75bb50042842a81_isElementInViewport('OnAds_b0915c493ef0dc52b75bb50042842a81')) { // register inscreen view document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81').contentWindow.API.registerEvent(4); } else { setTimeout("OnAds_b0915c493ef0dc52b75bb50042842a81_isInScreen();", 500); } } function OnAds_b0915c493ef0dc52b75bb50042842a81_isInViewport () { if (OnAds_b0915c493ef0dc52b75bb50042842a81_isElementInViewport('OnAds_b0915c493ef0dc52b75bb50042842a81')) { document.getElementById('OnAds_b0915c493ef0dc52b75bb50042842a81').contentWindow.inViewport(); } else { setTimeout("OnAds_b0915c493ef0dc52b75bb50042842a81_isInViewport()", 500); } } function OnAds_b0915c493ef0dc52b75bb50042842a81_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_b0915c493ef0dc52b75bb50042842a81_mraid) { mraid.addEventListener('stateChange', function(state) { if (state == 'default') { OnAds_b0915c493ef0dc52b75bb50042842a81_collapse (); } }); if (mraid.getState() === 'loading') { mraid.addEventListener('ready', OnAds_b0915c493ef0dc52b75bb50042842a81_init); } else { OnAds_b0915c493ef0dc52b75bb50042842a81_init(); } } else { var OnAds_b0915c493ef0dc52b75bb50042842a81_AutoPolite = 0; if (OnAds_b0915c493ef0dc52b75bb50042842a81_AutoPolite == 1) { OnAds_b0915c493ef0dc52b75bb50042842a81_autoPolite(); } else { setTimeout("OnAds_b0915c493ef0dc52b75bb50042842a81_init();", 500); } } function OnAds_b0915c493ef0dc52b75bb50042842a81_mraid_open (url) { mraid.open(url); } function OnAds_b0915c493ef0dc52b75bb50042842a81_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_b0915c493ef0dc52b75bb50042842a81_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; }