﻿// JavaScript Document
// Setup for the 3 slideshows - images and text
//
//Tracey Lewis Slideshow +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// 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 =  "pics/pic01.jpg";
s.link = "pics/pic01b.jpg";
s.title = "Raspberry Delight";
s.text = "&pound;900.00<br\/>Wall piece<br\/>Roses, cotton &amp; natural dye<br\/>Size: 4 ft x 4 ft";
//s.target = "";
//s.attr = "";
//s.filter = "";
//s.timeout = "";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic02.jpg";
s.link = "pics/pic02b.jpg";
s.title = "Orange Crush";
s.text = "&pound;300.00<br\/>Natural materials<br\/>Size: 2 ft x 2 ft<br\/>";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic03.jpg";
s.link = "pics/pic03b.jpg";
s.title = "Seafood Salad";
s.text = "&pound;400.00<br\/> Wall piece with mirrored centre<br\/>Seaweed, mussel shells, silk, roses<br\/> Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic04.jpg";
s.link = "pics/pic04b.jpg";
s.title = "Winter Blooms";
s.text = "<strong>SOLD<\/strong><br\/>Wall Piece<br\/>Roses, cotton, natural dye &amp; silver spray<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic05.jpg";
s.link = "pics/pic05b.jpg";
s.title = "Buds";
s.text = "<strong>SOLD<\/strong><br\/>Roses, cotton &amp; natural dye<br\/>Size: 2 ft x 2 ft<br\/>";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic06.jpg";
s.link = "pics/pic06b.jpg";
s.title = "Shell n' Button Mirror";
s.text = "&pound;300.00<br\/>Razor shells, buttons &amp; found feathers<br\/>Size: 2 ft x 2 ft<br\/>";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic07.jpg";
s.link = "pics/pic07b.jpg";
s.title = "Mellow Yellow";
s.text = "&pound;1300.00<br\/>Wall piece framed in Perspex boxed case<br\/>Roses, cotton &amp; natural dye<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic08.jpg";
s.link = "pics/pic08b.jpg";
s.title = "Gateaux";
s.text = "&pound;800.00<br\/>Wall piece<br\/>Cotton, silk roses &amp; natural dye<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic09.jpg";
s.link = "pics/pic09b.jpg";
s.title = "Pink n' Posh";
s.text = "&pound;1400.00<br\/>Roses, cotton &amp; natural dye<br\/>Wall piece framed within totally transparent Perspex boxed case<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic10.jpg";
s.link = "pics/pic10b.jpg";
s.title = "Fruits of the Forest";
s.text = "&pound;1600.00<br\/>Wall piece, framed in a persex box case with mirrored centre<br\/>Roses, cotton &amp; natural dyes<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic11.jpg";
s.link = "pics/pic11b.jpg";
s.title = "Antique";
s.text = "&pound;900.00<br\/>Wall piece<br\/>Roses, cotton &amp; natural dye<br\/>Size: 5 ft x 5 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic12.jpg";
s.link = "pics/pic12b.jpg";
s.title = "Lemon ZEST";
s.text = "&pound;1400.00<br\/>Wall piece<br\/>Roses, cotton &amp; natural dye<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic13.jpg";
s.link = "pics/pic13b.jpg";
s.title = "Strawberry Coulis";
s.text = "&pound;800.00<br\/>Wall piece<br\/>Rose, cotton &amp natural dye<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic14.jpg";
s.link = "pics/pic14b.jpg";
s.title = "Cappuccino";
s.text = "<strong>SOLD<\/strong><br\/>Wall piece, mirrored<br\/>Roses, cotton &amp; natural dye<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic15.jpg";
s.link = "pics/pic15b.jpg";
s.title = "Summer Flush";
s.text = "SOLD<br\/>Wall piece, mirrored<br\/>Roses, cotton &amp; natural dye<br\/>Perspex box framed<br \/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic16.jpg";
s.link = "pics/pic16b.jpg";
s.title = "Reborn";
s.text = "&pound;2,000.00<br\/>Wall piece, mirrored<br\/>Roses, cotton &amp; natural dye<br\/>Perspex box framed<br \/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic17.jpg";
s.link = "pics/pic17b.jpg";
s.title = "Later";
s.text = "&pound;300.00<br\/>Wall piece, mirrored<br\/>Roses, cotton &amp; natural dye<br\/>Unframed <br \/>Size: 4 ft x 4 ft";
ss.add_slide(s);

s = new slide();
s.src =  "pics/pic18.jpg";
s.link = "pics/pic18b.jpg";
s.title = "Summer Flush Two";
s.text = "SOLD<br\/>Wall piece, mirrored<br\/>Roses, cotton &amp; natural dye<br\/>Perspex box framed<br\/>Size: 4 ft x 4 ft";
ss.add_slide(s);




// The following loop sets an attribute for all of the slides.
// This is easier than setting the attributes individually.
// Hall farm Barn popup
for (var i=0; i < ss.slides.length; i++) {

  s = ss.slides[i];
  s.target = "ss_popup";
  s.attr = "width=620,height=620,resizable=no,scrollbars=no";

}


