/*
autoSlides
Slideshow example of Chapter 6 of
"Beginning JavaScript with DOM Scripting and AJAX"
by Christian Heilmann
(c) Christian Heilmann and Apress
*/
autoSlides={
// CSS classes
slideClass:'slides',
dynamicSlideClass:'dynslides',
showClass:'show',
slideCounterClass:'slidecounter',
// labels
// play and stop links, you can use any HTML here
playLabel:'',
stopLabel:'',
// Counter text, # will be replaced by the current image count
// and % by the number of all pictures
counterLabel:'# of %',
// animation delay in milliseconds
delay:1000,
init:function(){
if(!document.getElementById || !document.createTextNode){return;}
var uls=document.getElementsByTagName('ul');
autoSlides.slideLists=new Array();
for(var i=0;i