document.write(''); document.writeln(''); document.write(''); document.writeln(''); document.write(''); document.writeln(''); document.write(''); document.writeln(''); document.write(''); document.writeln(''); document.write(''); document.writeln(''); document.write('novamotors-336x280<\/title>'); document.writeln(''); document.write('<meta name="ad.size" content= "width=336, height=280">'); document.writeln(''); document.write('<script src="https:\/\/s0.2mdn.net\/ads\/studio\/cached_libs\/createjs_2019.11.15_min.js"><\/script>'); document.writeln(''); document.write('<script src="https:\/\/ads.nova-motors.de\/affiliate\/Banner\/HTML5\/2022\/novamotors-336x280\/novamotors-336x280.js"><\/script>'); document.writeln(''); document.write('<script>'); document.writeln(''); document.write('var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;'); document.writeln(''); document.write('function init() {'); document.writeln(''); document.write(' canvas = document.getElementById("canvas");'); document.writeln(''); document.write(' anim_container = document.getElementById("animation_container");'); document.writeln(''); document.write(' dom_overlay_container = document.getElementById("dom_overlay_container");'); document.writeln(''); document.write(' var comp=AdobeAn.getComposition("80EF2D85F657BD479B466E941C33FABD");'); document.writeln(''); document.write(' var lib=comp.getLibrary();'); document.writeln(''); document.write(' var loader = new createjs.LoadQueue(false);'); document.writeln(''); document.write(' loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)});'); document.writeln(''); document.write(' loader.addEventListener("complete", function(evt){handleComplete(evt,comp)});'); document.writeln(''); document.write(' var lib=comp.getLibrary();'); document.writeln(''); document.write(' loader.loadManifest(lib.properties.manifest);'); document.writeln(''); document.write('}'); document.writeln(''); document.write('function handleFileLoad(evt, comp) {'); document.writeln(''); document.write(' var images=comp.getImages();'); document.writeln(''); document.write(' if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; }'); document.writeln(''); document.write('}'); document.writeln(''); document.write('function handleComplete(evt,comp) {'); document.writeln(''); document.write(' \/\/This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage.'); document.writeln(''); document.write(' var lib=comp.getLibrary();'); document.writeln(''); document.write(' var ss=comp.getSpriteSheet();'); document.writeln(''); document.write(' var queue = evt.target;'); document.writeln(''); document.write(' var ssMetadata = lib.ssMetadata;'); document.writeln(''); document.write(' for(i=0; i<ssMetadata.length; i++) {'); document.writeln(''); document.write(' ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} )'); document.writeln(''); document.write(' }'); document.writeln(''); document.write(' exportRoot = new lib.novamotors336x280();'); document.writeln(''); document.write(' stage = new lib.Stage(canvas);'); document.writeln(''); document.write(' \/\/Registers the "tick" event listener.'); document.writeln(''); document.write(' fnStartAnimation = function() {'); document.writeln(''); document.write(' stage.addChild(exportRoot);'); document.writeln(''); document.write(' createjs.Ticker.framerate = lib.properties.fps;'); document.writeln(''); document.write(' createjs.Ticker.addEventListener("tick", stage);'); document.writeln(''); document.write(' }'); document.writeln(''); document.write(' \/\/Code to support hidpi screens and responsive scaling.'); document.writeln(''); document.write(' AdobeAn.makeResponsive(false,\'both\',false,1,[canvas,anim_container,dom_overlay_container]);'); document.writeln(''); document.write(' AdobeAn.compositionLoaded(lib.properties.id);'); document.writeln(''); document.write(' fnStartAnimation();'); document.writeln(''); document.write('}'); document.writeln(''); document.write('<\/script>'); document.writeln(''); document.write('<script type = "text\/javascript">'); document.writeln(''); document.write(' var clickTag = "https:\/\/www.awin1.com\/awclick.php?mid=20355&id=551477&gid=397401&linkid=3121740&clickref=&p=";'); document.writeln(''); document.write('<\/script>'); document.writeln(''); document.write('<\/head>'); document.writeln(''); document.write('<body onload="init();" style="margin:0px;">'); document.writeln(''); document.write(' <div id="animation_container" style="background-color:rgba(0, 136, 179, 1.00); width:336px; height:280px">'); document.writeln(''); document.write(' <a onmouseover="" style="cursor: pointer;" onclick="javascript:void(window.open(clickTag))"><canvas id="canvas" width="336" height="280" style="position: absolute; display: block; background-color:rgba(0, 136, 179, 1.00);"><\/canvas><\/a>'); document.writeln(''); document.write(' <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:336px; height:280px; position: absolute; left: 0px; top: 0px; display: block;">'); document.writeln(''); document.write(' <\/div>'); document.writeln(''); document.write(' <\/div>'); document.writeln(''); document.write('<\/body>'); document.writeln(''); document.write('<\/html>');