//<![CDATA[

var SlideShowSpeed = 3500; // expressed in milliseconds
var pauseFlag = 0;  // initial setting - leave set to zero
var CrossFadeDuration = 2; // seconds

var Picture = new Array(); 
Picture[1]  = '/images/stp_outside.jpg';
Picture[2]  = '/images/oem_3.jpg';
Picture[3] = '/images/jit_ship.png';
var Caption = new Array();
Caption[1]  = "Our modern 70,000 square foot facility is located in Davenport Iowa, only minutes away from Interstate 80 and US Hwy 61.";
Caption[2]  = "We have a well diversified customer base including several large OEM manufacturers in a wide variety of industries.";
Caption[3] = "We are a Just In Time (JIT) manufacturer with a near perfect record for on-time delivery of forecast shipments.";
var Alt = new Array();
Alt[1] = 'Superior Tube Products location photo';
Alt[2] = 'Our Customer Base represents a broad diversity of industries.';
Alt[3] = 'Finished goods, ready for shipment';
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];
preLoad[iss].alt = Alt[iss];}
function pauseShow(flag) {
 pauseFlag = flag;
 return true;
}
function runSlideShow(){
if (pauseFlag == 0) {
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 = preLoad[jss].alt;
document.images.PictureBox.title = preLoad[jss].alt;
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);
}
//]]>