function showProgress(type) {
    if (typeof(type) == 'undefined') type = '';
    $('.contentPage').hide();
    $('#reports').remove();
    $(".progressPage[rel='" + type +"']").show();
    $('html, body').animate({scrollTop:0});
    setTimeout('resetGifs()', 1);
}

function resetGifs() {
    $("div[class*='progressPage'] img").each(function(){var tmp = $(this).attr('src');$(this).attr('src', tmp);});
}

