var FLASH_BLOCK_SIZE = 64.7;
var FLASH_BLOCK_MAX = 1665;
function flashRecalc()
{
    var e = document.getElementById('flash_block');
    if( e )
    {
        var pe = e.parentNode;
        if( pe )
        {
            e.style.left = 0;
            e.style.width = FLASH_BLOCK_SIZE;
            pe.align = "left";
            e.style.position = 'relative';
            e.style.top = 0;
            var w = pe.offsetWidth - (pe.offsetWidth % FLASH_BLOCK_SIZE);
            if( w > FLASH_BLOCK_MAX ) w = FLASH_BLOCK_MAX;
            e.style.width = w;
            e.style.left = (pe.offsetWidth-e.offsetWidth)/2;
            //alert((pe.offsetWidth-e.offsetWidth)/2);
        }
    }
}
