/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};
var opts = {};
var resources = [
];
var symbols = {
"stage": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "width",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'bg_1',
                type: 'image',
                rect: ['0', '0','1100px','700px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/bg_1.jpg",'0px','0px']
            },
            {
                id: 'border_1Copy',
                display: 'none',
                type: 'image',
                rect: ['581px', '162px','430px','492px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/border_1.png",'0px','0px']
            },
            {
                id: 'flag_th',
                display: 'none',
                type: 'image',
                rect: ['673px', '197px','245px','153px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/flag_th.png",'0px','0px']
            },
            {
                id: 'text_2',
                display: 'none',
                type: 'image',
                rect: ['610px', '360px','401px','300px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/text_2.png",'0px','0px']
            },
            {
                id: 'border_1',
                display: 'none',
                type: 'image',
                rect: ['88px', '162px','430px','492px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/border_1.png",'0px','0px']
            },
            {
                id: 'douknow_1',
                type: 'image',
                rect: ['501px', '84px','146px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/douknow_1.png",'0px','0px']
            },
            {
                id: 'earth',
                display: 'none',
                type: 'image',
                rect: ['227px', '197px','152px','151px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/earth.png",'0px','0px']
            },
            {
                id: 'flat_icon_1',
                type: 'image',
                rect: ['453px', '74px','41px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/flat_icon_1.png",'0px','0px']
            },
            {
                id: 'text_1',
                display: 'none',
                type: 'image',
                rect: ['124px', '360px','401px','300px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson3_7/text_1.png",'0px','0px']
            },
            {
                id: 'ipst_logo',
                type: 'image',
                rect: ['29px', '22px','273px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/ipst_logo.png",'0px','0px']
            }],
            symbolInstances: [

            ]
        },
    states: {
        "Base State": {
            "${_flat_icon_1}": [
                ["style", "height", '0px'],
                ["style", "top", '136px'],
                ["style", "left", '453px'],
                ["style", "-webkit-transform-origin", [50,103], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [50,103],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [50,103],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [50,103],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [50,103],{valueTemplate:'@@0@@% @@1@@%'}]
            ],
            "${_border_1}": [
                ["style", "top", '244px'],
                ["style", "opacity", '0'],
                ["style", "left", '88px'],
                ["style", "display", 'none']
            ],
            "${_text_2}": [
                ["style", "top", '442px'],
                ["style", "opacity", '0'],
                ["style", "left", '610px'],
                ["style", "display", 'none']
            ],
            "${_douknow_1}": [
                ["style", "height", '0px'],
                ["style", "-webkit-transform-origin", [50,101], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [50,101],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [50,101],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [50,101],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [50,101],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "left", '501px'],
                ["style", "top", '146px']
            ],
            "${_text_1}": [
                ["style", "top", '442px'],
                ["style", "opacity", '0'],
                ["style", "left", '124px'],
                ["style", "display", 'none']
            ],
            "${_earth}": [
                ["style", "top", '279px'],
                ["style", "opacity", '0'],
                ["style", "left", '227px'],
                ["style", "display", 'none']
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,1)'],
                ["style", "min-width", '1024px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '700px'],
                ["style", "max-width", '1100px'],
                ["style", "width", '1100px']
            ],
            "${_ipst_logo}": [
                ["style", "left", '29px'],
                ["style", "top", '22px']
            ],
            "${_border_1Copy}": [
                ["style", "top", '244px'],
                ["style", "opacity", '0'],
                ["style", "left", '581px'],
                ["style", "display", 'none']
            ],
            "${_flag_th}": [
                ["style", "top", '279px'],
                ["style", "opacity", '0'],
                ["style", "left", '673px'],
                ["style", "display", 'none']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 3131,
            autoPlay: true,
            timeline: [
                { id: "eid46", tween: [ "style", "${_douknow_1}", "height", '62px', { fromValue: '0px'}], position: 1250, duration: 500, easing: "easeOutBack" },
                { id: "eid17", tween: [ "style", "${_text_2}", "top", '360px', { fromValue: '442px'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid36", tween: [ "style", "${_flat_icon_1}", "top", '74px', { fromValue: '136px'}], position: 1000, duration: 500, easing: "easeOutBack" },
                { id: "eid25", tween: [ "style", "${_flag_th}", "opacity", '1', { fromValue: '0'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid12", tween: [ "style", "${_border_1}", "opacity", '1', { fromValue: '0'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid13", tween: [ "style", "${_text_1}", "display", 'block', { fromValue: 'none'}], position: 1623, duration: 0 },
                { id: "eid48", tween: [ "style", "${_douknow_1}", "top", '84px', { fromValue: '146px'}], position: 1250, duration: 500, easing: "easeOutBack" },
                { id: "eid4", tween: [ "style", "${_text_1}", "top", '360px', { fromValue: '442px'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid8", tween: [ "style", "${_earth}", "opacity", '1', { fromValue: '0'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid6", tween: [ "style", "${_border_1}", "top", '162px', { fromValue: '244px'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid19", tween: [ "style", "${_flag_th}", "top", '197px', { fromValue: '279px'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid23", tween: [ "style", "${_text_2}", "opacity", '1', { fromValue: '0'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid14", tween: [ "style", "${_earth}", "display", 'block', { fromValue: 'none'}], position: 1623, duration: 0 },
                { id: "eid15", tween: [ "style", "${_border_1}", "display", 'block', { fromValue: 'none'}], position: 1623, duration: 0 },
                { id: "eid29", tween: [ "style", "${_flag_th}", "display", 'block', { fromValue: 'none'}], position: 2131, duration: 0, easing: "easeOutBack" },
                { id: "eid34", tween: [ "style", "${_flat_icon_1}", "height", '62px', { fromValue: '0px'}], position: 1000, duration: 500, easing: "easeOutBack" },
                { id: "eid21", tween: [ "style", "${_border_1Copy}", "top", '162px', { fromValue: '244px'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid10", tween: [ "style", "${_text_1}", "opacity", '1', { fromValue: '0'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid2", tween: [ "style", "${_earth}", "top", '197px', { fromValue: '279px'}], position: 1623, duration: 1000, easing: "easeOutBack" },
                { id: "eid28", tween: [ "style", "${_text_2}", "display", 'block', { fromValue: 'none'}], position: 2131, duration: 0, easing: "easeOutBack" },
                { id: "eid27", tween: [ "style", "${_border_1Copy}", "opacity", '1', { fromValue: '0'}], position: 2131, duration: 1000, easing: "easeOutBack" },
                { id: "eid30", tween: [ "style", "${_border_1Copy}", "display", 'block', { fromValue: 'none'}], position: 2131, duration: 0, easing: "easeOutBack" }            ]
        }
    }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-14977362");
