/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'noOther',
            type:'image',
            tag:'div',
            rect:[0,0,600,590],
            fill:['rgba(0,0,0,0)','images/noOther.jpg']
        },
        {
            id:'newRelease',
            type:'image',
            tag:'div',
            rect:[0,0,600,590],
            fill:['rgba(0,0,0,0)','images/newRelease.jpg']
        },
        {
            id:'producedby',
            type:'image',
            tag:'div',
            rect:[0,0,600,590],
            fill:['rgba(0,0,0,0)','images/producedby.jpg']
        },
        {
            id:'available',
            type:'image',
            tag:'div',
            rect:[0,0,600,590],
            opacity:0,
            fill:['rgba(0,0,0,0)','images/available.jpg']
        },
        {
            id:'photo',
            type:'image',
            tag:'div',
            rect:[0,0,600,513],
            fill:['rgba(0,0,0,0)','images/photo.jpg']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_noOther}": [
            ["style", "opacity", '0']
         ],
         "${_photo}": [
            ["transform", "scaleX", '0.03'],
            ["style", "opacity", '0'],
            ["transform", "scaleY", '0.03']
         ],
         "${_available}": [
            ["transform", "translateX", '0'],
            ["transform", "scaleX", '1.59'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '-42px'],
            ["transform", "scaleY", '1.59']
         ],
         "${_newRelease}": [
            ["style", "opacity", '0']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,34,1.00)'],
            ["style", "overflow", 'hidden'],
            ["style", "height", '590px'],
            ["style", "width", '600px']
         ],
         "${_producedby}": [
            ["style", "opacity", '0']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 14000,
         labels: {

         },
         timeline: [
            { id: "eid14", tween: [ "style", "${_photo}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 2000 },
            { id: "eid1", tween: [ "style", "${_stage}", "width", '600px', { fromValue: '600px'}], position: 0, duration: 0 },
            { id: "eid18", tween: [ "style", "${_noOther}", "opacity", '1', { fromValue: '0'}], position: 2000, duration: 1500 },
            { id: "eid21", tween: [ "style", "${_noOther}", "opacity", '0', { fromValue: '1'}], position: 5000, duration: 559 },
            { id: "eid10", tween: [ "transform", "${_photo}", "scaleY", '1', { fromValue: '0.03'}], position: 0, duration: 2000, easing: "swing" },
            { id: "eid52", tween: [ "transform", "${_available}", "translateY", '0px', { fromValue: '-42px'}], position: 13000, duration: 1000 },
            { id: "eid41", tween: [ "transform", "${_available}", "scaleX", '1', { fromValue: '1.59'}], position: 12750, duration: 1250 },
            { id: "eid47", tween: [ "transform", "${_available}", "translateX", '0', { fromValue: '0'}], position: 13000, duration: 0 },
            { id: "eid49", tween: [ "transform", "${_available}", "translateX", '0', { fromValue: '0'}], position: 14000, duration: 0 },
            { id: "eid46", tween: [ "style", "${_available}", "opacity", '1', { fromValue: '0'}], position: 12750, duration: 1250 },
            { id: "eid25", tween: [ "style", "${_newRelease}", "opacity", '1', { fromValue: '0'}], position: 5559, duration: 1190 },
            { id: "eid28", tween: [ "style", "${_newRelease}", "opacity", '0', { fromValue: '1'}], position: 8750, duration: 500 },
            { id: "eid2", tween: [ "style", "${_stage}", "height", '590px', { fromValue: '590px'}], position: 0, duration: 0 },
            { id: "eid43", tween: [ "transform", "${_available}", "scaleY", '1', { fromValue: '1.59'}], position: 12750, duration: 1250 },
            { id: "eid8", tween: [ "transform", "${_photo}", "scaleX", '1', { fromValue: '0.03'}], position: 0, duration: 2000, easing: "swing" },
            { id: "eid32", tween: [ "style", "${_producedby}", "opacity", '1', { fromValue: '0'}], position: 9250, duration: 1000 },
            { id: "eid35", tween: [ "style", "${_producedby}", "opacity", '0', { fromValue: '1'}], position: 12250, duration: 500 }]
      }
   }
}};

var comp;
Edge.registerCompositionDefn(compId, symbols);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     comp = new Edge.Composition(compId, {stage: "." + compId}, {});
	   /**
 * Adobe Edge Timeline Launch
 */
     comp.ready(function() {
         comp.play();
     });
});
})(jQuery, jQuery.Edge, "EDGE-122436451");

