// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 7500; // 5000 = 5 speed in milliseconds
// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 5; // 5 = duration in seconds

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var Caption2 = new Array(); // don't change this
var title = new Array();
var DetailURL = new Array();

title[1]  = "Welcome";
Picture[1]  = "img_fade/acelogo.png";
Caption[1]  = "About Us!";
DetailURL[1]  = "<a href='about/') class='BPhtmlLinks'>Continue</a>";

title[2]  = "Special";
Picture[2]  = "img_fade/special.jpg";
Caption[2]  = "Special Offer";
DetailURL[2]  = "<a href='special/') class='BPhtmlLinks'>Continue</a>";

title[3]  = "Product List";
Picture[3]  = "img_fade/price.jpg";
Caption[3]  = "See our Price List!";
DetailURL[3]  = "<a href='price/') class='BPhtmlLinks'>Read more</a>";

title[4]  = "Linens";
Picture[4]  = "img_fade/swatch1.jpg";
Caption[4]  = "Swatch Color";
DetailURL[4]  = "<a href='catalog/linen/swatch/') class='BPhtmlLinks'>Continue</a>";

title[5]  = "Contact Us";
Picture[5]  = "img_fade/customer.jpg";
Caption[5]  = "Let us help you";
DetailURL[5]  = "<a href='about/contact.php') class='BPhtmlLinks'>Read more</a>";

title[6]  = "Catalog";
Picture[6]  = "img_fade/catalog.jpg";
Caption[6]  = "Browse our catalog";
DetailURL[6]  = "<a href='catalog/') class='BPhtmlLinks'>Continue</a>";

title[7]  = "Testimonies";
Picture[7]  = "img_fade/testimony.jpg";
Caption[7]  = "Read testimonies";
DetailURL[7]  = "<a href='about/testimony.php') class='BPhtmlLinks'>Read more</a>";

title[8]  = "Photo Gallery";
Picture[8]  = "img_fade/gallery.jpg";
Caption[8]  = "View Pictures!";
DetailURL[8]  = "<a href='gallery/') class='BPhtmlLinks'>Continue</a>";

title[9]  = "Guestbook";
Picture[9]  = "img_fade/guestbook.jpg";
Caption[9]  = "Add/View Comment";
DetailURL[9]  = "<a href='guest/') class='BPhtmlLinks'>Read more</a>";

title[10]  = "FAQ's";
Picture[10]  = "img_fade/question.jpg";
Caption[10]  = "Find the answer";
DetailURL[10]  = "<a href='faq/?m9/Manual+Guide+Instruction/') class='BPhtmlLinks'>Read more</a>";

// =====================================
// 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.getElementById) document.getElementById("TitleTD").innerHTML= title[jss];
if (document.getElementById) document.getElementById("DetailURL").innerHTML= DetailURL[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

// JavaScript Document
// Part 01 of Image Roll Over

