$(document).ready(function()
{
    $.setAjaxForm('#uploadForm', function(response)
    {
        if(response.result == 'success')
        {
            setTimeout(function()
            {
                $('#ajaxModal').attr('ref', response.locate).load(response.locate, function()
                {
                    $.zui.ajustModalPosition();
                });
            }, 3000);
        }
    });

    $.setAjaxLoader('.okFile', '#ajaxModal');
});

