/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'electrical-flow',
            className:'stage_electrical-flow_id',
            type:'image',
            tag:'div',
            rect:[0,0,900,100],
            fill:['rgba(0,0,0,0)','/html5/images/electrical-flow.jpg']
        },
        {
            id:'logo_loimex_trans',
            className:'stage_logo_loimex_trans_id',
            type:'image',
            tag:'div',
            rect:[0,0,259,70],
            fill:['rgba(0,0,0,0)','/html5/images/logo%20loimex%20trans.png']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_logo_loimex_trans}": [
            ["transform", "translateY", '19px'],
            ["transform", "translateX", '249px']
         ],
         "${_electrical-flow}": [
            ["style", "opacity", '0'],
            ["transform", "translateX", '-143px'],
            ["transform", "translateY", '4px']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,0,1)'],
            ["style", "width", '757px'],
            ["style", "height", '107px'],
            ["style", "overflow", 'hidden']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 10000,
         labels: {

         },
         timeline: [
            { id: "eid4", tween: [ "transform", "${_logo_loimex_trans}", "translateY", '19px', { fromValue: '19px'}], position: 0, duration: 0 },
            { id: "eid7", tween: [ "style", "${_electrical-flow}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 500 },
            { id: "eid8", tween: [ "style", "${_electrical-flow}", "opacity", '0', { fromValue: '1'}], position: 500, duration: 70 },
            { id: "eid10", tween: [ "style", "${_electrical-flow}", "opacity", '1', { fromValue: '0'}], position: 750, duration: 250 },
            { id: "eid11", tween: [ "style", "${_electrical-flow}", "opacity", '0', { fromValue: '1'}], position: 1000, duration: 250 },
            { id: "eid13", tween: [ "style", "${_electrical-flow}", "opacity", '1', { fromValue: '0'}], position: 2250, duration: 500 },
            { id: "eid14", tween: [ "style", "${_electrical-flow}", "opacity", '0', { fromValue: '1'}], position: 2750, duration: 250 },
            { id: "eid16", tween: [ "style", "${_electrical-flow}", "opacity", '1', { fromValue: '0'}], position: 4000, duration: 500 },
            { id: "eid2", tween: [ "transform", "${_electrical-flow}", "translateY", '4px', { fromValue: '4px'}], position: 0, duration: 0 },
            { id: "eid5", tween: [ "transform", "${_electrical-flow}", "translateX", '-143px', { fromValue: '-143px'}], position: 0, duration: 0 },
            { id: "eid17", tween: [ "transform", "${_electrical-flow}", "translateX", '0px', { fromValue: '-143px'}], position: 4500, duration: 5500 },
            { id: "eid3", tween: [ "transform", "${_logo_loimex_trans}", "translateX", '249px', { fromValue: '249px'}], position: 0, duration: 0 }]
      }
   }
}};

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-101218108");

