/**
 * 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,900,309],
            fill:['rgba(0,0,0,0)','images/HerbsFirstChristopher.jpg'],
        },
        {
            id:'Image2',
            type:'image',
            rect:[0,0,900,309],
            fill:['rgba(0,0,0,0)','images/HerbsFirstWestern.jpg'],
        },
        {
            id:'Image3',
            type:'image',
            rect:[0,0,900,309],
            fill:['rgba(0,0,0,0)','images/HerbsFirstBooks.jpg'],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#Image1": [
            ["style", "opacity", '1'],
            ["transform", "translateY", '0'],
            ["transform", "translateX", '0']
         ],
         "#stage": [
            ["style", "height", '309px'],
            ["style", "overflow", 'visible'],
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "width", '900px']
         ],
         "#Image2": [
            ["style", "opacity", '0']
         ],
         "#Image3": [
            ["style", "opacity", '0']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 15000,
         timeline: [
            { id: "eid3", tween: [ "transform", "#Image1", "translateX", '0', { valueTemplate: undefined, fromValue: '0'}], position: 3000, duration: 0, easing: "linear" },
            { id: "eid22", tween: [ "transform", "#Image1", "translateX", '0', { valueTemplate: undefined, fromValue: '0'}], position: 15000, duration: 0, easing: "linear" },
            { id: "eid1", tween: [ "style", "#stage", "width", '900px', { valueTemplate: undefined, fromValue: '900px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid2", tween: [ "style", "#stage", "height", '309px', { valueTemplate: undefined, fromValue: '309px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid7", tween: [ "style", "#Image1", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 2000, duration: 1000, easing: "linear" },
            { id: "eid21", tween: [ "style", "#Image1", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 12000, duration: 1000, easing: "linear" },
            { id: "eid24", tween: [ "style", "#Image1", "opacity", '1', { valueTemplate: undefined, fromValue: '1'}], position: 15000, duration: 0, easing: "linear" },
            { id: "eid4", tween: [ "transform", "#Image1", "translateY", '0', { valueTemplate: undefined, fromValue: '0'}], position: 3000, duration: 0, easing: "linear" },
            { id: "eid23", tween: [ "transform", "#Image1", "translateY", '0', { valueTemplate: undefined, fromValue: '0'}], position: 15000, duration: 0, easing: "linear" },
            { id: "eid11", tween: [ "style", "#Image2", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2000, duration: 1000, easing: "linear" },
            { id: "eid14", tween: [ "style", "#Image2", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 7000, duration: 1000, easing: "linear" },
            { id: "eid17", tween: [ "style", "#Image3", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 7000, duration: 1000, easing: "linear" },
            { id: "eid19", tween: [ "style", "#Image3", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 12000, duration: 1000, easing: "linear" }]
      }
   },
}};

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

