/******************************************************************************
* dhtmllib.js                                                                 *
*                                                                             *
* Copyright 1999 by Mike Hall.
* Visit http://www.dynamicdrive.com for full script                           *
* Last update: July 21st, '02 by Dynamic Drive for NS6 functionality.         *
*                                                                             *
* Provides basic functions for DHTML positioned elements which will work on   *
* both Netscape Communicator and Internet Explorer browsers (version 4.0 and  *
* up).                                                                        *
******************************************************************************/

var  percent = 30,
	 timePeriod = 100;

function getBar() {
 	var retBar = '';
 	for(i = 0; i < percent; i++) {
		  retBar += "|";
	 }
	 return retBar;
}

function progressBar() {
  if(percent < 100) {
    percent = percent + 1
    window.status = "Loading : " + percent + "%" + " " + getBar();
    setTimeout ("progressBar()", timePeriod);
  } else {
    window.status = "Thank you for waiting, list updated frequently";
    document.body.style.display = "";
  }
}
progressBar();

