String getFullPDBHeader() {
		String info = viewer.getCurrentFileAsString();
		int ichMin = info.length();
		for (int i = pdbRecords.length; --i >= 0;) {
			int ichFound;
			String strRecord = pdbRecords[i];
			switch (ichFound = (info.startsWith(strRecord) ? 0 : info.indexOf("\n" + strRecord))) {
			case -1:
				continue;
			case 0:
				return "";
			default:
				if (ichFound < ichMin)
					ichMin = ++ichFound;
			}
		}
		return info.substring(0, ichMin);
	}