﻿function onUpdating()
{
    // get the update progress div
    var updateProgressDiv = $get('updateProgressDiv');
    
    // make it visible
    updateProgressDiv.style.display = 'block';   
}

function onUpdated()
{
    // get the update progress div
    var updateProgressDiv = $get('updateProgressDiv'); 
    // make it invisible
    updateProgressDiv.style.display = 'none';
}

function onUpdatingStartPageMasterAuthor()
{
    // get the update progress div
    var progressBarSmallAuthorDiv = $get('progressBarSmallAuthorDiv');
    
    // make it visible
    progressBarSmallAuthorDiv.style.display = 'block';
}

function onUpdatedStartPageMasterAuthor()
{
    // get the update progress div
    var progressBarSmallAuthorDiv = $get('progressBarSmallAuthorDiv');
    
    // make it visible
    progressBarSmallAuthorDiv.style.display = 'none';
}

function onUpdatingStartPageMasterPartner()
{
    // get the update progress div
    var progressBarSmallPartnerDiv = $get('progressBarSmallPartnerDiv');
    
    // make it visible
    progressBarSmallPartnerDiv.style.display = 'block';
}

function onUpdatedStartPageMasterPartner()
{
    // get the update progress div
    var progressBarSmallPartnerDiv = $get('progressBarSmallPartnerDiv');
    
    // make it visible
    progressBarSmallPartnerDiv.style.display = 'none';
}

function onUpdatingStepEbookLast()
{
    // get the update progress div
    var updateProgressDivStepEbookLast = $get('updateProgressDivStepEbookLast'); 
    // make it visible
    updateProgressDivStepEbookLast.style.display = 'block';        
}

function onUpdatedStepEbookLast()
{
    // get the update progress div
    var updateProgressDivStepEbookLast = $get('updateProgressDivStepEbookLast'); 
    // make it invisible
    updateProgressDivStepEbookLast.style.display = 'none';
}


function onUpdatingStepAudiobookLast()
{
    // get the update progress div
    var updateProgressDivStepAudiobookLast = $get('updateProgressDivStepAudiobookLast'); 
    // make it visible
    updateProgressDivStepAudiobookLast.style.display = 'block';        
}

function onUpdatedStepAudiobookLast()
{
    // get the update progress div
    var updateProgressDivStepAudiobookLast = $get('updateProgressDivStepAudiobookLast'); 
    // make it invisible
    updateProgressDivStepAudiobookLast.style.display = 'none';
}

function onUpdatingPrintCommission()
{
    // get the update progress div
    var updateProgressDivPrintCommission = $get('updateProgressDivPrintCommission'); 
    // make it visible
    updateProgressDivPrintCommission.style.display = 'block';        
}

function onUpdatedPrintCommission()
{
    // get the update progress div
    var updateProgressDivPrintCommission = $get('updateProgressDivPrintCommission'); 
    // make it invisible
    updateProgressDivPrintCommission.style.display = 'none';
}
