// JavaScript Document

// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

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

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

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

var Picture = new Array(); 
var Caption = new Array();
var showHot = false;    


Picture[1] = 'images/urban-myths_02.jpg';
Picture[2] = 'images/urban-myths_03.jpg';
Picture[3] = 'images/urban-myths_04.jpg';
Picture[4] = 'images/urban-myths_05.jpg';
Picture[5] = 'images/urban-myths_06.jpg';
Picture[6] = 'images/urban-myths_07.jpg';
Picture[7] = 'images/urban-myths_08.jpg';
Picture[8] = 'images/urban-myths_09.jpg';
Picture[9] = 'images/urban-myths_10.jpg';
Picture[10] = 'images/urban-myths_11.jpg';
Picture[11] = 'images/urban-myths_12.jpg';
Picture[12] = 'images/urban-myths_13.jpg';
Picture[13] = 'images/urban-myths_14.jpg';
Picture[14] = 'images/urban-myths_15.jpg';
Picture[15] = 'images/urban-myths_16.jpg';
Picture[16] = 'images/urban-myths_17.jpg';
Picture[17] = 'images/urban-myths_18.jpg';
Picture[18] = 'images/urban-myths_19.jpg';
Picture[19] = 'images/urban-myths_20.jpg';
Picture[20] = 'images/urban-myths_21.jpg';
Picture[21] = 'images/urban-myths_22.jpg';
Picture[22] = 'images/urban-myths_23.jpg';
Picture[23] = 'images/urban-myths_24.jpg';
Picture[24] = 'images/urban-myths_25.jpg';
Picture[25] = 'images/urban-myths_01.jpg';

Caption[1] = "2/25";
Caption[2] = "3/25";
Caption[3] = "4/25";
Caption[4] = "5/25";
Caption[5] = "6/25";
Caption[6] = "7/25";
Caption[7] = "8/25";
Caption[8] = "9/25";
Caption[9] = "10/25";
Caption[10] = "11/25";
Caption[11] = "12/25";
Caption[12] = "13/25";
Caption[13] = "14/25";
Caption[14] = "15/25";
Caption[15] = "16/25";
Caption[16] = "17/25";
Caption[17] = "18/25";
Caption[18] = "19/25";
Caption[19] = "20/25";
Caption[20] = "21/25";
Caption[21] = "22/25";
Caption[22] = "23/25";
Caption[23] = "24/25";
Caption[24] = "25/25";
Caption[25] = "1/25";



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

var tss;
var iss;
var jss = 0;
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 control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=0)";
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();
}}
