public void addPageHeader(List<String> whereTo, String head) {
		whereTo.add("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
		whereTo.add("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >\n");
		whereTo.add("<head>\n");
		whereTo.add("<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\n");
		whereTo.add("<meta name=\"author\" content=\"Bastiaan Schuiling Konings\" />\n");
		whereTo.add("<meta name=\"keywords\" content=\"coffeesaint admin\" />\n");
		whereTo.add("<meta name=\"description\" content=\"CoffeeSaint remote configuration panel\" /\n");
		whereTo.add("	<title>CoffeeSaint admin</title>\n");
		whereTo.add("	<script type=\"text/javascript\"></script>\n");
		whereTo.add("<link href=\"/design.css\" rel=\"stylesheet\" media=\"screen\">\n");
		if (head != null && head.equals("") == false)
			whereTo.add(head);
		whereTo.add("</head>\n");
		whereTo.add("<body id=\"css-coffeesaint\" BGCOLOR=\"#ffffff\">\n");
		whereTo.add("	<div id=\"coffee\"><img src=\"/images/coffee.png\" /></div>\n");
		whereTo.add("	<div id=\"container\">\n");
		whereTo.add("		<div id=\"column_navigation\">\n");
		whereTo.add("			<div id=\"navigation\">\n");
		whereTo.add("				<strong>Nagios</strong><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/performance-data.cgi\">Performance data</a><br />\n");
		whereTo.add("				<a href=\"/latency-graph.html\">Latency graph</a><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/list-all.cgi\">List of hosts/services</a><br />\n");

		boolean file = false;
		for(NagiosDataSource nds : config.getNagiosDataSources()) {
			if (nds.getType() == NagiosDataSourceType.FILE) {
				file = true;
				break;
			}
		}
		if (file)
			whereTo.add("				<a href=\"/cgi-bin/nagios_status.cgi\">Problems overview</a><br />\n");
		else
			whereTo.add("				<a href=\"/applet.html\">Problems overview</a><br />\n");

		whereTo.add("				<br /><strong>Logging</strong><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/statistics.cgi\">CoffeeSaint statistics</a><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/log.cgi\">List of connecting hosts</a><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/list-log.cgi\">Show log</a><br />\n");
		whereTo.add("                           <a href=\"/cgi-bin/jvm_stats.cgi\">JVM statistics</a><br />\n");
		whereTo.add("				<br /><strong>Configuration</strong><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/config-menu.cgi\">Configure CoffeeSaint</a><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/reload-config.cgi\">Reload configuration</a><br />\n");
		whereTo.add("				<a href=\"/cgi-bin/select_configfile.cgi\">Select configuration file</a><br />\n");
                if (config.getConfigFilename() == null)
                        whereTo.add("No configuration-file selected, save disabled<br />\n");
                else {
                        String line = "<A HREF=\"/cgi-bin/write-config.cgi\">Write config to " + config.getConfigFilename() + "</A>";
                        if (configNotWrittenToDisk == true)
                                line += " (changes pending!)";
                        line += "<br />\n";
                        whereTo.add(line);
                }
		whereTo.add("				<br /><strong>Actions</strong><br />\n");
                if (config.getRunGui())
                        whereTo.add("<A HREF=\"/cgi-bin/force_reload.cgi\">Force reload</A><br />\n");
                else
                        whereTo.add("Force reload disabled, not running GUI<br />\n");
                String sample = config.getProblemSound();
                if (sample != null)
                        whereTo.add("<A HREF=\"/cgi-bin/test-sound.cgi\">Test sound (" + sample + ")</A><br />\n");
                else
                        whereTo.add("No sound selected<br />\n");
		whereTo.add("				<br /><strong>Links</strong><br />\n");
		whereTo.add("				<a href=\"/links.html\">Links relevant to this program</a><br />\n");
		whereTo.add("				<br />\n");
		whereTo.add("				<br />\n");
		whereTo.add("				<a href=\"http://www.vanheusden.com\" target=\"_blank\"><img src=\"/images/footer01.png\" border=\"0\" /></a>\n");
		whereTo.add("			</div>\n");
		whereTo.add("		</div>\n");
		whereTo.add("		<div id=\"column_main\">\n");
		whereTo.add("			<img src=\"/images/title01.png\" />\n");
		whereTo.add("			<font size=\"5\">" + CoffeeSaint.getVersionNr() + "</font>\n");
		whereTo.add("			<div id=\"main\">\n");
	}