<% function myloading(a)%>
<form name="loading">
<div align="center"><center><p><input
style="padding-right: 0px; padding-left: 0px; font-weight: bolder; padding-bottom: 0px; color: red; border-top-style: none; padding-top: 0px; font-family: arial; border-right-style: none; border-left-style: none; background-color: yellow; border-bottom-style: none"
size="46" name="chart"> <br>
<input
style="border-right: medium none; border-top: medium none; border-left: medium none; color: rgb(138,134,134); border-bottom: medium none; text-align: center"
size="46" name="percent">
<script>
var bar = 0
var line = "||"
var amount ="||"
count()
function count()
{
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{settimeout("count()",100);}
else
<%if a="closeit" then%>
{ settimeout("closeme();",10); }
<%else%>
{ settimeout("window.go(-1);",10); }
<%end if%>
}
function closeme(){
self.focus();
self.close();
return false;
}
</script>
</p>
</center></div>
</form>
<% end function %>
