
//*******************************************************************************
//* printFfaInhalt JavaScript - Version vom 28.12.2011                          *
//* copyright ADFC Frankfurt                                                    *
//* http://adfc-frankfurt.de                                                    *
//*                                                                             *
//*                                                                             *
//* ffa_inhalt_navigation.js:                                                   *
//* Dieses Script schribt die Artikel-Navigation auf die FFA-Seiten             *
//* www.adfc-frankfurt.de                                                       *
//*                                                                             *
//*******************************************************************************

function printFFAInhalt() {

	// das Inhaltsverzeichnis laden
	definitionInhalt();

	var items = document.URL.split("/");
	var actualFileName=items[items.length-1];
	if (actualFileName == "index_frankfurt_aktuell.html") {
		var indexFile = true;
	}

	for (i=0; i<= lastLine; i++) {
		var currentFileName = inhalt[i][1];
		if (currentFileName == actualFileName) {
		print ("<a href='" + currentFileName + "' class='blockLinkActive'>" + inhalt[i][0] + "</a>\n");
		}
		else {
			if (indexFile) {
				print ("<a href='FFA_Archiv/" + dieseAusgabe + "/" + currentFileName+ "' class='blockLink singleArrow'>" + inhalt[i][0] + "</a>\n");
			}
			else print ("<a href='" + currentFileName+ "' class='blockLink singleArrow'>" + inhalt[i][0] + "</a>\n");
		}
	}
}
