/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'ccBG',
            type:'image',
            tag:'div',
            rect:[0,0,950,480],
            fill:['rgba(0,0,0,0)','images/ccBG.jpg'],
            transform:[]
        },
        {
            id:'homeBG',
            type:'image',
            tag:'div',
            rect:[0,0,950,480],
            fill:['rgba(0,0,0,0)','images/homeBG.jpg']
        },
        {
            id:'homeBG2',
            type:'image',
            tag:'div',
            rect:[0,0,950,480],
            fill:['rgba(0,0,0,0)','images/homeBG2.jpg']
        },
        {
            id:'homePhoto',
            type:'image',
            tag:'div',
            rect:[0,0,950,480],
            fill:['rgba(0,0,0,0)','images/homePhoto.jpg']
        },
        {
            id:'name',
            type:'image',
            tag:'div',
            rect:[0,0,950,480],
            fill:['rgba(0,0,0,0)','images/name.png'],
            transform:[]
        },
        {
            id:'Text',
            type:'text',
            tag:'div',
            rect:[0,237,234,48],
            text:"Welcome to the official website for                 ",
            align:"right",
            font:["Arial, Helvetica, sans-serif",13,"rgba(50,50,50,1.00)","normal","none",""],
            transform:[[665,-10]]
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_homeBG}": [
            ["style", "opacity", '0']
         ],
         "${_Text}": [
            ["style", "opacity", '0'],
            ["transform", "translateX", '665px'],
            ["style", "text-align", 'right'],
            ["style", "width", '234px'],
            ["color", "color", 'rgba(50,50,50,1.00)'],
            ["style", "font-family", 'Arial, Helvetica, sans-serif'],
            ["transform", "translateY", '-10px'],
            ["style", "font-size", '13px']
         ],
         "${_homePhoto}": [
            ["style", "opacity", '0']
         ],
         "${_homeBG2}": [
            ["style", "opacity", '0']
         ],
         "${_ccBG}": [
            ["transform", "translateX", '0'],
            ["style", "height", '10px'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '230px'],
            ["style", "width", '950px']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,0,1)'],
            ["style", "overflow", 'hidden'],
            ["style", "height", '480px'],
            ["style", "width", '950px']
         ],
         "${_name}": [
            ["transform", "translateX", '0px'],
            ["style", "opacity", '0']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 6250,
         labels: {

         },
         timeline: [
            { id: "eid68", tween: [ "style", "${_homeBG2}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 1500 },
            { id: "eid47", tween: [ "style", "${_ccBG}", "width", '950px', { fromValue: '950px'}], position: 0, duration: 0 },
            { id: "eid49", tween: [ "style", "${_ccBG}", "width", '950px', { fromValue: '950px'}], position: 1500, duration: 0 },
            { id: "eid72", tween: [ "style", "${_homePhoto}", "opacity", '1', { fromValue: '0'}], position: 2500, duration: 1250 },
            { id: "eid85", tween: [ "style", "${_name}", "opacity", '1', { fromValue: '0'}], position: 5000, duration: 1250 },
            { id: "eid64", tween: [ "style", "${_ccBG}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1500 },
            { id: "eid60", tween: [ "transform", "${_ccBG}", "translateY", '0px', { fromValue: '230px'}], position: 0, duration: 1500 },
            { id: "eid1", tween: [ "style", "${_stage}", "height", '480px', { fromValue: '480px'}], position: 0, duration: 0 },
            { id: "eid78", tween: [ "style", "${_Text}", "opacity", '1', { fromValue: '0'}], position: 3750, duration: 1250 },
            { id: "eid54", tween: [ "style", "${_ccBG}", "height", '480px', { fromValue: '10px'}], position: 0, duration: 1500 },
            { id: "eid55", tween: [ "transform", "${_ccBG}", "translateX", '0', { fromValue: '0'}], position: 0, duration: 0 },
            { id: "eid58", tween: [ "transform", "${_ccBG}", "translateX", '0', { fromValue: '0'}], position: 1500, 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-92163840");

