

function zurueck()
{
if (window.name == "antipinhalt")
	{
		parent.frames[3].location.href="../artikel.html";
	}
	else
	{
		history.back();
	}
}

function lok_zurueck()
{
if (window.name == "antipinhalt")
	{
		parent.frames[3].location.href="../../hp/doku/artikel.html";
	}
	else
	{
		history.back();
	}
}

function anzeigen(datei)
{	

	if (document.title == "Aktuelles")
	{

		vor = datei.substr(0,1);
		jahr = datei.substr(1,2);
		if ((jahr > 70) && (jahr < 99)) jahr = 99
		switch(vor)
		{


			case "l" : pfad = "../leserb/" + datei + "#anfang";
			   	   break;    		
			case "r" : pfad = "../allgemein/" + datei + "#anfang";
			   	   break;     		
			case "f" : pfad = "../fachlit/" + datei + "#anfang"
	   		           break;     		
			case "o" : pfad = "../zeitung" + jahr + "/" + datei + "#anfang";
				   break;     		
			case "a" : pfad = "../zeitung" + jahr + "/" + datei + "#anfang";
			   	   break;   
			case "w" : pfad = "../wz" + jahr + "/" + datei + "#anfang";
			   	   break;   
			default  : break;
		} 			
	}
	else 
	{
		pfad = datei;
	}


	parent.frames[3].location.replace(pfad);
}


function lokal(datei1,datei2)
{
	if (window.location.protocol == "file:")
	{
		window.location.href = datei1;
	}
	else
	{
		window.location.href = datei2;
	}
}


function frame(pfad)
{
	auswahl = pfad + ".html";
	f = open("frame.html","Auswahl");
	f.frames[3].location.href = pfad + "/" + auswahl;
}

function dateiname()
{
	document.open();
	document.write("<TABLE border=0 width=98%><TR><TD><H6>");
	document.write(location);
	document.write("</H6></TD><TD width=200 align=\"RIGHT\">");
	document.write("<A href=\"javascript:zurueck()\"><IMG src=\"../../admin/leftgrau.gif\" width=32 height=32 align=\"BOTTOM\" alt=\"Zur&uuml;ck\" border=0></A>");
	document.write("</TD></TR></TABLE>");
	document.close();
}

function lok_dateiname()
{
	document.open();
	document.write("<TABLE border=0 width=98%><TR><TD><H6>");
	document.write(location);
	document.write("</H6></TD><TD width=200 align=\"RIGHT\">");
	document.write("<A href=\"javascript:lok_zurueck()\"><IMG src=\"../../hp/admin/leftgrau.gif\" width=32 height=32 align=\"BOTTOM\" alt=\"Zur&uuml;ck\" border=0></A>");
	document.write("</TD></TR></TABLE>");
	document.close();
}