if ((document.location.search=="?E") | ((location.pathname.indexOf("Engl")!=-1) & (document.location.search.indexOf("?")==-1)))
{l1=2;document.writeln('<a href="javascript:location.href=location.pathname+D"></a></center><br>');}
else
{l1=1;document.writeln('<a href="javascript:location.href=location.pathname+E"></a></center><br>');}
if(location.pathname.indexOf("Engl")==-1)
document.writeln('<center><a href="http://kfz-tech.de/Werbung/Doerfler2.htm"><font color=green><img src="http://www.kfz-tech.de/Bilder/Kfz-Technik/Werbung/Doerfler3.jpg" border="0" width="100" height="135"><br>Elektr. Bauteile</font></a></center><br><br>');

A=
"Licht|Licht|Lighting|Engl/|"+
"Beleuchtung|Beleuchtung 1|Lighting System 1|Engl/|"+
"Beleuchtung2|Beleuchtung 2|Lighting System 2|Engl/|"+
"BeleuchtungG|Geschichte|History|Engl/|"+
"SchaltBeleucht03|Simulation 1|Simulation 1|Engl/|"+
"SchaltBeleucht04|Simulation 2|Simulation 2|Engl/|"+
"SchaltStromflKontr|Simulation 3|Simulation 3|Engl/|"+
"Blinkanlage01|Simulation 4|Simulation 4|Engl/|"+
"Assistent|Nachtsicht|Night Sight|Engl/|"+
"Tagfahrlicht|Tagfahrlicht|Daytime Running Lamp|Engl/|"+
"SchaltZusatzl|Zusatzleuchten|Additional Lights|Engl/|"+
"Abblendlicht|Abblendlicht|Dipped Beam|Engl/|"+
"Fernlicht|Fernlicht|Main Beam|Engl/|"+
"DE-Scheinwerfer|DE-Scheinwerfer|Triple-axle Ellipsoid|Engl/|"+
"Gasentladungslampe|Xenonlampe 1|Xenon Light 1|Engl/|"+
"GasentladungslampeZ|Xenonlampe 2|Xenon Light 2|Engl/|"+
"Gluehlampe|Gl&uuml;hlampe|Light Bulb|Engl/|"+
"Halogenlampe|Halogenlampe|Halogen Light|Engl/|"+
"Stufenreflekt|Stufenreflektor|Stepped Reflector|Engl/|"+
"Leuchtweitenregelung|Leuchtweitenregelung|Headlamp Levelling|Engl/|"+
"WischWaschanlage|Wisch-Wasch-Anlage|Wipe and Wash|Engl/|"+
"AnhSteckd|Anh&auml;nger-Steckdose|Trailer Socket|Engl/|"+
"Leuchtdiode|Leuchtdiode|Light Emitting Diode|Engl/|"+
"LEDLeuchten|LED-Leuchten|LED Lamps|Engl/|"+
"LEDScheinwerfer|LED-Scheinwerfer|LED Headlamps|Engl/|"+
"Blinkgeber|Blinkgeber|Indicator Flasher|Engl/|"+
"LEDSchaltung|Schaltung LED|LED|Engl/|"+
"LEDFSchaltung|Schaltung Fotodiode|Photo LED|Engl/|"+
"Test/Elektronik01|<font color=GREEN>Elektronik (20 Aufg.)</font>|<font color=GREEN>Electronics (20 tasks)</font>|Engl/|"+
"Test/Beleuchtung01|<font color=GREEN>Beleuchtung (20 Aufg.)</font>|<font color=GREEN>Lighting System (20 tasks)</font>|Engl/|"+
"Test/Lichtanlage1|<font color=GREEN>Lichtanlage 1 (20 Aufg.)</font>|<font color=GREEN>Lighting System 1</font>||"+
"Test/Lichtanlage2|<font color=GREEN>Lichtanlage 2 (20 Aufg.)</font>|<font color=GREEN>Lighting System 2 (20 tasks)</font>||"+
"Test/Lichtanlage3|<font color=GREEN>Lichtanlage 3 (20 Aufg.)</font>|<font color=GREEN>Lighting System 3 (20 tasks)</font>||"+
"Test/Stromlaufplan|<font color=GREEN>Stromlaufplan (20 Aufg.)</font>|<font color=GREEN>Wiring Diagram (20 tasks)</font>||"+
"Test/Wahrgenommenwerden01|<font color=GREEN>Wahrgenommen werden<br> &nbsp; &nbsp; (36 Aufg.)</font>|<font color=GREEN>Being noticed (36 tasks)</font>|Engl/|"+
"";
C="";E=location.pathname.split("/");
B=A.split("|");
D=l1=1; if(location.pathname.indexOf("Engl")!=-1)l1=2;
for (var l=0;l<B.length-4;l=l+4){
T=location.href.split("/");
if(T[T.length-1].substring(0,T[T.length-1].indexOf("."))==B[l])B[l+l1]="<font color=RED>"+B[l+l1]+"</font>";
if(l1==1)B[l]="/"+B[l];else{B[l]="/Engl/"+B[l];}
if((B[l+3]=='Engl/')|(l1==1))C+='<a class=button href="'+B[l]+'.htm"> '+B[l+l1]+'</a>';}
document.writeln('<br>'+C);
