/*jslint */
/*global AdobeEdge: false, window: false, document: false, console:false, alert: false */
(function (compId) {

    "use strict";
    var im='images/',
        aud='media/',
        vid='media/',
        js='js/',
        fonts = {
            'pragmatica-web, sans-serif': '<script type=\"text/javascript\" src=\"http://use.typekit.com/krw6sbc.js\"></script><script type=\"text/javascript\">try{Typekit.load();}catch(e){}</script>'        },
        opts = {
            'gAudioPreloadPreference': 'auto',
            'gVideoPreloadPreference': 'auto'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.1.3.min.js",
            js+"jquery.easing.1.3.js"
        ],
        symbols = {
            "stage": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'map2',
                            type: 'image',
                            rect: ['0', '81px', '500px', '505px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"map.jpg",'0px','0px']
                        },
                        {
                            id: 'txtMc',
                            symbolName: 'txtMc',
                            type: 'rect',
                            rect: ['0', '358', '498', '214', 'auto', 'auto']
                        },
                        {
                            id: 'transfer',
                            type: 'image',
                            rect: ['0', '80px', '500px', '505px', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(0,0,0,0)",im+"transfer.jpg",'0px','0px']
                        },
                        {
                            id: 'standTxt',
                            type: 'text',
                            rect: ['0px', '40px', '480px', '15px', 'auto', 'auto'],
                            opacity: '1',
                            text: "I",
                            align: "left",
                            font: ['pragmatica-web, sans-serif', [15, "px"], "rgba(61,61,61,1.00)", "700", "none solid rgb(255, 255, 255)", "normal", "break-word", "normal"],
                            textStyle: ["", "", "17px", ""]
                        },
                        {
                            id: 'Rectangle',
                            type: 'rect',
                            rect: ['500px', '40px', '300px', '560px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,1.00)"],
                            stroke: [0,"rgb(155, 155, 155)","solid"],
                            boxShadow: ["", -3, -3, 8, 0, "rgba(0,0,0,0.65098)"]
                        },
                        {
                            id: 'tableMc',
                            symbolName: 'tableMc',
                            type: 'rect',
                            rect: ['500', '40', 'undefined', 'undefined', 'auto', 'auto'],
                            cursor: 'ns-resize'
                        },
                        {
                            id: 'styleBase',
                            symbolName: 'styleBase',
                            type: 'rect',
                            rect: ['0px', '585px', 'undefined', 'undefined', 'auto', 'auto']
                        },
                        {
                            id: 'styleHead',
                            symbolName: 'styleHead',
                            type: 'rect',
                            rect: ['0', '0', '800', '40', 'auto', 'auto']
                        },
                        {
                            id: 'scrollDown',
                            type: 'image',
                            rect: ['610px', '493px', '79', '79', 'auto', 'auto'],
                            opacity: '0.6',
                            fill: ["rgba(0,0,0,0)",im+"scrollDown.png",'0px','0px']
                        }
                    ],
                    style: {
                        '${Stage}': {
                            isStage: true,
                            rect: ['null', 'null', '800px', '600px', 'auto', 'auto'],
                            overflow: 'hidden',
                            fill: ["rgba(255,255,255,1)"]
                        }
                    }
                },
                timeline: {
                    duration: 10000,
                    autoPlay: false,
                    data: [
                        [
                            "eid156",
                            "opacity",
                            7000,
                            3000,
                            "easeInOutQuad",
                            "${transfer}",
                            '0',
                            '1'
                        ]
                    ]
                }
            },
            "styleHead": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'headerBox',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            rect: ['0px', '0px', '800px', '40px', 'auto', 'auto'],
                            fill: ['rgba(61,61,61,1.00)']
                        },
                        {
                            rect: ['5px', '7px', '790px', '28px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [28, 'px'], 'rgba(255,255,255,1)', '700', 'none solid rgb(255, 255, 255)', 'normal', 'break-word', 'normal'],
                            align: 'left',
                            id: 'headlineTxt',
                            textStyle: ['', '', '28px', ''],
                            text: 'I',
                            type: 'text'
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '800px', '40px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "styleBase": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '800px', '15px', 'auto', 'auto'],
                            id: 'bg',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            type: 'rect',
                            fill: ['rgba(0,0,0,1.00)']
                        },
                        {
                            type: 'text',
                            rect: ['660px', '3px', '137px', '12px', 'auto', 'auto'],
                            textStyle: ['1px', '0px', '11px', ''],
                            id: 'creditTxt',
                            text: '© GRAPHIC NEWS',
                            align: 'right',
                            font: ['pragmatica-web, sans-serif', [11, 'px'], 'rgba(255,255,255,1.00)', '400', 'none solid rgb(255, 255, 255)', 'normal', 'break-word', 'normal']
                        },
                        {
                            type: 'text',
                            rect: ['5px', '3px', '680px', '12px', 'auto', 'auto'],
                            textStyle: ['0px', '0px', '11px', ''],
                            id: 'sourceTxt',
                            text: 'I',
                            align: 'left',
                            font: ['pragmatica-web, sans-serif', [11, 'px'], 'rgba(208,208,208,1.00)', '400', 'none solid rgb(255, 255, 255)', 'normal', 'break-word', 'normal']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '800px', '15px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "tableMc": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [

                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '300px', '545px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "txtMc": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '247px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(255,255,255,1.00)', 'normal', 'none', 'italic', 'break-word', 'normal'],
                            align: 'center',
                            id: 'txt0',
                            text: 'I',
                            textStyle: ['', '', '14px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['251px', '0px', '247px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(255,255,255,1.00)', 'normal', 'none', 'italic', 'break-word', 'normal'],
                            align: 'center',
                            id: 'txt1',
                            text: 'I',
                            textStyle: ['', '', '14px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['199px', '77px', '14px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [15, 'px'], 'rgba(61,61,61,1.00)', 'normal', 'none', '', 'break-word', 'normal'],
                            align: 'center',
                            id: 'txt2',
                            text: 'I',
                            textStyle: ['5px', '', '14px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['393px', '32px', '87px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(0,0,0,1.00)', 'normal', 'none', '', 'break-word', 'normal'],
                            align: 'center',
                            id: 'txt3',
                            text: 'I',
                            textStyle: ['', '', '20px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['213px', '127px', '108px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(0,0,0,1.00)', '700', 'none', '', 'break-word', 'normal'],
                            align: 'left',
                            id: 'txt4',
                            text: 'I',
                            textStyle: ['', '', '20px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['53px', '159px', '108px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(0,0,0,1.00)', '700', 'none', '', 'break-word', 'normal'],
                            align: 'left',
                            id: 'txt5',
                            text: 'I',
                            textStyle: ['', '', '20px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['132px', '194px', '170px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [13, 'px'], 'rgba(0,0,0,1.00)', '700', 'none', '', 'break-word', 'normal'],
                            align: 'center',
                            id: 'txt6',
                            text: 'I',
                            textStyle: ['', '', '20px', ''],
                            type: 'text'
                        },
                        {
                            rect: ['255px', '196px', '154px', '14px', 'auto', 'auto'],
                            font: ['pragmatica-web, sans-serif', [15, 'px'], 'rgba(61,61,61,1.00)', 'normal', 'none', '', 'break-word', 'normal'],
                            align: 'right',
                            id: 'txt7',
                            text: 'I',
                            textStyle: ['1px', '', '14px', ''],
                            type: 'text'
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '498px', '214px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            }
        };

    AdobeEdge.registerCompositionDefn(compId, symbols, fonts, scripts, resources, opts);

    if (!window.edge_authoring_mode) AdobeEdge.getComposition(compId).load("GN33000_edgeActions.js");
})("GraphicNews33000");
