// Inhalte von L_Techn --> wird spaeter in JS gebraucht
var arr_Techn = new Array("Please select a technology","PROFIBUS DP","PROFIBUS PA","S7/S5 Communication","CAN/CANopen/DeviceNet","OPC","FDT/DTM","FOUNDATION fieldbus","Real-Time Ethernet");

// Inhalte von L_Prodgr
var arr_Prodgr = new Array(
					new Array("Please select a Product group"),
/* PB */          	new Array("Please select a Product group","Interface Cards / Drivers","Gateways","Diagnostic Tools","Configuration Tools","Servers","Device Parameterization"),
/* PB PA */        	new Array("Please select a Product group","Device Integration","Diagnostic Tools"),
/* S7/S5 */        	new Array("Please select a Product group","NETLink PRO","S5-PCLink"),
/* CAN */			new Array("Please select a Product group","Interface Cards CAN / Drivers","Interface Cards CANopen","Interface Cards DeviceNet","Gateways","Diagnostic Tools"),
/* OPC */			new Array("Please select a Product group","OPC Easy Connect Suite","OPC Toolkits Classic (C++, .NET, ActiveX)","OPC Toolkits UA (Windows, VxWorks)","OPC Servers","OPC Demo Client und Demo Server","White Paper","Webinars"),
/* FDT */			new Array("Please select a Product group","System DTMs"),
/* FF */			new Array("Please select a Product group","Device Integration","Gateways","Configuration Tools","Interface Cards"),
/* RTE */			new Array("Please select a Product group","Device Integration")
					);

// Inhalte von L_Prods
var arr_Prods = new Array(
					new Array( // ab hier alle Profibus-Produkte
                  		new Array("Please select a product"),
/* PB-Karten */      	new Array("Please select a product","PBpro PCI and PC/104plus boards (1- and 2 channels, master/slave)","PBpro PCI and PC/104plus boards (1-channel, slave)","PBpro PCI Express boards (1- and 2 channels, master/slave)","PBpro PCI Express boards (1-channel, slave)","PROFIcard2 PC Card (PCMCIA card, type II, 1-channel, master)","PROFIusb USB interface  (1-channel, master)","PROFIboard PC/104 (1-channel, master/slave)","PROFIboard PC/104 extended temperature range (1-channel, master)","PROFIboard PC/104 (1-channel, slave)","PROFIboard PCI (1- and 2-channel, master/slave)","PROFIboard PCI (1-channel, slave)","PROFIboard ISA (1-channel, master/slave)"),
/* Gateways */			new Array("Please select a product","PROFIBUS/Ethernet 1-channel","PROFIBUS/Ethernet 2-3 channel"),
/* Diagnose */			new Array("Please select a product","PROFIBUS Diagnostics Suite (PB-DIAG-SUITE)","PROFIBUS Tester 4 (BC-600-PB)","PROFIBUS DP+PA Protocol Analyzers (BC-4x0-PB)","PROFIBUS Inspektor (BC-502-PB)","PROFIBUS Tester 3 (PB-T3)","PROFIBUS Tester 3 - prior PC SW, multilingual"),
/* Konfig */			new Array("Please select a product","DP Configurator"),
/* Server */			new Array("Please select a product","PB OPC Server"),
/* Parametr */			new Array("Please select a product","PROFIdtm")
						),
                  	new Array( // ab hier alle Profibus-PA-Produkte
                  		new Array("Please select a product"),
/* DeviceIntegration */	new Array("Please select a product","Fieldbus ASIC UFC100-F1"),
/* Diagnose */			new Array("Please select a product","PROFIBUS Diagnostics Suite (PB-DIAG-SUITE)","PROFIBUS DP+PA Protocol Analyzers (BC-4x0-PB)","PROFIBUS PA Diagnostic Monitor (BC-230-PB)")
             	  		),
                  	new Array( // ab hier alle S7/S5-Produkte
                  		new Array("Please select a product"),
/* NETLink PRO */		new Array("Please select a product","NETLink PRO/USB","NETLink PRO/Ethernet"),
/* S5-PCLink */			new Array("Please select a product","S5-PCLink")
             	  		),
                  	new Array( // ab hier alle CAN-Produkte
                  		new Array("Please select a product"),
/* CAN-Karten */	    new Array("Please select a product","PCI (1-channel)","PCI (2-channel)","PCI Express (1-channel)","PCI Express (2-channel)","PC/104plus (1-channel)","PC/104plus (2-channel)","PC/104 (1-channel)","PC/104 (2-channel)","PC Card (2-channel)","USB","PC/104 OEM (1- or 2-channel)","ISA"),
/* CANopen-Karten */	new Array("Please select a product","CANopen API","PCI","PC/104","PC Card"),
/* DeviceNet-Karten */  new Array("Please select a product","DeviceNet API"),
/* Gateways */			new Array("Please select a product","FG-100 CAN"),
/* Diagnose */			new Array("Please select a product","CAN Tester","X-Analyser")
             	  		),
                 	new Array( // ab hier alle OPC-Produkte
                 		new Array("Please select a product"),
/* Easy Connect */     	new Array("Please select a product","OPC Easy Connect Suite"),
/* Toolkits Classic */	new Array("Please select a product","OPC Toolbox (C++, .NET, Windows, Linux), V4.22","OPC Toolbox (Windows CE) V4.10","OPC Toolbox ActiveX"),
/* Toolkits UA */		new Array("Please select a product","OPC Toolbox UA (Windows), V5.00","OPC Toolbox UA (VxWorks 6.7, PPC), V5.00"),
/* Server */			new Array("Please select a product","S7/S5 OPC Server","PROFIBUS OPC Server","Modbus/TCP OPC Server","OPC Demo Server"),
/* Demos */				new Array("Please select a product","OPC Demo Client","OPC Demo Server"),
/* OPC Middleware */	new Array("Please select a product","OPC Middleware Products"),
/* Webinare */			new Array("Please select a product","OPC UA")
                 		),
                 	new Array( // ab hier alle FDT-Produkte
                 		new Array("Please select a product"),
/* System */         	new Array("Please select a product","PROFIdtm","HSEdtm","LDdtm")
                 		),
                 	new Array( // ab hier alle FF-Produkte
                  		new Array("Please select a product"),
/* Integration */     	new Array("Please select a product","Fieldbus Kit (FBK)","Medium Attachment Unit (MAU)","Fieldbus ASIC UFC100-F1"),
/* Gateways */			new Array("Please select a product","FF-H1/HSE Linking Device (FG-100 FF/HSE)","FF-H1/Modbus/TCP Gateway (FG-100 FF/M)"),
/* Konfiguration */		new Array("Please select a product","FF/HSE Configurator","FF Configuration and Integration Toolset (FF-CIT)"),
/* Interfaces */		new Array("Please select a product","FFusb API")
                 		),
                 	new Array( // ab hier alle RTE-Produkte
                  		new Array("Please select a product"),
/* FPGA */     			new Array("Please select a product","Altera FPGA based","Industrial Ethernet Module")
                 		)
           			);

// Inhalte von L_Dwnlds
var arr_Dwnlds = new Array(
					new Array( // PROFIBUS
                  		new Array( // ab hier alle Downloads zu den PB-Karten
                     		new Array("Please select a download form"),
/* D zu PB PRO MS */		new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.6","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),							
/* D zu PB PRO S */     	new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.6","Programming sample DP-Slave for VB","GSD files"),
/* D zu PB PRO EX MS */		new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),							
/* D zu PB PRO EX S */     	new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Programming sample DP-Slave for VB","GSD files"),
/* D zu PCCard */			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API V5.27","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),
/* D zu USB */				new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),
/* D zu PC/104 MS */		new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","DOS API for DP-Slave 1.20","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),
/* D zu PC/104 M*/			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Free PROFIdtm V2.11"),
/* D zu PC/104 S*/			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","DOS API for DP-Slave 1.20","Programming sample DP-Slave for VB","GSD files"),
/* D zu PCI MS */			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files"),
/* D zu PCI S */			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Programming sample DP-Slave for VB","GSD files"),
/* D zu ISA */				new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Driver Win 9.x, NT, Me and API 5.27","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","DOS API for DP-Slave 1.20","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files")
                     		),
                     	new Array( // ab hier alle Downloads zu den PB-Gateways
                     		new Array("Please select a download form"),
/* Ethern. 1k */			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Sample source code: control of FG-x00-PB over TCP/IP sockets","Free PROFIdtm V2.11"),
/* Ethern. 1-3k */			new Array("Please select a download form","Driver, API, manual and programming samples for Windows 7/Vista/XP/2000 V5.45","Interactive Testmaster - PROFI Commissioner","Programming sample DP-Slave for VB","Programming sample DP-Master for VB","Driver for STEP7 and PDM","GSD files","Sample source code: control of FG-x00-PB over TCP/IP sockets","Free PROFIdtm V2.11")
							),
                     	new Array( // ab hier alle Downloads zu PB-Diagnose
                     		new Array("Please select a download form"),
/* DIAG-Suite */			new Array("Please select a download form","Installation CD incl. PB-T3 file viewer","Manual 'Erste Schritte', German","Manual 'Getting Started', English"),
/* Tester 4 */				new Array("Please select a download form","Manual, German","Manual, English"),
/* Protokoll Analyzer */	new Array("Please select a download form","Manual, German","Manual, English"),
/* Inspektor */				new Array("Please select a download form","Manual, German","Manual, English"),
/* Tester 3 */				new Array("Please select a download form","Manual, German","Manual, English"),
/* Tester 3, v1 */			new Array("Please select a download form","Installation CD","Manual, German","Manual, English","Manual, French","Manual Italian","Manual, Chinese")
							),
                     	new Array( // ab hier alle Downloads zu PB-Konfig
                     		new Array("Please select a download form"),
/* DP-Konfig */				new Array("Please select a download form","Configuration Tool Demo","Configuration Tool Documentation")
							),
                     	new Array( // ab hier alle Downloads zu PB-Server
                     		new Array("Please select a download form"),
/* PB-OPC */				new Array("Please select a download form","Demo OPC Server and Configurator V2.24 (21 MB; run time max. 15 min)")
							),
                     	new Array( // ab hier alle Downloads zu PB-Parametrierung
                     		new Array("Please select a download form"),
/* PROFIdtm */				new Array("Please select a download form","Demo PROFIdtm V2.10 (run time 30 days)")
							)
                  		),
                 	new Array( // PROFIBUS PA
                 		new Array( // ab hier alle Downloads zu System
                  			new Array("Please select a download form"),
/* UFC100-F1 */      		new Array("Please select a download form","Data Sheet")
                  			),
                     	new Array( // ab hier alle Downloads zu Diagnose
                     		new Array("Please select a download form"),
/* DIAG-Suite */			new Array("Please select a download form","Installation CD","Manual 'Erste Schritte', German","Manual 'Getting Started', English"),
/* Protokoll Analyzer */	new Array("Please select a download form","Manual, German","Manual, English"),
/* Diagnose Monitor */		new Array("Please select a download form","Manual, German","Manual, English")
                  			)
                 		),
                 	new Array( // S7/S5 Communication
                 		new Array( // ab hier alle Downloads zu NETLink PRO
                  			new Array("Please select a download form"),
/* NETLink PRO/USB */      	new Array("Please select a download form","NETLink PRO (ETH and USB) Driver","NETLink PRO USB Manual"),
/* NETLink PRO/ETH */		new Array("Please select a download form","NETLink PRO (ETH and USB) Driver","NETLink PRO ETH Manual")
                  			),
                 		new Array( // ab hier alle Downloads zu S5-PCLink
                  			new Array("Please select a download form"),
/* S5-PCLink */				new Array("Please select a download form","S5-PCLink Manual")
                  			)
                 		),
                  	new Array( // CAN
                  		new Array( // ab hier alle Downloads zu CAN-Karten
                     		new Array("Please select a download form"),
/* PCI 1k */            	new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Ardence RTX V4.10","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Programming sample with VB 6","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Demo CANopen API V1.21 for Win 9.x, NT, 2000, XP","Manual CANopen API V1.21","Programming sample CANopen API with VB 6"),
/* PCI 2k */				new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Ardence RTX V4.10","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Programming sample with VB 6","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Demo CANopen API V1.21 for Win 9.x, NT, 2000, XP","Manual CANopen API V1.21","Programming sample CANopen API with VB 6"),
/* PCI Express 1k */        new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Linux for Kernel 2.6","AddOn Lean CANopen API (part of Windows driver setup V5.16)"),
/* PCI Express 2k */		new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Linux for Kernel 2.6","AddOn Lean CANopen API (part of Windows driver setup V5.16)"),
/* PC/104plus 1k */        	new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Windows Embedded CE 6.0 (x86)","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Driver Linux for Kernel 2.6"),
/* PC/104plus 2k */        	new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Windows Embedded CE 6.0 (x86)","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Driver Linux for Kernel 2.6"),
/* PC/104 1k */				new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Ardence RTX V4.10","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Driver for DOS","Programming sample with VB 6","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Demo CANopen API V1.21 for Win 9.x, NT, 2000, XP","Manual CANopen API V1.21","Programming sample CANopen API with VB 6"),
/* PC/104 2k */				new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Ardence RTX V4.10","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Win CE .NET 5.0","Driver Windows Embedded CE 6.0 (x86)","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Driver for DOS","Programming sample with VB 6","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Demo CANopen API V1.21 for Win 9.x, NT, 2000, XP","Manual CANopen API V1.21","Programming sample CANopen API with VB 6"),
/* PCCard 2k */				new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Ardence RTX V4.10","Driver Win CE .NET 4.0","Driver Win CE .NET 4.1","Driver Win CE .NET 4.2","Driver Windows Embedded CE 6.0 (x86)","Driver iPAQ PocketPC","Driver Linux for Kernel 2.4","Driver Linux for Kernel 2.6","Programming sample with VB 6","Programming sample CAN-Interfaces with LabView 6.0","Programming sample CAN-Interfaces with Delphi","AddOn Lean CANopen API (part of Windows driver setup V5.16)","Demo CANopen API V1.21 for Win 9.x, NT, 2000, XP","Manual CANopen API V1.21","Programming sample CANopen API with VB 6"),
/* USB */					new Array("Please select a download form","Driver, manual, CAN API, LeanCANopen and programming samples Windows 7/Vista/XP/2000 V5.16 SP1","Driver Windows Embedded CE 6.0 (x86)","Driver Windows Embedded CE 6.0 (ARM/XScale)","Programming sample with VB 6","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)"),
/* PC/104 OEM 1-2k */		new Array("Please select a download form","Driver Windows Embedded CE 6.0 (x86)","Further information"),
/* ISA */					new Array("Please select a download form","Driver for Win NT, DOS V4.05")
							),
                     	new Array( // ab hier alle Downloads zu CANopen-Karten
                     		new Array("Please select a download form"),
/* Canopen */           	new Array("Please select a download form","CANopen API Demo for Win 9.x, NT, 2000, XP V1.21","CANopen API manual V1.21","Programming sample CANopen API with VB 6","AddOn Lean CANopen API (part of Windows driver setup V5.16)","AddOn LeanCANopen API (Linux Kernel 2.6)"),
/* OPN PCI */				new Array("Please select a download form","CANopen API Demo for Win 9.x, NT, 2000, XP V1.21","CANopen API manual V1.21","Programming sample CANopen API with VB 6"),
/* OPN PC/104 */			new Array("Please select a download form","CANopen API Demo for Win 9.x, NT, 2000, XP V1.21","CANopen API manual V1.21","Programming sample CANopen API with VB 6"),
/* OPN PC Card */			new Array("Please select a download form","CANopen API Demo for Win 9.x, NT, 2000, XP V1.21","CANopen API manual V1.21","Programming sample CANopen API with VB 6")
							),
                     	new Array( // ab hier alle Downloads zu DeviceNet-Karten
                     		new Array("Please select a download form"),
/* DeviceNet */         	new Array("Please select a download form","Demo for Win 9.x, NT, 2000, XP V2.00","Updated DeviceNet sample programs","Manual V2.00")
							),
                     	new Array( // ab hier alle Downloads zu CAN-Gateways
                     		new Array("Please select a download form"),
/* FG-100 */            	new Array("Please select a download form","Programming sample CAN-Interfaces with Delphi","Programming sample CAN-Interfaces with LabView 6.0","AddOn Lean CANopen API (part of Windows driver setup V5.16)")
							),
                     	new Array( // ab hier alle Downloads zu CAN-Diagnose
                     		new Array("Please select a download form"),
/* Tester */            	new Array("Please select a download form","Software for BC-200-CAN and BC-200-CAN/DN V3.0.1.0"),
/* Analyser */				new Array("Please select a download form","Demo for CAN, CANopen, DeviceNet","Manual","Appetizer")
                     		)
                 		),
                 	new Array( // OPC
                 		new Array( // ab hier alle Downloads zu OEC Suite
                  			new Array("Please select a download form"),
/* Easy Connect */        	new Array("Please select a download form","Demo OPC Easy Connect Suite, V1.44 (24 MB, run time max. 90 min)")
							),
                  		new Array( // ab hier alle Downloads zu Toolkits Classic
                  			new Array("Please select a download form"),
/* .NET, C++, Lin, V4.20 */	new Array("Please select a download form","Demo OPC Toolbox, V4.22 (runtime max. 90 min)","OPC Test and Demo Client, V4.22 (runtime unlimited)","OPC Test and Demo Server, V4.22 (runtime unlimited)","Getting Started - PDF (V4.20)"),
/* Windows CE, V4.10 */		new Array("Please select a download form","Demo OPC C++ Toolbox, V4.10 (runtime max. 15 min)","Getting Started - PDF (V4.10)"),
/* ActiveX */				new Array("Please select a download form","Demo OPC Toolbox ActiveX DA+AE, V3.20 (runtime max. 90 min)","OPC Test and Demo Client, V4.22 (runtime unlimited)","OPC Test and Demo Server, V4.22 (runtime unlimited)","Getting Started - PDF (V4.20)")
							),
                  		new Array( // ab hier alle Downloads zu Toolkits UA
                  			new Array("Please select a download form"),
/* Windows */				new Array("Please select a download form","Demo OPC Toolbox UA (Windows), V5.00"),
/* VxWorks */				new Array("Please select a download form","Demo OPC Toolbox UA (VxWorks 6.7, PPC), V5.00")
							),
                  		new Array( // ab hier alle Downloads zu den Servern
                  			new Array("Please select a download form"),
/* S7 */					new Array("Please select a download form","Demo S7/S5 OPC Server, V4.00 (87 MB, run time max. 90 min)","OPC Test and Demo Client, V4.22 (runtime unlimited)","Getting Started - PDF"),
/* PB */					new Array("Please select a download form","OPC Test and Demo Client, V4.22 (runtime unlimited)","Demo OPC Server and Configurator V2.24 (21 MB; run time max. 15 min)","Getting Started - PDF"),
/* ModbusTCP */				new Array("Please select a download form","Demo Modbus/TCP OPC Server, V2.1 (75 MB, run time max. 90 min)","Getting Started - PDF"),
/* Demo Server */			new Array("Please select a download form","OPC Test and Demo Server, V4.22 (runtime unlimited)")							
							),
						new Array( // ab hier alle Downloads zu den Demos
							new Array("Please select a download form"),
/* Demo Client */			new Array("Please select a download form","OPC Test and Demo Client, V4.22 (runtime unlimited)"),
/* Demo Server */			new Array("Please select a download form","OPC Test and Demo Server, V4.22 (runtime unlimited)")
							),
						new Array( // ab hier alle Downloads zu den Whitepapers
							new Array("Please select a download form"),
/* OPC Middleware */		new Array("Please select a download form","Optimizing OPC Communications")
							),
						new Array( // ab hier alle Downloads zu den Webinaren
							new Array("Please select a download form"),
/* Webinare */				new Array("Please select a download form","Ten Reasons for OPC Unified Architecture","New Automation Concepts with OPC UA","Reducing OPC UA Development Effort")
							)
                 		),
                 	new Array( // FDT
                 		new Array( // ab hier alle Downloads zu System
                  			new Array("Please select a download form"),
/* PROFIdtm */      		new Array("Please select a download form","Free PROFIdtm V2.11"),
/* HSEdtm */      			new Array("Please select a download form","Demo HSEdtm"),
/* LDdtm */      			new Array("Please select a download form","Demo LDdtm")
                  			)
                 		),
				 	new Array( // FF
                 		new Array( // ab hier alle Downloads zu Integration
                  			new Array("Please select a download form"),
/* FBK */        			new Array("Please select a download form","Device Descriptions FBK Testdevice","FBK-StarterKit Manual","FBK Short Specification"),
/* MAU */					new Array("Please select a download form","MAU Short Specification"),
/* UFC100-F1 */      		new Array("Please select a download form","Data Sheet")
							),
                  		new Array( // ab hier alle Downloads zu Gateways
                  			new Array("Please select a download form"),
/* FF/HSE */				new Array("Please select a download form","FG-100 FF/HSE Manual V1.16"),
/* FF/M */					new Array("Please select a download form","FG-100 FF/M Documentation V1.00","Device Description")
							),
                  		new Array( // ab hier alle Downloads zu Konfiguration
                  			new Array("Please select a download form"),
/* FF/HSE Konf */			new Array("Please select a download form","How to use FF-HSE Configurator","Release Notes V3.11","NI-FBUS for Softing Upgrade V3.1.1."),
/* FF-CIT */				new Array("Please select a download form","FF-CIT Compact Specification")
							),
                  		new Array( // ab hier alle Downloads zu Interfaces
                  			new Array("Please select a download form"),
/* FFusb */					new Array("Please select a download form","FFusb API - Interface Description")
							)
                 		),
				 	new Array( // RTE
                 		new Array( // ab hier alle Downloads zu FPGA
                  			new Array("Please select a download form"),
/* Video */					new Array("Please select a download form","Video 'RTE protocol integration with Altera FPGA'","Demo software for Industrial Networking Kit 'INK'"),
/* IE Module */				new Array("Please select a download form","Evaluation Kit - Getting Started","Evaluation Kit - Manual","ComBoard - Hardware User Manual","ComBoard - Hardware Interface with GPIO","ComBoard - Hardware Interface with Dual Ported RAM ","ComBoard - Simple Device Application Interface","ComBoard - Sample application")
							)
						)
              		);

// Values zu arr_Dwnlds
var arr_Values = new Array(
					new Array( // PROFIBUS
                  		new Array( // ab hier alle Values zu den PB-Karten
                     		new Array(""),
/* V zu PB PRO MS */		new Array("","pbdmk","pb_win_em_ce60_x86","pb_board_li_v26","pb_commi","dpsvb","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu PB PRO S */			new Array("","pbdmk","pb_win_em_ce60_x86","pb_board_li_v26","dpsvb","gsd"),
/* V zu PB PRO EX MS */		new Array("","pbdmk","pb_commi","dpsvb","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu PB PRO EX S */		new Array("","pbdmk","dpsvb","gsd"),
/* V zu PCCard */			new Array("","pbdmk","pbdmk_v527","pb_commi","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu USB */				new Array("","pbdmk","pb_commi","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu PC/104MS */			new Array("","pbdmk","pbdmk_v527","pbwin40","pbwin41","pbwin42","pbwin50","pb_win_em_ce60_x86","pb_board_li","pb_board_li_v26","pbdmk_dos","pb_commi","dpsvb","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu PC/104M */			new Array("","pbdmk","pbdmk_v527","pbwin40","pbwin41","pbwin42","pbwin50","pb_win_em_ce60_x86","pb_board_li","pb_board_li_v26","pb_commi","dpmvb","step7","gsd","profi_dtm_e"),
/* V zu PC/104S */			new Array("","pbdmk","pbdmk_v527","pbwin40","pbwin41","pbwin42","pbwin50","pb_win_em_ce60_x86","pb_board_li","pb_board_li_v26","pbdmk_dos","dpsvb","gsd"),
/* V zu PCI MS */     		new Array("","pbdmk","pbdmk_v527","pb_board_li","pb_board_li_v26","pb_commi","dpsvb","dpmvb","step7","gsd"),
/* V zu PCI S */			new Array("","pbdmk","pbdmk_v527","pb_board_li","pb_board_li_v26","dpsvb","gsd"),
/* V zu ISA */				new Array("","pbdmk","pbdmk_v527","pb_board_li","pb_board_li_v26","pbdmk_dos","pb_commi","dpsvb","dpmvb","step7","gsd")
                     		),
                     	new Array( // ab hier alle Values zu den PB-Gateways
							new Array(""),
/* Ethernet 1k */			new Array("","pbdmk","pb_commi","dpsvb","dpmvb","step7","gsd","socket","profi_dtm_e"),
/* Ethernet 1-3k */			new Array("","pbdmk","pb_commi","dpsvb","dpmvb","step7","gsd","socket","profi_dtm_e")
							),
                     	new Array( // ab hier alle Values zu PB-Diagnose
                        	new Array(""),
/* DIAG-Suite */			new Array("","diag_suite_installation","diag_suite_hb_de","diag_suite_hb_en"),
/* Tester 4 */				new Array("","tester4_hb_de","tester4_hb_en"),
/* Protokoll Analyzer */	new Array("","proto_analyzer_hb_de","proto_analyzer_hb_en"),
/* Inspektor */				new Array("","inspektor_hb_de","inspektor_hb_en"),
/* Tester 3 */				new Array("","tester3_v2_hb_de","tester3_v2_hb_en"),
/* Tester 3, v1 */			new Array("","tester3_v1_installation","tester3_v1_hb_de","tester3_v1_hb_en","tester3_v1_hb_fr","tester3_v1_hb_it","tester3_v1_hb_cn")
							),
                    	new Array( // ab hier alle Values zu PB-Konfig
                     		new Array(""),
/* DP-Konfig */ 		   	new Array("","dpkonexe","dpkondoc")
                     		),
                     	new Array( // ab hier alle Values zu PB-Server
                     		new Array(""),
/* PB-OPC */            	new Array("","opc_pb_en"),
/* PB-S7 */             	new Array("","s7_opc_en")
                     		),
                     	new Array( // ab hier alle Values zu PB-Parametrierung
                     		new Array(""),
/* PROFIdtm */          	new Array("","profi_dtm_e")
                     		)
                  		),
                 	new Array( // PROFIBUS PA
                  		new Array( // ab hier alle Values zu UFC100-F1
                     		new Array(""),
/* UFC100-F1 */          	new Array("","ff_ufc_data")
                     		),
                     	new Array( // ab hier alle Values zu Diagnose
                     		new Array(""),
/* DIAG-Suite */			new Array("","diag_suite_installation","diag_suite_hb_de","diag_suite_hb_en"),
/* Protokoll Analyzer */	new Array("","proto_analyzer_hb_de","proto_analyzer_hb_en"),
/* Diagnose Monitor */		new Array("","pa_diag_monitor_hb_de","pa_diag_monitor_hb_en")
                     		)
                  		),
                  	new Array( // S7/S5 Communication
                  		new Array( // ab hier alle Values zu NETLink PRO
                     		new Array(""),
/* NETLink PRO/USB */      	new Array("","netl_pro_dr_en","netl_pro_usb_man_en"),
/* NETLink PRO/ETH */		new Array("","netl_pro_dr_en","netl_pro_eth_man_en")
                     		),
                     	new Array( // ab hier alle Values zu S5-PCLink
                     		new Array(""),
/* S5-PCLink */          	new Array("","pclink_man_en")
                     		)
                  		),
                  	new Array( // CAN
                  		new Array( // ab hier alle Values zu den CAN-Karten
                     		new Array(""),
/* PCI 1k */            	new Array("","l2_usbpci","l2_pci_rtx","canwin40","canwin41","canwin42","canwin50","canwin_em_ce60_x86","l2_pci_li","l2_pci_li_v26","ACPCIVB6","CANinterDelphi","CANinterLV6","lean_canopen","cma_sw","cma_man","CANopenAPIVB6"),
/* PCI 2k */				new Array("","l2_usbpci","l2_pci_rtx","canwin40","canwin41","canwin42","canwin50","canwin_em_ce60_x86","l2_pci_li","l2_pci_li_v26","ACPCIVB6","CANinterDelphi","CANinterLV6","lean_canopen","cma_sw","cma_man","CANopenAPIVB6"),
/* PCI Express 1k */       	new Array("","l2_usbpci","l2_pci_e_li_v26","lean_canopen"),
/* PCI Express 2k */		new Array("","l2_usbpci","l2_pci_e_li_v26","lean_canopen"),
/* PC/104plus 1k */        	new Array("","l2_usbpci","canwin_em_ce60_x86","lean_canopen","l2_104plus_li_v26"),
/* PC/104plus 2k */        	new Array("","l2_usbpci","canwin_em_ce60_x86","lean_canopen","l2_104plus_li_v26"),
/* PC/104 1k */				new Array("","l2_usbpci","l2_pci_rtx","canwin40","canwin41","canwin42","canwin50","canwin_em_ce60_x86","l2_104_li","l2_104_li_v26","ac104dos","AC104VB6","CANinterDelphi","CANinterLV6","lean_canopen","cma_sw","cma_man","CANopenAPIVB6"),
/* PC/104 2k */				new Array("","l2_usbpci","l2_pci_rtx","canwin40","canwin41","canwin42","canwin50","canwin_em_ce60_x86","l2_104_li","l2_104_li_v26","ac104dos","AC104VB6","CANinterDelphi","CANinterLV6","lean_canopen","cma_sw","cma_man","CANopenAPIVB6"),
/* PCCard */				new Array("","l2_usbpci","l2_pci_rtx","canwin40","canwin41","canwin42","canwin_em_ce60_x86","canipqe","l2_card_li","l2_card_li_v26","CANcrdVB6","CANinterLV6","CANinterDelphi","lean_canopen","cma_sw","cma_man","CANopenAPIVB6"),
/* USB */					new Array("","l2_usbpci","canwin_em_ce60_x86","canwin_em_ce60_arm","CANusbVB6","CANinterDelphi","CANinterLV6","lean_canopen"),
/* PC/104 OEM */			new Array("","canwin_em_ce60_x86","pc104_oem_info"),
/* ISA */					new Array("","l2_ac2isa")
							),
                     	new Array( // ab hier alle Values zu CANopen-Karten
                     		new Array(""),
/* CANopen */           	new Array("","cma_sw","cma_man","CANopenAPIVB6","lean_canopen","lean_canopen_li_v26"),
/* OPN PCI */           	new Array("","cma_sw","cma_man","CANopenAPIVB6"),
/* OPN PC/104 */        	new Array("","cma_sw","cma_man","CANopenAPIVB6"),
/* OPN PC Card */       	new Array("","cma_sw","cma_man","CANopenAPIVB6")
                     		),
                     	new Array( // ab hier alle Values zu DeviceNet-Karten
                     		new Array(""),
/* DeviceNet */         	new Array("","dma_sw","dn_sample","dma_man")
                     		),
                     	new Array( // ab hier alle Values zu CAN-Gateways
                     		new Array(""),
/* FG-100 */            	new Array("","CANinterDelphi","CANinterLV6","lean_canopen")
                     		),
                     	new Array( // ab hier alle Values zu CAN Diagnose
                     		new Array(""),
/* Tester */            	new Array("","can_tester"),
/* X-Analyser */			new Array("","xan_demo","xan_man","xan_app")
                     		)
                  		),
                  	new Array( // OPC
                  		new Array( // ab hier alle Values zu OEC Suite
                     		new Array(""),
/* Easy Connect */			new Array("","octen")
							),
                     	new Array( // ab hier alle Values zu Toolkits Classic
                     		new Array(""),
/* .NET, C++, Lin, V4.20 */	new Array("","opc_tbx","opcdc","opcds","opc_tbx_gs_v420"),
/* Win CE, V4.10 */			new Array("","opccplusen","opc_tbx_gs_v410"),
/* Active */				new Array("","opccontrolsen","opcdc","opcds","opc_tbx_gs_v420")
			 				),
                     	new Array( // ab hier alle Values zu Toolkits UA
                     		new Array(""),
/* Windows */				new Array("","opc_tbx_ua_win"),
/* VxWorks */				new Array("","opc_tbx_ua_vxworks")
			 				),
                     	new Array( // ab hier alle Values zu Servern
                     		new Array(""),
/* S7 */					new Array("","s7_opc_en","opcdc","opc_server_gs"),
/* PB */					new Array("","opcdc","opc_pb_en","opc_server_gs"),
/* ModbusTCP */				new Array("","opcmodbustcpen","opc_server_gs"),
/* Demo Server */			new Array("","opcds")
							),
						new Array( // ab hier alle Values zu Demos
							new Array(""),
/* Demo Client */			new Array("","opcdc"),
/* Demo Server */			new Array("","opcds")
							),
						new Array( // ab hier alle Values zu Whitepapers
							new Array(""),
/* OPC Middleware */		new Array("","opc_middleware_en")
							),
						new Array( // ab hier alle Values zu Webinare
							new Array(""),
/* Webinare */				new Array("","opc_web_1_1","opc_web_1_1","opc_web_1_1")
							)
                  		),
                 	new Array( // FDT
                  		new Array( // ab hier alle Values zu System
                     		new Array(""), 
/* PROFIdtm */          	new Array("","profi_dtm_e"),
/* HSEdtm */      			new Array("","hse_dtm_e"),
/* LDdtm */      			new Array("","ld_dtm_e")
                     		)
                  		),
				 	new Array( // FF
                 		new Array( // ab hier alle Values zu Integration
                  			new Array(""),
/* FBK */        			new Array("","fbk_description","fbk_starterkit","fbk_short_spec"),
/* MAU */					new Array("","mau_short_spec"),
/* UFC100-F1 */				new Array("","ff_ufc_data")
							),
                  		new Array( // ab hier alle Values zu Gateways
                  			new Array(""),
/* FF/HSE */				new Array("","fg_ff_hse_man"),
/* FF/M */					new Array("","fg_ff_m_docu","fg_ff_m_description")
							),
                  		new Array( // ab hier alle Values zu Konfiguration
                  			new Array(""),
/* FF/HSE Konf */			new Array("","ff_hse_conf_howto","ff_hse_conf_notes_v311","ff_hse_upgr_v311"),
/* FF-CIT */				new Array("","ff_cit_spec")
							),
                  		new Array( // ab hier alle Values zu Interfaces
                  			new Array(""),
/* FFusb API */				new Array("","ff_usb_api")
							)
                 		),
                 	new Array( // RTE
                  		new Array( // ab hier alle Values zu RTE
                     		new Array(""), 
/* Video */          		new Array("","altera_movie","altera_ink"), 
/* IE Module */        		new Array("","ev_kit_gs","ev_kit_man","cb_hwum","cb_gpio","cb_dual_port_ram","cb_device_app","cb_sample_app")
                     		)
                  		)
              		);

/* Browser-Pruefung  */
    function getDOM () {
        if (document.getElementById) {
            var DOM = "W3C";
        }
        if (document.all && !document.getElementById) {
            var DOM = "IE"; // IE 5
        }
        return DOM;
    }

function Techn_Laden(T,G,P) {
   L1_Index = T;
   L2_Index = G;
   L3_Index = P;
   if(L1_Index == 0 && L2_Index == 0 && L3_Index == 0) {
   	document.Download.L_Techn.style.visibility = "visible";
      if(getDOM() == "W3C") {
         document.getElementById("pro_gr").style.visibility = "hidden";
         document.getElementById("pro").style.visibility = "hidden";
         document.getElementById("down_art").style.visibility = "hidden";
      }
      if(getDOM() == "IE") {
         document.all.pro_gr.style.visibility = "hidden";
         document.all.pro.style.visibility = "hidden";
         document.all.pro.style.visibility = "hidden";
      }
   	for(var i=0; i<arr_Techn.length; i++) {
   		document.Download.L_Techn.options[i] = new Option((arr_Techn[i]));
   	}
   }
   if(L1_Index !=0 && L2_Index != 0 && L3_Index != 0) {
      document.Download.L_Techn.style.visibility = "visible";
   	for(var i=0; i<arr_Techn.length; i++) {
   		document.Download.L_Techn.options[i] = new Option((arr_Techn[i]));
   	}
   	document.Download.L_Techn.options[L1_Index].selected = true;

   	document.Download.L_Prodgr.style.visibility = "visible";
   	for(var i=0; i<arr_Prodgr[L1_Index].length; i++) {
   		document.Download.L_Prodgr.options[i] = new Option((arr_Prodgr[L1_Index])[i]);
   	}
   	document.Download.L_Prodgr.options[L2_Index].selected = true;

   	document.Download.L_Prods.style.visibility = "visible";
   	for(var i=0; i<arr_Prods[L1_Index-1][L2_Index].length; i++) {
   		document.Download.L_Prods.options[i] = new Option((arr_Prods[L1_Index-1][L2_Index])[i]);
   	}
   	document.Download.L_Prods.options[L3_Index].selected = true;

   	document.Download.L_Dwnlds.style.visibility = "visible";
   	for(var i=0; i<arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index].length; i++) {
   		document.Download.L_Dwnlds.options[i] = new Option((arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index])[i]);
   	}
   }
}

// L_Prodgr laden
function Prodgr_laden(f) {
	L1_Index = f.L_Techn.selectedIndex;

   f.L_Prodgr.options.length = null;
   f.L_Prodgr.style.visibility = "visible";
   f.L_Prods.style.visibility = "hidden";
   f.L_Dwnlds.style.visibility = "hidden";

   if(getDOM() == "W3C") {
	   document.getElementById("pro_gr").style.visibility = "visible";
   }
   if(getDOM() == "IE") {
   	document.all.pro_gr.style.visibility = "visible";
   }


   for (var i=0; i<arr_Prodgr[L1_Index].length; i++) {
   	f.L_Prodgr.options[i] = new Option((arr_Prodgr[L1_Index])[i]);
   }
}

// L_Prods laden
function Prods_laden(f) {
	L2_Index = f.L_Prodgr.selectedIndex;
   f.L_Prods.options.length = null;
   f.L_Prods.style.visibility = "visible";
   f.L_Dwnlds.style.visibility = "hidden";

   if(getDOM() == "W3C") {
	   document.getElementById("pro").style.visibility = "visible";
   }
   if(getDOM() == "IE") {
   	document.all.pro.style.visibility = "visible";
   }

   for (var i=0; i<arr_Prods[L1_Index-1][L2_Index].length; i++) {
   	f.L_Prods.options[i] = new Option((arr_Prods[L1_Index-1][L2_Index])[i]);
   }
}

// L_Dwnlds laden
function Dwnlds_laden(f) {
	L3_Index = f.L_Prods.selectedIndex;
   f.L_Dwnlds.options.length = null;
   f.L_Dwnlds.style.visibility = "visible";

   if(getDOM() == "W3C") {
	   document.getElementById("down_art").style.visibility = "visible";
   }
   if(getDOM() == "IE") {
   	document.all.down_art.style.visibility = "visible";
   }

   for (var i=0; i<arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index].length; i++) {
   	f.L_Dwnlds.options[i] = new Option((arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index])[i]);
   }
}


// Auswahl in Liste eintragen
function Ausgabe(f) {
	L4_Index = f.L_Dwnlds.selectedIndex;
   auswahl_L1 = arr_Techn[L1_Index];
   auswahl_L2 = arr_Prodgr[L1_Index][L2_Index];
   auswahl_L3 = arr_Prods[L1_Index-1][L2_Index][L3_Index];
   auswahl_L4 = arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index][L4_Index];
   value_L4 = arr_Values[L1_Index-1][L2_Index-1][L3_Index][L4_Index];

	if (L1_Index == 2) {
   	auswahl_L1 = "PROFIBUS PA";
      Eintrag = new Option(auswahl_L1 + " -> " + auswahl_L3 + " -> " + auswahl_L4,value_L4);
   }
   else {
      Eintrag = new Option(auswahl_L1 + " -> " + auswahl_L3 + " -> " + auswahl_L4,value_L4);
   }

   // Variablen fuer Download-Zahl definieren
   var txt_Zahl = f.count.value;
   var zahl = parseInt(txt_Zahl);
   var anzahl;

   // 1. Download in Listenfeld schreiben
   if (f.L_Dwnlds.selectedIndex != 0 && (f.count.value == "" || f.count.value == "0")) {
   	f.count.value = "1";
      f.select.options[f.select.options.length] = Eintrag;
   //   f.plus.style.visibility = "visible";
      f.del.style.visibility = "visible";
      f.send.style.visibility = "visible";
      f.select.style.visibility = "visible";
   }

   // 2.-5. Download in Listenfeld schreiben
   if (f.L_Dwnlds.selectedIndex != 0 && zahl >= 1) {
   	if (zahl < 5) {
      	anzahl = zahl + 1;
         f.count.value = anzahl;
         f.select.options[f.select.options.length] = Eintrag;
      }
   }

   // Listen deaktivieren, wenn 5 Sachen ausgewaehlt sind
   if (anzahl >= 5) {
   	//f.plus.disabled = true;
   	alert("Only 5 downloads are available.");
      f.L_Techn.disabled = true;
      f.L_Prodgr.disabled = true;
      f.L_Prods.disabled = true;
      f.L_Dwnlds.disabled = true;
   }

}


// weiteren Download ermoeglichen
function more_Dwnld(f) {
	/* Auswahllisten aktivieren
   // ueberfluessig, weil weiter Download automatisch ermoeglicht wird, und nicht mehr ueber den separaten Download-Button
   f.L_Techn.disabled = false;
   f.L_Prodgr.disabled = false;
   f.L_Prods.disabled = false;
   f.L_Dwnlds.disabled = false;
   */

   // L_Prodgr, L_Prods und L_Dwnlds leeren
   f.L_Prodgr.options.length = null;
   f.L_Prods.options.length = null;
   f.L_Dwnlds.options.length = null;
   f.L_Prodgr.style.visibility = "visible";
   f.L_Prods.style.visibility = "visible";
   f.L_Dwnlds.style.visibility = "visible";

   f.L_Techn.options.length = null;
   for (var i=0; i<arr_Techn.length; i++) {
   	f.L_Techn.options[i] = new Option(arr_Techn[i]);
   }
   f.L_Techn.options[L1_Index].selected = true;

   for(var i=0; i<arr_Prodgr[L1_Index].length; i++) {
   	f.L_Prodgr.options[i] = new Option((arr_Prodgr[L1_Index])[i]);
   }
   f.L_Prodgr.options[L2_Index].selected = true;

   for(var i=0; i<arr_Prods[L1_Index-1][L2_Index].length; i++) {
   	f.L_Prods.options[i] = new Option((arr_Prods[L1_Index-1][L2_Index])[i]);
   }
   f.L_Prods.options[L3_Index].selected = true;

   for(var i=0; i<arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index].length; i++) {
   	f.L_Dwnlds.options[i] = new Option((arr_Dwnlds[L1_Index-1][L2_Index-1][L3_Index])[i]);
   }

}


// Listeneintrag loeschen
function del_Eintrag(f) {
	var Index = f.select.options.selectedIndex;

   // Pruefen, ob ein Eintrag selektiert wurde
   if (Index != -1) {
   	f.select.options[Index] = null;
      var txt_delZahl = f.count.value;
      var delZahl = parseInt(txt_delZahl);
      var neuZahl = delZahl - 1;
      f.count.value = neuZahl;

      if (f.count.value == "0") {
         f.send.style.visibility = "hidden";
         f.select.style.visibility = "hidden";
      }
      /*  ueberfluessig, weil Button nicht mehr vorhanden
      if (neuZahl = 5) {
      	f.plus.disabled = false;
      }
      */

      // dieses if, weil "weiterer Download-Button" nicht mehr da
      if (neuZahl < 5) {
         f.L_Techn.disabled = false;
         f.L_Prodgr.disabled = false;
         f.L_Prods.disabled = false;
         f.L_Dwnlds.disabled = false;
      }

   }
   else {
   	alert ("Please select one item.");
   }
}


// Die Liste mit den Downloads muss markiert werden, damit sie vollstaendig an das perl-Skript uebergeben werden kann
function liste_markieren(f) {
	var anzahl_el = f.select.options.length;
   for (var i=0; i<anzahl_el; i++) {
   	f.select.options[i].selected = true;
   }
}


// Felder auf Inhalt ueberpruefen
function check_inhalt() {
	voll = true;
	var anzFelder = 4; // so viele Felder MÜSSEN aktuell ausgefuellt werden
   for(var i=0; i<anzFelder; i++) {
   	if(document.Download.elements[i+8].value == "") { // +8, WEIL das 1. Pflichtfeld das 9. im Formular ist --> ggf. anpassen
      	voll =false;
      }
   }
   //if(document.Download.country.options.selectedIndex == 0) {
   //		voll = false;}
   if(!voll) alert("Fields marked with an * are mandatory.");
	return voll;
}

// E-Mail-Adresse ueberpruefen
function check_mail() {
	// pruefe, ob @ oder . in der Zeichenkette enthalten sind
	if(document.Download.email.value.indexOf('@') == - document.Download.email.value.indexOf('.') == -1) {
   	alert("@ or . (dot) is missing in your email.");
      document.Download.email.focus();
      return false;
   }

   // pruefe, ob unerlaubte Zeichen verwendet wurden
   var zeichen = "/ ;:,";
   mail_eingabe = document.Download.email.value;
   laenge = mail_eingabe.length;
   for(i=0;i<laenge;i++) {
   	badchar = mail_eingabe.charAt(i);
      if (zeichen.indexOf(badchar) > -1) {
      	alert("An invalid character is used in your email.");
         document.Download.email.focus();
         return false;
      }
   }

   // sind mehrere @ in der Adresse vorhanden
   atPosition = document.Download.email.value.indexOf('@');
   if(document.Download.email.value.indexOf('@',atPosition+1)>-1) {
   	alert("To many @ are used in your email.");
      document.Download.email.focus();
      return false;
   }

   // pruefe, ob nach dem @ auch irgendwann ein . kommt
   if(document.Download.email.value.indexOf('.',atPosition)==-1) {
		alert("Your email is invalid.");
      document.Download.email.focus();
      return false;
   }

   // pruefe Top-Level-Domain
   punktPosition = document.Download.email.value.lastIndexOf('.');
   if(punktPosition+3>document.Download.email.value.length) {
   	alert("The top level domain (e.g. de, com) used is invalid.");
      document.Download.email.focus();
      return false;
   }
   if(punktPosition+5<document.Download.email.value.length) {
   	alert("The top level domain (e.g. de, com) used is invalid.");
      document.Download.email.focus();
      return false;
   }
}


