// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 4000;

// 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]  = 'http://www.qpg.com/custom/942761/001.jpg';
Picture[2]  = 'http://www.qpg.com/custom/942761/002.jpg';
Picture[3]  = 'http://www.qpg.com/custom/942761/003.jpg';
Picture[4]  = 'http://www.qpg.com/custom/942761/004.jpg';
Picture[5]  = 'http://www.qpg.com/custom/942761/005.jpg';
Picture[6]  = 'http://www.qpg.com/custom/942761/006.jpg';
Picture[7]  = 'http://www.qpg.com/custom/942761/007.jpg';
Picture[8]  = 'http://www.qpg.com/custom/942761/008.jpg';
Picture[9]  = 'http://www.qpg.com/custom/942761/009.jpg';
Picture[10] = 'http://www.qpg.com/custom/942761/010.jpg';
Picture[11] = 'http://www.qpg.com/custom/942761/011.jpg';
Picture[12] = 'http://www.qpg.com/custom/942761/012.jpg';
Picture[13] = 'http://www.qpg.com/custom/942761/013.jpg';
Picture[14] = 'http://www.qpg.com/custom/942761/014.jpg';
Picture[15] = 'http://www.qpg.com/custom/942761/015.jpg';
Picture[16] = 'http://www.qpg.com/custom/942761/016.jpg';
Picture[17] = 'http://www.qpg.com/custom/942761/017.jpg';
Picture[18] = 'http://www.qpg.com/custom/942761/018.jpg';
Picture[19] = 'http://www.qpg.com/custom/942761/019.jpg';
Picture[20] = 'http://www.qpg.com/custom/942761/020.jpg';
Picture[21] = 'http://www.qpg.com/custom/942761/021.jpg';
Picture[22] = 'http://www.qpg.com/custom/942761/022.jpg';
Picture[23] = 'http://www.qpg.com/custom/942761/023.jpg';
Picture[24] = 'http://www.qpg.com/custom/942761/024.jpg';
Picture[25] = 'http://www.qpg.com/custom/942761/025.jpg';
Picture[26] = 'http://www.qpg.com/custom/942761/026.jpg';
Picture[27] = 'http://www.qpg.com/custom/942761/027.jpg';
Picture[28] = 'http://www.qpg.com/custom/942761/028.jpg';
Picture[29] = 'http://www.qpg.com/custom/942761/029.jpg';
Picture[30] = 'http://www.qpg.com/custom/942761/030.jpg';
Picture[31] = 'http://www.qpg.com/custom/942761/031.jpg';
Picture[32] = 'http://www.qpg.com/custom/942761/032.jpg';
Picture[33] = 'http://www.qpg.com/custom/942761/033.jpg';
Picture[34] = 'http://www.qpg.com/custom/942761/034.jpg';
Picture[35] = 'http://www.qpg.com/custom/942761/035.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]  = "";
Caption[2]  = "";
Caption[3]  = "";
Caption[4]  = "";
Caption[5]  = "";
Caption[6]  = "";
Caption[7]  = "";
Caption[8]  = "";
Caption[9]  = "";
Caption[10] = "";
Caption[11] = "";
Caption[12] = "";
Caption[13] = "";
Caption[14] = "";
Caption[15] = "";
Caption[16] = "";
Caption[17] = "";
Caption[18] = "";
Caption[19] = "";
Caption[20] = "";
Caption[21] = "";
Caption[22] = "";
Caption[23] = "";
Caption[24] = "";
Caption[25] = "";
Caption[26] = "";
Caption[27] = "";
Caption[28] = "";
Caption[29] = "";
Caption[31] = "";
Caption[32] = "";
Caption[33] = "";
Caption[34] = "";
Caption[35] = "";
Caption[30] = "";

// =====================================
// 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);
}
