var slideShow=null,fade_in=2,fade_out=2,delay=5,start_frame=0,cur_frame=0;function slideShowInit(){slideShow=$("slide-images").getElementsByTagName("li");for(i=1;i<slideShow.length;i++){slideShow[i].style.display="none"}setTimeout(fadeInOut,(delay*1000))}function fadeInOut(){Effect.Fade(slideShow[cur_frame],{duration:(fade_out)});if(cur_frame==slideShow.length-1){cur_frame=start_frame}else{cur_frame++}Effect.Appear(slideShow[cur_frame],{duration:(fade_in)});setTimeout(fadeInOut,((delay+fade_out)*1000))}document.observe("dom:loaded",slideShowInit);
