// JavaScript Document
// to show .... onClick="_show_progress_()"
// to hide .... onClick="_hide_progress_()"
document.write("");
function ProgressCreate() {
// Move layer to center of window to show
if (document.all) { // Internet Explorer
progress.className = 'show';
progress.style.left = (document.body.clientWidth/2) - (progress.offsetWidth/2);
progress.style.top = document.body.scrollTop+(document.body.clientHeight/2) - (progress.offsetHeight/2);
} else if (document.layers) { // Netscape
document.progress.visibility = true;
document.progress.left = (window.innerWidth/2) - 100;
document.progress.top = pageYOffset+(window.innerHeight/2) - 40;
} else if (document.getElementById) { // Netscape 6+
document.getElementById("progress").className = 'show';
document.getElementById("progress").style.left = (window.innerWidth/2)- 100;
document.getElementById("progress").style.top = pageYOffset+(window.innerHeight/2) - 40;
}
}
// Hide the progress layer
function ProgressDestroy() {
// Move off screen to hide
if (document.all) { // Internet Explorer
progress.className = 'hide';
} else if (document.layers) { // Netscape
document.progress.visibility = false;
} else if (document.getElementById) { // Netscape 6+
document.getElementById("progress").className = 'hide';
}
}
// Demonstrate a use of the progress dialog.
function _show_progress_() {
//ProgressCreate();
showPopWin('processwindow.php', 340, 130, null,false);
}
function _hide_progress_() {
//ProgressDestroy();
window.top.hidePopWin()
}
// Create layer for progress dialog
document.write("");
document.write("");
document.write("");
ProgressDestroy(); // Hides