// Fehler-Pruef-Funktion 
			function errorSteuerung(sText) {
					if (! this.bError) { return; }
					if (! sText || sText == '') { sText = 'undef'; }
					alert(sText);
			}//errorSteuerung
	
// Voreinstellung der Parameter bei Besuch und Reload (mit Cache leeren) der Seite
			function initSteuerung(){
					for (var vBlock in this.aElement) {
						if (window.document.getElementById(this.aElement[vBlock]['linux_name'])) {
							window.document.getElementById(this.aElement[vBlock]['linux_name']).src = 
							window.document.getElementById(this.aElement[vBlock]['linux_name']).src.replace(/off\./, 'on.')
						} else { this.error('linux_name not found'); }
						if (window.document.getElementById(this.aElement[vBlock]['win_name'])) {
							window.document.getElementById(this.aElement[vBlock]['win_name']).src = 
							window.document.getElementById(this.aElement[vBlock]['win_name']).src.replace(/on\./, 'off.');
						} else { this.error('win_name not found'); }	
						var oLink = window.document.getElementById(this.aElement[vBlock]['link_name']);
						if (oLink) { oLink.href = this.sServerLink + this.aElement[vBlock]['link_name_linux']; } 
						else { this.error('oLink not found'); }
                  var oLink2 = window.document.getElementById(this.aElement[vBlock]['link_name2']);
						if (oLink2) { oLink2.href = this.sServerLink + this.aElement[vBlock]['link_name_linux']; } 
						else { this.error('oLink2 not found'); }
					}
               this.sPRILinux = 'priceIMGLinIndex';
					this.sPRIWin = 'priceIMGWinIndex';
               this.sHDLLinux = 'HeadlineLinux';
					this.sHDLWin = 'HeadlineWindows';
			}//initSteuerung

			function changeSteuerung(sSystem) {
				for (var vBlock in this.aElement) {	
					// Wechsel der RadioButton-Bilder
					if (window.document.getElementById(this.aElement[vBlock]['linux_name'])) {
						window.document.getElementById(this.aElement[vBlock]['linux_name']).src = 
							(sSystem && sSystem == 'linux')
							? window.document.getElementById(this.aElement[vBlock]['linux_name']).src.replace(/off\./, 'on.')
							: window.document.getElementById(this.aElement[vBlock]['linux_name']).src.replace(/on\./, 'off.');
					} else { this.error('linux_name not found'); }
					if (window.document.getElementById(this.aElement[vBlock]['win_name'])) {
						window.document.getElementById(this.aElement[vBlock]['win_name']).src = 
							(sSystem && sSystem == 'win')
							? window.document.getElementById(this.aElement[vBlock]['win_name']).src.replace(/off\./, 'on.')
							: window.document.getElementById(this.aElement[vBlock]['win_name']).src.replace(/on\./, 'off.');
					} else { this.error('win_name not found'); }
							// Wechsel der Preis-Bilder	
							 window.document.getElementById(this.sPRILinux).className = sSystem == 'linux'
							    ? window.document.getElementById(this.sPRILinux).style.display = 'block'
							    : window.document.getElementById(this.sPRILinux).style.display = 'none';
							 window.document.getElementById(this.sPRIWin).className = sSystem != 'linux'
							    ? window.document.getElementById(this.sPRIWin).style.display = 'block'
							    : window.document.getElementById(this.sPRIWin).style.display = 'none';
                     // Wechsel der Headline-Text
							 window.document.getElementById(this.sPRILinux).className = sSystem == 'linux'
                         ? window.document.getElementById(this.sHDLLinux).style.display = 'block'
                         : window.document.getElementById(this.sHDLLinux).style.display = 'none';
                      window.document.getElementById(this.sPRIWin).className = sSystem != 'linux'
                         ? window.document.getElementById(this.sHDLWin).style.display = 'block'
                         : window.document.getElementById(this.sHDLWin).style.display = 'none';  
       
							// Wechsel der 1. Mehr-Verlinkung
							var oLink = window.document.getElementById(this.aElement[vBlock]['link_name']);
							if (oLink) {
									oLink.href = (sSystem && sSystem == 'linux')
										? this.sServerLink + this.aElement[vBlock]['link_name_linux']
										: this.sServerLink + this.aElement[vBlock]['link_name_win'];
								} else { this.error('oLink not found'); }

                     // Wechsel der 2. Mehr-Verlinkung
							var oLink2 = window.document.getElementById(this.aElement[vBlock]['link_name2']);
							if (oLink2) {
									oLink2.href = (sSystem && sSystem == 'linux')
										? this.sServerLink + this.aElement[vBlock]['link_name_linux']
										: this.sServerLink + this.aElement[vBlock]['link_name_win'];
								} else { this.error('oLink2 not found'); }
				}	
			}//changeSteuerung

			function addSteuerung(iId, sLinkWin, sLinkLinux) {
					var aElement = new Object;
					aElement['linux_name'] = 'radio_'+iId+'_1';
					aElement['win_name'] = 'radio_'+iId+'_2';;
					aElement['link_name'] = 'link_'+iId+'_1';
               aElement['link_name2'] = 'link_'+iId+'_2';
					aElement['link_name_win'] = sLinkWin;
					aElement['link_name_linux'] = sLinkLinux;
					this.aElement[iId] = aElement;
			}//addSteuerung
	
			function Steuerung(sServerLink) {
					this.aElement = new Object;
					this.bError = false; // true = on
					this.sServerLink = sServerLink;
					this.change = changeSteuerung;
					this.error = errorSteuerung;
					this.init = initSteuerung;
					this.add = addSteuerung;
			}//Steuerung
			
			// Entsprechende Aenderungen sind in diesem Block vorzunehmen
			// Paket_ID, Button_Link_Win, Button_Link_Linux
		 var oSteuerung = new Steuerung('/server/dedicated/');
		    oSteuerung.add(1, 'windows/index.html', 'highq/index.html');
          oSteuerung.add(2, 'windows/index.html', 'highq/index.html');

