// list of home page photos

		photos = new Array();
		
		var i = 0;
		
		photos[i++] = '<img src="_images/home-photo-02.jpg" width="780" height="280" alt="Reminiscence of Childhood, 173rd in Beaverton, photo by Ona Golonka, age 18, of Beaverton" title="Reminiscence of Childhood, 173rd in Beaverton, photo by Ona Golonka, age 18, of Beaverton">';
		photos[i++] = '<img src="_images/home-photo-01.jpg" width="780" height="280" alt="Late Winter Path, Tualatin River Wildlife Refuge, photo by Thomas Woodward, age 13, of Tigard" title="Late Winter Path, Tualatin River Wildlife Refuge, photo by Thomas Woodward, age 13, of Tigard">';		
		photos[i++] = '<img src="_images/home-photo-03.jpg" width="780" height="280" alt="Hills of Gold, Cornelius, photo by Rebecca Long of Beaverton" title="Hills of Gold, Cornelius, photo by Rebecca Long of Beaverton">';
		photos[i++] = '<img src="_images/home-photo-05.jpg" width="780" height="280" alt="Springtime in Oregon, Farmington and Grabhorn Roads, by Valerie Asbell of Aloha" title="Springtime in Oregon, Farmington and Grabhorn Roads, by Valerie Asbell of Aloha">';
		photos[i++] = '<img src="_images/home-photo-06.jpg" width="780" height="280" alt="Dahlia Farm on Unger Road, Cornelius, photo by Victoria Saager of Hillsboro" title="Dahlia Farm on Unger Road, Cornelius, photo by Victoria Saager of Hillsboro">';
		photos[i++] = '<img src="_images/home-photo-07.jpg" alt="Photo of Roy Rogers Road, Washington County, Oregon" title="Roy Rogers Road, Washington County, Oregon" width="780" height="280" />';
		photos[i++] = '<img src="_images/home-photo-08.jpg" alt="Tualatin River, Washington County, Oregon" title="Tualatin River, Washington County, Oregon." width="780" height="280" />';
		photos[i++] = '<img src="_images/home-photo-09.jpg" alt="NW Wilkesboro Road, Washington County, Oregon" title="NW Wilkesboro Road, Washington County, Oregon.  Photo by Benny Martin." width="780" height="280" />';
		photos[i++] = '<img src="_images/home-photo-04.jpg" width="780" height="280" alt="Snow in Sherwood, SW Kruger Rd, photo by Ted Pelletier of Sherwood" title="Snow in Sherwood, SW Kruger Rd, photo by Ted Pelletier of Sherwood">';
		photos[i++] = '<img src="_images/home-photo-12.jpg" alt="North of Cornelius, Washington County, Oregon" title="North of Cornelius, Washington County, Oregon. Photo by Benny Martin." width="780" height="280" />';
		photos[i++] = '<img src="_images/home-photo-13.jpg" alt="NW Harrington Road, Washington County, Oregon" title="NW Harrington Road, Washington County, Oregon.  Photo by Benny Martin." width="780" height="280" />';


// write the value into the document

	function insertRotationItem(cookiename) {
	
		var value=0; // default value to start with is zero
		var allCookies=document.cookie; // get the whole cookie for the site
		var position=allCookies.indexOf(cookiename); // is our cookie in the site's cookie
		
		if (position!=-1) { // if so, let's find out where it is in the site's cookie
			var start=position+cookiename.length+1; // here's where it starts
			value=allCookies.substring(start,start+1); // pull out the value we want to display
		}
		
		if (value==eval(cookiename + ".length")-1) { // have we reached the end of the array?
			var setValue=0; // if so, set it back to zero
		} else {
			var setValue=parseInt(value)+1; // if not, add one to it
		}

		document.cookie=cookiename+"="+setValue; // now set the cookie for next time
		
		document.write(eval(cookiename + "[value]"));
	}




