//<![CDATA[


var _main                = {

    init      : function() {

        this.before();

    },

    before    : function() {

        libraries.jQswfObject.init  = true;
        _loader.core();

    },

    after     : function() {

		swf.init();
    }
};

var swf                  = {

    init      : function() {

        if (this.check())  this.core();

    },

    check     : function() {

        return (_exists('.swf-tema') && typeof jQuery.fn.flash == 'function' ) ? true : false;

    },

    core      : function() {

        $('div.swf-tema').flash({
            swf         : def.project.pathSwf + 'tema/peca_serdigital-new.swf',
			wmode		:'transparent',
            width		: $('.swf-tema').width(),
            height		: $('.swf-tema').height(),
            params      : {
                allowfullscreen     : 'true',
                allowscriptaccess   : 'always'
            }
        });

    }

};


_main.init();

//]]>
