adsp = function(args)
	{
		this.root = $(args.root);
		this.paus = args.paus;
		this.tran = args.tran;
		
		this.imgs = this.root.children('img');
		this.imge = 0;
		
		for (i=0; this.imgs.length > i; i++)
			{
				this.imgs[i].style.zIndex = this.imgs.length - i;
				this.imgs[i].style.position = 'absolute';
			}
		
		adsp_play();
	}

adsp_play = function()
	{
		var init_imag = this.imgs[this.imge];
		var init_zind = parseInt(init_imag.style.zIndex);
		
		var i = (this.imge == this.imgs.length - 1) ? 0 : this.imge+1;
		this.imge = i;
		
		var neos_imag = this.imgs[this.imge];
		var neos_zind = parseInt(neos_imag.style.zIndex);
		
		for (i=0; this.imgs.length > i; i++)
			{
				var this_zind = parseInt(this.imgs[i].style.zIndex);
				if (this_zind > neos_zind)
					{
						this.imgs[i].style.zIndex--;
					}
			}
		
		neos_imag.style.display = 'none';
		neos_imag.style.zIndex = init_zind;
		
		$(neos_imag).stop();
		$(neos_imag).fadeIn(this.tran);
		
		setTimeout("adsp_play();", this.paus);
	}