//window.onload = getHomepageQuote;

/*Rotating quotes for home page */
// This script was supplied by Dave Joosten http://www.dmxzone.com/ShowDetail.asp?NewsId=5417|
function getHomepageQuote() {
	var ct = 16; 
	var quotes = new Array(ct);
	quotes[0] = "There is nothing so practical as a good theory. <p class=\"author\">&#8212;Kurt Lewin</p>";
	quotes[1] = "Theories of the middle-range provide direction for empirical inquiry into the worlds of culture and society. <p class=\"author\">&#8212;Robert K. Merton</p>";
	quotes[2] = "The idea of culture, in the technical anthropological sense, is one of the key notions in contemporary American thought. <p class=\"author\">&#8212;A.L. Kroeber and Clyde Kluckholn</p>";
	quotes[3] = "I have sedulously endeavored not to laugh at human actions, nor to lament them, nor to detest them, but to understand them. <p class=\"author\">&#8212;Spinoza</p>";
	quotes[4] = "The behavioral sciences ... are one of the major intellectual and cultural inventions of the twentieth century. <p class=\"author\">&#8212;Bernard Berelson</p>";
	quotes[5] = "... as sciences mature, team research becomes more important, probably of necessity. <p class=\"author\">&#8212;Wendell R. Garner</p>";
	quotes[6] = "... problem-focused research provides the seedbed for breakthroughs in fundamental theory and methods. <p class=\"author\">&#8212;David Featherman</p>";
	quotes[7] = "Medicine is a social science in its very bone marrow. <p class=\"author\">&#8212;Rudolph Virchow</p>";
	quotes[8] = "A strong, overly zealous commitment to one&rsquo;s theory is important to scientific advancement. <p class=\"author\">&#8212;Donald T. Campbell</p>";
	quotes[9] = "We must seek the explanation of social life in the nature of society itself. <p class=\"author\">&#8212;Emile Durkheim</p>";
	quotes[10] = "Inductive inference is the only process by which essentially new knowledge comes into the world. <p class=\"author\">&#8212;R. A. Fisher</p>";
	quotes[11] = "The road to the general lies through a concern with the particular, the circumstantial, the concrete. <p class=\"author\">&#8212;Clifford Geertz</p>";
	quotes[12] = "Doing ethnography is an elaborate venture in thick description. <p class=\"author\">&#8212;Clifford Geertz</p>";
	quotes[13] = "The science of man is the only solid foundation for the other sciences. <p class=\"author\">&#8212;David Hume</p>";
	quotes[14] = "How many times have essential advances in science first been made possible by the fact that the boundaries of special disciplines were <span style=\"font-style:normal\;\">not</span> respected ...  Trespassing is one of the most successful techniques in science. <p class=\"author\">&#8212;Wolfgang K&ouml;hler</p>";
	quotes[15] = "Scientific development depends in part on a process of non-incremental or revolutionary change. <p class=\"author\">&#8212;Thomas Kuhn</p>";
	var index = chooseRandom(ct);
	var thisquote = quotes[index];
	//document.getElementById('quotelocation').firstChild.nodeValue = thisquote;
	return thisquote;
}

/*Random index generator */
function chooseRandom(range) {
if (Math.random)
	return Math.round(Math.random() * (range-1));
else {
	var now = new Date();
	return (now.getTime() / 1000) % range;
	}
}
