/**
 * Adobe Helium: symbol definitions
 */
window.symbols = {
"stage": {
   version: "0.1",
   baseState: "Base State",
   initialState: "Base State",
   parameters: {

   },
   content: {
      dom: [
        {
            id:'Image1',
            type:'image',
            rect:[0,0,798,295],
            fill:['rgba(0,0,0,0)','images/beg.jpg'],
        },
        {
            id:'Image2',
            type:'image',
            rect:[0,0,800,296],
            fill:['rgba(0,0,0,0)','images/end.jpg'],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#Image1": [
            ["style", "opacity", '0']
         ],
         "#stage": [
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "height", '296px'],
            ["style", "width", '800px']
         ],
         "#Image2": [
            ["style", "opacity", '0']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 5000,
         timeline: [
            { id: "eid6", tween: [ "style", "#Image2", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2000, duration: 3000, easing: "linear" },
            { id: "eid1", tween: [ "style", "#stage", "width", '800px', { valueTemplate: undefined, fromValue: '800px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid2", tween: [ "style", "#stage", "height", '296px', { valueTemplate: undefined, fromValue: '296px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid4", tween: [ "style", "#Image1", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 2000, easing: "linear" }]
      }
   },
}};

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     $.Edge.initialize(symbols);
});
/**
 * Adobe Edge Timeline Launch
 */
$(window).load(function() {
    $.Edge.play();
});

