// 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/studentLife/tribute.jpg";
s.link = "photogallery/studentLife/tribute.jpg";
s.title = "";
s.text = "Don Bosco Tribute";
//s.target = "";
//s.attr = "";
//s.filter = "";
//s.timeout = "";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/savio.jpg";
s.link = "photogallery/studentLife/savio.jpg";
s.title = "";
s.text = "Savio Retreat";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/intrams09-10.jpg";
s.link = "photogallery/studentLife/intrams09-10.jpg";
s.title = "";
s.text = "BED Intramurals 2009-2010";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/college.jpg";
s.link = "photogallery/studentLife/college.jpg";
s.title = "";
s.text = "College Intramurals 2008-2009";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/stp1.jpg";
s.link = "photogallery/studentLife/stp1.jpg";
s.title = "";
s.text = "STP Endurance Week (May 2008)";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/stp.jpg";
s.link = "photogallery/studentLife/stp.jpg";
s.title = "";
s.text = "STP Intramurals 2008-2009";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/funrun.jpg";
s.link = "photogallery/studentLife/funrun.jpg";
s.title = "";
s.text = "Fun Run";
ss.add_slide(s);

s = new slide();
s.src =  "photogallery/studentLife/soccer.jpg";
s.link = "photogallery/studentLife/soccer.jpg";
s.title = "";
s.text = "Palawan Palaro";
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";

}


