// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 6000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = '../images/interest/01.gif';
Picture[2]  = '../images/interest/02.gif';
Picture[3]  = '../images/interest/03.gif';
Picture[4]  = '../images/interest/04.gif';
Picture[5]  = '../images/interest/05.gif';
Picture[6]  = '../images/interest/06.gif';
Picture[7]  = '../images/interest/07.gif';
Picture[8]  = '../images/interest/08.gif'; 

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "The gateway to the Broads with Award winning beaches, Lowestoft has museums, traditional piers and seafront gardens whilst Pleasurewood Hills Theme Park provides rollercoaster entertainment.";

Caption[2]  = "In an area of Outstanding Natural Beauty, Snape Maltings is rich in wildlife and history. Boat Trips, historic buildings, a concert hall, shops and galleries can all be enjoyed on the banks of the River Alde, close to SuffolkÕs Heritage Coast.";

Caption[3]  = "Two fun-packed piers, award winning sandy beaches, seafront gardens and a wealth of entertainment, make Great Yarmouth a favourite for families. Historians will enjoy itsÕ maritime heritage, historic quayside and museums.";

Caption[4]  = "In an area of Outstanding Natural Beauty the charming seaside town of Aldeburgh is famous for its steeply shelving shingle beach where fishermen land their boats each morning to sell their catch.";

Caption[5]  = "Pretty Southwold is full of character with village greens, a lighthouse and beautiful period houses. A wildlife cruise up river reveals an array of birds and a ferry can be taken to Walberswick, another beautiful and cultural seaside village to be explored.";

Caption[6]  = "Norwich is a beautiful city with a Norman Castle and Cathedral, cobbled streets and one of EnglandÕs largest outdoor markets. Culturally rich, the city boasts street cafes, restaurants, theatres and unique specialist shops.";

Caption[7]  = "A 1930Õs fantasy village with stunning architecture and fairytale islands to be explored by boat,  Thorpeness is a seaside village with dunes, cliffs and an award winning shingle beach.";

Caption[8]  = "A landscape of lavender, windmills and grazing meadows will drift slowly past those who experience the Broads National Park by boat. Interrupt the gentle journey only for stops at tea-rooms and country pubs where riverside moorings replace car parks and the only sounds to be heard are those of the birds.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}