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

   },
   content: {
      dom: [
        {
            id:'real',
            type:'text',
            rect:[171,72,0,0],
            text:"REAL",
            font:["Helvetica, Geneva, Verdana, sans-serif",24,"rgba(0,0,0,0.3)","normal","none",""],
        },
        {
            id:'results',
            type:'text',
            rect:[248,75,0,0],
            text:"RESULTS",
            align:"-webkit-auto",
            font:["Helvetica, Geneva, Verdana, sans-serif",60,"rgba(0,0,0,0.2)","normal","none","normal"],
        },
        {
            id:'advertising',
            type:'text',
            rect:[187,268,0,0],
            text:"ADVERTISING",
            align:"-webkit-auto",
            font:["Helvetica, Geneva, Verdana, sans-serif",60,"rgba(0,0,0,0.3)","normal","none","normal"],
        },
        {
            id:'solution',
            type:'text',
            rect:[261,284,0,0],
            text:"SOLUTION",
            align:"-webkit-auto",
            font:["Helvetica, Geneva, Verdana, sans-serif",60,"rgba(0,0,0,0.3)","normal","none","normal"],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#stage": [
            ["color", "background-color", 'transparent'],
            ["style", "overflow", 'hidden'],
            ["style", "height", '130px'],
            ["style", "width", '880px']
         ],
         "#real": [
            ["transform", "translateX", '-173px'],
            ["style", "font-family", 'Helvetica, Geneva, Verdana, sans-serif'],
            ["transform", "translateY", '47px'],
            ["style", "font-size", '48px']
         ],
         "#solution": [
            ["transform", "translateX", '680px'],
            ["style", "font-size", '50px'],
            ["style", "font-family", 'Helvetica, Geneva, Verdana, sans-serif'],
            ["transform", "translateY", '-232px'],
         ],
         "#results": [
            ["transform", "translateX", '-724px'],
            ["style", "font-family", 'Helvetica, Geneva, Verdana, sans-serif'],
            ["transform", "translateY", '-65px'],
            ["style", "font-size", '100px']
         ],
         "#advertising": [
            ["transform", "translateX", '80px'],
            ["style", "font-family", 'Helvetica, Geneva, Verdana, sans-serif'],
            ["transform", "translateY", '-340px'],
            ["style", "font-size", '48px']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 8000,
         timeline: [
            { id: "eid2", tween: [ "style", "#stage", "height", '130px', { valueTemplate: undefined, fromValue: '130px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid50", tween: [ "transform", "#solution", "translateY", '-232px', { valueTemplate: undefined, fromValue: '-232px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid70", tween: [ "transform", "#solution", "translateX", '350px', { valueTemplate: undefined, fromValue: '680px'}], position: 1500, duration: 1505, easing: "easeOutElastic" },
            { id: "eid78", tween: [ "transform", "#solution", "translateX", '-544.63535px', { valueTemplate: undefined, fromValue: '350px'}], position: 4000, duration: 2500, easing: "linear" },
            { id: "eid34", tween: [ "transform", "#real", "translateX", '-173px', { valueTemplate: undefined, fromValue: '-173px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid1", tween: [ "style", "#stage", "width", '880px', { valueTemplate: undefined, fromValue: '880px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid44", tween: [ "transform", "#advertising", "translateX", '80px', { valueTemplate: undefined, fromValue: '80px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid64", tween: [ "transform", "#real", "translateY", '-25px', { valueTemplate: undefined, fromValue: '47px'}], position: 1000, duration: 2005, easing: "linear" },
            { id: "eid74", tween: [ "transform", "#real", "translateY", '-150px', { valueTemplate: undefined, fromValue: '-25px'}], position: 3005, duration: 2245, easing: "linear" },
            { id: "eid42", tween: [ "transform", "#results", "translateY", '-65px', { valueTemplate: undefined, fromValue: '-65px'}], position: 0, duration: 0, easing: "easeInOutElastic" },
            { id: "eid68", tween: [ "transform", "#advertising", "translateY", '-270px', { valueTemplate: undefined, fromValue: '-340px'}], position: 2000, duration: 1500, easing: "easeOutElastic" },
            { id: "eid79", tween: [ "transform", "#advertising", "translateY", '-129px', { valueTemplate: undefined, fromValue: '-270px'}], position: 4500, duration: 750, easing: "linear" },
            { id: "eid66", tween: [ "transform", "#results", "translateX", '-120px', { valueTemplate: undefined, fromValue: '-724px'}], position: 0, duration: 3005, easing: "easeOutBounce" },
            { id: "eid75", tween: [ "transform", "#results", "translateX", '650px', { valueTemplate: undefined, fromValue: '-120px'}], position: 4000, duration: 3500, easing: "linear" }]
      }
   },
}};

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

function repeatAnim() {
	setTimeout("repeatAnim()", 8000);
    $.Edge.play();
}

