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

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

var newwindow = 0 //open links in new window? 1=yes, 0=no

var Picture = new Array();
var Caption = new Array(); 
var Links = new Array();

Picture[1]  = '/aec/images/main_services/Services-Gentry-Magazine-2001.jpg';
Picture[2]  = '/aec/images/main_services/Services-Net-Market-Makers.jpg';
Picture[3]  = '/aec/images/main_services/Services-Gentry-Magazine-2004b.jpg';
Picture[4]  = '/aec/images/main_services/Services-Tibco-2004a.jpg';
Picture[5]  = '/aec/images/main_services/Services-Baci-Trattoria-Event.jpg';
Picture[6]  = '/aec/images/main_services/Services-Interwoven-2003a.jpg';
Picture[7]  = '/aec/images/main_services/Services-Gentry-Magazine-2004a.jpg';
Picture[8]  = '/aec/images/main_services/Services-Novell.jpg';
Picture[9]  = '/aec/images/main_services/Services-Interwoven-2002.jpg';
Picture[10]  = '/aec/images/main_services/Services-Tibco-2004b.jpg';
Picture[11]  = '/aec/images/main_services/Services-NUMMI.jpg';
Picture[12]  = '/aec/images/main_services/Services-Interwoven-2003b.jpg';
Picture[13]  = '/aec/images/main_services/Services-Siebel.jpg';
Picture[14]  = '/aec/images/main_services/Services-Tibco-2001.jpg';

Caption[1]  = "Gentry Magazine 2001";
Caption[2]  = "Net Market Makers";
Caption[3]  = "Gentry Magazine 2004";
Caption[4]  = "Tibco 2004";
Caption[5]  = "Baci Trattoria";
Caption[6]  = "Interwoven";
Caption[7]  = "Gentry Magazine 2004";
Caption[8]  = "Novell";
Caption[9]  = "Interwoven 2002";
Caption[10]  = "Tibco 2004";
Caption[11]  = "NUMMI";
Caption[12]  = "Interwoven 2003";
Caption[13]  = "Siebel";
Caption[14]  = "Tibco 2001";

Links[1]  = "";
Links[2]  = "";
Links[3]  = "";
Links[4]  = "";
Links[5]  = "";
Links[6]  = "";
Links[7]  = "";
Links[8]  = "";
Links[9]  = "";
Links[10]  = "";
Links[11]  = "";
Links[12]  = "";
Links[13]  = "";
Links[14]  = "";

var tss;
var iss;
var lss;
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();
lss = jss;
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

function gotoshow(){
if (newwindow)
window.open(Links[lss])
else
window.location=Links[lss]
}



