
// allgemeine HTML-Angaben ins Dokument schreiben

document.write("<meta http-equiv='content-type' content='text/html; charset=iso-8859-1'>\n");
document.write("<meta http-equiv='Content-Script-Type' content='text/javascript'>\n");
document.write("<meta http-equiv='Content-Style-Type' content='text/css'>\n");
document.write("<link rel=stylesheet type='text/css' href='home.css'>\n");

/********************************************************************
 *  Funktion Local
 *
 *  Stellt fest, ob die Seite lokal oder aus dem Internet angezeigt wird.
 *     wird zur Steuerung eines Zählers benötigt.
 *
 */

function Local()
{
	return (document.URL.substr(0, 7) == "file://");
}

/***** parse page parameters *****/

var si_params = "";
if (location.href.indexOf("?") == -1)
	si_params = "";
else
	si_params = unescape(location.href.substring(location.href.indexOf("?") + 1, location.href.length));






/********************************************************************
 *  Funktion BeginPage
 *
 *  Beginnt die Tabellenstruktur einer Seite
 *      in auswahl steht die Nummer der erweitert anzuzeigenden Navigationsliste (siehe Left; weiter unten)
 *
 */

function BeginPage(auswahl)
{
	document.writeln("<p><nobr><h2 align='center'>Verein der Freunde zur Förderung von Kindern und Jugendlichen in Nepal<br> und der Dritten Welt e.V.</h2></p>");
	document.writeln("<img src='images/leer1x1.gif' width=40 height=40 border=0><br>");

 	document.writeln("<table width=100% cellspacing=0 cellpadding=0 border=0>");
 	document.writeln("<tr valign=top>");
	document.writeln("	<td width=150>");
    	Left(auswahl);
	document.writeln("	</td>");
	document.writeln("	<td width=30>");
	document.writeln("		&nbsp;");
	document.writeln("	</td>");
	document.writeln("	<td>");
 	document.writeln("<img src='images/leer1x1.gif' width=10 height=10 border=0><br>");
}




/********************************************************************
 *  Funktion EndPage
 *
 *  Schließt eine Seite ab
 *
 */

function EndPage()
{

	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("</table>");
	document.writeln("</body>");
	document.writeln("</html>");

}




/********************************************************************
 *  Funktion Left
 *
 *  Fügt die linke Seite ein und zeigt die erweiterte Navigationsleiste an.
 *     wird aus BeginPage aufgerufen 
 *
 */

function Left(auswahl)
{
	document.writeln("<p>");
	
	document.writeln("<a href='index.html'><img src='images/wirueberuns.jpg' width=122 height=35 border=0><br></a><br>");
 	if (auswahl==1)
	{
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='wirueberuns.html'>Allgemeine<br>Informationen</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='mitglied.html'>Beitrittserklärung<br>Mitgliedschaft</a></td></tr>");                
	
	document.writeln("</table>");
		
	}document.writeln("<img src='images/leer1x1.gif' width=40 height=10 border=0><br>");

	document.writeln("<a href='berichte.html'><img src='images/berichte.jpg' width=122 height=35 border=0></a><br>");
 	if (auswahl==2)
	{
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='ausstellwaging.html'>Nepalausstellung in Waging 2004</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='bericht012010.html'>Mitgliederbrief 2010</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='bericht022009.html'>Reisebericht 2/2009</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='bericht012009.html'>Reisebericht 1/2009</a></td></tr>")
 		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='bericht022008.html'>Reisebericht 2/2008</a></td></tr>");
			
	
	document.writeln("</table>");

	}document.writeln("<img src='images/leer1x1.gif' width=40 height=10 border=0><br>");
	
 	document.writeln("<a href='projekte.html'><img src='images/objekte.jpg' width=122 height=35 border=0></a><br>");
 	if (auswahl==3)
	{
		
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='Baubilder.html'>Projekt Kinderheim - chronologische Bilderserie -</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='Baufortschritt1.html'>Projekt Kinderheim - aktuellste Bilder -</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='projekteigenesheim.html'>Projekt Kinderheim - Geschichte</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='kinderheimgrund.html'>Projekt Kinderheim<br>Grundstück</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='kinderheimhaus.html'>Projekt Kinderheim<br>Hausansichten</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='kochbuch.html'>Projekt nepalesisches Kochbuch</a></td></tr>");		

	document.writeln("</table>");

	}document.writeln("<img src='images/leer1x1.gif' width=40 height=10 border=0><br>");

	document.writeln("<a href='personen.html'><img src='images/kontakt.jpg' width=122 height=35 border=0></a><br>");
 	if (auswahl==4)
	{
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='kontakt.html'>Kontakte</a></td></tr>");
		
	document.writeln("</table>");

	}document.writeln("<img src='images/leer1x1.gif' width=40 height=10 border=0><br>");

	
	document.writeln("<a href='impress.html'><img src='images/impressum.jpg' width=122 height=35 border=0></a><br>");
 	if (auswahl==5)
	{
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='impressum.html'>Impressum</a></td></tr>");
		document.writeln("<table><tr valign=top><td><img src='images/or_button.gif' width=10 height=13 border=0></td><td><a class=inhalt href='impressum2.html'>Rechtliche Hinweise</a></td></tr>");
	
	document.writeln("</table>");
	
	}document.writeln("<img src='images/leer1x1.gif' width=40 height=10 border=0><br>");

	
	document.writeln("</p>");
	}

