var Picture = new Array(); //DO NOT CHANGE THIS!
var ImgAlt = new Array(); //DO NOT CHANGE THIS!
var Link = new Array(); //DO NOT CHANGE THIS!
var Caption = new Array(); //DO NOT CHANGE THIS!



// -----------------------------
// HERES WHERE YOU START EDITING
// Specify images, Alt tags and links - ALL MUST HAVE THE SAME NUMBER OF ITEMS!! 
// Add or delete lines as needed incrementing the number in the [] - DO NOT GET OUT OF ORDER! 
// ImgAlt and Caption can be blank as in ""; DO NOT FORGET THE QUPOTES & SEMICOLON!
// If there is no link, simply type the pound sign as in "#";
// You can NOT use quotes or apostrophes or semicolons (" ' ;) other than those already there!!!

Picture[1]  = "images/slides/TeatroDelLagoAd-1.jpg";
Picture[2]  = "images/slides/ColorMedia-2.jpg";
Picture[3]  = "images/slides/BenNyeAd-2.jpg";
Picture[4]  = "images/slides/stagelighting-2.jpg";

ImgAlt[1]  = "Click the image to follow our Featured Project!";
ImgAlt[2]  = "See our line of Color Media";
ImgAlt[3]  = "Click the image to see our Ben Nye Makeup kits";
ImgAlt[4]  = "Learn About Lighting Features";

Link[1]  = "wide.asp?ID=273";
Link[2]  = "Cart.asp?ID=73&action=cart_category&parentid=1&pid=1";
Link[3]  = "default.asp?ID=96";
Link[4]  = "Wide.asp?id=135";

Caption[1]  = "";
Caption[2]  = "";
Caption[3]  = "";
Caption[4]  = "";


// Set slideshow speed (milliseconds)
var SlideShowSpeed = 5000;

// Set crossfade duration (seconds)
var CrossFadeDuration = 5;

// HERES WHERE YOU STOP EDITING!!
// ------------------------------




// =====================================
// 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;
document.images.PictureBox.alt = ImgAlt[jss];
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.getElementById) document.getElementById("slideLink").href= Link[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
