// (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 = 5000;

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

var Picture = new Array(); // don't change this
var Link = new Array();

// 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/building.gif';
Picture[2]  = 'images/2.gif';
Picture[3]  = 'images/3.gif';
Picture[4] = 'images/15.gif';
Picture[5]  = 'images/4.gif';
Picture[6]  = 'images/5.gif';
Picture[7]  = 'images/6.gif';
Picture[8]  = 'images/7.gif';
Picture[9]  = 'images/75.gif';
Picture[10] = 'images/8.gif';
Picture[11] = 'images/9.gif';
Picture[12] = 'images/10.gif';
Picture[13] = 'images/11.gif';
Picture[14] = 'images/12.gif';
Picture[15] = 'images/14.gif';
Picture[16] = 'images/13.gif';

Link[1] = "pics.php";
Link[2] = "pics.php";
Link[3] = "pics.php";
Link[4] = "pics.php";
Link[5] = "pics.php";
Link[6] = "pics.php";
Link[7] = "pics.php";
Link[8] = "pics.php";
Link[9] = "pics.php";
Link[10] = "pics.php";
Link[11] = "pics.php";
Link[12] = "pics.php";
Link[13] = "pics.php";
Link[14] = "pics.php";
Link[15] = "pics.php";
Link[16] = "pics.php";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;
var lss = jss;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
lss = jss;
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.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

function clickimg() {
window.location = Link[lss];
}