<!--

// 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 =  "images/events/photo_rooms_1.jpg";
s.link = "";
s.title = "First slide";
s.text = "Events can be held in the kitchen at 97 Orchard Street. Tables are decorated especially for your occassion.";
ss.add_slide(s);

s = new slide();
s.src =  "images/events/photo_rooms_2.jpg";
s.link = "";
s.title = "Second slide";
s.text = "Events held in 97 Orchard also feature guided tours of the building's restored apartments.";
ss.add_slide(s);


s = new slide();
s.src =  "images/events/photo_rooms_3.jpg";
s.link = "";
s.title = "Third slide";
s.text = "Events held in 97 Orchard can accomodate 24 to 35 guests.";
ss.add_slide(s);


s = new slide();
s.src =  "images/events/photo_rooms_4.jpg";
s.link = "";
s.title = "Fourth slide";
s.text = "The Museum Shop (108 Orchard Street) can also host events for up to 75 people.";
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=320,height=420,resizable=yes,scrollbars=yes";

}

//-->
