// found @ http://www.wpdfd.com/wpdanim.htm

function MakeImageArray(n) {
	this.length = n
	for (var i=1; i<=n; i++) { this[i] = new Image() }
	return this }
            
function openit() {
	index=1;
	for (i=0;i<=max;i++) { time=setTimeout('open()',delay*i); }
	clearTimeout(time); }
	 
function open() {
	if(index>0&&index<=max) { document.images['it'].src=it[index].src; index++; } }	 
	 
function closeit() {
	index=max;
	for (i=0;i<=max;i++) { time=setTimeout('close()',delay*i); }
	clearTimeout(time);  }
	 
function close() {
	if(index>0&&index<=max) { document.images['it'].src=it[index].src; index--; } }
