<!--

// 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/history/dyk_fires.gif";
s.link = "";
s.title = "First slide";
s.text = "Documents indicate that the Fire Department responded to at least 7 fires at 97 Orchard Street. Though the <i>New York Times</i> described fire as an 'ever-present tenement horror,' the records give no indication that the fires caused any more than insignificant damage.";
ss.add_slide(s);

s = new slide();
s.src =  "images/history/dyk_ladders.gif";
s.link = "";
s.title = "Second slide";
s.text = "When it first opened, 97 Orchard had an iron fire ladder.  Required by an 1862 housing law, it used a vertical ladder instead of stairs.  Reformers decried this design and fire ladders were eventually banned. However, existing ladders were allowed to stay; 97 Orchard’s original fire ladder was only removed in the late 1970s or early '80s.";
ss.add_slide(s);


s = new slide();
s.src =  "images/history/dyk_unlocked.gif";
s.link = ".";
s.title = "Third slide";
s.text = "The front door of 97 Orchard was probably not locked. Describing his travels among the Lower East Side’s tenements, reformer Jacob Riis found unlocked front doors opening to a 'hall that is a highway for all the world by night and by day is the tenement’s proper badge. The Other Half ever receives with open doors.' ";
ss.add_slide(s);


s = new slide();
s.src =  "images/history/dyk_garbage.gif";
s.link = "";
s.title = "Fourth slide";
s.text = "Residents of working-class neighborhoods like the Lower East Side were supposed to throw trash in garbage-boxes in front of their buildings. In 1863, the New York Tribune described the boxes as receptacles of 'heterogeneous filth…forming one festering, rotting, loathsome, hellish mass of air poisoning, death-breeding filth, reeking on the fierce sunshine.'" ;
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";

}

//-->
