<!-- hide script from old browsers 

/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var samplepics=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
samplepics[0]=["images/slides/belle_isle_detroit_river_windsor_aerial.jpg", "", ""]
samplepics[1]=["images/slides/cedar_point_aerial_panoramic_photo.jpg", "", ""]
samplepics[2]=["images/slides/2008-09-29_6610.jpg", "", ""]
samplepics[3]=["images/slides/low_close_oblique_aerial.jpg", "", ""]
samplepics[4]=["images/slides/low_level_bucket_truck_aerial_example.jpg", "", ""]
samplepics[5]=["images/slides/oak_harbor_ohio_aerial_photo.jpg", "", ""]
samplepics[6]=["images/slides/put-in-bay_aerial.jpg", "", ""]
samplepics[7]=["images/slides/train_and_grain_elevator_aerial_image.jpg", "", ""]
samplepics[8]=["images/slides/2007-05-29_1269.jpg", "", ""]
samplepics[9]=["images/slides/2008-04-05_0157.jpg", "", ""]
samplepics[10]=["images/slides/2008-04-05_0235.jpg", "", ""]
samplepics[11]=["images/slides/2008-06-06_3112.jpg", "", ""]
samplepics[12]=["images/slides/arch_1.jpg", "", ""]
samplepics[13]=["images/slides/arch_3.jpg", "", ""]
samplepics[14]=["images/slides/interior_1.jpg", "", ""]
samplepics[15]=["images/slides/columbus_2007_3306.jpg", "", ""]

var quotes=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
quotes[0]=["images/quotes/2007-08-01.jpg", "comments.html", ""]
quotes[1]=["images/quotes/2007-08-20.jpg", "comments.html", ""]
quotes[2]=["images/quotes/2007-10-23.jpg", "comments.html", ""]
quotes[3]=["images/quotes/2007-10-26.jpg", "comments.html", ""]
quotes[4]=["images/quotes/2007-12-03.jpg", "comments.html", ""]
quotes[5]=["images/quotes/2007-12-31.jpg", "comments.html", ""]
quotes[6]=["images/quotes/2008-01-03.jpg", "comments.html", ""]
quotes[7]=["images/quotes/2008-01-16.jpg", "comments.html", ""]
quotes[8]=["images/quotes/2008-01-21.jpg", "comments.html", ""]
quotes[9]=["images/quotes/2008-01-31.jpg", "comments.html", ""]
quotes[10]=["images/quotes/2008-03-03.jpg", "comments.html", ""]
quotes[11]=["images/quotes/2008-03-06.jpg", "comments.html", ""]
quotes[12]=["images/quotes/2008-03-31.jpg", "comments.html", ""]
quotes[13]=["images/quotes/2008-05-02.jpg", "comments.html", ""]
quotes[14]=["images/quotes/2008-05-28.jpg", "comments.html", ""]
quotes[15]=["images/quotes/2008-05-30.jpg", "comments.html", ""]
quotes[16]=["images/quotes/2008-06-03.jpg", "comments.html", ""]
quotes[17]=["images/quotes/2008-06-23.jpg", "comments.html", ""]
quotes[18]=["images/quotes/2008-07-15.jpg", "comments.html", ""]
quotes[19]=["images/quotes/2008-07-30.jpg", "comments.html", ""]
quotes[20]=["images/quotes/2008-08-05.jpg", "comments.html", ""]
quotes[21]=["images/quotes/2008-08-26.jpg", "comments.html", ""]
quotes[22]=["images/quotes/2008-10-08.jpg", "comments.html", ""]
quotes[23]=["images/quotes/2008-10-31.jpg", "comments.html", ""]
quotes[24]=["images/quotes/2009-04-18.jpg", "comments.html", ""]
quotes[25]=["images/quotes/2009-04-27.jpg", "comments.html", ""]
quotes[26]=["images/quotes/2009-05-15.jpg", "comments.html", ""]
quotes[27]=["images/quotes/2009-11-02.jpg", "comments.html", ""]
quotes[28]=["images/quotes/2010-02-02.jpg", "comments.html", ""]

var liftpics=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
liftpics[0]=["images/slides/bucket_ground.jpg", "", ""]
liftpics[1]=["images/slides/bucket_lift-low.jpg", "", ""]
liftpics[2]=["images/slides/bucket_lift-high.jpg", "", ""]
liftpics[3]=["images/slides/bucket_lift-low.jpg", "", ""]

var archpics=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
archpics[0]=["images/slides/arch_1.jpg", "", ""]
archpics[1]=["images/slides/arch_2.jpg", "", ""]
archpics[2]=["images/slides/arch_3.jpg", "", ""]

var interiorpics=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
interiorpics[0]=["images/slides/interior_1.jpg", "", ""]
interiorpics[1]=["images/slides/interior_2.jpg", "", ""]
interiorpics[2]=["images/slides/interior_3.jpg", "", ""]

var progresspics=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
//progresspics[0]=["images/slides/prog_crop_4492.jpg", "", ""]
//progresspics[1]=["images/slides/prog_crop_6397.jpg", "", ""]
//progresspics[2]=["images/slides/prog_crop_7552.jpg", "", ""]
//progresspics[3]=["images/slides/prog_crop_7763.jpg", "", ""]
//progresspics[4]=["images/slides/prog_crop_8233.jpg", "", ""]
progresspics[0]=["images/slides/prog_crop_8-4492.jpg", "", ""]
progresspics[1]=["images/slides/prog_crop_8-6397.jpg", "", ""]
progresspics[2]=["images/slides/prog_crop_8-7552.jpg", "", ""]
progresspics[3]=["images/slides/prog_crop_8-7763.jpg", "", ""]
progresspics[4]=["images/slides/prog_crop_8-8233.jpg", "", ""]
progresspics[5]=["images/slides/prog_crop_9-6304.jpg", "", ""]

var photomap=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
photomap[0]=["images/slides/map_sample_1.jpg", "", ""]
photomap[1]=["images/slides/map_sample_2.jpg", "", ""]
photomap[2]=["images/slides/map_sample_3.jpg", "", ""]
photomap[3]=["images/slides/map_sample_4.jpg", "", ""]
photomap[4]=["images/slides/map_sample_5.jpg", "", ""]
photomap[5]=["images/slides/map_sample_6.jpg", "", ""]
photomap[6]=["images/slides/map_sample_7.jpg", "", ""]
photomap[7]=["images/slides/map_sample_6.jpg", "", ""]
photomap[8]=["images/slides/map_sample_5.jpg", "", ""]
photomap[9]=["images/slides/map_sample_4.jpg", "", ""]
photomap[10]=["images/slides/map_sample_3.jpg", "", ""]
photomap[11]=["images/slides/map_sample_2.jpg", "", ""]

var graphics=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
graphics[0]=["images/slides/graphics_1.jpg", "", ""]
graphics[1]=["images/slides/graphics_2.jpg", "", ""]
//graphics[2]=["images/slides/graphics_3.jpg", "", ""] //plain image syntax - car dealership before
//graphics[3]=["images/slides/graphics_4.jpg", "", ""] //plain image syntax - car dealership after
graphics[2]=["images/slides/graphics_5.jpg", "", ""]
graphics[3]=["images/slides/graphics_6.jpg", "", ""]

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/stock/Crop_4492.jpg", "images/stock/big/Crop_4492.jpg", "timelapse"]
fadeimages[1]=["images/stock/Crop_6397.jpg", "images/stock/big/Crop_6397.jpg", "timelapse"]
fadeimages[2]=["images/stock/Crop_7552.jpg", "images/stock/big/Crop_7552.jpg", "timelapse"]
fadeimages[3]=["images/stock/Crop_7763.jpg", "images/stock/big/Crop_7763.jpg", "timelapse"]
fadeimages[4]=["images/stock/Crop_8233.jpg", "images/stock/big/Crop_8233.jpg", "timelapse"]
fadeimages[5]=["images/stock/Crop_slide1a.jpg", "", ""] //plain image syntax
fadeimages[6]=["images/stock/Crop_slide2a.jpg", "", ""] //plain image syntax
fadeimages[7]=["images/stock/Crop_slide3a.jpg", "", ""] //plain image syntax
fadeimages[8]=["images/stock/Crop_slide3a.jpg", "", ""] //plain image syntax
//fadeimages[9]=["images/stock/Crop_slide4.jpg", "", ""] //plain image syntax
 
var fadeimages2=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["images/stock/aerial_photo_car_dealership_before.jpg", "images/stock/big/aerial_photo_car_dealership_before.jpg", "retouch"]
fadeimages2[1]=["images/stock/aerial_photo_car_dealership_after.jpg",  "images/stock/big/aerial_photo_car_dealership_after.jpg",  "retouch"]



//samplepics[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
//samplepics[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
 
 
var fadebgcolor="white"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

// end hiding script from old browsers -->
