// Create the slideshow object
slideshow = new slideshow("slideshow");

// Set the delay between slides, 1000 = 1 sec
slideshow.timeout = 2500;

// By default, all of the slideshow images are prefetched
// If you have a large number of slides you can limit the number of images that are prefetched
slideshow.prefetch = 3;

// By default the slideshow will repeat when you get to the end
// slideshow.repeat = false;

// Create the slides and add them to the slideshow
s = new slide();
s.src = "images/slideshow/logo_inhelden.jpg";
slideshow.add_slide(s);

s = new slide();
s.src = "images/slideshow/logo_inhorst.jpg";
slideshow.add_slide(s);

s = new slide();
s.src = "images/slideshow/logo_invenlo.jpg";
slideshow.add_slide(s);

s = new slide();
s.src = "images/slideshow/logo_invenray.jpg";
slideshow.add_slide(s);

// The following loop sets an attribute for all of the slides
// This is easier than setting the attributes individually.
for(var i=0; i < slideshow.slides.length; i++)
{
    s = slideshow.slides[i];
    s.filter = "progid:DXImageTransform.Microsoft.Pixelate()";  // IE-only
}

