<!-- 
	var timerI = setInterval ( "timer()", 7000 );
	
	// Edit these values to update what is shown in the left pane of the home page.  
	var Blurbs = new Array(12); 
	
	Blurbs[0] = '<img src="img/0.jpg" />\n<h1>Livable Cities</h1>\n<p>Throughout time people have noted that nearby nature is an important part of places that are livable and have a high quality of life. Having gardens, parks, and trees in cities leads to life satisfaction and a positive outlook. <a href="Thm_Livable.html">Read About the Research</a></p>';
	<!--Blurbs[14] = '<img src="img/14.jpg" />\n<h1>Land Uses</h1>\n<p>Research can also be sorted across urban land uses in cities. This report describes results across residential, business, school, office, and other settings. <a href="Thm_LandUse.html">Read About the Research</a></p>';-->
	Blurbs[1] = '<img src="img/2.jpg" />\n<h1>Community Building</h1>\n<p>Involvement in greening projects leads to social interactions that help form and strengthen social ties. This can lead to greater community wellness, stability, and resilience. <a href="Thm_Community.html">Read About the Research</a></p>';
	<!--Blurbs[x] = '<img src="img/4.jpg" />\n<h1>Social Ties</h1>\n<p>Constructive interactions between individuals and within small groups are the building blocks of a healthy society. The presence of nature has an effect, improving the character and outcomes of social contacts. <a href="Thm_SocialTies.html">Read About the Research</a></p>';-->
	Blurbs[2] = "<img src='img/3.jpg' />\n<h1>Local Economics</h1>\n<p>Trees, landscaping, parks, and natural spaces provide benefits that can't be bought and sold outright. Yet economists have devised many ways to assess the economic values of metro nature services. <a href='Thm_Economics.html'>Read About the Research</a></p>";
	Blurbs[3] = '<img src="img/1.jpg" />\n<h1>Place Attachment &amp; Meaning</h1>\n<p>The experience of place is part of our sense of self, of community, and a connectedness to everyday life. Our place connections are significant, and provide meaning. Nature is a key aspect of many places that are important to people. <a href="Thm_Place.html">Read About the Research</a></p>';
	Blurbs[4] = '<img src="img/5.jpg" />\n<h1>Crime &amp; Fear</h1>\n<p>Property and personal crime rates are influenced by physical settings. Quality outdoor spaces promote positive social conditions that discourage crime. There are also relationships between trees and safety or accidents. <a href="Thm_Crime.html">Read About the Research</a></p>';
	Blurbs[5] = '<img src="img/13.jpg" />\n<h1>Safe Streets</h1>\n<p>Transportation officials may urge removal of trees on urban streets for safety reasons. Here is the latest research, focusing on urban, not rural, conditions. <a href="Thm_SafeStreets.html">Read About the Research</a></p>';
	<!--Blurbs[5] = '<img src="img/0.jpg" />\n<h1>Culture &amp; Equity</h1>\n<p>T. <a href="Thm_Culture.html">Read About the Research</a></p>'; -->
	Blurbs[6] = "<img src='img/8.jpg' />\n<h1>Active Living</h1>\n<p>Too many people in the U.S. are overweight or obese. Nature in built environments promotes moderate physical activities, helping to prevent chronic diseases. <a href='Thm_ActiveLiving.html'>Read About the Research</a></p>";
	Blurbs[7] = '<img src="img/6.jpg" />\n<h1>Reduced Risk</h1>\n<p>Trees and greenery in cities can reduce human exposure to certain environmental risks. The result is less disease and illness for city dwellers of all ages. <a href="Thm_Risk.html">Read About the Research</a></p>';
	Blurbs[8] = "<img src='img/7.jpg' />\n<h1>Wellness &amp; Physiology</h1>\n<p>Physiology is the term for basic, core functions of the body. Exposure to nature aids recovery from stress and anxiety, and the body's positive response is remarkably fast. <a href='Thm_Physiology.html'>Read About the Research</a></p>";
	Blurbs[9] = '<img src="img/9.jpg" />\n<h1>Healing &amp; Therapy</h1>\n<p>Studies in various health care settings show a link between nature and healing. Nature contact may also supplement or augment medical treatment and therapy. <a href="Thm_Healing.html">Read About the Research</a></p>';
	Blurbs[10] = '<img src="img/10.jpg" />\n<h1>Mental Health &amp; Function</h1>\n<p>Our everyday surroundings affect personal productivity. Experiences of nature aid recovery from mental fatigue, increase cognitive function, and improves work capacity. <a href="Thm_Mental.html">Read About the Research</a></p>';
	Blurbs[11] = '<img src="img/11.jpg" />\n<h1>Work &amp; Learning</h1>\n<p>Views of nature improve job satisfaction and task performance by desk workers. Outdoor settings can also boost learning as the fascinations of nature appeal to human curiousity. <a href="Thm_WorkLearn.html">Read About the Research</a></p>';
	Blurbs[12] = '<img src="img/12.jpg" />\n<h1>Lifecycle &amp; Gender</h1>\n<p>Some benefits research has focused on certain populations, such as children or the elderly, or compares how women differ from men in their response to nature. <a href="Thm_Lifecycle.html">Read About the Research</a></p>';
	

function changeText(x) {
	window.clearInterval(timerI); 
	for (i=0;i<13;i++){
		document.getElementById(i).className = "";
	}
	document.getElementById(x).className = "activeNav";
	document.getElementById('photo').innerHTML = Blurbs[x];
}

function changeTextAuto(x) {	
	for (i=0;i<13;i++){
		document.getElementById(i).className = "";
	}
	document.getElementById(x).className = "activeNav";
	document.getElementById('photo').innerHTML = Blurbs[x];
}

function timer() {
	var randomnumber=Math.floor(Math.random()*13)
	changeTextAuto(randomnumber);
	document.getElementById(randomnumber).className = "activeNav";
}

function reset_() {
	window.clearInterval(timerI); 
	timerI = setInterval ( "timer()", 7000 );
}

-->
