/**
 * @author Leandro Antonello
 */

// GLOBAL VARIABLES

$(document).ready( function()
{
    /*
    var screenWidth = $(document.body).width();
    var screenHeigth = $(document.body).height();

    //alert("screen sizes: "+ screenWidth +"x"+ screenHeigth);

    $('#swf-div').css({
        width: screenWidth,
        heigth: screenHeigth
    });
    */

    var mdate = new Date();
    var token = mdate.getDate() + mdate.getMonth() + mdate.getYear() + mdate.getHours() + (mdate.getMinutes() * 60) + (mdate.getSeconds() * 3600) + mdate.getMilliseconds();
    var movie = "media/swf/home.swf?tk=" + token;

    $(document.body).flash({
        swf: movie,
        width: '100%',
        height: '100%',
        scale: 'noscale',
        //wmode: 'transparent',
        allowScriptAccess: 'always',
        quality: 'high',
        menu: false/*,
        flashVars: fvars*/
    });
});