﻿function FchangeSlide() {this.prior = this.slide;this.i += 1;if (this.i >= this.n) this.i = 0;this.slide = $(x[this.i]);new Effect.Appear(this.slide, { duration: 1.0 });if (this.prior != null) new Effect.Fade(this.prior, {duration: 1.0 });}function Show(i, n, slide, prior) {this.i = i;this.n = n;this.slide = slide;this.prior = prior;this.changeSlide = FchangeSlide;}x = document.getElementById("Rotator").getElementsByTagName("div");var show = new Show(0,x.length,$(x[0]),null);function runSlides(show) {timr = setInterval("show.changeSlide()", 5000);}if (x.length > 0) runSlides(show);