/*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.0.3.min.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: 'base_bar',
                            type: 'rect',
                            rect: ['0', '438', '320', '22', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,1.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'bg1',
                            type: 'rect',
                            rect: ['0px', '318', '320px', '120', 'auto', 'auto'],
                            fill: ["rgba(236,234,222,1.00)"],
                            stroke: [0,"rgb(0, 0, 0)","none"]
                        },
                        {
                            id: 'pictureTxt',
                            type: 'text',
                            rect: ['5', '442', '155', '17', 'auto', 'auto'],
                            text: "picture txt",
                            align: "left",
                            font: ['pragmatica-web, sans-serif', [11, "px"], "rgba(255,255,255,1)", "bold", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'creditTxt',
                            type: 'text',
                            tag: 'h6',
                            rect: ['195', '443', '119', '16', 'auto', 'auto'],
                            text: "© GRAPHIC NEWS",
                            align: "right",
                            font: ['pragmatica-web, sans-serif', [11, "px"], "rgba(255,255,255,1)", "normal", "none", "", "break-word", ""]
                        },
                        {
                            id: 'mainBorder',
                            type: 'rect',
                            rect: ['0px', '0', '310', '450', 'auto', 'auto'],
                            fill: ["rgba(255,255,255,0)"],
                            stroke: [5,"rgba(145, 145, 145, 0.496094)","solid"]
                        },
                        {
                            id: 'otdImg2',
                            type: 'image',
                            tag: 'img',
                            rect: ['0', '0', '320px', '299px', 'auto', 'auto'],
                            opacity: '0',
                            fill: ["rgba(0,0,0,0)",im+"otd0.jpg",'0px','0px']
                        },
                        {
                            id: 'otdImg1',
                            type: 'image',
                            tag: 'img',
                            rect: ['0', '0', '320px', '299px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"otd.jpg",'0px','0px']
                        },
                        {
                            id: 'otdImg0',
                            type: 'image',
                            tag: 'img',
                            rect: ['0', '0', '320px', '299px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"otd0.jpg",'0px','0px']
                        },
                        {
                            id: 'imgBorder',
                            type: 'rect',
                            rect: ['0px', '0', '310', '289', 'auto', 'auto'],
                            fill: ["rgba(255,255,255,0)"],
                            stroke: [5,"rgba(145,145,145,0.50)","solid"]
                        },
                        {
                            id: 'headlineTxt',
                            type: 'text',
                            rect: ['5', '262', '310', '33', 'auto', 'auto'],
                            opacity: '1',
                            fill: ["rgba(0,0,0,0.2)"],
                            text: "Today",
                            align: "center",
                            font: ['pragmatica-web, sans-serif', [24, "px"], "rgba(255,255,255,1.00)", "700", "none", "normal", "break-word", ""],
                            textShadow: ["rgba(0,0,0,0.50)", 3, 3, 3]
                        },
                        {
                            id: 'dateTxt',
                            type: 'text',
                            rect: ['0', '299', '320px', '22', 'auto', 'auto'],
                            opacity: '1',
                            text: "Date today",
                            align: "center",
                            font: ['pragmatica-web, sans-serif', [14, "px"], "rgba(0,0,0,1.00)", "400", "none", "italic", "break-word", ""]
                        },
                        {
                            id: 'mainBtn1',
                            symbolName: 'btn_mc',
                            type: 'rect',
                            rect: ['165', '0', '155', '299', 'auto', 'auto'],
                            cursor: 'pointer',
                            userClass: "bigBtns"
                        },
                        {
                            id: 'mainBtn0',
                            symbolName: 'btn_mc',
                            type: 'rect',
                            rect: ['0', '0', '155', '299', 'auto', 'auto'],
                            cursor: 'pointer',
                            userClass: "bigBtns",
                            transform: [[],[],[],['-1']]
                        },
                        {
                            id: 'textBox',
                            type: 'rect',
                            rect: ['5', '318', '309', '120', 'auto', 'auto'],
                            overflow: 'auto',
                            cursor: 'pointer',
                            fill: ["rgba(236,234,222,0.00)"],
                            stroke: [0,"rgb(0, 0, 0)","none"]
                        },
                        {
                            id: 'calendar',
                            symbolName: 'CalendarMc',
                            display: 'none',
                            type: 'rect',
                            rect: ['0', '0', '320', '460', 'auto', 'auto']
                        },
                        {
                            id: 'calBtn',
                            type: 'image',
                            rect: ['273', '5', '42', '33', 'auto', 'auto'],
                            cursor: 'context-menu',
                            fill: ["rgba(0,0,0,0)",im+"cal.png",'0px','0px'],
                            filter: [0, 0, 1, 1, 0, 0, 0, 0, "rgba(0,0,0,0.50)", 2, 2, 2]
                        }
                    ],
                    style: {
                        '${Stage}': {
                            isStage: true,
                            rect: ['null', 'null', '320', '460', 'auto', 'auto'],
                            overflow: 'hidden',
                            fill: ["rgba(255,255,255,1)"]
                        }
                    }
                },
                timeline: {
                    duration: 1250,
                    autoPlay: true,
                    data: [
                        [
                            "eid88",
                            "scaleY",
                            0,
                            0,
                            "linear",
                            "${mainBtn0}",
                            '1',
                            '1'
                        ],
                        [
                            "eid94",
                            "display",
                            0,
                            0,
                            "linear",
                            "${calendar}",
                            'none',
                            'none'
                        ],
                        [
                            "eid89",
                            "scaleX",
                            0,
                            0,
                            "linear",
                            "${mainBtn0}",
                            '-1',
                            '-1'
                        ]
                    ]
                }
            },
            "forward_butt": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'button_right',
                            type: 'image',
                            rect: ['0', '0', '24px', '24px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/button_right.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 24, 24]
                        }
                    }
                },
                timeline: {
                    duration: 1000,
                    autoPlay: false,
                    labels: {
                        "off": 0,
                        "over": 1000
                    },
                    data: [

                    ]
                }
            },
            "back_butt": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'button_left3',
                            type: 'image',
                            rect: ['0', '0', '24px', '24px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/button_left.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '24', '24']
                        }
                    }
                },
                timeline: {
                    duration: 1000,
                    autoPlay: false,
                    labels: {
                        "off": 0,
                        "over": 1000
                    },
                    data: [

                    ]
                }
            },
            "btn_mc": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'btn',
                            stroke: [5, 'rgba(145, 145, 145, 0)', 'none'],
                            rect: ['0', '0', '155px', '299px', 'auto', 'auto'],
                            fill: ['rgba(255,255,255,0)']
                        },
                        {
                            type: 'image',
                            rect: ['94px', '99px', '60px', '115px', 'auto', 'auto'],
                            id: 'arrow',
                            opacity: '1',
                            display: 'block',
                            fill: ['rgba(0,0,0,0)', 'images/arrowright.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '155', '299']
                        }
                    }
                },
                timeline: {
                    duration: 1250,
                    autoPlay: true,
                    data: [
                        [
                            "eid111",
                            "opacity",
                            0,
                            1250,
                            "linear",
                            "${arrow}",
                            '1',
                            '0'
                        ],
                        [
                            "eid110",
                            "display",
                            0,
                            0,
                            "linear",
                            "${arrow}",
                            'block',
                            'block'
                        ]
                    ]
                }
            },
            "arrow_down": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            rect: [0, 0, 31, 23, 'auto', 'auto'],
                            display: 'block',
                            overflow: 'visible',
                            id: 'updown',
                            opacity: '0.85171508789062',
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/updown.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 31, 23]
                        }
                    }
                },
                timeline: {
                    duration: 4000,
                    autoPlay: true,
                    data: [
                        [
                            "eid77",
                            "display",
                            0,
                            0,
                            "linear",
                            "${updown}",
                            'block',
                            'block'
                        ],
                        [
                            "eid78",
                            "opacity",
                            0,
                            2000,
                            "linear",
                            "${updown}",
                            '0.85171508789062',
                            '0.19751000404358'
                        ],
                        [
                            "eid79",
                            "opacity",
                            2000,
                            2000,
                            "linear",
                            "${updown}",
                            '0.1975100040435791',
                            '0.84512382745743'
                        ]
                    ]
                }
            },
            "CalendarMc": {
                version: "5.0.1",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.1.386",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'hideCal',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            rect: ['0px', '0px', 320, 460, 'auto', 'auto'],
                            fill: ['rgba(255,255,255,0.50)']
                        },
                        {
                            rect: [5, 116, 310, 265, 'auto', 'auto'],
                            fill: ['rgba(255,255,255,0.91)'],
                            id: 'Rectangle',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            type: 'rect',
                            boxShadow: ['', '3px', '3px', '3px', 0, 'rgba(0,0,0,0.65)']
                        },
                        {
                            type: 'rect',
                            id: 'calTxt',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            rect: [10, 146, 300, 230, 'auto', 'auto'],
                            fill: ['rgba(236,234,222,1.00)']
                        },
                        {
                            type: 'rect',
                            id: 'RectangleCopy',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            rect: [5, 116, 310, 30, 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0.99)']
                        },
                        {
                            font: ['pragmatica-web, sans-serif', [18, 'px'], 'rgba(255,255,255,1.00)', '700', 'none', '', '', ''],
                            type: 'text',
                            id: 'monthTxt',
                            text: 'Month',
                            align: 'center',
                            rect: [35, 119, 250, 19, 'auto', 'auto']
                        },
                        {
                            type: 'image',
                            id: 'monthBtn0',
                            opacity: '1',
                            rect: [5, 116, 29, 30, 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/button_left.png', '0px', '0px']
                        },
                        {
                            type: 'image',
                            id: 'monthBtn1',
                            opacity: '1',
                            rect: [286, 116, 29, 30, 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/button_right.png', '0px', '0px']
                        },
                        {
                            rect: [273, 8, 42, 39, 'auto', 'auto'],
                            fi: ['0', '0deg', '1', '1', '0', '0', '0', '0px', 'rgba(0,0,0,0.50)', '2px', '2px', '2px'],
                            id: 'homeBtn',
                            filter: ['0', '0deg', '1', '1', '0', '0', '0', '0px', 'rgba(0,0,0,0.50)', '2px', '2px', '2px'],
                            type: 'image',
                            fill: ['rgba(0,0,0,0)', 'images/home.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 320, 460]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [
                        [
                            "eid108",
                            "filter.drop-shadow.color",
                            0,
                            0,
                            "linear",
                            "${homeBtn}",
                            'rgba(0,0,0,0.50)',
                            'rgba(0,0,0,0.50)'
                        ]
                    ]
                }
            }
        };

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

    if (!window.edge_authoring_mode) AdobeEdge.getComposition(compId).load("GN32496_edgeActions.js");
})("GraphicNews32496");
