// ==============================
// Set the following variables...
// ==============================

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

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

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.

Picture[1]  = 'images/apply now_1.gif';
Picture[2]  = 'photos/249536_6111_small.jpg';
Picture[3]  = 'photos/132071_7998_small.jpg';
Picture[4]  = 'photos/209965_1021_small2.jpg';
Picture[5]  = 'images/apply now_2.gif'
Picture[6]  = 'photos/252238_7625_small.jpg';
Picture[7]  = 'photos/252111_8786_small.jpg';
Picture[8]  = 'photos/249492_9373_small.jpg';

Picture[9]  = 'photos/231329_2986_small.jpg';
Picture[10]  = 'photos/239286_6627_small.jpg';
Picture[11]  = 'photos/209965_1021_small.jpg';
Picture[12] = 'photos/198342_2803_small.jpg';
Picture[13] = 'photos/230677_5394_small.jpg';


// =====================================
// 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=100)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;

if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}



