/**
 * Adobe Helium: symbol definitions
 */
window.symbols = {
"stage": {
   version: "0.1",
   baseState: "Base State",
   initialState: "Base State",
   parameters: {

   },
   content: {
      dom: [
        {
            id:'ImageCar',
            type:'image',
            rect:[0,0,150,98],
            fill:['rgba(0,0,0,0)','images/car2.png'],
        },
        {
            id:'ImageMoney1',
            type:'image',
            rect:[0,0,100,41],
            fill:['rgba(0,0,0,0)','images/money.png'],
        },
        {
            id:'ImageMoney2',
            type:'image',
            rect:[0,0,100,41],
            fill:['rgba(0,0,0,0)','images/money1.png'],
        },
        {
            id:'ImageMoney3',
            type:'image',
            rect:[0,0,100,41],
            fill:['rgba(0,0,0,0)','images/money2.png'],
        },
        {
            id:'ImageMoney4',
            type:'image',
            rect:[0,0,100,41],
            fill:['rgba(0,0,0,0)','images/money3.png'],
        },
        {
            id:'Cash',
            type:'text',
            rect:[148,102,247,48],
            text:"Cash 4 Your Car",
            align:"-webkit-auto",
            font:["\'Arial Black\', Gadget, sans-serif",20,"rgba(255,255,255,1)","normal","none","normal"],
        },
        {
            id:'Click',
            type:'text',
            rect:[97,154,288,38],
            text:"Click here for details",
            align:"-webkit-auto",
            font:["Arial Black, Gadget, sans-serif",16,"rgba(0,0,0,1)","normal","none","normal"],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#ImageMoney4": [
            ["transform", "translateY", '-35px'],
            ["transform", "translateX", '-100px'],
            ["transform", "rotateZ", '-90deg']
         ],
         "#stage": [
            ["color", "background-color", 'rgba(107,156,210,1.00)'],
            ["style", "overflow", 'hidden'],
            ["style", "height", '60px'],
            ["style", "width", '468px']
         ],
         "#ImageMoney3": [
            ["transform", "translateY", '-35px'],
            ["transform", "translateX", '-100px'],
            ["transform", "rotateZ", '-90deg']
         ],
         "#Cash": [
            ["transform", "translateX", '336px'],
            ["transform", "translateY", '-84px']
         ],
         "#ImageMoney2": [
            ["transform", "translateX", '-100px'],
            ["transform", "translateY", '-35px'],
            ["transform", "rotateZ", '-90deg']
         ],
         "#ImageMoney1": [
            ["transform", "translateY", '-35px'],
            ["transform", "translateX", '-100px'],
            ["transform", "rotateZ", '-90deg']
         ],
         "#ImageCar": [
            ["transform", "translateX", '468px'],
            ["transform", "translateY", '-59px']
         ],
         "#Click": [
            ["transform", "translateX", '375.51908px'],
            ["style", "font-weight", 'normal'],
            ["color", "color", 'rgba(255,255,255,1.00)'],
            ["style", "font-family", 'Arial Black, Gadget, sans-serif'],
            ["transform", "translateY", '-136px'],
            ["style", "font-size", '20px']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 10000,
         timeline: [
            { id: "eid17", tween: [ "transform", "#ImageMoney1", "rotateZ", '0deg', { valueTemplate: undefined, fromValue: '-90deg'}], position: 1170, duration: 250, easing: "linear" },
            { id: "eid8", tween: [ "transform", "#ImageCar", "translateX", '304px', { valueTemplate: undefined, fromValue: '468px'}], position: 250, duration: 750, easing: "linear" },
            { id: "eid2", tween: [ "style", "#stage", "height", '60px', { valueTemplate: undefined, fromValue: '60px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid83", tween: [ "transform", "#Cash", "translateY", '-84px', { valueTemplate: undefined, fromValue: '-84px'}], position: 3601, duration: 0, easing: "linear" },
            { id: "eid25", tween: [ "transform", "#ImageMoney2", "rotateZ", '-11deg', { valueTemplate: undefined, fromValue: '-90deg'}], position: 1630, duration: 250, easing: "linear" },
            { id: "eid1", tween: [ "style", "#stage", "width", '468px', { valueTemplate: undefined, fromValue: '468px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid15", tween: [ "transform", "#ImageMoney1", "translateX", '2px', { valueTemplate: undefined, fromValue: '-100px'}], position: 1170, duration: 250, easing: "linear" },
            { id: "eid71", tween: [ "color", "#Click", "color", 'rgba(255,255,255,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(255,255,255,1.00)'}], position: 10000, duration: 0, easing: "linear" },
            { id: "eid20", tween: [ "transform", "#ImageMoney2", "translateX", '0px', { valueTemplate: undefined, fromValue: '-100px'}], position: 1630, duration: 250, easing: "linear" },
            { id: "eid35", tween: [ "transform", "#ImageMoney4", "translateX", '-16px', { valueTemplate: undefined, fromValue: '-100px'}], position: 2586, duration: 250, easing: "linear" },
            { id: "eid9", tween: [ "transform", "#ImageCar", "translateY", '1px', { valueTemplate: undefined, fromValue: '-59px'}], position: 250, duration: 750, easing: "linear" },
            { id: "eid29", tween: [ "transform", "#ImageMoney3", "translateX", '-3px', { valueTemplate: undefined, fromValue: '-100px'}], position: 2110, duration: 250, easing: "linear" },
            { id: "eid72", tween: [ "style", "#Click", "font-size", '20px', { valueTemplate: undefined, fromValue: '20px'}], position: 6513, duration: 0, easing: "linear" },
            { id: "eid67", tween: [ "transform", "#Cash", "translateX", '-28px', { valueTemplate: undefined, fromValue: '336px'}], position: 3601, duration: 648, easing: "linear" },
            { id: "eid77", tween: [ "transform", "#Cash", "translateX", '-334px', { valueTemplate: undefined, fromValue: '-28px'}], position: 5750, duration: 365, easing: "linear" },
            { id: "eid84", tween: [ "transform", "#Click", "translateY", '-136px', { valueTemplate: undefined, fromValue: '-136px'}], position: 6513, duration: 0, easing: "linear" },
            { id: "eid31", tween: [ "transform", "#ImageMoney3", "translateY", '10px', { valueTemplate: undefined, fromValue: '-35px'}], position: 2110, duration: 250, easing: "linear" },
            { id: "eid30", tween: [ "transform", "#ImageMoney3", "rotateZ", '-28deg', { valueTemplate: undefined, fromValue: '-90deg'}], position: 2110, duration: 250, easing: "linear" },
            { id: "eid3", tween: [ "color", "#stage", "background-color", 'rgba(107,156,210,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(107,156,210,1.00)'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid36", tween: [ "transform", "#ImageMoney4", "translateY", '1px', { valueTemplate: undefined, fromValue: '-35px'}], position: 2586, duration: 250, easing: "linear" },
            { id: "eid16", tween: [ "transform", "#ImageMoney1", "translateY", '41px', { valueTemplate: undefined, fromValue: '-35px'}], position: 1170, duration: 250, easing: "linear" },
            { id: "eid75", tween: [ "transform", "#Click", "translateX", '17px', { valueTemplate: undefined, fromValue: '375.51908px'}], position: 6513, duration: 487, easing: "linear" },
            { id: "eid21", tween: [ "transform", "#ImageMoney2", "translateY", '20px', { valueTemplate: undefined, fromValue: '-35px'}], position: 1630, duration: 250, easing: "linear" },
            { id: "eid37", tween: [ "transform", "#ImageMoney4", "rotateZ", '-46deg', { valueTemplate: undefined, fromValue: '-90deg'}], position: 2586, duration: 250, easing: "linear" }]
      }
   },
}};

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     $.Edge.initialize(symbols);
     $('#stage').click(function() {
               window.location = 'http://www.pickapartauto.com/carbuy.html';
          });
});
/**
 * Adobe Edge Timeline Launch
 */
$(window).load(function() {
    $.Edge.play();
});

