(function (lib, img, cjs, ss) {

var p; // shortcut to reference prototypes
var rect; // used to reference frame bounds

// library properties:
lib.properties = {
	width: 1280,
	height: 720,
	fps: 30,
	color: "#FFFFFF",
	manifest: [
		{src:"images/Bitmap1.png", id:"Bitmap1"},
		{src:"images/Bitmap2.png", id:"Bitmap2"},
		{src:"images/Bitmap3.png", id:"Bitmap3"},
		{src:"images/Bitmap4.png", id:"Bitmap4"},
		{src:"images/Bitmap5.png", id:"Bitmap5"},
		{src:"images/Bitmap6.png", id:"Bitmap6"},
		{src:"images/gfx_dice_sh.png", id:"gfx_dice_sh"},
		{src:"images/gfxSound.png", id:"gfxSound"},
		{src:"images/koscMC0001.png", id:"koscMC0001"},
		{src:"images/koscMC0002.png", id:"koscMC0002"},
		{src:"images/koscMC0003.png", id:"koscMC0003"},
		{src:"images/koscMC0004.png", id:"koscMC0004"},
		{src:"images/koscMC0005.png", id:"koscMC0005"},
		{src:"images/koscMC0006.png", id:"koscMC0006"},
		{src:"images/koscMC0007.png", id:"koscMC0007"},
		{src:"images/koscMC0008.png", id:"koscMC0008"},
		{src:"images/koscMC0009.png", id:"koscMC0009"},
		{src:"images/koscMC0010.png", id:"koscMC0010"},
		{src:"images/koscMC0011.png", id:"koscMC0011"},
		{src:"images/koscMC0012.png", id:"koscMC0012"},
		{src:"images/koscMC0013.png", id:"koscMC0013"},
		{src:"images/koscMC0014.png", id:"koscMC0014"},
		{src:"images/koscMC0015.png", id:"koscMC0015"},
		{src:"images/koscMC0016.png", id:"koscMC0016"},
		{src:"images/koscMC0017.png", id:"koscMC0017"},
		{src:"images/koscMC0018.png", id:"koscMC0018"},
		{src:"images/koscMC0019.png", id:"koscMC0019"},
		{src:"images/koscMC0020.png", id:"koscMC0020"},
		{src:"images/koscMC0021.png", id:"koscMC0021"},
		{src:"images/koscMC0022.png", id:"koscMC0022"},
		{src:"images/koscMC0023.png", id:"koscMC0023"},
		{src:"images/koscMC0024.png", id:"koscMC0024"},
		{src:"images/koscMC0025.png", id:"koscMC0025"},
		{src:"images/koscMC0026.png", id:"koscMC0026"},
		{src:"images/koscMC0027.png", id:"koscMC0027"},
		{src:"images/koscMC0028.png", id:"koscMC0028"},
		{src:"images/koscMC0029.png", id:"koscMC0029"},
		{src:"images/koscMC0030.png", id:"koscMC0030"},
		{src:"images/koscMC0031.png", id:"koscMC0031"},
		{src:"images/koscMC0032.png", id:"koscMC0032"},
		{src:"images/koscMC0033.png", id:"koscMC0033"},
		{src:"images/koscMC0034.png", id:"koscMC0034"},
		{src:"images/koscMC0035.png", id:"koscMC0035"},
		{src:"images/koscMC0036.png", id:"koscMC0036"},
		{src:"images/koscMC0037.png", id:"koscMC0037"},
		{src:"images/koscMC0038.png", id:"koscMC0038"},
		{src:"images/koscMC0039.png", id:"koscMC0039"},
		{src:"images/koscMC0040.png", id:"koscMC0040"},
		{src:"images/koscMC0041.png", id:"koscMC0041"},
		{src:"images/koscMC0042.png", id:"koscMC0042"},
		{src:"images/koscMC0043.png", id:"koscMC0043"},
		{src:"images/koscMC0044.png", id:"koscMC0044"},
		{src:"images/koscMC0045.png", id:"koscMC0045"},
		{src:"images/koscMC0046.png", id:"koscMC0046"},
		{src:"images/koscMC0047.png", id:"koscMC0047"},
		{src:"images/koscMC0048.png", id:"koscMC0048"},
		{src:"images/koscMC0049.png", id:"koscMC0049"},
		{src:"images/koscMC0050.png", id:"koscMC0050"},
		{src:"images/koscMC0051.png", id:"koscMC0051"},
		{src:"images/koscMC0052.png", id:"koscMC0052"},
		{src:"images/koscMC0053.png", id:"koscMC0053"},
		{src:"images/koscMC0054.png", id:"koscMC0054"},
		{src:"images/koscMC0055.png", id:"koscMC0055"},
		{src:"images/koscMC0056.png", id:"koscMC0056"},
		{src:"images/koscMC0057.png", id:"koscMC0057"},
		{src:"images/koscMC0058.png", id:"koscMC0058"},
		{src:"images/koscMC0059.png", id:"koscMC0059"},
		{src:"images/koscMC0060.png", id:"koscMC0060"},
		{src:"images/koscMC0061.png", id:"koscMC0061"},
		{src:"images/koscMC0062.png", id:"koscMC0062"},
		{src:"images/koscMC0063.png", id:"koscMC0063"},
		{src:"images/koscMC0064.png", id:"koscMC0064"},
		{src:"images/koscMC0065.png", id:"koscMC0065"},
		{src:"images/koscMC0066.png", id:"koscMC0066"},
		{src:"images/koscMC0067.png", id:"koscMC0067"},
		{src:"images/koscMC0068.png", id:"koscMC0068"},
		{src:"images/koscMC0069.png", id:"koscMC0069"},
		{src:"images/koscMC0070.png", id:"koscMC0070"},
		{src:"images/koscMC0071.png", id:"koscMC0071"},
		{src:"images/koscMC0072.png", id:"koscMC0072"},
		{src:"images/koscMC0073.png", id:"koscMC0073"},
		{src:"images/koscMC0074.png", id:"koscMC0074"},
		{src:"images/koscMC0075.png", id:"koscMC0075"},
		{src:"images/koscMC0076.png", id:"koscMC0076"},
		{src:"images/koscMC0077.png", id:"koscMC0077"},
		{src:"images/koscMC0078.png", id:"koscMC0078"},
		{src:"images/koscMC0079.png", id:"koscMC0079"},
		{src:"images/koscMC0080.png", id:"koscMC0080"},
		{src:"images/koscMC0081.png", id:"koscMC0081"},
		{src:"images/koscMC0082.png", id:"koscMC0082"},
		{src:"images/koscMC0083.png", id:"koscMC0083"},
		{src:"images/koscMC0084.png", id:"koscMC0084"},
		{src:"images/koscMC0085.png", id:"koscMC0085"},
		{src:"images/koscMC0086.png", id:"koscMC0086"},
		{src:"images/koscMC0087.png", id:"koscMC0087"},
		{src:"images/koscMC0088.png", id:"koscMC0088"},
		{src:"images/koscMC0089.png", id:"koscMC0089"},
		{src:"images/koscMC0090.png", id:"koscMC0090"},
		{src:"images/koscMC0091.png", id:"koscMC0091"},
		{src:"images/koscMC0092.png", id:"koscMC0092"},
		{src:"images/koscMC0093.png", id:"koscMC0093"},
		{src:"images/koscMC0094.png", id:"koscMC0094"},
		{src:"images/koscMC0095.png", id:"koscMC0095"},
		{src:"images/koscMC0096.png", id:"koscMC0096"},
		{src:"images/koscMC0097.png", id:"koscMC0097"},
		{src:"images/koscMC0098.png", id:"koscMC0098"}
	]
};



// symbols:



(lib.Bitmap1 = function() {
	this.initialize(img.Bitmap1);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,40,40);


(lib.Bitmap2 = function() {
	this.initialize(img.Bitmap2);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,38,71);


(lib.Bitmap3 = function() {
	this.initialize(img.Bitmap3);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,38,71);


(lib.Bitmap4 = function() {
	this.initialize(img.Bitmap4);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,38,71);


(lib.Bitmap5 = function() {
	this.initialize(img.Bitmap5);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,38,71);


(lib.Bitmap6 = function() {
	this.initialize(img.Bitmap6);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,1069,446);


(lib.gfx_dice_sh = function() {
	this.initialize(img.gfx_dice_sh);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,247,88);


(lib.gfxSound = function() {
	this.initialize(img.gfxSound);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,64,46);


(lib.koscMC0001 = function() {
	this.initialize(img.koscMC0001);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0002 = function() {
	this.initialize(img.koscMC0002);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0003 = function() {
	this.initialize(img.koscMC0003);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0004 = function() {
	this.initialize(img.koscMC0004);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0005 = function() {
	this.initialize(img.koscMC0005);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0006 = function() {
	this.initialize(img.koscMC0006);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0007 = function() {
	this.initialize(img.koscMC0007);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0008 = function() {
	this.initialize(img.koscMC0008);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0009 = function() {
	this.initialize(img.koscMC0009);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0010 = function() {
	this.initialize(img.koscMC0010);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0011 = function() {
	this.initialize(img.koscMC0011);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0012 = function() {
	this.initialize(img.koscMC0012);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0013 = function() {
	this.initialize(img.koscMC0013);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0014 = function() {
	this.initialize(img.koscMC0014);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0015 = function() {
	this.initialize(img.koscMC0015);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0016 = function() {
	this.initialize(img.koscMC0016);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0017 = function() {
	this.initialize(img.koscMC0017);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0018 = function() {
	this.initialize(img.koscMC0018);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0019 = function() {
	this.initialize(img.koscMC0019);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0020 = function() {
	this.initialize(img.koscMC0020);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0021 = function() {
	this.initialize(img.koscMC0021);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0022 = function() {
	this.initialize(img.koscMC0022);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0023 = function() {
	this.initialize(img.koscMC0023);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0024 = function() {
	this.initialize(img.koscMC0024);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0025 = function() {
	this.initialize(img.koscMC0025);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0026 = function() {
	this.initialize(img.koscMC0026);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0027 = function() {
	this.initialize(img.koscMC0027);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0028 = function() {
	this.initialize(img.koscMC0028);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0029 = function() {
	this.initialize(img.koscMC0029);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0030 = function() {
	this.initialize(img.koscMC0030);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0031 = function() {
	this.initialize(img.koscMC0031);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0032 = function() {
	this.initialize(img.koscMC0032);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0033 = function() {
	this.initialize(img.koscMC0033);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0034 = function() {
	this.initialize(img.koscMC0034);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0035 = function() {
	this.initialize(img.koscMC0035);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0036 = function() {
	this.initialize(img.koscMC0036);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0037 = function() {
	this.initialize(img.koscMC0037);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0038 = function() {
	this.initialize(img.koscMC0038);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0039 = function() {
	this.initialize(img.koscMC0039);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0040 = function() {
	this.initialize(img.koscMC0040);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0041 = function() {
	this.initialize(img.koscMC0041);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0042 = function() {
	this.initialize(img.koscMC0042);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0043 = function() {
	this.initialize(img.koscMC0043);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0044 = function() {
	this.initialize(img.koscMC0044);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0045 = function() {
	this.initialize(img.koscMC0045);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0046 = function() {
	this.initialize(img.koscMC0046);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0047 = function() {
	this.initialize(img.koscMC0047);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0048 = function() {
	this.initialize(img.koscMC0048);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0049 = function() {
	this.initialize(img.koscMC0049);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0050 = function() {
	this.initialize(img.koscMC0050);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0051 = function() {
	this.initialize(img.koscMC0051);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0052 = function() {
	this.initialize(img.koscMC0052);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0053 = function() {
	this.initialize(img.koscMC0053);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0054 = function() {
	this.initialize(img.koscMC0054);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0055 = function() {
	this.initialize(img.koscMC0055);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0056 = function() {
	this.initialize(img.koscMC0056);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0057 = function() {
	this.initialize(img.koscMC0057);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0058 = function() {
	this.initialize(img.koscMC0058);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0059 = function() {
	this.initialize(img.koscMC0059);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0060 = function() {
	this.initialize(img.koscMC0060);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0061 = function() {
	this.initialize(img.koscMC0061);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0062 = function() {
	this.initialize(img.koscMC0062);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0063 = function() {
	this.initialize(img.koscMC0063);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0064 = function() {
	this.initialize(img.koscMC0064);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0065 = function() {
	this.initialize(img.koscMC0065);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0066 = function() {
	this.initialize(img.koscMC0066);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0067 = function() {
	this.initialize(img.koscMC0067);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0068 = function() {
	this.initialize(img.koscMC0068);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0069 = function() {
	this.initialize(img.koscMC0069);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0070 = function() {
	this.initialize(img.koscMC0070);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0071 = function() {
	this.initialize(img.koscMC0071);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0072 = function() {
	this.initialize(img.koscMC0072);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0073 = function() {
	this.initialize(img.koscMC0073);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0074 = function() {
	this.initialize(img.koscMC0074);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0075 = function() {
	this.initialize(img.koscMC0075);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0076 = function() {
	this.initialize(img.koscMC0076);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0077 = function() {
	this.initialize(img.koscMC0077);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0078 = function() {
	this.initialize(img.koscMC0078);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0079 = function() {
	this.initialize(img.koscMC0079);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0080 = function() {
	this.initialize(img.koscMC0080);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0081 = function() {
	this.initialize(img.koscMC0081);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0082 = function() {
	this.initialize(img.koscMC0082);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0083 = function() {
	this.initialize(img.koscMC0083);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0084 = function() {
	this.initialize(img.koscMC0084);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0085 = function() {
	this.initialize(img.koscMC0085);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0086 = function() {
	this.initialize(img.koscMC0086);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0087 = function() {
	this.initialize(img.koscMC0087);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0088 = function() {
	this.initialize(img.koscMC0088);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0089 = function() {
	this.initialize(img.koscMC0089);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0090 = function() {
	this.initialize(img.koscMC0090);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0091 = function() {
	this.initialize(img.koscMC0091);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0092 = function() {
	this.initialize(img.koscMC0092);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0093 = function() {
	this.initialize(img.koscMC0093);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0094 = function() {
	this.initialize(img.koscMC0094);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0095 = function() {
	this.initialize(img.koscMC0095);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0096 = function() {
	this.initialize(img.koscMC0096);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0097 = function() {
	this.initialize(img.koscMC0097);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.koscMC0098 = function() {
	this.initialize(img.koscMC0098);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,160,160);


(lib.Symbol1 = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.Bitmap6();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,1069,446);
p.frameBounds = [rect];


(lib.soundPlayer = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.gfxSound();
	this.instance.setTransform(-25.6,-18.4,0.8,0.8);

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-25.6,-18.4,51.2,36.8);
p.frameBounds = [rect];


(lib.p4 = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.Bitmap5();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,38,71);
p.frameBounds = [rect];


(lib.p3 = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.Bitmap4();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,38,71);
p.frameBounds = [rect];


(lib.p2 = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.Bitmap3();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,38,71);
p.frameBounds = [rect];


(lib.p1 = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.Bitmap2();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,38,71);
p.frameBounds = [rect];


(lib.drop = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.Bitmap1();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(0,0,40,40);
p.frameBounds = [rect];


(lib.diceMc = function(mode,startPosition,loop) {
if (loop == null) { loop = false; }	this.initialize(mode,startPosition,loop,{roll:0,num6:20,num5:33,num4:46,num3:59,num2:72,num1:85});

	// timeline functions:
	this.frame_0 = function() {
		this.stop();
	}
	this.frame_19 = function() {
		this.gotoAndPlay('num'+this.parent.num);
	}
	this.frame_32 = function() {
		this.stop();
	}
	this.frame_45 = function() {
		this.stop();
	}
	this.frame_58 = function() {
		this.stop();
	}
	this.frame_71 = function() {
		this.stop();
	}
	this.frame_84 = function() {
		this.stop();
	}
	this.frame_97 = function() {
		this.stop();
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(19).call(this.frame_19).wait(13).call(this.frame_32).wait(13).call(this.frame_45).wait(13).call(this.frame_58).wait(13).call(this.frame_71).wait(13).call(this.frame_84).wait(13).call(this.frame_97).wait(1));

	// dice
	this.instance = new lib.koscMC0001();
	this.instance.setTransform(-80,-80);

	this.instance_1 = new lib.koscMC0002();
	this.instance_1.setTransform(-80,-80);

	this.instance_2 = new lib.koscMC0003();
	this.instance_2.setTransform(-80,-80);

	this.instance_3 = new lib.koscMC0004();
	this.instance_3.setTransform(-80,-80);

	this.instance_4 = new lib.koscMC0005();
	this.instance_4.setTransform(-80,-80);

	this.instance_5 = new lib.koscMC0006();
	this.instance_5.setTransform(-80,-80);

	this.instance_6 = new lib.koscMC0007();
	this.instance_6.setTransform(-80,-80);

	this.instance_7 = new lib.koscMC0008();
	this.instance_7.setTransform(-80,-80);

	this.instance_8 = new lib.koscMC0009();
	this.instance_8.setTransform(-80,-80);

	this.instance_9 = new lib.koscMC0010();
	this.instance_9.setTransform(-80,-80);

	this.instance_10 = new lib.koscMC0011();
	this.instance_10.setTransform(-80,-80);

	this.instance_11 = new lib.koscMC0012();
	this.instance_11.setTransform(-80,-80);

	this.instance_12 = new lib.koscMC0013();
	this.instance_12.setTransform(-80,-80);

	this.instance_13 = new lib.koscMC0014();
	this.instance_13.setTransform(-80,-80);

	this.instance_14 = new lib.koscMC0015();
	this.instance_14.setTransform(-80,-80);

	this.instance_15 = new lib.koscMC0016();
	this.instance_15.setTransform(-80,-80);

	this.instance_16 = new lib.koscMC0017();
	this.instance_16.setTransform(-80,-80);

	this.instance_17 = new lib.koscMC0018();
	this.instance_17.setTransform(-80,-80);

	this.instance_18 = new lib.koscMC0019();
	this.instance_18.setTransform(-80,-80);

	this.instance_19 = new lib.koscMC0020();
	this.instance_19.setTransform(-80,-80);

	this.instance_20 = new lib.koscMC0021();
	this.instance_20.setTransform(-80,-80);

	this.instance_21 = new lib.koscMC0022();
	this.instance_21.setTransform(-80,-80);

	this.instance_22 = new lib.koscMC0023();
	this.instance_22.setTransform(-80,-80);

	this.instance_23 = new lib.koscMC0024();
	this.instance_23.setTransform(-80,-80);

	this.instance_24 = new lib.koscMC0025();
	this.instance_24.setTransform(-80,-80);

	this.instance_25 = new lib.koscMC0026();
	this.instance_25.setTransform(-80,-80);

	this.instance_26 = new lib.koscMC0027();
	this.instance_26.setTransform(-80,-80);

	this.instance_27 = new lib.koscMC0028();
	this.instance_27.setTransform(-80,-80);

	this.instance_28 = new lib.koscMC0029();
	this.instance_28.setTransform(-80,-80);

	this.instance_29 = new lib.koscMC0030();
	this.instance_29.setTransform(-80,-80);

	this.instance_30 = new lib.koscMC0031();
	this.instance_30.setTransform(-80,-80);

	this.instance_31 = new lib.koscMC0032();
	this.instance_31.setTransform(-80,-80);

	this.instance_32 = new lib.koscMC0033();
	this.instance_32.setTransform(-80,-80);

	this.instance_33 = new lib.koscMC0034();
	this.instance_33.setTransform(-80,-80);

	this.instance_34 = new lib.koscMC0035();
	this.instance_34.setTransform(-80,-80);

	this.instance_35 = new lib.koscMC0036();
	this.instance_35.setTransform(-80,-80);

	this.instance_36 = new lib.koscMC0037();
	this.instance_36.setTransform(-80,-80);

	this.instance_37 = new lib.koscMC0038();
	this.instance_37.setTransform(-80,-80);

	this.instance_38 = new lib.koscMC0039();
	this.instance_38.setTransform(-80,-80);

	this.instance_39 = new lib.koscMC0040();
	this.instance_39.setTransform(-80,-80);

	this.instance_40 = new lib.koscMC0041();
	this.instance_40.setTransform(-80,-80);

	this.instance_41 = new lib.koscMC0042();
	this.instance_41.setTransform(-80,-80);

	this.instance_42 = new lib.koscMC0043();
	this.instance_42.setTransform(-80,-80);

	this.instance_43 = new lib.koscMC0044();
	this.instance_43.setTransform(-80,-80);

	this.instance_44 = new lib.koscMC0045();
	this.instance_44.setTransform(-80,-80);

	this.instance_45 = new lib.koscMC0046();
	this.instance_45.setTransform(-80,-80);

	this.instance_46 = new lib.koscMC0047();
	this.instance_46.setTransform(-80,-80);

	this.instance_47 = new lib.koscMC0048();
	this.instance_47.setTransform(-80,-80);

	this.instance_48 = new lib.koscMC0049();
	this.instance_48.setTransform(-80,-80);

	this.instance_49 = new lib.koscMC0050();
	this.instance_49.setTransform(-80,-80);

	this.instance_50 = new lib.koscMC0051();
	this.instance_50.setTransform(-80,-80);

	this.instance_51 = new lib.koscMC0052();
	this.instance_51.setTransform(-80,-80);

	this.instance_52 = new lib.koscMC0053();
	this.instance_52.setTransform(-80,-80);

	this.instance_53 = new lib.koscMC0054();
	this.instance_53.setTransform(-80,-80);

	this.instance_54 = new lib.koscMC0055();
	this.instance_54.setTransform(-80,-80);

	this.instance_55 = new lib.koscMC0056();
	this.instance_55.setTransform(-80,-80);

	this.instance_56 = new lib.koscMC0057();
	this.instance_56.setTransform(-80,-80);

	this.instance_57 = new lib.koscMC0058();
	this.instance_57.setTransform(-80,-80);

	this.instance_58 = new lib.koscMC0059();
	this.instance_58.setTransform(-80,-80);

	this.instance_59 = new lib.koscMC0060();
	this.instance_59.setTransform(-80,-80);

	this.instance_60 = new lib.koscMC0061();
	this.instance_60.setTransform(-80,-80);

	this.instance_61 = new lib.koscMC0062();
	this.instance_61.setTransform(-80,-80);

	this.instance_62 = new lib.koscMC0063();
	this.instance_62.setTransform(-80,-80);

	this.instance_63 = new lib.koscMC0064();
	this.instance_63.setTransform(-80,-80);

	this.instance_64 = new lib.koscMC0065();
	this.instance_64.setTransform(-80,-80);

	this.instance_65 = new lib.koscMC0066();
	this.instance_65.setTransform(-80,-80);

	this.instance_66 = new lib.koscMC0067();
	this.instance_66.setTransform(-80,-80);

	this.instance_67 = new lib.koscMC0068();
	this.instance_67.setTransform(-80,-80);

	this.instance_68 = new lib.koscMC0069();
	this.instance_68.setTransform(-80,-80);

	this.instance_69 = new lib.koscMC0070();
	this.instance_69.setTransform(-80,-80);

	this.instance_70 = new lib.koscMC0071();
	this.instance_70.setTransform(-80,-80);

	this.instance_71 = new lib.koscMC0072();
	this.instance_71.setTransform(-80,-80);

	this.instance_72 = new lib.koscMC0073();
	this.instance_72.setTransform(-80,-80);

	this.instance_73 = new lib.koscMC0074();
	this.instance_73.setTransform(-80,-80);

	this.instance_74 = new lib.koscMC0075();
	this.instance_74.setTransform(-80,-80);

	this.instance_75 = new lib.koscMC0076();
	this.instance_75.setTransform(-80,-80);

	this.instance_76 = new lib.koscMC0077();
	this.instance_76.setTransform(-80,-80);

	this.instance_77 = new lib.koscMC0078();
	this.instance_77.setTransform(-80,-80);

	this.instance_78 = new lib.koscMC0079();
	this.instance_78.setTransform(-80,-80);

	this.instance_79 = new lib.koscMC0080();
	this.instance_79.setTransform(-80,-80);

	this.instance_80 = new lib.koscMC0081();
	this.instance_80.setTransform(-80,-80);

	this.instance_81 = new lib.koscMC0082();
	this.instance_81.setTransform(-80,-80);

	this.instance_82 = new lib.koscMC0083();
	this.instance_82.setTransform(-80,-80);

	this.instance_83 = new lib.koscMC0084();
	this.instance_83.setTransform(-80,-80);

	this.instance_84 = new lib.koscMC0085();
	this.instance_84.setTransform(-80,-80);

	this.instance_85 = new lib.koscMC0086();
	this.instance_85.setTransform(-80,-80);

	this.instance_86 = new lib.koscMC0087();
	this.instance_86.setTransform(-80,-80);

	this.instance_87 = new lib.koscMC0088();
	this.instance_87.setTransform(-80,-80);

	this.instance_88 = new lib.koscMC0089();
	this.instance_88.setTransform(-80,-80);

	this.instance_89 = new lib.koscMC0090();
	this.instance_89.setTransform(-80,-80);

	this.instance_90 = new lib.koscMC0091();
	this.instance_90.setTransform(-80,-80);

	this.instance_91 = new lib.koscMC0092();
	this.instance_91.setTransform(-80,-80);

	this.instance_92 = new lib.koscMC0093();
	this.instance_92.setTransform(-80,-80);

	this.instance_93 = new lib.koscMC0094();
	this.instance_93.setTransform(-80,-80);

	this.instance_94 = new lib.koscMC0095();
	this.instance_94.setTransform(-80,-80);

	this.instance_95 = new lib.koscMC0096();
	this.instance_95.setTransform(-80,-80);

	this.instance_96 = new lib.koscMC0097();
	this.instance_96.setTransform(-80,-80);

	this.instance_97 = new lib.koscMC0098();
	this.instance_97.setTransform(-80,-80);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).to({state:[{t:this.instance_2}]},1).to({state:[{t:this.instance_3}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_5}]},1).to({state:[{t:this.instance_6}]},1).to({state:[{t:this.instance_7}]},1).to({state:[{t:this.instance_8}]},1).to({state:[{t:this.instance_9}]},1).to({state:[{t:this.instance_10}]},1).to({state:[{t:this.instance_11}]},1).to({state:[{t:this.instance_12}]},1).to({state:[{t:this.instance_13}]},1).to({state:[{t:this.instance_14}]},1).to({state:[{t:this.instance_15}]},1).to({state:[{t:this.instance_16}]},1).to({state:[{t:this.instance_17}]},1).to({state:[{t:this.instance_18}]},1).to({state:[{t:this.instance_19}]},1).to({state:[{t:this.instance_20}]},1).to({state:[{t:this.instance_21}]},1).to({state:[{t:this.instance_22}]},1).to({state:[{t:this.instance_23}]},1).to({state:[{t:this.instance_24}]},1).to({state:[{t:this.instance_25}]},1).to({state:[{t:this.instance_26}]},1).to({state:[{t:this.instance_27}]},1).to({state:[{t:this.instance_28}]},1).to({state:[{t:this.instance_29}]},1).to({state:[{t:this.instance_30}]},1).to({state:[{t:this.instance_31}]},1).to({state:[{t:this.instance_32}]},1).to({state:[{t:this.instance_33}]},1).to({state:[{t:this.instance_34}]},1).to({state:[{t:this.instance_35}]},1).to({state:[{t:this.instance_36}]},1).to({state:[{t:this.instance_37}]},1).to({state:[{t:this.instance_38}]},1).to({state:[{t:this.instance_39}]},1).to({state:[{t:this.instance_40}]},1).to({state:[{t:this.instance_41}]},1).to({state:[{t:this.instance_42}]},1).to({state:[{t:this.instance_43}]},1).to({state:[{t:this.instance_44}]},1).to({state:[{t:this.instance_45}]},1).to({state:[{t:this.instance_46}]},1).to({state:[{t:this.instance_47}]},1).to({state:[{t:this.instance_48}]},1).to({state:[{t:this.instance_49}]},1).to({state:[{t:this.instance_50}]},1).to({state:[{t:this.instance_51}]},1).to({state:[{t:this.instance_52}]},1).to({state:[{t:this.instance_53}]},1).to({state:[{t:this.instance_54}]},1).to({state:[{t:this.instance_55}]},1).to({state:[{t:this.instance_56}]},1).to({state:[{t:this.instance_57}]},1).to({state:[{t:this.instance_58}]},1).to({state:[{t:this.instance_59}]},1).to({state:[{t:this.instance_60}]},1).to({state:[{t:this.instance_61}]},1).to({state:[{t:this.instance_62}]},1).to({state:[{t:this.instance_63}]},1).to({state:[{t:this.instance_64}]},1).to({state:[{t:this.instance_65}]},1).to({state:[{t:this.instance_66}]},1).to({state:[{t:this.instance_67}]},1).to({state:[{t:this.instance_68}]},1).to({state:[{t:this.instance_69}]},1).to({state:[{t:this.instance_70}]},1).to({state:[{t:this.instance_71}]},1).to({state:[{t:this.instance_72}]},1).to({state:[{t:this.instance_73}]},1).to({state:[{t:this.instance_74}]},1).to({state:[{t:this.instance_75}]},1).to({state:[{t:this.instance_76}]},1).to({state:[{t:this.instance_77}]},1).to({state:[{t:this.instance_78}]},1).to({state:[{t:this.instance_79}]},1).to({state:[{t:this.instance_80}]},1).to({state:[{t:this.instance_81}]},1).to({state:[{t:this.instance_82}]},1).to({state:[{t:this.instance_83}]},1).to({state:[{t:this.instance_84}]},1).to({state:[{t:this.instance_85}]},1).to({state:[{t:this.instance_86}]},1).to({state:[{t:this.instance_87}]},1).to({state:[{t:this.instance_88}]},1).to({state:[{t:this.instance_89}]},1).to({state:[{t:this.instance_90}]},1).to({state:[{t:this.instance_91}]},1).to({state:[{t:this.instance_92}]},1).to({state:[{t:this.instance_93}]},1).to({state:[{t:this.instance_94}]},1).to({state:[{t:this.instance_95}]},1).to({state:[{t:this.instance_96}]},1).to({state:[{t:this.instance_97}]},1).wait(1));

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = rect = new cjs.Rectangle(-80,-80,160,160);
p.frameBounds = [rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect];


(lib.diceSh = function() {
	this.initialize();

	// Layer 2
	this.instance = new lib.gfx_dice_sh();
	this.instance.setTransform(-123.5,-43.9);

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(-123.5,-43.9,247,88);
p.frameBounds = [rect];


(lib.exerciseContainer = function(mode,startPosition,loop) {
if (loop == null) { loop = false; }	this.initialize(mode,startPosition,loop,{});

	// timeline functions:
	this.frame_0 = function() {
		/* Drag Dice */
		var config = {
			id: '32463',
			title: 'Kliknij obrazek kości. Przesuń pionek o tyle pól, ile oczek wypadło na kości. Gdy staniesz na polu z portretem Chopina, usłyszysz tekst. Możesz wówczas przesunąć się do przodu o dodatkowe 2 pola. Gdy staniesz na polu z nutką, usłyszysz fragment muzyki Chopina i musisz cofnąć się o 1 pole.',
			type: 'dragdice',
			container: this,
			container: this,
			prefix: 'drag_',
			prefix2: 'drop_',	
			players: {min: 2, max: 4},
			alert: 'Wpisz liczbę graczy. Gra przeznaczone jest dla 2 - 4 graczy',
			alpha: 0,
			alpha2: 0,
			range: 20,
			results: {meta: 40, shift: 0},
			
			endsound: 'ssBrawa', exerciseAfterInit: function (config) {		
			},
			exerciseBeforeFinish: function (config) {	
			},
			exerciseExtraCheck: function (config) {		
			},	
			exerciseExtraCondition: function (obj) {
				var dropNext;
				var dropIndex = 1;
				var objPosition = 0;
				var backMove = 1;
				var forwardMove = 2;
				var sounds = [];
						
				sounds[2] = 1;
				sounds[5] = 2;
				sounds[16] = 3;
				sounds[20] = 4;
				sounds[29] = 5;
				sounds[32] = 6;
				sounds[38] = 7;
				
				sounds[3] = 8;
				sounds[8] = 9;
				sounds[10] = 10;
				sounds[17] = 11;
				sounds[22] = 12;
				sounds[27] = 13;
				sounds[30] = 14;
				sounds[34] = 15;
				sounds[36] = 16;
				sounds[39] = 17;
				
				//Move forward
				if(
					obj.position === 2 ||
					obj.position === 5 ||
					obj.position === 16 ||
					obj.position === 20 ||
					obj.position === 29 ||
					obj.position === 32 ||
					obj.position === 38
				) {
					
					playSound(this.id+'_'+sounds[obj.position]);
					
					dropIndex = obj.position + forwardMove;
					dropNext = this.container[this.prefix2+dropIndex];
					obj.position = obj.position + forwardMove;
					obj.orgx = dropNext.x;
					obj.orgy = dropNext.y;
					showMessage('Przesuwasz się o 2 pola do przodu!');
					TweenMax.to(obj, 0.5, {x:dropNext.x, y: dropNext.y, ease: Quad.easeOut,
						onComplete: function() {
							this.target.orgx = dropNext.x;
							this.target.orgy = dropNext.y;
						}
					});		
					
				}		
				//Move back
				else if(
					obj.position === 3 ||
					obj.position === 8 ||
					obj.position === 10 ||
					obj.position === 17 ||
					obj.position === 22 ||
					obj.position === 27 ||
					obj.position === 30 ||
					obj.position === 34 ||
					obj.position === 36 ||
					obj.position === 39
					
				) {
					playSound(this.id+'_'+sounds[obj.position]);
					
					dropIndex = obj.position - backMove;
					dropNext = this.container[this.prefix2+dropIndex];
					obj.position = obj.position - backMove;
					obj.orgy = dropNext.y;
					showMessage('Cofasz się o 1 pole.');
					TweenMax.to(obj, 0.5, {x:dropNext.x, y: dropNext.y, ease: Quad.easeOut,
						onComplete: function() {
							this.target.orgx = dropNext.x;
							this.target.orgy = dropNext.y;
						}
					});
				}
				
				
				
				//Skip move
				/*
				if(obj.position === 18) {			
					obj.skip = true;
					showMessage('Tracisz jedną turę.');			
				}
				*/
			},
		}
		
		exerciseOnInit(config);
		
		this.stop();
		
		/* Help */
		
		/* 
		id - Id cwiczenia
		title - Tytul cwiczenia
		type - Typ Cwiczenia
		contanier - Kontener cwiczenia
		groups - Lista grup oraz przypisane do nich identyfikatory (unikatowa liczba) obiektow bez prefixow
		prefix - Prefixy w nazwach obiektow
		results - Rozwiazanie jako tablica identyfikatorow. Znak '|' definuje alternatywe, a '&' oznacza sume.	
		Przyklad:
		Cwiczenie typu sort.
		Odpowiedzi: [5,2,1,4,5] - tablica z ulozonymi w odpowiedniej kolejnisci identyfikatorami obiektow sortowanych.
		Cwiczenie typu drag.
		Odpowiedzi: [5,1|3,2&4] - tablica z id obiektow przeciaganych lub grup. W tym wariancie kazdy kolejny element z indexem 'i' w tablicy odpowiada targetowi o nazwie 'prefix+i'.
		np. prawidlowa odpowiedzia dla drop_1 jest obiekt drag_5, dla drop_2 obiekt drag_1 lub drag_3, dla drop_3 obiekt drag_2 oraz drag_4.
		range - Zakres dociagania
		alpha - Przezroczystosc targetu
		alpha2 - Przezroczystosc targetu po najechaniu
		scale - Skalowanie obiektu po upuszczeniu
		zindex - Warstwa obiektu
		*/
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1));

	// as
	this.sound_10 = new lib.soundPlayer();
	this.sound_10.setTransform(-52.2,607);

	this.sound_9 = new lib.soundPlayer();
	this.sound_9.setTransform(-52.2,547);

	this.sound_8 = new lib.soundPlayer();
	this.sound_8.setTransform(-52.2,487);

	this.sound_17 = new lib.soundPlayer();
	this.sound_17.setTransform(-122.2,427);

	this.sound_16 = new lib.soundPlayer();
	this.sound_16.setTransform(-122.2,359.8);

	this.sound_15 = new lib.soundPlayer();
	this.sound_15.setTransform(-122.2,292.5);

	this.sound_14 = new lib.soundPlayer();
	this.sound_14.setTransform(-122.2,225.3);

	this.sound_13 = new lib.soundPlayer();
	this.sound_13.setTransform(-122.2,158);

	this.sound_12 = new lib.soundPlayer();
	this.sound_12.setTransform(-122.2,90.8);

	this.sound_11 = new lib.soundPlayer();
	this.sound_11.setTransform(-122.2,23.5);

	this.sound_7 = new lib.soundPlayer();
	this.sound_7.setTransform(-52.2,427);

	this.sound_6 = new lib.soundPlayer();
	this.sound_6.setTransform(-52.2,359.8);

	this.sound_5 = new lib.soundPlayer();
	this.sound_5.setTransform(-52.2,292.5);

	this.sound_4 = new lib.soundPlayer();
	this.sound_4.setTransform(-52.2,225.3);

	this.sound_3 = new lib.soundPlayer();
	this.sound_3.setTransform(-52.2,158);

	this.sound_2 = new lib.soundPlayer();
	this.sound_2.setTransform(-52.2,90.8);

	this.sound_1 = new lib.soundPlayer();
	this.sound_1.setTransform(-52.2,23.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.sound_1},{t:this.sound_2},{t:this.sound_3},{t:this.sound_4},{t:this.sound_5},{t:this.sound_6},{t:this.sound_7},{t:this.sound_11},{t:this.sound_12},{t:this.sound_13},{t:this.sound_14},{t:this.sound_15},{t:this.sound_16},{t:this.sound_17},{t:this.sound_8},{t:this.sound_9},{t:this.sound_10}]}).wait(1));

	// content
	this.drop_40 = new lib.drop();
	this.drop_40.setTransform(1146,512,1,1,0,0,0,20,20);

	this.drop_39 = new lib.drop();
	this.drop_39.setTransform(1098,512,1,1,0,0,0,20,20);

	this.drop_38 = new lib.drop();
	this.drop_38.setTransform(1048,492,1,1,0,0,0,20,20);

	this.drop_37 = new lib.drop();
	this.drop_37.setTransform(999,492,1,1,0,0,0,20,20);

	this.drop_36 = new lib.drop();
	this.drop_36.setTransform(952,482,1,1,0,0,0,20,20);

	this.drop_35 = new lib.drop();
	this.drop_35.setTransform(909,482,1,1,0,0,0,20,20);

	this.drop_34 = new lib.drop();
	this.drop_34.setTransform(867,472,1,1,0,0,0,20,20);

	this.drop_33 = new lib.drop();
	this.drop_33.setTransform(822,469,1,1,0,0,0,20,20);

	this.drop_32 = new lib.drop();
	this.drop_32.setTransform(777,469,1,1,0,0,0,20,20);

	this.drop_31 = new lib.drop();
	this.drop_31.setTransform(714,479,1,1,0,0,0,20,20);

	this.drop_30 = new lib.drop();
	this.drop_30.setTransform(649,499,1,1,0,0,0,20,20);

	this.drop_29 = new lib.drop();
	this.drop_29.setTransform(579,519,1,1,0,0,0,20,20);

	this.drop_28 = new lib.drop();
	this.drop_28.setTransform(512,531,1,1,0,0,0,20,20);

	this.drop_27 = new lib.drop();
	this.drop_27.setTransform(442,541,1,1,0,0,0,20,20);

	this.drop_26 = new lib.drop();
	this.drop_26.setTransform(402,531,1,1,0,0,0,20,20);

	this.drop_25 = new lib.drop();
	this.drop_25.setTransform(372,512,1,1,0,0,0,20,20);

	this.drop_24 = new lib.drop();
	this.drop_24.setTransform(362,482,1,1,0,0,0,20,20);

	this.drop_23 = new lib.drop();
	this.drop_23.setTransform(382,444,1,1,0,0,0,20,20);

	this.drop_22 = new lib.drop();
	this.drop_22.setTransform(442,414,1,1,0,0,0,20,20);

	this.drop_21 = new lib.drop();
	this.drop_21.setTransform(530,385,1,1,0,0,0,20,20);

	this.drop_20 = new lib.drop();
	this.drop_20.setTransform(627.7,362.6,1,1,0,0,0,20,20);

	this.drop_19 = new lib.drop();
	this.drop_19.setTransform(708.7,334.6,1,1,0,0,0,20,20);

	this.drop_18 = new lib.drop();
	this.drop_18.setTransform(768.7,298.6,1,1,0,0,0,20,20);

	this.drop_17 = new lib.drop();
	this.drop_17.setTransform(800.7,256.6,1,1,0,0,0,20,20);

	this.drop_16 = new lib.drop();
	this.drop_16.setTransform(780.7,206.6,1,1,0,0,0,20,20);

	this.drop_15 = new lib.drop();
	this.drop_15.setTransform(740.7,186.6,1,1,0,0,0,20,20);

	this.drop_14 = new lib.drop();
	this.drop_14.setTransform(700.7,176.6,1,1,0,0,0,20,20);

	this.drop_13 = new lib.drop();
	this.drop_13.setTransform(665.7,186.6,1,1,0,0,0,20,20);

	this.drop_12 = new lib.drop();
	this.drop_12.setTransform(625.7,206.6,1,1,0,0,0,20,20);

	this.drop_11 = new lib.drop();
	this.drop_11.setTransform(585.7,226.6,1,1,0,0,0,20,20);

	this.drop_10 = new lib.drop();
	this.drop_10.setTransform(544.7,246.6,1,1,0,0,0,20,20);

	this.drop_9 = new lib.drop();
	this.drop_9.setTransform(504.7,264.6,1,1,0,0,0,20,20);

	this.drop_8 = new lib.drop();
	this.drop_8.setTransform(466.7,273.6,1,1,0,0,0,20,20);

	this.drop_7 = new lib.drop();
	this.drop_7.setTransform(429.7,273.6,1,1,0,0,0,20,20);

	this.drop_6 = new lib.drop();
	this.drop_6.setTransform(388.7,268.6,1,1,0,0,0,20,20);

	this.drop_5 = new lib.drop();
	this.drop_5.setTransform(344.7,265.6,1,1,0,0,0,20,20);

	this.drop_4 = new lib.drop();
	this.drop_4.setTransform(300.7,260.6,1,1,0,0,0,20,20);

	this.drop_3 = new lib.drop();
	this.drop_3.setTransform(255.7,249.6,1,1,0,0,0,20,20);

	this.drop_2 = new lib.drop();
	this.drop_2.setTransform(211.7,234.6,1,1,0,0,0,20,20);

	this.drop_1 = new lib.drop();
	this.drop_1.setTransform(169.7,217.6,1,1,0,0,0,20,20);

	this.drag_4 = new lib.p4();
	this.drag_4.setTransform(114.4,218.6,1,1,0,0,0,18.6,50);

	this.drag_3 = new lib.p3();
	this.drag_3.setTransform(120.4,200.7,1,1,0,0,0,18.6,50);

	this.drag_2 = new lib.p2();
	this.drag_2.setTransform(134.3,189.7,1,1,0,0,0,18.6,50);

	this.drag_1 = new lib.p1();
	this.drag_1.setTransform(121.8,177.6,1,1,0,0,0,18.6,50);

	this.dice = new lib.diceMc();
	this.dice.setTransform(133.1,608.9,0.745,0.745);

	this.instance = new lib.diceSh();
	this.instance.setTransform(132,650.9,0.745,0.745);
	this.instance.filters = [new cjs.ColorFilter(0.5, 0.5, 0.5, 1, 51, 0, 0, 0)];
	this.instance.cache(-125,-46,251,92);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance},{t:this.dice},{t:this.drag_1},{t:this.drag_2},{t:this.drag_3},{t:this.drag_4},{t:this.drop_1},{t:this.drop_2},{t:this.drop_3},{t:this.drop_4},{t:this.drop_5},{t:this.drop_6},{t:this.drop_7},{t:this.drop_8},{t:this.drop_9},{t:this.drop_10},{t:this.drop_11},{t:this.drop_12},{t:this.drop_13},{t:this.drop_14},{t:this.drop_15},{t:this.drop_16},{t:this.drop_17},{t:this.drop_18},{t:this.drop_19},{t:this.drop_20},{t:this.drop_21},{t:this.drop_22},{t:this.drop_23},{t:this.drop_24},{t:this.drop_25},{t:this.drop_26},{t:this.drop_27},{t:this.drop_28},{t:this.drop_29},{t:this.drop_30},{t:this.drop_31},{t:this.drop_32},{t:this.drop_33},{t:this.drop_34},{t:this.drop_35},{t:this.drop_36},{t:this.drop_37},{t:this.drop_38},{t:this.drop_39},{t:this.drop_40}]}).wait(1));

	// bg
	this.instance_1 = new lib.Symbol1();
	this.instance_1.setTransform(639.9,360,1,1,0,0,0,534.5,223);

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

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = rect = new cjs.Rectangle(-147.8,5.1,1322.2,678.6);
p.frameBounds = [rect];


// stage content:
(lib.index = function() {
	this.initialize();

	// exercise
	this.container = new lib.exerciseContainer();
	this.container.setTransform(916.5,389,1,1,0,0,0,916.5,389);

	this.addChild(this.container);
}).prototype = p = new cjs.Container();
p.nominalBounds = rect = new cjs.Rectangle(492.2,365.1,1322.2,678.6);
p.frameBounds = [rect];

})(lib = lib||{}, images = images||{}, createjs = createjs||{}, ss = ss||{});
var lib, images, createjs, ss;