// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

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

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

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

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // 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/websites/kerrigan.jpg';
Picture[2]  = 'images/websites/startsvc.jpg';
Picture[3]  = 'images/websites/hawaiimain.jpg';
Picture[4]  = 'images/websites/hwebs.jpg';
Picture[5]  = 'images/websites/kauai.jpg';
Picture[6]  = 'images/websites/califmain.jpg';
Picture[7]  = 'images/websites/califwebs.jpg';
Picture[8]  = 'images/websites/donatello.jpg';
Picture[9]  = 'images/websites/arizonamain.jpg';
Picture[10]  = 'images/websites/starr.jpg';
Picture[11]  = 'images/websites/brelin.jpg';
Picture[12]  = 'images/websites/canyon.jpg';
Picture[13]  = 'images/websites/sterling.jpg';
Picture[14]  = 'images/websites/gac.jpg';


// 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]  = "Kerrigan Ranch Website:  <a href='http://www.kerriganranch.com' target='_blank'>www.kerriganranch.com</a>";
Caption[2]  = "SVC Portals: Hawaii, California, Arizona.  Each portal has an overview of the region and a map linking to the individual resorts";
Caption[3]  = "Hawaii Portal:  Hawaii's portal with information on reservation and activities of individual resorts and links for current and prospective Shell Vacations Club members.";
Caption[4]  = "SVC Hawaii Websites for Holua, Kauai and Paniolo Greens Resorts.  Contain detailed information on resorts, and allow reservations for non-members.";
Caption[5]  = "Detail look at Kauai Website:  <a href='http://www.kauaicoastresort.com' target='_blank'>www.kauaicoastresort.com</a>";
Caption[6]  = "California Portal: California's portal with information on reservation and activities of individual resorts and links for current and prospective Shell Vacations Club members.";
Caption[7]  = "SVC California Portal Websites for The Donatello, Inn at the Opera and Fisherman's Wharf ";
Caption[8]  = "Detail look at The Donatello Website:  <a href='http://www.thedonatellosf.com' target='_blank'>www.thedonatellosf.com</a>";
Caption[9]  = "Arizona Portal: Arizona's portal with information on reservation and activities of individual resorts and links for current and prospective Shell Vacations Club members.";
Caption[10]  = "Detail look at Starr Pass Golf Suites Resort Website:  <a href='http://www.starrpassgolfsuitesresort.com' target='_blank'>  www.starrpassgolfsuitesresort.com</a>";
Caption[11]  = "Bretlin Home Mortgage website: <a href='http://www.bretlinhomemortgage.com' target='_blank'>www.bretlinhomemortgage.com</a>";
Caption[12]  = "Canyon Lounge Restaurant website:  <a href='http://www.canyonlounge.com' target='_blank'> www.canyonlounge.com</a>";
Caption[13]  = "Sterling Downs Apartment:  <a href='http://www.Sterlingdownsapartments.com/' target='_blank'> www.sterlingdownsapartment.com</a>";
Caption[14]  = "Great American Capital:  Website will be online soon! ";


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

var tss;
var iss;
var jss = 0;
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 control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
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();
}}

/* onload='showHot=true;' to the body tag.  This is
needed to prevent false object calls while the page
is loading. Optional: If you are using this in a
popup, as in this demo, adding self.focus() to the
onload event in the body tag will bring the popup
to the front each time it is loaded [recommended]. 
*/
