﻿function FchangeSlide() {	this.prior = this.slide;	this.i += 1;	if (this.i > this.n) this.i = 1;	this.slide = $('slide'+this.i);	new Effect.Appear(this.slide, { duration: 2.0 });	if (this.prior != null) new Effect.Fade(this.prior, { duration: 2.0 });}function Show(i, n, slide, prior) {	this.i = i;	this.n = n;	this.slide = slide;	this.prior = prior;	this.changeSlide = FchangeSlide;}function startShow() {	var x = document.getElementById('ssContainer');	n = x.getElementsByTagName("div");	if (n.length > 1) {	show = new Show(1,n.length,$('slide1'),null);	timr = setInterval("show.changeSlide()", 5000);}}//alert(document.getElementsByTagName('body')[0]);//document.getElementsByTagName('body')[0].addEventListener('load',startShow,false);
