﻿var Default = (function() {

    /***Console**/
    function Console() {
    }
    // To turn off all console features, set Console.enabled to false.
    Console.enabled = true;

    // Console.log(object[, object, ...]) - Print a message in the log. If
    // FireBug is enabled, print the message in the FireBug
    // console. Otherwise, do nothing.
    Console.log = function() {
        if (Console.enabled && window.console && window.console.log) {
            console.log.apply(console, arguments);
        }
    };
    /***Console**/


    window.addEvent('domready', function() {
        SetAccordion();
        var obj = new Swiff('Images/Flash.swf', {
        width:143,
        height:204,
            params: {
                wmode: 'transparent'
            },
            container: $("main").getElement(".welcome .flash-container")
        });

    });
    function SetAccordion() {
        var myAccordion = new Accordion($('accordion'), $('accordion').getElements('.toggler'), $('accordion').getElements('.element'), {
            opacity: false,
            transition: Fx.Transitions.Quart.easeInOut,
            fixedHeight: 246,
            fixedWidth: 357,
            height: false,
            width: true,
            trigger: 'mouseenter',
            onActive: function(toggler, element) {
                toggler.addClass('flow-title' + toggler.get('id') + '-hover');
            },
            onBackground: function(toggler, element) {
                toggler.removeClass('flow-title' + toggler.get('id') + '-hover');
            }
        });
    }



    return {



};
})();
