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

   },
   content: {
      dom: [
        {
            id:'Image4',
            type:'image',
            rect:[0,0,600,217],
            fill:['rgba(0,0,0,0)','E-images/welcomebg2.jpg'],
        },
        {
            id:'Image1',
            type:'image',
            rect:[0,0,360,360],
            fill:['rgba(0,0,0,0)','E-images/Logo.gif'],
        },
        {
            id:'Wel',
            type:'text',
            rect:[15,14,572,60],
            text:"Welcome to Crouching Tiger Karate",
            align:"center",
            font:["Verdana, Geneva, sans-serif",24,"rgba(0,0,0,1)","normal","none","normal"],
        },
        {
            id:'Text4',
            type:'text',
            rect:[33,62,536,122],
            text:"Crouching Tiger Karate offers Shotokan Karate and self-defence classes for children and adults in South-West London including: Kew (Richmond), St. Margaret's (Twickenham), Putney, Barnes and Chiswick. Our classes are a great way to exercise and learn self-defence in a friendly and enjoyable atmosphere.",
            align:"center",
            font:["Verdana, Geneva, sans-serif",31.4,"rgba(0,0,0,1)","normal","none","normal"],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#Image1": [
            ["transform", "translateX", '120px'],
            ["transform", "skewX", '0deg'],
            ["transform", "scaleX", '3.05'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '-71px'],
            ["transform", "scaleY", '3.05']
         ],
         "#stage": [
            ["color", "background-color", 'rgba(230,230,230,1.00)'],
            ["style", "overflow", 'visible'],
            ["style", "height", '217px'],
            ["style", "width", '600px']
         ],
         "#Wel": [
            ["style", "text-align", 'center'],
            ["style", "opacity", '0'],
            ["style", "height", '44px'],
            ["style", "font-family", 'Verdana, Geneva, sans-serif'],
            ["transform", "translateY", '15px'],
            ["style", "font-size", '25px']
         ],
         "#Text4": [
            ["style", "height", '140px'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '20px'],
            ["style", "font-size", '16px']
         ],
         "#Image4": [
            ["transform", "scaleY", '1.43'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '0px'],
            ["transform", "translateX", '2px']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 1000,
         timeline: [
            { id: "eid83", tween: [ "transform", "#Image4", "scaleY", '1', { valueTemplate: undefined, fromValue: '1.43'}], position: 500, duration: 250, easing: "linear" },
            { id: "eid3", tween: [ "style", "#stage", "height", '217px', { valueTemplate: undefined, fromValue: '217px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid51", tween: [ "style", "#Text4", "height", '94px', { valueTemplate: undefined, fromValue: '140px'}], position: 750, duration: 250, easing: "linear" },
            { id: "eid55", tween: [ "transform", "#Wel", "translateY", '15px', { valueTemplate: undefined, fromValue: '15px'}], position: 1000, duration: 0, easing: "linear" },
            { id: "eid27", tween: [ "transform", "#Image1", "translateX", '120px', { valueTemplate: undefined, fromValue: '120px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid1", tween: [ "style", "#stage", "width", '600px', { valueTemplate: undefined, fromValue: '600px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid32", tween: [ "style", "#Image1", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 500, easing: "linear" },
            { id: "eid37", tween: [ "transform", "#Image1", "translateY", '-290px', { valueTemplate: undefined, fromValue: '-71px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid35", tween: [ "transform", "#Image1", "scaleX", '0.6', { valueTemplate: undefined, fromValue: '3.05'}], position: 0, duration: 500, easing: "linear" },
            { id: "eid46", tween: [ "style", "#Wel", "font-size", '25px', { valueTemplate: undefined, fromValue: '25px'}], position: 500, duration: 0, easing: "linear" },
            { id: "eid49", tween: [ "style", "#Text4", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 750, duration: 250, easing: "linear" },
            { id: "eid81", tween: [ "style", "#Image4", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 500, duration: 250, easing: "linear" },
            { id: "eid75", tween: [ "transform", "#Image4", "translateY", '0px', { valueTemplate: undefined, fromValue: '0px'}], position: 1000, duration: 0, easing: "linear" },
            { id: "eid74", tween: [ "transform", "#Image4", "translateX", '2px', { valueTemplate: undefined, fromValue: '2px'}], position: 1000, duration: 0, easing: "linear" },
            { id: "eid12", tween: [ "color", "#stage", "background-color", 'rgba(230,230,230,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(230,230,230,1.00)'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid36", tween: [ "transform", "#Image1", "scaleY", '0.6', { valueTemplate: undefined, fromValue: '3.05'}], position: 0, duration: 500, easing: "linear" },
            { id: "eid53", tween: [ "transform", "#Text4", "translateY", '20px', { valueTemplate: undefined, fromValue: '20px'}], position: 1000, duration: 0, easing: "linear" },
            { id: "eid41", tween: [ "style", "#Wel", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 500, duration: 250, easing: "linear" },
            { id: "eid39", tween: [ "style", "#Wel", "height", '44px', { valueTemplate: undefined, fromValue: '44px'}], position: 500, duration: 0, easing: "linear" }]
      }
   },
}};

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

