//progress.js
//David N. Blauch  Version 1.0  Copyright 2009
//
// provides support functions for a progress message
// Progress DIV:
// <DIV ID="Progress" STYLE="position:absolute; width:400px; height:120px; background-color:#FFFFFF; border:2px solid #000000; top:10; left:10;">

// provides content for the progress DIV
// progress is a/b
// n is the ID of the DIV block for the progress message
function progress(a,b,n) {
    txt = "<br><br><center><middle><font color='red' size='5pt'>Downloading Files:  "+a+"/"+b+" ...</font></middle></center><br>";
    document.getElementById(n).innerHTML = txt;
}

// removes the progress DIV
// n is the ID of the DIV block for the progress message
function clearProgress(n) {
    parent.document.body.removeChild(document.getElementById(n));
}