<html>
<head>
<title>SlideShow</title>
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<script language="JavaScript1.1">
<!--
function padToThreeDigits(num) //Preload script
{
var s = '' + num;
while (s.length<3) s = '0' + s;
return(s);
}
var preImages = new Array();
for (x=1; x<28; x++)
{
preImages[x] = new Image()
preImages[x].src = padToThreeDigits(x) + '.jpg';
}
//end preload
var begin=1 //slide show script
var end = 27
var which = begin;
function geturl(n){
n = String('00' + n);
return (n).substring(n.length - 3, n.length) + '.jpg';
}
function backward(){
if (which>begin){
window.status='Enjoy the Show'
which--
document.images.photoslider.src=geturl(which);
document.getElementById('pics').style.display='block';
}
}
function Auto(){
if (which<end){
document.images.photoslider.src=geturl(which);
which++
setTimeout("Auto()",3000);
document.getElementById('rotater').style.display='none'
}
else {
document.getElementById('rotater').style.display='block';
document.getElementById('pics').style.display='none';
}
}
function forward(){
if (which<end){
which++
document.images.photoslider.src=geturl(which);
document.getElementById ('pics').style.display='block';
}
else window.status='End of gallery'
}
//-->
</SCRIPT>
</head>
<body bgcolor = "wheat" style = "margin-top:2px; margin-left:0px; margin-right:0px;" onload = "Auto()">
<div align = "center" style = "style="scroll:no;position:absolute; left:0px; top:0px; margin-top:0px; margin-bottom:0px " id = "rotater">
<h2 Style = "margin-top:0px; margin-bottom:0px"> I Hope You Enjoyed the Show. You may see the pictures again manualy</h2>
<form Style = "margin-top:0px; margin-bottom:0px">
<input type="button" value="<< Backward" name="B2"onClick="backward();">
<input type="button" value="Forward >>" name="B1"onClick="forward()">
<input type="button" value="Back to the beginning" name="B3" onClick="which=begin+1; backward();">
</form>
</div>
<div style = "margin-top:2px;" align = "center" id = "pics">
<img src="001.jpg" name="photoslider">
</div>
</body>
</html>