/**
 * 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,950,250],
            fill:['rgba(0,0,0,0)','images/tile1.jpg'],
        },
        {
            id:'leafback',
            type:'image',
            rect:[0,0,950,250],
            fill:['rgba(0,0,0,0)','images/tile2.jpg'],
        },
        {
            id:'field',
            type:'image',
            rect:[0,0,950,250],
            fill:['rgba(0,0,0,0)','images/tile3.jpg'],
        },
        {
            id:'skyback',
            type:'image',
            rect:[0,0,950,250],
            fill:['rgba(0,0,0,0)','images/grey.png'],
        },
        {
            id:'welcometoecohouse',
            type:'text',
            rect:[373,41,0,0],
            opacity:1,
            text:"Welcome to Ecohouse Systems",
            font:["Trebuchet MS, Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1.00)","normal","none",""],
            transform:[[-9,-19]],
        },
        {
            id:'generateyouown',
            type:'text',
            rect:[368,86,0,0],
            opacity:1,
            text:"Generate your own hot water and electricity ",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
            transform:[[-4,-14]],
        },
        {
            id:'reduceyour',
            type:'text',
            rect:[369,139,0,0],
            text:"Reduce your carbon emissions ",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
        },
        {
            id:'sellyour',
            type:'text',
            rect:[400,203,0,0],
            text:"Sell your electricity and earn money back",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
            transform:[[-37,-47]],
        },
        {
            id:'ourairsource',
            type:'text',
            rect:[427,115,0,0],
            text:"Our air source heat pumps can generate all your heating and hot water needs",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
            transform:[[-63,-93]],
        },
        {
            id:'airsourse',
            type:'text',
            rect:[364,142,0,0],
            text:"Air source systems work with your existing heating system, so you dont have to change your radiators",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
        },
        {
            id:'Text2',
            type:'text',
            rect:[379,68,0,0],
            text:"We can visit you at home to discuss your needs",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
        },
        {
            id:'Text1',
            type:'text',
            rect:[371,102,0,0],
            text:"Contact us to find out what we can do for you",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
        },
        {
            id:'Image3',
            type:'image',
            rect:[0,0,214,214],
            fill:['rgba(0,0,0,0)','images/logolarge1.png'],
        },
        {
            id:'Text3',
            type:'text',
            rect:[384,210,0,0],
            text:"Ecohouse Systems, for all your eco solutions ",
            align:"-webkit-auto",
            font:["\'Trebuchet MS\', Arial, Helvetica, sans-serif",24,"rgba(255,255,255,1)","normal","none","normal"],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#stage": [
            ["style", "height", '250px'],
            ["style", "width", '950px'],
            ["style", "overflow", 'hidden']
         ],
         "#skyback": [
            ["style", "opacity", '0']
         ],
         "#welcometoecohouse": [
            ["transform", "translateX", '-9px'],
            ["style", "opacity", '0'],
            ["color", "color", 'rgba(255,255,255,1.00)'],
            ["style", "font-family", 'Trebuchet MS, Arial, Helvetica, sans-serif'],
            ["transform", "translateY", '-19px'],
            ["style", "font-size", '24px']
         ],
         "#sellyour": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-47px'],
            ["transform", "translateX", '-37px']
         ],
         "#generateyouown": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-14px'],
            ["transform", "translateX", '-4px']
         ],
         "#field": [
            ["style", "opacity", '0']
         ],
         "#leafback": [
            ["style", "opacity", '0']
         ],
         "#ourairsource": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-93px'],
            ["transform", "translateX", '-63px']
         ],
         "#airsourse": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-50px'],
            ["transform", "translateX", '0px']
         ],
         "#Image3": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '20px'],
            ["transform", "translateX", '66px']
         ],
         "#reduceyour": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-24px'],
            ["transform", "translateX", '-7px']
         ],
         "#Text3": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-19px'],
            ["transform", "translateX", '-20px']
         ],
         "#Text2": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-48px'],
            ["transform", "translateX", '-18px']
         ],
         "#Text1": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-35px'],
            ["transform", "translateX", '-10px']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 59000,
         timeline: [
            { id: "eid67", tween: [ "transform", "#Text2", "translateY", '-48px', { valueTemplate: undefined, fromValue: '-48px'}], position: 54500, duration: 0, easing: "linear" },
            { id: "eid40", tween: [ "style", "#leafback", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 16500, duration: 8750, easing: "linear" },
            { id: "eid14", tween: [ "color", "#welcometoecohouse", "color", 'rgba(255,255,255,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(255,255,255,1.00)'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid2", tween: [ "style", "#skyback", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 3250, easing: "linear" },
            { id: "eid56", tween: [ "style", "#skyback", "opacity", '0.98823529411765', { valueTemplate: undefined, fromValue: '1'}], position: 3250, duration: 33750, easing: "linear" },
            { id: "eid33", tween: [ "style", "#reduceyour", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 10000, duration: 3131, easing: "linear" },
            { id: "eid34", tween: [ "style", "#reduceyour", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid73", tween: [ "style", "#Text2", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 45500, duration: 3500, easing: "linear" },
            { id: "eid11", tween: [ "style", "#welcometoecohouse", "font-size", '24px', { valueTemplate: undefined, fromValue: '24px'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid45", tween: [ "style", "#ourairsource", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 27000, duration: 4250, easing: "linear" },
            { id: "eid46", tween: [ "style", "#ourairsource", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 43250, duration: 0, easing: "linear" },
            { id: "eid51", tween: [ "transform", "#airsourse", "translateY", '-50px', { valueTemplate: undefined, fromValue: '-50px'}], position: 31750, duration: 0, easing: "linear" },
            { id: "eid37", tween: [ "style", "#sellyour", "opacity", '0.94117647058824', { valueTemplate: undefined, fromValue: '0'}], position: 13131, duration: 3369, easing: "linear" },
            { id: "eid38", tween: [ "style", "#sellyour", "opacity", '0', { valueTemplate: undefined, fromValue: '0.94117647058824'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid80", tween: [ "style", "#Text1", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 49000, duration: 4250, easing: "linear" },
            { id: "eid59", tween: [ "style", "#field", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 37500, duration: 4250, easing: "linear" },
            { id: "eid8", tween: [ "style", "#welcometoecohouse", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 3250, duration: 3000, easing: "linear" },
            { id: "eid15", tween: [ "style", "#welcometoecohouse", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid50", tween: [ "transform", "#airsourse", "translateX", '0px', { valueTemplate: undefined, fromValue: '0px'}], position: 31750, duration: 0, easing: "linear" },
            { id: "eid78", tween: [ "transform", "#Text1", "translateY", '-35px', { valueTemplate: undefined, fromValue: '-35px'}], position: 50382, duration: 0, easing: "linear" },
            { id: "eid84", tween: [ "transform", "#Image3", "translateY", '20px', { valueTemplate: undefined, fromValue: '20px'}], position: 54500, duration: 0, easing: "linear" },
            { id: "eid86", tween: [ "style", "#Image3", "opacity", '0.98823529411765', { valueTemplate: undefined, fromValue: '0'}], position: 53250, duration: 2250, easing: "linear" },
            { id: "eid90", tween: [ "style", "#Text3", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 55500, duration: 2250, easing: "linear" },
            { id: "eid66", tween: [ "transform", "#Text2", "translateX", '-18px', { valueTemplate: undefined, fromValue: '-18px'}], position: 54500, duration: 0, easing: "linear" },
            { id: "eid76", tween: [ "transform", "#Text1", "translateX", '-10px', { valueTemplate: undefined, fromValue: '-10px'}], position: 50382, duration: 0, easing: "linear" },
            { id: "eid83", tween: [ "transform", "#Image3", "translateX", '66px', { valueTemplate: undefined, fromValue: '66px'}], position: 54500, duration: 0, easing: "linear" },
            { id: "eid17", tween: [ "style", "#generateyouown", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 6250, duration: 3250, easing: "linear" },
            { id: "eid23", tween: [ "style", "#generateyouown", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 25250, duration: 0, easing: "linear" },
            { id: "eid87", tween: [ "transform", "#Text3", "translateX", '-20px', { valueTemplate: undefined, fromValue: '-20px'}], position: 59000, duration: 0, easing: "linear" },
            { id: "eid88", tween: [ "transform", "#Text3", "translateY", '-19px', { valueTemplate: undefined, fromValue: '-19px'}], position: 59000, duration: 0, easing: "linear" },
            { id: "eid53", tween: [ "style", "#airsourse", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 31750, duration: 5250, easing: "linear" },
            { id: "eid54", tween: [ "style", "#airsourse", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 43250, duration: 0, easing: "linear" }]
      }
   },
}};

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

