/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'artcontestBackground',
            className:'stage_artcontestBackground_id',
            type:'image',
            tag:'div',
            rect:[0,0,404,211],
            fill:['rgba(0,0,0,0)','images/artcontestBackground.jpg']
        },
        {
            id:'artMessage',
            className:'stage_artMessage_id',
            type:'image',
            tag:'div',
            rect:[0,0,344,148],
            fill:['rgba(0,0,0,0)','images/artMessage.jpg']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_artMessage}": [
            ["transform", "scaleY", '1'],
            ["style", "height", '148px'],
            ["transform", "translateX", '30.683px'],
            ["transform", "rotateZ", '0'],
            ["transform", "scaleX", '1'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '32px'],
            ["style", "width", '344px']
         ],
         "${_artcontestBackground}": [
            ["transform", "translateX", '0'],
            ["transform", "translateY", '0']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "height", '211px'],
            ["style", "width", '404px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 10000,
         labels: {

         },
         timeline: [
            { id: "eid63", tween: [ "transform", "${_artMessage}", "translateY", '32.3513px', { fromValue: '32px'}], position: 3000, duration: 1250 },
            { id: "eid69", tween: [ "transform", "${_artMessage}", "translateY", '57.8587px', { fromValue: '32.3513px'}], position: 8500, duration: 1500 },
            { id: "eid1", tween: [ "style", "${_stage}", "width", '404px', { fromValue: '404px'}], position: 0, duration: 0 },
            { id: "eid67", tween: [ "style", "${_artMessage}", "width", '319px', { fromValue: '344px'}], position: 8500, duration: 1500 },
            { id: "eid20", tween: [ "style", "${_artMessage}", "opacity", '1', { fromValue: '0'}], position: 1750, duration: 2500 },
            { id: "eid4", tween: [ "transform", "${_artcontestBackground}", "translateY", '0', { fromValue: '0'}], position: 0, duration: 0 },
            { id: "eid58", tween: [ "transform", "${_artMessage}", "scaleX", '0.32', { fromValue: '1'}], position: 8500, duration: 1500 },
            { id: "eid23", tween: [ "transform", "${_artMessage}", "rotateZ", '8deg', { fromValue: '0deg'}], position: 4250, duration: 978, easing: "easeOutElastic" },
            { id: "eid25", tween: [ "transform", "${_artMessage}", "rotateZ", '-7deg', { fromValue: '8deg'}], position: 5228, duration: 1022, easing: "easeOutElastic" },
            { id: "eid27", tween: [ "transform", "${_artMessage}", "rotateZ", '0deg', { fromValue: '-7deg'}], position: 6250, duration: 1000, easing: "easeOutElastic" },
            { id: "eid65", tween: [ "transform", "${_artMessage}", "rotateZ", '-9deg', { fromValue: '0deg'}], position: 8500, duration: 1500 },
            { id: "eid3", tween: [ "transform", "${_artcontestBackground}", "translateX", '0', { fromValue: '0'}], position: 0, duration: 0 },
            { id: "eid2", tween: [ "style", "${_stage}", "height", '211px', { fromValue: '211px'}], position: 0, duration: 0 },
            { id: "eid66", tween: [ "style", "${_artMessage}", "height", '142px', { fromValue: '148px'}], position: 8500, duration: 1500 },
            { id: "eid62", tween: [ "transform", "${_artMessage}", "translateX", '30.151px', { fromValue: '30.683px'}], position: 3000, duration: 1250 },
            { id: "eid68", tween: [ "transform", "${_artMessage}", "translateX", '168.024px', { fromValue: '30.151px'}], position: 8500, duration: 1500 },
            { id: "eid59", tween: [ "transform", "${_artMessage}", "scaleY", '0.73', { fromValue: '1'}], position: 8500, duration: 1500 }]
      }
   }
}};

var comp;
Edge.registerCompositionDefn(compId, symbols);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     comp = new Edge.Composition(compId, {stage: "." + compId}, {});
	   /**
 * Adobe Edge Timeline Launch
 */
     comp.ready(function() {
         comp.play();
     });
});
})(jQuery, jQuery.Edge, "EDGE-58403900");

