

// Create the slideshow object
ss = new slideshow("ss");

// Set the delay between slides, 1000 = 1 sec
ss.timeout = 4000;

// 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 =  "../crc/images/asianman.jpg";
s.text = "businessman standing in front of skyscraper looking to the sky";
ss.add_slide(s);

s = new slide();
s.src =  "../crc/images/construction1.jpg";
s.text = "building under construction";
ss.add_slide(s);

s = new slide();
s.src =  "../crc/images/CRCbro09.jpg";
s.text = "steel beams shown in building under construction";
ss.add_slide(s);

s = new slide();
s.src =  "../crc/images/downtownarialv.jpg";
s.text = "arial shot of downtown Atlanta";
ss.add_slide(s);

s = new slide();
s.src =  "../crc/images/womenshakinghands.jpg";
s.text = "two businesswomen shaking hands";
ss.add_slide(s);

s = new slide();
s.src =  "../crc/images/manandwomanwalking.jpg";
s.text = "businessman and businesswoman walking and talking";
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 = "self";// 
  // s.attr = "width=320,height=420,resizable=yes,scrollbars=yes"; //

}

if (true) ss.shuffle();