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

var fonts = {};    fonts['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif']='<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>';

var opts = {
    'gAudioPreloadPreference': 'auto',

    'gVideoPreloadPreference': 'auto'
};
var resources = [
];
var symbols = {
"stage": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "both",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'mainContainer',
                type: 'rect',
                rect: ['47px', '80px','auto','auto','auto', 'auto']
            },
            {
                id: 'bt_back_file',
                type: 'rect',
                rect: ['15px', '377px','auto','auto','auto', 'auto'],
                title: 'Anterior',
                cursor: ['pointer']
            },
            {
                id: 'bt_next_file',
                type: 'rect',
                rect: ['1283px', '380px','auto','auto','auto', 'auto'],
                title: 'Siguiente',
                cursor: ['pointer']
            },
            {
                id: 'desc',
                display: 'none',
                type: 'rect',
                rect: ['47px', '653px','auto','auto','auto', 'auto']
            },
            {
                id: 'Rectangle',
                type: 'rect',
                rect: ['47px', '157px','1265px','49px','auto', 'auto'],
                fill: ["rgba(255,255,255,0.46)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '156px','1218px','auto','auto', 'auto'],
                text: "Levanta la mano cuando veas un objeto que te ayuda a comunicarte con otra persona.<br>",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 32, "rgba(26,26,26,1.00)", "bold", "none", "normal"]
            }],
            symbolInstances: [
            {
                id: 'mainContainer',
                symbolName: 'mainContainer',
                autoPlay: {

                }
            },
            {
                id: 'desc',
                symbolName: 'desc',
                autoPlay: {

                }
            },
            {
                id: 'bt_back_file',
                symbolName: 'bt_back',
                autoPlay: {

                }
            },
            {
                id: 'bt_next_file',
                symbolName: 'bt_next',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_desc}": [
                ["style", "-webkit-transform-origin", [50,0], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["transform", "scaleX", '1'],
                ["style", "display", 'none'],
                ["style", "left", '47px'],
                ["style", "top", '653px']
            ],
            "${_descripcion}": [
                ["style", "top", '156px'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "width", '1218px'],
                ["style", "left", '100px'],
                ["style", "font-size", '32px']
            ],
            "${_mainContainer}": [
                ["style", "top", '80px'],
                ["transform", "scaleY", '1'],
                ["style", "overflow", 'hidden'],
                ["transform", "scaleX", '1'],
                ["style", "left", '47px'],
                ["style", "-webkit-transform-origin", [0,0], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}]
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "min-width", '320px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "max-width", '1366px'],
                ["style", "width", '1366px']
            ],
            "${_Rectangle}": [
                ["color", "background-color", 'rgba(255,255,255,0.46)']
            ],
            "${_bt_back_file}": [
                ["style", "top", '377px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "left", '15px'],
                ["style", "cursor", 'pointer']
            ],
            "${_bt_next_file}": [
                ["style", "top", '380px'],
                ["transform", "scaleY", '0.92857'],
                ["transform", "scaleX", '0.92857'],
                ["style", "left", '1283px'],
                ["style", "cursor", 'pointer']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid27", tween: [ "style", "${_desc}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 }            ]
        }
    }
},
"mainContainer": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0', '1265px', '650px', 'auto', 'auto'],
                    id: 'imagen',
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U06_L04_01_01_01.jpg', '0px', '0px'],
                    type: 'image',
                    tag: 'img'
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_imagen}": [
                ["style", "left", '0px'],
                ["style", "overflow", 'hidden']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "max-width", '1265px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '1265px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: false,
            timeline: [
            ]
        }
    }
},
"bt_next": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'image',
                    rect: ['0px', '0px', '145px', '145px', 'auto', 'auto'],
                    display: 'block',
                    id: 'nav',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '0px', '70px', '70px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px']
            ],
            "${_nav}": [
                ["style", "top", '0px'],
                ["style", "background-position", [-76,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "display", 'block'],
                ["style", "height", '145px'],
                ["style", "background-size", [145,145], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "left", '0px'],
                ["style", "width", '145px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 1000,
                "up": 2000
            },
            timeline: [
                { id: "eid578", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid617", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 1000, duration: 0 },
                { id: "eid619", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 2000, duration: 0 },
                { id: "eid1079", tween: [ "style", "${_nav}", "background-position", [-76,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-76,0]}], position: 0, duration: 0 }            ]
        }
    }
},
"bt_back": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0', '0', '145px', '145px', 'auto', 'auto'],
                    id: 'nav',
                    type: 'image',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '-75px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_nav}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 1000,
                "up": 2000
            },
            timeline: [
                { id: "eid17", tween: [ "style", "${_nav}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 0, duration: 0 },
                { id: "eid16", tween: [ "style", "${_nav}", "background-position", [0,-75], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 1000, duration: 0 },
                { id: "eid18", tween: [ "style", "${_nav}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,-75]}], position: 2000, duration: 0 }            ]
        }
    }
},
"desc": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'rect',
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    rect: ['0px', '0px', '1265px', '80px', 'auto', 'auto'],
                    fill: ['rgba(2,2,2,0.70)']
                },
                {
                    rect: ['21px', '2px', '1220px', '62px', 'auto', 'auto'],
                    font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 42, 'rgba(255,255,255,1.00)', 'bold', 'none', 'normal'],
                    id: 'txt_desc',
                    text: '¿Cómo te sientes cuando visitas al odontólogo? ¿Por qué?',
                    align: 'center',
                    type: 'text'
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_txt_desc}": [
                ["style", "top", '2px'],
                ["style", "text-align", 'center'],
                ["style", "height", '62px'],
                ["style", "width", '1220px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-size", '42px']
            ],
            "${_Rectangle}": [
                ["color", "background-color", 'rgba(2,2,2,0.70)'],
                ["style", "height", '80px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '1265px']
            ],
            "${symbolSelector}": [
                ["style", "height", '80px'],
                ["style", "width", '1265px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
}
};


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

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