(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [];


(lib.AnMovieClip = function(){
	this.actionFrames = [];
	this.ignorePause = false;
	this.gotoAndPlay = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
	}
	this.play = function(){
		cjs.MovieClip.prototype.play.call(this);
	}
	this.gotoAndStop = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
	}
	this.stop = function(){
		cjs.MovieClip.prototype.stop.call(this);
	}
}).prototype = p = new cjs.MovieClip();
// symbols:
// helper functions:

function mc_symbol_clone() {
	var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
	clone.gotoAndStop(this.currentFrame);
	clone.paused = this.paused;
	clone.framerate = this.framerate;
	return clone;
}

function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
	var prototype = cjs.extend(symbol, cjs.MovieClip);
	prototype.clone = mc_symbol_clone;
	prototype.nominalBounds = nominalBounds;
	prototype.frameBounds = frameBounds;
	return prototype;
	}


(lib.ray12 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-212.6,0,212.6).s().p("EgGGAipMAMNhFRMgFSBFRg");
	this.shape.setTransform(39.1,221.65);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray12, new cjs.Rectangle(0,0,78.2,443.3), null);


(lib.ray11 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-212.3,0,212.4).s().p("EgNJAiwMAaThFfMgWFBFfg");
	this.shape.setTransform(84.225,222.4);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray11, new cjs.Rectangle(0,0,168.5,444.8), null);


(lib.ray10 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0.1,-200.7,0.1,200.8).s().p("EgX+Ai6MAv8hFzMgk9BFzg");
	this.shape.setTransform(153.45,223.425);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray10, new cjs.Rectangle(0,0,306.9,446.9), null);


(lib.ray9 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0.1,-217.4,0.1,217.4).s().p("Egh9AjYMBD7hGvMhAwBGvg");
	this.shape.setTransform(217.4,226.375);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray9, new cjs.Rectangle(0,0,434.8,452.8), null);


(lib.ray8 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-207.1,0,207.1).s().p("EgwFAjsMBgLhHXMhU5BHXg");
	this.shape.setTransform(307.825,228.4);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray8, new cjs.Rectangle(0,0,615.7,456.8), null);


(lib.ray7 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-196.7,0,196.7).s().p("Eg01AkEMBpqhIHMhlcBIHg");
	this.shape.setTransform(338.15,230.8);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray7, new cjs.Rectangle(0,0,676.3,461.6), null);


(lib.ray6 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0.1,-200.9,0.1,201).s().p("EgB4AipMADHhFRMAAqBFRg");
	this.shape.setTransform(12.05,221.725);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray6, new cjs.Rectangle(0,0,24.1,443.5), null);


(lib.ray5 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-208.2,0,208.2).s().p("EgKJAisMAUThFXMgL5BFXg");
	this.shape.setTransform(64.975,222.025);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray5, new cjs.Rectangle(0,0,130,444.1), null);


(lib.ray4 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0.1,-209.7,0.1,209.8).s().p("EgQ8Ai1MAh5hFpMgfJBFpg");
	this.shape.setTransform(108.5,222.875);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray4, new cjs.Rectangle(0,0,217,445.8), null);


(lib.ray3 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-203.6,0,203.6).s().p("EAeGgjEMguWBGHIt1ACg");
	this.shape.setTransform(192.625,224.475);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray3, new cjs.Rectangle(0,0,385.3,449), null);


(lib.ray2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0.1,-208.5,0.1,208.6).s().p("EgqIAjWMBURhGrMhPbBGrg");
	this.shape.setTransform(269.7,226.225);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray2, new cjs.Rectangle(0,0,539.4,452.5), null);


(lib.ray1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.lf(["rgba(255,255,255,0.8)","rgba(255,255,255,0)"],[0,1],0,-208,0,208).s().p("EgwWAi5QPMqkev2SQLwohXZxFQPnrYACADQADAGvlLvQxDM3yHNdQ76UxvJK3g");
	this.shape.setTransform(309.4755,223.2992);

	this.timeline.addTween(cjs.Tween.get(this.shape).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.ray1, new cjs.Rectangle(0,0,619,446.6), null);


(lib.rayset3 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// ray12
	this.instance = new lib.ray12();
	this.instance.setTransform(697.15,-15.2,1,1,0,0,0,78.5,-30.8);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({rotation:-1.7331,x:697.1,y:-15.25},69).to({rotation:1.9509,x:697.15,y:-15.2},80).to({rotation:0},51).wait(1));

	// ray11
	this.instance_1 = new lib.ray11();
	this.instance_1.setTransform(697.15,-15.15,1,1,0,0,0,174,-29.3);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).to({regX:174.1,rotation:1.7331,x:697.25},69).to({regX:174,rotation:-2.2151,x:697.15,y:-15.2},80).to({rotation:0,y:-15.15},51).wait(1));

	// ray10
	this.instance_2 = new lib.ray10();
	this.instance_2.setTransform(697.15,-15.15,1,1,0,0,0,317.5,-27.3);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).to({rotation:-2.0016,y:-15.25},69).to({regX:317.6,rotation:2.1923,x:697.25,y:-15.15},80).to({regX:317.5,rotation:0,x:697.15},51).wait(1));

	// ray9
	this.instance_3 = new lib.ray9();
	this.instance_3.setTransform(697.15,-15.15,1,1,0,0,0,449.5,-24);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).to({regX:449.6,rotation:1.7331,x:697.3,y:-15.1},69).to({regX:449.4,regY:-23.9,rotation:-2.0016,x:697.1,y:-15.15},80).to({regX:449.5,regY:-24,rotation:0,x:697.15},51).wait(1));

	// ray8
	this.instance_4 = new lib.ray8();
	this.instance_4.setTransform(697.2,-15.1,1,1,0,0,0,633.9,-19.9);

	this.timeline.addTween(cjs.Tween.get(this.instance_4).to({rotation:-2.0016,y:-15.2},69).to({rotation:1.4838,y:-15.1},80).to({rotation:0},51).wait(1));

	// ray7
	this.instance_5 = new lib.ray7();
	this.instance_5.setTransform(697.1,-15.2,1,1,0,0,0,697.1,-15.2);

	this.timeline.addTween(cjs.Tween.get(this.instance_5).to({rotation:0.2999,x:697.2},69).to({rotation:-2.0016,x:697.1,y:-15.25},80).to({rotation:0,y:-15.2},51).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-2.4,-11.6,713.6,497.20000000000005);


(lib.rayset2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// ray6
	this.instance = new lib.ray6();
	this.instance.setTransform(657.9,-18.05,1,1,0,0,0,15.6,-26.6);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({rotation:-1.7331,y:-18.1},34).to({rotation:2.4513},68).to({rotation:0,y:-18.05},40).wait(1));

	// ray5
	this.instance_1 = new lib.ray5();
	this.instance_1.setTransform(657.8,-18.05,1,1,0,0,0,130.8,-26.1);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).to({regX:130.9,rotation:-1.9763,x:657.9,y:-18.1},34).to({rotation:2.2151,x:657.85,y:-18.05},68).to({regX:130.8,rotation:0,x:657.8},40).wait(1));

	// ray4
	this.instance_2 = new lib.ray4();
	this.instance_2.setTransform(657.9,-18,1,1,0,0,0,223.1,-24.4);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).to({rotation:-1.9763,y:-18.05},34).to({rotation:2.2151,y:-17.95},68).to({rotation:0,y:-18},40).wait(1));

	// ray2
	this.instance_3 = new lib.ray2();
	this.instance_3.setTransform(657.9,-18,1,1,0,0,0,554,-18);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).to({regY:-17.9,rotation:-1.2258,x:657.85,y:-17.95},34).to({regY:-18,rotation:1.9763},68).to({rotation:0,x:657.9,y:-18},40).wait(1));

	// ray1
	this.instance_4 = new lib.ray1();
	this.instance_4.setTransform(657.9,-18.05,1,1,0,0,0,657.9,-23.9);

	this.timeline.addTween(cjs.Tween.get(this.instance_4).to({regY:-23.8,rotation:-1.2258,y:-18},34).to({regX:657.8,regY:-23.9,rotation:2.1923,x:657.8,y:-18.05},68).to({regX:657.9,rotation:0,x:657.9},40).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-17.5,-19.3,698.1,485.7);


(lib.rayset1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// ray6
	this.instance = new lib.ray6();
	this.instance.setTransform(657.9,-18.05,1,1,0,0,0,15.6,-26.6);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({rotation:3.4379,y:-18},19).to({regY:-26.5,rotation:-1.7042},69).to({regY:-26.6,rotation:0,y:-18.05},35).wait(1));

	// ray5
	this.instance_1 = new lib.ray5();
	this.instance_1.setTransform(657.8,-18.05,1,1,0,0,0,130.8,-26.1);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).to({rotation:-2.9695,y:-18.1},19).to({regX:130.9,rotation:2.2378,x:657.85},69).to({regX:130.8,rotation:0,x:657.8,y:-18.05},35).wait(1));

	// ray4
	this.instance_2 = new lib.ray4();
	this.instance_2.setTransform(657.9,-18,1,1,0,0,0,223.1,-24.4);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).to({rotation:-3.4817,y:-18.05},19).to({rotation:1.7042,x:657.95,y:-17.95},69).to({rotation:0,x:657.9,y:-18},35).wait(1));

	// ray3
	this.instance_3 = new lib.ray3();
	this.instance_3.setTransform(657.85,-17.95,1,1,0,0,0,396,-21.4);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).to({regX:396.1,regY:-21.5,rotation:1.7042,x:657.95,y:-18},19).to({regY:-21.4,rotation:-1.4838},69).to({regX:396,rotation:0,x:657.85,y:-17.95},35).wait(1));

	// ray2
	this.instance_4 = new lib.ray2();
	this.instance_4.setTransform(657.9,-18,1,1,0,0,0,554,-18);

	this.timeline.addTween(cjs.Tween.get(this.instance_4).to({rotation:-2.2151,y:-18.05},19).to({rotation:1.7331,x:657.95,y:-18},69).to({rotation:0,x:657.9},35).wait(1));

	// ray1
	this.instance_5 = new lib.ray1();
	this.instance_5.setTransform(657.9,-18.05,1,1,0,0,0,657.9,-23.9);

	this.timeline.addTween(cjs.Tween.get(this.instance_5).to({rotation:1.7331,x:657.95},19).to({regY:-23.8,rotation:-1.4838},69).to({regY:-23.9,rotation:0,x:657.9},35).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-13.8,-16.7,695.1999999999999,490.2);


(lib.sunrayfw = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.instance = new lib.rayset3();
	this.instance.setTransform(9.4,238.3,1,1,0,0,0,348.6,223.2);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// Layer_4
	this.instance_1 = new lib.rayset2();
	this.instance_1.setTransform(31.35,239.15,1,1,0,0,0,333.2,217.2);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	// Layer_1
	this.instance_2 = new lib.rayset1();
	this.instance_2.setTransform(31.35,239.15,1,1,0,0,0,333.2,217.2);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.sunrayfw, new cjs.Rectangle(-339.2,15.1,703.8,461.59999999999997), null);


// stage content:
(lib.element_sun_rays_divine_Canvas = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.instance = new lib.sunrayfw();
	this.instance.setTransform(459.95,167,0.8498,0.8498,0,0,0,200,200);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(301.7,209.9,298.09999999999997,192.29999999999998);
// library properties:
lib.properties = {
	id: '676DCEBAAE15A94EA2882B478608C1A3',
	width: 600,
	height: 400,
	fps: 24,
	color: "#666666",
	opacity: 1.00,
	manifest: [],
	preloads: []
};



// bootstrap callback support:

(lib.Stage = function(canvas) {
	createjs.Stage.call(this, canvas);
}).prototype = p = new createjs.Stage();

p.setAutoPlay = function(autoPlay) {
	this.tickEnabled = autoPlay;
}
p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }

p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }

an.bootcompsLoaded = an.bootcompsLoaded || [];
if(!an.bootstrapListeners) {
	an.bootstrapListeners=[];
}

an.bootstrapCallback=function(fnCallback) {
	an.bootstrapListeners.push(fnCallback);
	if(an.bootcompsLoaded.length > 0) {
		for(var i=0; i<an.bootcompsLoaded.length; ++i) {
			fnCallback(an.bootcompsLoaded[i]);
		}
	}
};

an.compositions = an.compositions || {};
an.compositions['676DCEBAAE15A94EA2882B478608C1A3'] = {
	getStage: function() { return exportRoot.stage; },
	getLibrary: function() { return lib; },
	getSpriteSheet: function() { return ss; },
	getImages: function() { return img; }
};

an.compositionLoaded = function(id) {
	an.bootcompsLoaded.push(id);
	for(var j=0; j<an.bootstrapListeners.length; j++) {
		an.bootstrapListeners[j](id);
	}
}

an.getComposition = function(id) {
	return an.compositions[id];
}


an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {		
	var lastW, lastH, lastS=1;		
	window.addEventListener('resize', resizeCanvas);		
	resizeCanvas();		
	function resizeCanvas() {			
		var w = lib.properties.width, h = lib.properties.height;			
		var iw = window.innerWidth, ih=window.innerHeight;			
		var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;			
		if(isResp) {                
			if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {                    
				sRatio = lastS;                
			}				
			else if(!isScale) {					
				if(iw<w || ih<h)						
					sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==1) {					
				sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==2) {					
				sRatio = Math.max(xRatio, yRatio);				
			}			
		}
		domContainers[0].width = w * pRatio * sRatio;			
		domContainers[0].height = h * pRatio * sRatio;
		domContainers.forEach(function(container) {				
			container.style.width = w * sRatio + 'px';				
			container.style.height = h * sRatio + 'px';			
		});
		stage.scaleX = pRatio*sRatio;			
		stage.scaleY = pRatio*sRatio;
		lastW = iw; lastH = ih; lastS = sRatio;            
		stage.tickOnUpdate = false;            
		stage.update();            
		stage.tickOnUpdate = true;		
	}
}
an.handleSoundStreamOnTick = function(event) {
	if(!event.paused){
		var stageChild = stage.getChildAt(0);
		if(!stageChild.paused || stageChild.ignorePause){
			stageChild.syncStreamSounds();
		}
	}
}
an.handleFilterCache = function(event) {
	if(!event.paused){
		var target = event.target;
		if(target){
			if(target.filterCacheList){
				for(var index = 0; index < target.filterCacheList.length ; index++){
					var cacheInst = target.filterCacheList[index];
					if((cacheInst.startFrame <= target.currentFrame) && (target.currentFrame <= cacheInst.endFrame)){
						cacheInst.instance.cache(cacheInst.x, cacheInst.y, cacheInst.w, cacheInst.h);
					}
				}
			}
		}
	}
}


})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
var createjs, AdobeAn;