//----- HAUPT-Navigation --------------------------------------------------------------------------------
function fktHauptNavigation(){
var strT = ""
+ "<table border='0' cellpadding='0' cellspacing='0' width='100%' bgcolor='#FFFFFF'><tr>"
+ "<td><div id='H1' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='" + sS + "Produkte-CMS.html' class='inh' onMouseOver=\"H1.style.color=f1;\" onMouseOut=\"H1.style.color=f2;\">Produkte</a></td>"
+ "<td><div id='H2' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='" + sS + "Leistungen-Internet.html' class='inh' onMouseOver=\"H2.style.color=f1;\" onMouseOut=\"H2.style.color=f2;\">Leistungen</a></td>"
+ "<td><div id='H3' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='" + sS + "Firma-Kontakt.html' class='inh' onMouseOver=\"H3.style.color=f1;\" onMouseOut=\"H3.style.color=f2;\">Firma</a></td>"
+ "<td><div id='H6' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='" + sS + "Service-Downloads.html' class='inh' onMouseOver=\"H6.style.color=f1;\" onMouseOut=\"H6.style.color=f2;\">Service</a></td>"
+ "<td><div id='H4' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='#' onClick=\"fktSMauf();\" class='inh' onMouseOver=\"H4.style.color=f1;\" onMouseOut=\"H4.style.color=f2;\">Sitemap</a></td>"
+ "<td><div id='H5' class='c1'>&nbsp; &#149;</div></td>"
+ "<td><a href='" + sS + "Login.html' class='inh' onMouseOver=\"H5.style.color=f1;\" onMouseOut=\"H5.style.color=f2;\">LogIn</a></td>"
+ "<td>&nbsp; &nbsp;</td>"
+ "<td align='right'><input type='text' onFocus=\"fktLeer();\" value='suchen' name='ysuchen' ID='ysuchen' class='txtfS' onClick=\"fktCheckMap();\">&nbsp;</td>"
+ "<td><a href=\"javascript:fktSuauf();\"><img src='" + sS + "grafik/su21.jpg' width='20' height='18' alt='Suchen' border='no' name='suchpic'></a></td>"
+ "</tr></table>"
+ "";
document.write (strT);
}

//+ "<td><a href=\"javascript:fktSuauf();\"><img src='" + sS + "grafik/su21.jpg' width='20' height='18' alt='Suchen' border='no' name='suchpic'></a></td>"


//----- UNTER-Navigation --------------------------------------------------------------------------------
//seitlicher Inhalt z.Zt. max. 15 MenuePunkte, durch Erhöhung von var NavMax=16 beliebig erweiterbar
//Tabelle hat 4 Spalten
var l=new Array();	//Link
var t=new Array();	//Text
var e=new Array();	//Einschub: 0:nicht eingerückt, 1... 2:2fach eingerückt
var z=0;			//Zähler der MenuePunkte max. 15St.
var NavMax=16;		//MenuePunkte max. 15St.
var zMax=0;
var temp;
//LeerZeile erzeugen:
//	z+=1;
//	t[z]="";
//	l[z]="LZ";
//	e[z]=0;
//Zeile OHNE LINK erzeugen:
//	z+=1;
//	t[z]="text";
//	l[z]="§§§";
//	e[z]=0;
//Menüpunkt, einfach eingerückt
//	z+=1;
//	t[z]="text";
//	l[z]="quelldatei.htm";
//	e[z]=1;
var NoS=1;	//Normaler Link=1 Oder Sitemap=2

//----- Untermenue zu 'Produkte' ------------------------------------------------------------------
function fktI_Produkte(){
z+=1;t[z]="Produkte";l[z]="§§§";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Content-Management";l[z]="Produkte-CMS.html";e[z]=1;
z+=1;t[z]="Termin-Modul";l[z]="Produkte-Termin-Modul.html";e[z]=2;
z+=1;t[z]="Redaktions-Modul";l[z]="Produkte-Redaktions-Modul.html";e[z]=2;
//z+=1;t[z]="Apotheken-Notdienst";l[z]="Produkte-ApoNot.html";e[z]=2;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Fortlaufende Rechnungsnummern";l[z]="Produkte-ReNr.html";e[z]=1;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Mail-Lösungen";l[z]="Produkte-Mail-Loesungen.html";e[z]=1;
z+=1;t[z]="eMail";l[z]="Produkte-Mail-eMail.html";e[z]=2;
z+=1;t[z]="Newsletter / Mailing-Listen";l[z]="Produkte-Mail-Newsletter.html";e[z]=2;
//z+=1;t[z]="Massenmailings";l[z]="Produkte-Mail-Massenmailings.html";e[z]=2;
z+=1;t[z]="Mail-Server-Details";l[z]="Produkte-Mail-eMail2.html";e[z]=2;
z+=1;t[z]="Was ist SPAM";l[z]="Produkte-Mail-Spam.html";e[z]=2;
z+=1;t[z]="SPAM-Lexikon";l[z]="Produkte-Mail-Spam-Lexikon.html";e[z]=2;
z+=1;t[z]="SPAM-Rechner";l[z]="Produkte-Mail-Spam-Rechner.html";e[z]=2;
}
//----- Untermenue zu 'Leistungen' ----------------------------------------------------------------
function fktI_Leistungen(){
z+=1;t[z]="Leistungen";l[z]="§§§";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Internet";l[z]="Leistungen-Internet.html";e[z]=1;
//z+=1;t[z]="Mobile Informations-Dienste";l[z]="Leistungen-MID.html";e[z]=1;
z+=1;t[z]="Software";l[z]="Leistungen-Software.html";e[z]=1;
z+=1;t[z]="Office-Programmierung";l[z]="Leistungen-Office-Programmierung.html";e[z]=1;
z+=1;t[z]="Übersetzung";l[z]="Leistungen-UEbersetzung.html";e[z]=1;
z+=1;t[z]="Schulungen";l[z]="Leistungen-Schulungen.html";e[z]=1;
z+=1;t[z]="Beratung";l[z]="Leistungen-Beratung.html";e[z]=1;
//z+=1;t[z]="Print-Service";l[z]="Leistungen-Printservice.html";e[z]=1;
}
//----- Untermenue zu 'Firma' ---------------------------------------------------------------------
function fktI_Firma(){
z+=1;t[z]="Firma";l[z]="§§§";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
//z+=1;t[z]="";l[z]="Ext4";e[z]=1;	//Aktuelles - Link zum TerminModul
z+=1;t[z]="Kontakt";l[z]="Firma-Kontakt.html";e[z]=1;
z+=1;l[z]="Firma-Anfahrt.html";t[z]="Anfahrt";e[z]=1;
z+=1;t[z]="Lageplan";l[z]="Firma-Lageplan.html";e[z]=2;
z+=1;t[z]="Auto";l[z]="Firma-Auto.html";e[z]=2;
z+=1;t[z]="Bus";l[z]="Firma-Bus.html";e[z]=2;
z+=1;t[z]="Bahn";l[z]="Firma-Bahn.html";e[z]=2;
z+=1;t[z]="Flugzeug";l[z]="Firma-Flugzeug.html";e[z]=2;
z+=1;t[z]="Hotels";l[z]="Firma-Hotels.html";e[z]=2;
//z+=1;t[z]="Kunden";l[z]="Firma-Kunden.html";e[z]=1;
z+=1;t[z]="whydata-Turm";l[z]="Firma-whydata-Turm.html";e[z]=1;
z+=1;t[z]="Impressum";l[z]="Firma-Impressum.html";e[z]=1;
z+=1;t[z]="AGBs";l[z]="Firma-AGBs.html";e[z]=1;
}
//----- Untermenue zu 'Service' ---------------------------------------------------------------------
function fktI_Service(){
z+=1;t[z]="Service";l[z]="§§§";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Downloads";l[z]="Service-Downloads.html";e[z]=1;
//z+=1;t[z]="Presse";l[z]="Service-Presse.html";e[z]=1;
z+=1;t[z]="";l[z]="Ext3";e[z]=1;		//eMail-Clients als PopUp
z+=1;t[z]="Virenwarnungen";l[z]="Service-Virenwarnung.html";e[z]=1;
//z+=1;t[z]="";l[z]="Ext1";e[z]=1;		//Apo
//z+=1;t[z]="";l[z]="Ext2";e[z]=1;		//Veranstaltungen
z+=1;t[z]="Domain prüfen";l[z]="Service-whois.html";e[z]=1;
z+=1;t[z]="Weitere Domains";l[z]="Service-Domains.html";e[z]=1;
z+=1;t[z]="Domain-Endungen";l[z]="Service-Domainendungen.html";e[z]=1;
//z+=1;t[z]="Verbindungs-<br>Geschwindigkeit";l[z]="Service-Verbindungsgeschwindigkeit.html";e[z]=1;
}
//----- Untermenue zu 'LogIn' ---------------------------------------------------------------------
function fktI_LogIn(){
z+=1;t[z]="LogIn";l[z]="LogIn.html";e[z]=0;
z+=1;t[z]="Redaktionsmodul";l[z]="LogIn-Redaktions-Modul.html";e[z]=1;
z+=1;t[z]="Termin-Modul";l[z]="LogIn-Termin-Modul.html";e[z]=1;
z+=1;t[z]="yMail";l[z]="LogIn-yMail.html";e[z]=1;
z+=1;t[z]="n-21 Online-Redaktionen";l[z]="LogIn-n-21-Online-Redaktionen.html";e[z]=1;
z+=1;t[z]="TAN-LogIN";l[z]="LogIn-yTAN.html";e[z]=1;
z+=1;t[z]="Lfde. ReNr.";l[z]="LogIn-yReNr.html";e[z]=1;
}
//----- Untermenue zu 'Sitemap' ---------------------------------------------------------------------
function fktI_Sitemap(){
NavMax=90;
NoS=2;
z+=1;t[z]="<b>whydata Home</b>";l[z]="index.html";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
fktI_Produkte();
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
fktI_Leistungen();
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
fktI_Firma();
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
fktI_Service();
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="Sitemap";l[z]="§§§";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
z+=1;t[z]="";l[z]="LZ";e[z]=0;
fktI_LogIn();
fktDoInhalt();
}
//----- Erstellen der Navigation ------------------------------------------------------------------
function fktDoInhalt(){
var strT = "";
for (i=1; i<NavMax; ++i){
if (t[i] != "")
{	//es ist ein menuepunkt vorhanden

	if (l[i] == "§§§")	//es gibt zu diesem Menuepunkt KEINEN Link
	{
		if (e[i] == 0){		//OHNE Einschub OHNE Link, fett - erste Spalte ist für mögl. 'roten' Punkt
		strT += "<tr><td class='y13'>&nbsp;</td><td class='y14' colspan='3'>" + t[i] + "</td></tr>";
		}
		if (e[i] == 1){		//einfacher Einschub OHNE Link
		strT += "<tr><td class='y13' colspan='2'>&nbsp;</td><td class='y13' colspan='2'>" + t[i] + "</td></tr>";
		}
		if (e[i] == 2){		//2facher Einschub OHNE Link
		strT += "<tr><td class='y13' colspan='3'>&nbsp;</td><td class='y13'>" + t[i] + "</td></tr>";
		}
	}
	else
	{	//es gibt zu diesem Menuepunkt EINEN Link

		if (e[i] == 0){		//kein Einschub, fett + Link
		strT += "<tr><td class='y13'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='3'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">";
		//Normaler Link oder Link für die Sitemap
		if (NoS==1){strT += "<A href='" + sS  + l[i] + "' class='inh'><b>" + t[i] + "</b></A></div></td></tr>"}
		else{strT += "<A href='#' onClick=\"return fktAuf('" + sS  + l[i] + "');\" class='inh'><b>"+ t[i] + "</b></A></div></td></tr>"};
		}
		if(e[i] == 1){		//einfacher Einschub + Link
		strT += "<tr><td class='y13' colspan='2' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='2'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">";
		if (NoS==1){strT += "<A href='" + sS  + l[i] + "' class='inh'>" + t[i] + "</A></div></td></tr>"}
		else{strT += "<A href='#' onClick=\"return fktAuf('" + sS  + l[i] + "');\" class='inh'>"+ t[i] + "</A></div></td></tr>"};
		}
		if(e[i] == 2){		//2facher Einschub + Link
		strT += "<tr><td class='y13' colspan='3' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">";
		if (NoS==1){strT += "<A href='" + sS  + l[i] + "' class='inh'>" + t[i] + "</A></div></td></tr>"}
		else{strT += "<A href='#' onClick=\"return fktAuf('" + sS  + l[i] + "');\" class='inh'>"+ t[i] + "</A></div></td></tr>"};
		}
	}
}
else
{
	if (l[i] == "LZ")	//LeerZeile
	{
		strT += "<tr><td class='y22' colspan='4'>&nbsp;</td></tr>";
	}
	if (l[i] == "Ext1")	//Apotheken-Notdienst
	{
		strT += "<tr><td class='y13' colspan='2' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='2'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">"
		+ "<A href='#' onClick=\"window.open('" + sS  + "y/yMed/apo.htm','ApoNot','width=320,height=400,Left=300,Top=300,status=no,scrollbars=no,resizable=no;titlebar=no;location=no');\" class='inh'>Apotheken-Notdienst</A></div></td></tr>";
	}
	if (l[i] == "Ext2")	//Veranstaltungen in Göttingen
	{
		strT += "<tr><td class='y13' colspan='2' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='2'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">"
		if (NoS==1){strT += "<A href='" + sS  + "yVeranstaltungen.html' class='inh'>Veranstaltungen</A></div></td></tr>"}
		else{strT += "<A href='#' onClick=\"return fktAuf('" + sS  + "yVeranstaltungen.html');\" class='inh'>Veranstaltungen</A></div></td></tr>"};
	}
	if (l[i] == "Ext3")	//eMail-Clients als PopUp
	{
		strT += "<tr><td class='y13' colspan='2' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='2'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">"
		+ "<A href='#' onClick=\"window.open('" + sS  + "Service_Mail_Programme/Service_Mail_Programme.html','MailProg','width=530,height=500,Left=210,Top=230,status=no,scrollbars=yes,resizable=no;titlebar=no;location=no');\" class='inh'>Mail-Programm einrichten</A></div></td></tr>";
	}
	if (l[i] == "Ext4")	//Aktuelles - Link zum TerminModul
	{
		strT += "<tr><td class='y13' colspan='2' align='right'><div id='I" + i + "' class='c1'> &#149;</div></td>"
		+ "<td class='y13' colspan='2'><div onMouseOver=\"I" + i + ".style.color=f1;\" onMouseOut=\"I" + i + ".style.color=f2;\">"
		if (NoS==1){strT += "<A href='" + sS  + "y/Termin/Termin_B_Uebersicht.asp?KNr=123&SW=DESC' class='inh'>Aktuelles</A></div></td></tr>"}
		else{strT += "<A href='#' onClick=\"return fktAuf('" + sS  + "y/Termin/Termin_B_Uebersicht.asp?KNr=123&SW=DESC');\" class='inh'>Aktuelles</A></div></td></tr>"};
	}
}
}
strT += "<tr><td class='y13' colspan='4' align='center'>"
+ "<br><br><img border='0' src='" + sS + "grafik/minus.gif' onClick=\"fktZoomOut();\" alt='kleiner'>"
+ " <a href='#' onClick=\"fktZoom();\" alt=\"Originalgrösse\">zoom</A> "
+ "<img border='0' src='" + sS + "grafik/plus.gif' onClick=\"fktZoomIn();\" alt='grösser'><br>"
+ "<br><font class='y18'>software<br>made in germany</font>"
+ "</td><tr>"
+ "";
document.write (strT);
}