		var myPix = new Array("/version2/media/slideshow/conserving-land.jpg",
													"/version2/media/slideshow/invasive-weeds.jpg",
													"/version2/media/slideshow/badger.jpg",
													"/version2/media/slideshow/timberland-crew.jpg", //restoring econsystems burn
													"/version2/media/slideshow/sturgeon-in-hand.jpg", //sturgeon
													"/version2/media/slideshow/frog-metamorphs.jpg", //frog
													"/version2/media/slideshow/bighorn-sheep2.jpg", //bighorn sheep
													"/version2/media/slideshow/creston-rod-and-gun.jpg", //working with partners group photo
													"/version2/media/slideshow/improving-science.jpg",
													"/version2/media/slideshow/kokanee.jpg", //kokanee foodweb
													"/version2/media/slideshow/tourism.jpg",
													"/version2/media/slideshow/turtles-on-log.jpg", //new
													"/version2/media/slideshow/bee-vs-crab-spider.jpg",
													"/version2/media/slideshow/caribou-head-shot.jpg",
													"/version2/media/slideshow/corn-creek-marsh.jpg",
													"/version2/media/slideshow/vaux-swift.jpg",
													"/version2/media/slideshow/eva-note-taking.jpg",
													"/version2/media/slideshow/tree-wraping.jpg",
													"/version2/media/slideshow/receiver.jpg");
																										
													
		var myCaptions = new Array(	"Conserve Land for Future Generations",                                           
																"Slow the spread of invasive weeds",                                             
																"Protecting Species-at-Risk",                                                       
																"Restore ecosystems in the Columbia Basin",  //restoring econsystems burn            
																"Help endangered white sturgeon",            //sturgeon                             
																"Help recover endangered species",           //frog                                  
																"Re-locate Rocky Mtn. Bighorn Sheep",       //bighorn sheep                          
																"Work with partners and volunteers",         //working with partners group photo 
																"Improve Science & Awareness",                                                
																"Share our work and results",                //kokanee foodweb                               
																"Support Tourism &amp; Recreation",                                                                                                
                                "Find solutions that work.",                                        
                                "Increase science and knowledge",                                               
                                "Support efforts to help species-at-risk",                                                 
                                "Restore and maintain diverse habitats",                          
                                "Build nest boxes to expand habitat",                                                                                       
																"Share our work and results", 			
																"Support volunteer conservation efforts",
																"Encourage stewardship efforts");						

		var myPhotoCredit = new Array("",                                                                              
																"Photo: Larry Doell",                                                                   
																"Photo: Tim McAllister",
																"",
																"Photo: Lorri Fehr",
																"Photo: Angus Glass",
																"Photo: Barb Houston",
																"",
																"",
																"Photo: Brian Sperling",
																"Photo: Garry Beaudry",
																"",
																"Photo: Lynn Westcott",
																"",
																"",
																"",
																"",
																"",
																"");
																																
		var myMoreText = new Array("Acquiring land for conservation purposes is one of the best ways to prevent habitat loss and preserve species and habitats for future generations. The FWCP has helped acquire more than 15,000 hectares of land for conservation.",
																"Invasive weeds are a threat to biodiversity. See page 9 of our <a href='/version2/info/media/update14_spring2006_web.pdf'>newsletter</a>/ for more info about invasive weeds. ",
																"FWCP staff and funding have supported the recovery of badgers and other species-at-risk.",
																"<a href='/version2/info/pressrel/release_template.php?id=139'>Conditions Perfect</a> for Deer Park Burn",
																"The FWCP has <a class='slideShowCaption' href='http://www.fwcp.ca/version2/info/pressrel/release_template.php?id=141'>helped release</a> more than 80,000 juvenile upper Columbia River White Sturgeon in an effort to recover this endangered species.",
																"Endangered <a href='/version2/info/pressrel/release_template.php?id=135'>Frogs</a> Take A Leap Forward",
																"<a class='slideShowCaption' href='http://www.fwcp.ca/version2/info/pressrel/release_template.php?id=125'>Relocating sheep</a> is one way the FWCP is helping rebuild Rocky Mountain Bighorn sheep herds on the decline in the East Kootenay.",
																"Since its inception in 1995, the Fish & Wildlife Compensation Program has worked with many local outdoors groups who are eager to help conserve and enhance local fish and wildlife populations.",
																"FWCP-funded projects have resulted in several important biological discoveries that have improved the science-based understanding of many species including the Townsend's Big-eared bat, Western Screech owl, Yellow-breasted chat and others.",
																"The Nutrient Restoration Program in Kootenay Lake and the Arrow Lakes Reservoir is a long-term effort to restore the ecosystems impacted by dams that trap nutrients upstream.",
																"Conserving and enhancing fish and wildlife helps support the economic benefits associated with <a class='slideShowCaption' href='http://www.fwcp.ca/version2/reports/index.php'>tourism and recreation opportunities</a>.",
																"Turtles <a href='/version2/info/pressrel/release_template.php?id=169'>'log in'</a> Near Cranbrook",
																"<a href='/version2/forms/bees/'>Find out</a> how you can help a bee",
																"Find out how our research is improving the science of caribou recovery. <a href='http://www.fwcp.ca/version2/info/media/update16_spring2007_web.pdf'>See page 4</a> of our newsletter ",
																"<a href='http://www.crestonwildlife.ca'>The Creston Valley Wildlife Management Area</a> is an internationally-recognized wetland.",
																"<a href='/version2/info/pressrel/release_template.php?id=145'>Now that's a birdhouse!</a>",
																"Kokanee are one of several species that benefit from our Nutrient Restoration Program.",
																"Seemingly small efforts can make a big difference thanks to <a href='/version2/info/pressrel/release_template.php?id=156'>volunteers</a>.",
																"See page 10 of our <a href='/version2/info/media/update_fall2009_web.pdf'>newsletter</a> and find out more. ");
																
		var currentPic = 0;
		var SLIDE_SHOW_TIMEOUT = 7500;
		
		function doTimer(){
		   if (document.getElementById('slideShowMoreTextContainer').style.display == 'none'){
			  currentPic = currentPic + 1
			  if (currentPic > myPix.length - 1){
			  	currentPic = 0
			  }
				if (document.images) {
					document.myPicture.src = myPix[currentPic] 
					$("#slideShowCaption").html(myCaptions[currentPic]);		
				}
			}
			self.setTimeout('doTimer()', SLIDE_SHOW_TIMEOUT)			
		}
		
		function previousPic() {
		  if (document.getElementById('slideShowMoreTextContainer').style.display == 'none'){
			  currentPic = currentPic - 1
			  if (currentPic < 0){
			  	currentPic = myPix.length - 1
			  }
				if (document.images) {
					document.myPicture.src = myPix[currentPic]
					$("#slideShowCaption").html(myCaptions[currentPic]);
				}
			}
		}
		
		function nextPic() {
		   if (document.getElementById('slideShowMoreTextContainer').style.display == 'none'){
			  currentPic = currentPic + 1
			  if (currentPic > myPix.length - 1){
			  	currentPic = 0
			  }
				if (document.images) {
					document.myPicture.src = myPix[currentPic]
					$("#slideShowCaption").html(myCaptions[currentPic]);				
				}
			}
		}
		
		function showMore() {
			if(document.getElementById('slideShowMoreTextContainer').style.display == 'none'){ 
				$("#slideShowMoreTextContainer").show();
				$("#slideShowMoreText").html(myMoreText[currentPic]);	
				$("#photocredit").html(myPhotoCredit[currentPic]); 						
			} else { 
				$("#slideShowMoreTextContainer").hide();
			}
		}