<!-- 
var slideShowSpeed = 3000
var crossFadeDuration = 3
var Pic = new Array() // don't touch this
var Link = new Array()
Pic[0] = 'http://www.plywoodmedia.com/2pop/slideshow/tallahassee/images/slide-1.jpg'
Link[0] = 'http://www.tallahasseelm.com'
Pic[1] = 'http://www.plywoodmedia.com/2pop/slideshow/tallahassee/images/slide-2.jpg'
Link[1] = 'http://www.tallahasseelm.com'
Pic[2] = 'http://www.plywoodmedia.com/2pop/slideshow/tallahassee/images/slide-3.jpg'
Link[2] = 'http://www.tallahasseelm.com'
var t
var j = 0
var k = 0
var p = Pic.length
var h = 0
var w = 0
var proportion = 0
var picLinks = new Array()
var preLoad = new Array()
var picheight = 0;
var pl = 5;
var PICLINK = 0;
var winheight = 0;
var winwidth = 0;

// this hack causes script to preload only five images -- JP
// the rest are loaded in the runSlideShow loop
// this makes the slideshow load much faster

if (p < pl) { 
pl = p; 
}

for (i = 0; i < pl; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
picLinks[i] = Link[i]
}


function runSlideShow(){
if (document.all){

h = document.body.clientHeight * 0.8;
w = document.body.clientWidth * 0.8;
k = j + 1
//document.title = "Slideshow Slide " + k + "/" + p
document.images.SlideShow.style.filter="blendTrans(duration=3)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply() 

document.images.SlideShow.height = null;
document.images.SlideShow.width = null;

if (document.images.SlideShow.width == 0) {
document.images.SlideShow.width = preLoad[j].width;
}

if (document.images.SlideShow.height == 0) {
document.images.SlideShow.height = preLoad[j].height;
}
}

document.images.SlideShow.src = preLoad[j].src

picheight = document.images.SlideShow.height;
winheight = picheight;
picwidth = document.images.SlideShow.width;
winwidth = picwidth;

proportion = winwidth / winheight;
winheight = winheight + 80;
if (proportion == 0) {
proportion = 1;
}

if (picheight > h) {
picheight = h;
picwidth = h * proportion;
}

if (picwidth > w) {
picwidth = w;
picheight = w / proportion;
}

if (document.all) {
document.images.SlideShow.height = picheight;
document.images.SlideShow.width = picwidth;
document.images.SlideShow.filters.blendTrans.Play()
}
PICLINK = picLinks[j];

j = j + 1

// keep preloading images one at a time, but always five pics ahead until you've got them all

if (i < p) {
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
picLinks[i] = Link[i]
i = i + 1
} 
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}

function startShow(){
// self.moveTo(0,0); self.resizeTo(screen.availWidth,screen.availHeight);
// if (! document.all) {
// document.write('<h2>Sorry, this slideshow can be seen only with Internet Explorer. <br><a href="/html/index1.html">Home Page</a></h2>');
// return;
// } 
t = setTimeout('runSlideShow()', 3000)
}

function openPic(){
winparms = "'scrollbars=yes,resizable=yes,toolbar=yes,width=700,height=500'";
window.open(PICLINK,'PICLINK',winparms)
}
//-->
