/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'bg',
            className:'stage_bg_id',
            type:'image',
            tag:'div',
            rect:[0,0,980,390],
            fill:['rgba(0,0,0,0)','images/bg.jpg']
        },
        {
            id:'flamingo2',
            type:'image',
            tag:'div',
            rect:[0,0,980,294],
            fill:['rgba(0,0,0,0)','images/flamingo.jpg'],
            transform:[[-23]]
        },
        {
            id:'crossAll',
            type:'image',
            tag:'div',
            rect:[0,0,980,294],
            fill:['rgba(0,0,0,0)','images/crossAll.jpg']
        },
        {
            id:'chris2',
            type:'image',
            tag:'div',
            rect:[0,0,980,159],
            fill:['rgba(0,0,0,0)','images/chris2.jpg']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_bg}": [
            ["style", "opacity", '0']
         ],
         "${_flamingo2}": [
            ["style", "opacity", '0'],
            ["transform", "translateX", '-23px'],
            ["transform", "translateY", '0']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,0,1)'],
            ["style", "width", '980px'],
            ["style", "height", '390px'],
            ["style", "overflow", 'hidden']
         ],
         "${_chris2}": [
            ["style", "opacity", '0']
         ],
         "${_crossAll}": [
            ["style", "opacity", '0']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 4500,
         labels: {

         },
         timeline: [
            { id: "eid1", tween: [ "style", "${_stage}", "width", '980px', { fromValue: '980px'}], position: 0, duration: 0 },
            { id: "eid61", tween: [ "style", "${_crossAll}", "opacity", '1', { fromValue: '0'}], position: 3000, duration: 1500 },
            { id: "eid6", tween: [ "style", "${_bg}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1500 },
            { id: "eid57", tween: [ "style", "${_chris2}", "opacity", '1', { fromValue: '0'}], position: 2250, duration: 1500 },
            { id: "eid49", tween: [ "style", "${_flamingo2}", "opacity", '1', { fromValue: '0'}], position: 1500, duration: 1702 },
            { id: "eid68", tween: [ "style", "${_flamingo2}", "opacity", '0', { fromValue: '1'}], position: 3202, duration: 851 },
            { id: "eid67", tween: [ "transform", "${_flamingo2}", "translateX", '-9px', { fromValue: '-23px'}], position: 3202, duration: 851 },
            { id: "eid2", tween: [ "style", "${_stage}", "height", '390px', { fromValue: '390px'}], position: 0, duration: 0 },
            { id: "eid63", tween: [ "transform", "${_flamingo2}", "translateY", '0', { fromValue: '0'}], position: 3202, duration: 0 },
            { id: "eid65", tween: [ "transform", "${_flamingo2}", "translateY", '0', { fromValue: '0'}], position: 4054, duration: 0 }]
      }
   }
}};

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-44649971");

