/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'topWithOutName',
            type:'image',
            tag:'div',
            rect:[0,0,950,150],
            fill:['rgba(0,0,0,0)','images/topWithOutName.jpg']
        },
        {
            id:'topWithName',
            type:'image',
            tag:'div',
            rect:[0,0,950,150],
            fill:['rgba(0,0,0,0)','images/topWithName.jpg']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,0,1)'],
            ["style", "width", '950px'],
            ["style", "height", '150px'],
            ["style", "overflow", 'hidden']
         ],
         "${_topWithName}": [
            ["style", "opacity", '0']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 2500,
         labels: {

         },
         timeline: [
            { id: "eid1", tween: [ "style", "${_stage}", "height", '150px', { fromValue: '150px'}], position: 0, duration: 0 },
            { id: "eid5", tween: [ "style", "${_topWithName}", "opacity", '1', { fromValue: '0'}], position: 1000, 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-61521895");

