/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'_12',
            className:'stage__12_id',
            type:'image',
            tag:'div',
            rect:[0,0,940,410],
            fill:['rgba(0,0,0,0)','images/12.jpg']
        },
        {
            id:'_2',
            className:'stage__2_id',
            type:'image',
            tag:'div',
            rect:[0,0,940,410],
            fill:['rgba(0,0,0,0)','images/2.jpg']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_stage}": [
            ["color", "background-color", 'rgba(255,255,255,0)'],
            ["style", "width", '940px'],
            ["style", "height", '412px'],
            ["style", "overflow", 'visible']
         ],
         "${__2}": [
            ["transform", "translateX", '0px'],
            ["style", "opacity", '1']
         ],
         "${__12}": [
            ["transform", "translateX", '940px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 8000,
         labels: {

         },
         timeline: [
            { id: "eid2", tween: [ "style", "${_stage}", "height", '412px', { fromValue: '412px'}], position: 4000, duration: 0 },
            { id: "eid8", tween: [ "transform", "${__12}", "translateX", '0px', { fromValue: '940px'}], position: 4000, duration: 1000, easing: "easeInQuad" },
            { id: "eid10", tween: [ "transform", "${__2}", "translateX", '-940px', { fromValue: '0px'}], position: 4000, duration: 1000, easing: "easeInQuad" }]
      }
   }
}};

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-89870170");

