#!/bin/sh . /www/cgi-bin/functions.sh print_cgi_header print_http_header cat < var pchar = "||"; // progress char var maxchars = 60; var delay_time = 1500; // msecs var charcount = 0; function makeStr(strSize, fillChar) { var temp = ""; for (i=0; i < strSize ; i ++) temp = temp + fillChar; return temp; } function updateProgress() { var cf = document.forms[0]; if (charcount < maxchars) { charcount ++; cf.progress.value = makeStr(charcount,pchar); setTimeout("updateProgress()",delay_time); } else { parent.location.href="/cgi-bin/index.html"; } }