        // JsLoad function to load Prototype and Scriptaculous
        //JsLoad("scriptaculous", "1.8.0");

         // Slideshow function
        function slideshow(elm,start,last,interval) {
          var frame = start;
          var nextframe = start+1;
          
          Effect.Appear(elm +'1',{duration:.5,from:0.0,to:1.0});
            setInterval(function() {
            Effect.Fade(elm+frame,{duration:.5,from:1.0,to:0.0,afterFinish:function(){
            $(elm+frame).hide();
            Effect.Appear(elm+nextframe,{duration:.5,from:0.0,to:1.0});
            frame = nextframe;
            $(elm+'-slide-alt').innerHTML=$(elm+nextframe).getAttribute('alt');
            nextframe = (frame == last) ? start : nextframe+1;
            }});
         },interval);
         return;
        };
