<style type="text/css"> 
.hand{ 
  cursor: hand; 
} 
</style> 

<script>
<!-- loosely based on code from http://www.codelifter.com -->
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6000;

// Duration of crossfade (seconds)
var crossFadeDuration = 3;

// Specify the image files
var Pic = new Array(

"images/flowers002.jpg" ,
"images/flowers003.jpg" ,
"images/flowers004.jpg" ,
"images/flowers009.jpg" ,
"images/flowers013.jpg" ,
"images/020608_0033.jpg" ,
"images/flowers012.jpg" ,
"images/flowers015.jpg" 
);
var captions = new Array(
"" ,
"" ,
"" ,
"" ,
"" ,
"Wedding Dress Shoot Hazelwood Castle Hotel, Tadcaster, Yorkshire - 2nd June 2008" ,
"" ,
"" 
);
var widths = new Array("167" ,"167" ,"167" ,"167" ,"167" ,"166" ,"167" ,"167" );
var heights = new Array("250" ,"250" ,"250" ,"250" ,"250" ,"250" ,"250" ,"250" );

var t;
var j = 0;
var p = Pic.length;
j = Math.floor(Math.random()*p)
var preLoad = new Array();
for (i = 0; i < p; i++){
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

var x=0;

function change() {
if (j < (p - 1)){

document.images.SlideShow.src = preLoad[++j].src;
document.images.SlideShow.title = captions[j];
document.images.SlideShow.width = widths[j];
document.images.SlideShow.height = heights[j];
document.getElementById("caption").innerHTML = captions[j];}}


function runSlideShow(){
var myDiv = document.getElementById("slide");

if (document.all){ myDiv.style.filter="blendTrans(duration=2)" ; 

myDiv.style.filter="blendTrans(duration=crossFadeDuration)";
myDiv.filters.blendTrans.Apply();}

document.images.SlideShow.src = preLoad[j].src;
document.images.SlideShow.title = captions[j];
document.images.SlideShow.width = widths[j];
document.images.SlideShow.height = heights[j];

document.getElementById("caption").innerHTML = captions[j];

if (document.all) {myDiv.filters.blendTrans.Play()};

j = j + 1;
if (j > (p-1)) j=0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

</script>
<link rel="stylesheet" href="style.css" type="text/css" />









