// JavaScript Document<!--

<!-- 
//Set up the caption font in the following style.
//Place the style script in the head of the page.
//-->

//<style>
//.Caption {
//font-family: Arial;
//font-weight: bold;
//color:      #123456;
//}
//</style>

<!-- 
//Place the following script in the head of the page.
//Follow the set-up instructions within the script.
//-->

//<script>

// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 4000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 4;

var Picture = new Array(); // don't change this
//var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1] ='images/slide1.jpg';
Picture[2] ='images/slide2.jpg';
Picture[3] ='images/slide3.jpg';
Picture[4] ='images/slide4.jpg';
Picture[5] ='images/slide5.jpg';
//Picture[6]  = 'Image006.jpg';
//Picture[7]  = 'Image007.jpg';
//Picture[8]  = 'Image008.jpg';
//Picture[9]  = 'Image009.jpg';
//Picture[10] = 'Image010.jpg';
var Picture2 = new Array(); // don't change this

Picture2[1]='images/subcats/306_slide1.jpg';
Picture2[2]='images/subcats/306_slide2.jpg';
Picture2[3]='images/subcats/306_slide3.jpg';

var Picture3 = new Array(); // don't change this

Picture3[1]='images/subcats/307_slide1.jpg';
Picture3[2]='images/subcats/307_slide2.jpg';
Picture3[3]='images/subcats/307_slide3.jpg';

var Picture4 = new Array(); // don't change this

Picture4[1]='images/subcats/101_slide1.jpg';
Picture4[2]='images/subcats/101_slide2.jpg';
Picture4[3]='images/subcats/101_slide3.jpg';
Picture4[4]='images/subcats/101_slide4.jpg';
Picture4[5]='images/subcats/101_slide5.jpg';


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture2.length-1;

var tss3;
var iss3;
var jss3 = 1;
var pss3 = Picture3.length-1;

var tss4;
var iss4;
var jss4 = 1;
var pss4 = Picture4.length-1;



var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++) {
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];
}
var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++) {
preLoad2[iss2] = new Image();
preLoad2[iss2].src = Picture2[iss2];
}

var preLoad3 = new Array();
for (iss3 = 1; iss3 < pss3+1; iss3++) {
preLoad3[iss3] = new Image();
preLoad3[iss3].src = Picture3[iss3];
}

var preLoad4 = new Array();
for (iss4 = 1; iss4 < pss4+1; iss4++) {
preLoad4[iss4] = new Image();
preLoad4[iss4].src = Picture4[iss4];
}

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();
}
jss = jss + 1;
if (jss > (pss)) { 
jss=1;
}
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}



function runSlideShow2(){
if (document.all){
document.images.PictureBox2.style.filter="blendTrans(duration=2)";
document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox2.filters.blendTrans.Apply();
}
document.images.PictureBox2.src = preLoad2[jss2].src;
//if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) {
document.images.PictureBox2.filters.blendTrans.Play();
}
jss2 = jss2 + 1;
if (jss2 > (pss2)) { 
jss2=1;
}
tss2 = setTimeout('runSlideShow2()', SlideShowSpeed);
}

function runSlideShow3(){
if (document.all){
document.images.PictureBox3.style.filter="blendTrans(duration=2)";
document.images.PictureBox3.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox3.filters.blendTrans.Apply();
}
document.images.PictureBox3.src = preLoad3[jss3].src;
//if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) {
document.images.PictureBox3.filters.blendTrans.Play();
}
jss3 = jss3 + 1;
if (jss3 > (pss3)) { 
jss3=1;
}
tss3 = setTimeout('runSlideShow3()', SlideShowSpeed);
}

function runSlideShow4(){
if (document.all){
document.images.PictureBox4.style.filter="blendTrans(duration=2)";
document.images.PictureBox4.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox4.filters.blendTrans.Apply();
}
document.images.PictureBox4.src = preLoad4[jss4].src;
//if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) {
document.images.PictureBox4.filters.blendTrans.Play();
}
jss4 = jss4 + 1;
if (jss4 > (pss4)) { 
jss4=1;
}
tss4 = setTimeout('runSlideShow4()', SlideShowSpeed);
}

<!--Add the onload=runSlideShow() event call to the body tag.
//-->

//<body onload=runSlideShow() bgcolor=#000000>

<!--

