﻿function random_quotes() {
    //Function to add random quotes to Go Green site.           		

    var images = new Array()

    //Quotes
    var quotes = new Array()
    quotes[1] = "Global warming is a defining issue of the 21st century, and higher education must be a leader in addressing global climate change through research, education, and reduction of greenhouse gas emissions."
    quotes[2] = "If higher education is not relevant to solving the crisis of global warming, it is not relevant, period."
    quotes[3] = "Why doesn't every college make it a goal to become carbon-neutral? This should be a national movement."
    quotes[4] = "We are in the middle of one of those rare moments when the right thing to do is also the economically smart thing to do."
    quotes[5] = "UHV is committed to being part of the solution for one of the defining issues of our generation; our relationship with our climate."

    //Name of people being quoted
    var personsName = new Array()
    personsName[1] = "&#8212; Amy Gutmann, President, University of Pennsylvania"
    personsName[2] = "&#8212; David F. Hales, President, College of the Atlantic"
    personsName[3] = "&#8212; Thomas Friedman, New York Times columnist"
    personsName[4] = "&#8212; Kathleen Schatzberg, President, Cape Cod Community College"
    personsName[5] = "&#8212; Dr. Tim Hudson, President, University of Houston-Victoria"


    var num = Math.floor(Math.random() * quotes.length)
    if (num == 0)
        num = 1

    document.write('<p><em>' + quotes[num] + '</em><br/><span class=name>' + personsName[num] + '</span></p><br/>')
}

random_quotes()
