Barra de progreso en asp

Hay una barra de progreso de JavaScript. asp no parece ser necesario.

El propósito de la barra de progreso generalmente es permitir al usuario esperar un rato.

Te daré una barra de progreso js, ​​no sé si funciona.

}

var clipright=0

var anchoIE=0

var anchoNS=0

función inicializebar(){

if (document.all){

baranchor.style.visibility="visible"

anchoIE=bar.style.pixelWidth

startIE=setInterval("increaseIE()",50)

}

if (document.layers){

widthNS=document.baranchorNS.document.barbackgroundNS.clip.width

document.baranchorNS.document .barNS.clip.right=0

document.baranchorNS.visibility="show"

startNS=setInterval("increaseNS()",50)

}

}

función aumentarIE(){

bar.style.clip="rect(0 "+clipright+" auto 0)"

ventana.status="Cargando..."

if (clipright

{

clipright=clipright+(anchoIE/(duración* 20));

document.all.percent.innerHTML="

"+clipright/2 + "%
"

}

else{

window.status='Iniciado sesión correctamente'

clearInterval(startIE)

postaction()

}

}

función aumentarNS(){

if (clipright<202){

ventana status="Cargando..."

document.baranchorNS.document.barNS.clip.right=clipright

clipright=clipright+(anchoNS/(duración*20))

}

else{

ventana.status=''

p>

clearInterval(startNS)

postaction()

}

}

window.onload=initializebar

top=0>