function printModule(strModule) {
	var strOutput = " ";
	if (strModule == "home") {
		var strHomeLink = "<a class='searchbar' href='http://www.umn.edu/'>U of M Home</a>";
		strOutput = strHomeLink;
	} else if (strModule == "umn") {
		strOutput = " ";
		var aUMNLinks = new Array(3); //if a new element is added increase this number accordingly
		// use the full URL below without the http:// , then the text of the link
		// if a link is added, make sure to use the next number in the brackets, e.g. if the last
		// link was [2], use [3]
		aUMNLinks[0] = ["www.myu.umn.edu", "MyU Portal"];
		aUMNLinks[1] = ["www.umn.edu/systemwide/directories", "Directories"];
		aUMNLinks[2] = ["search.umn.edu", "Search U of M"];
		for (var i = 0; i < aUMNLinks.length; i++) {
			strOutput += "<a class='searchbar' href='http://" + aUMNLinks[i][0] + "'>" + aUMNLinks[i][1] + "</a>";
			if (i != (aUMNLinks.length - 1)) {
		    	strOutput += " | ";
			}
		}
	} else if (strModule == "ovpr") {
		strOutput = " ";
		var strURL = window.location.href;
		var aOVPRLinks = new Array(8); //if a new element is added increase this number accordingly
		// use the full URL below without the http:// , then the text of the link
		// if a link is added, make sure to use the next number in the brackets, e.g. if the last
		// link was [2], use [3]
		aOVPRLinks[0] = ["ovpr", "www.research.umn.edu", "Office of the Vice President for Research"];
		aOVPRLinks[1] = ["crad", "www.research.umn.edu/crad", "Council of Research Associate Deans"];
		aOVPRLinks[2] = ["first", "www.research.umn.edu/first", "Fostering Integrity in Research, Scholarship, and Teaching (Formerly RCR)"];
		aOVPRLinks[3] = ["oar", "www.oar.umn.edu", "Oversight, Analysis, and Reporting"];
		aOVPRLinks[4] = ["regaffairs", "www.research.umn.edu/regaffairs", "Regulatory Affairs"];
		aOVPRLinks[5] = ["subjects", "www.research.umn.edu/subjects", "Research Subjects' Protection Programs"];
		aOVPRLinks[6] = ["ospa", "www.ospa.umn.edu", "Sponsored Projects Administration"];
		aOVPRLinks[7] = ["tcbd", "www.tcbd.umn.edu", "Technology Commercialization and Business Development"];
		for (var i = 0; i < aOVPRLinks.length; i++) {
			if (strURL.indexOf(aOVPRLinks[i][0]) != -1) {
				strOutput += "<font color='#999999'>" + aOVPRLinks[i][2] + "</font><br><br>";
			} else {
				strOutput += "<a class='leftnav' href='http://" + aOVPRLinks[i][1] + "/'>" + aOVPRLinks[i][2] + "</a>";
			}
			if (i == 0) {
				strOutput += "<br><br><span class='leftnavsubtitle'>OVPR Programs and Units</span><br>";
			} else {
				strOutput += "<br><br>";
			}
		}
	} else if (strModule == "footer") {
			strOutput = " ";
			var aFooterLinks = new Array(3); //if a new element is added increase this number accordingly
			// use the full URL below without the http:// , then the text of the link
			// if a link is added, make sure to use the next number in the brackets, e.g. if the last
			// link was [2], use [3]
			aFooterLinks[0] = ["www.umn.edu/systemwide/textsize", "Trouble seeing the text?"];
			aFooterLinks[1] = ["www.umn.edu/systemwide/contactuofm", "Contact U of M"];
			aFooterLinks[2] = ["www.privacy.umn.edu", "Privacy"];
			for (var i = 0; i < aFooterLinks.length; i++) {
				strOutput += "<a class='footer' href='http://" + aFooterLinks[i][0] + "'>" + aFooterLinks[i][1] + "</a>";
			if (i != (aFooterLinks.length - 1)) {
		    	strOutput += " | ";
			}
		}
	} else if (strModule == "copy") {
		var strCopyStatement = "Regents of the University of Minnesota. All rights reserved.";
		strOutput = strCopyStatement;
	} else if (strModule == "eo") {
		var strEOStatement = "The University of Minnesota is an equal opportunity educator and employer.";
		strOutput = strEOStatement;
	}
	document.write(strOutput);
}
