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 QUOTES & 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/10-Year-Special.jpg";
Picture[2]  = "images/slides/featured-customers.jpg";
Picture[3]  = "images/slides/10-Year-Special2.jpg";

ImgAlt[1]  = "Take Advantage of our 10/10 Special";
ImgAlt[2]  = "Featured Sites and Testimonials";
ImgAlt[3]  = "10 Year - 10% Special";

Link[1]  = "default.asp?ID=45";
Link[2]  = "portfolio.asp?ID=32";
Link[3]  = "default.asp?ID=45";

//Caption[1]  = "Take Advantage of our 10/10 Special";
//Caption[2]  = "Featured Sites and Testimonials";
//Caption[3]  = "10 Year 10% Special";

// Set slideshow speed (milliseconds)
var SlideShowSpeed = 7500;

// 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);
}

