//use this sript to rotat random photos on the home page with each load
//uncomment the line that says "<SCRIPT TYPE="text/javascript" SRC="http://www.capeelizabeth.com/style/photorotate.js">blahblhablah


var photos=new Array("summer and fall 09107.jpg","summer and fall 09111.jpg","summer and fall 09115.jpg","summer and fall 09119.jpg","summer and fall 09139.jpg","summer and fall 09148.jpg","summer and fall 09156.jpg","summer and fall 09160.jpg")

var randomnumber=Math.floor(Math.random()*8)

document.write('<img src="http://www.capeelizabeth.com/family_fun_day/thumbnails/' + photos[randomnumber]+ '">');