// JavaScript Document

<!--

// 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/examples/BedroomAbstract.jpg";
s.link = "images/examples/BedroomAbstract.jpg";
s.title = "Bedroom Abstract";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/BuildingShowcase.jpg";
s.link = "images/examples/BuildingShowcase.jpg";
s.title = "Building Showcase";
s.text = "";
s.attr = "width=467,height=600,resizable=yes,scrollbars=yes";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/butterflies.jpg";
s.link = "images/examples/butterflies.jpg";
s.title = "Ripley Moths";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/creek.jpg";
s.link = "images/examples/creek.jpg";
s.title = "Creek";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/DoubleFramed.jpg";
s.link = "images/examples/DoubleFramed.jpg";
s.title = "Double Framed";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/DoubleFramedVertical_framed.jpg";
s.link = "images/examples/DoubleFramedVertical_framed.jpg";
s.title = "Double Framed Vertical";
s.attr = "width=524,height=681,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/Framed-Suspended-piece.jpg";
s.link = "images/examples/Framed-Suspended-piece.jpg";
s.title = "Framed Suspended Piece";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/FramedShips_border.jpg";
s.link = "images/examples/FramedShips_border.jpg";
s.title = "Framed Ships";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/image4.jpg";
s.link = "images/examples/image4.jpg";
s.title = "Framed Ships";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/image1.jpg";
s.link = "images/examples/image1.jpg";
s.title = "Old Trafford Shadow Box";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/image2.jpg";
s.link = "images/examples/image2.jpg";
s.title = "Open Door";
s.attr = "width=704,height=536,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/examples/image3.jpg";
s.link = "images/examples/image3.jpg";
s.title = "Mirror Bathroom";
s.attr = "width=524,height=681,resizable=yes,scrollbars=yes";
s.text = "";
ss.add_slide(s);


s = new slide();
s.src =  "images/examples/WarrantOfficer.jpg";
s.link = "images/examples/WarrantOfficer.jpg";
s.title = "Warrant Officer";
s.attr = "width=524,height=681,resizable=yes,scrollbars=yes";
s.text = "";
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";
	}
//-->