// Create the slideshow object
ss = new slideshow("ss");

// Set the delay between slides, 1000 = 1 sec
// ss.timeout = 3000;

// 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.
// ss.prefetch = 1;

// By default the slideshow will repeat when you get to the end.
// ss.repeat = false;

// Create the slides and add them to the slideshow.
s = new slide();
s.src =  "photogallery/eventpics/One_Piece_SYM_Camp/0.jpg";
s.link = "events.php";
s.title = "";
s.text = "One Piece SYM Camp 2010";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/eventpics/Artimede_Zatti/0.jpg";
s.link = "events.php";
s.title = "";
s.text = "Artimede Zatti 2010";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/eventpics/founder10/0.jpg";
s.link = "events.php";
s.title = "";
s.text = "DBTC's 56th Founder's day celebration";
ss.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 < ss.slides.length; i++) {

  s = ss.slides[i];
  s.target = "ss_popup";
  s.attr = "width=600,height=500,resizable=yes,scrollbars=yes";

}

