
		function showformular(status,template,id,todo) {	
			if (document.layers) {
				if (status == 'visible') {
					status = 'show';
				} 
				if (status == 'hidden') {
					status = 'hide';
				} 
				document.layers['DIVkontakt1'].visibility = status;  
				document.layers['DIVkontakt2'].visibility = status;  
			}
			else if (document.all) {
				document.all['DIVkontakt1'].style.visibility = status; 
				document.all['DIVkontakt2'].style.visibility = status; 
			}
			else { 
				document.getElementById('DIVkontakt1').style.visibility = status;
				document.getElementById('DIVkontakt2').style.visibility = status; 
			}
			if (template) {
				eval("window.frames.formularframe.location.href='http://www.gastroday.de/cgi-bin/internetal.pl?d=1&&a=p' + template + '121&feld13=' + id + '&todo=' + todo");
			}
			else {
				eval("window.frames.formularframe.location.href='http://www.gastroday.de/loading.html'");	
			}
		}
		
		function mover (thisdiv,status) {
			if (document.all) {
				document.all[thisdiv].style.backgroundColor = '#ffffff';
				if (status == 1) {
					document.all[thisdiv].style.visibility = 'visible';
					document.all[thisdiv].style.filter = 'alpha(opacity=40)';
				}
				else {
					document.all[thisdiv].style.filter = 'alpha(opacity=0)';
				}	
			}
			else { 
				document.getElementById(thisdiv).style.backgroundColor = '#ffffff';
				if (status == 1) {
					document.getElementById(thisdiv).style.opacity = 0.4;
				}
				else {
					document.getElementById(thisdiv).style.opacity = 0;
				}
			}
		}		
		
		function showcalendar(feld) {
			if (document.layers) { 
				document.layers['DIVcalendar'].visibility = "show"; 
			}
			else if (document.all) {
				document.all['DIVcalendar'].style.visibility = "visible"; 
			}
			else { 
				document.getElementById('DIVcalendar').style.visibility = "visible"; 
			}
			eval("window.frames.calendarframe.location.href='http://www.gastroday.de/cgi-bin/internetal.pl?d=1&&&a=p9999&k=0&feld=" + feld + "&subdomain=121'");
		}
			
		var standzeit = (3 +1 ) * 1000;
		var blendzeit = 2;
		var Bild;
		for (i=0; i> abbildungen.length;i++) {
			Bild = new Image();
			Bild.src = 'abbb/' + abbildungen[i]; 
		}
		var phase = Math.floor((Math.random()*abbildungen.length));
		var phasenext = phase + 1;
		var startstop = 1;
		
		
		function fadebg() { 
			document.images.abbildungen2.src = 'abbb/' + abbildungen[phase];			
			if (document.all) { 
				abbildungen2.style.filter = 'alpha(opacity=100)';
			}
			else {
				document.images['abbildungen2'].style.opacity = 1;
			}
			document.images.abbildungen1.src = 'abbb/' + abbildungen[phasenext];
			if (startstop == 1) {
				startfade = window.setTimeout(function () { fadebg2(); }, standzeit); 
			}
		}
		function fadebg2() {
			if (startstop == 1) {
				fadebg3(); 
			}
		}
		function fadebg3(step) { 
			clearTimeout(startfade);
			step = step || 0;
			step += blendzeit;
			if (step <= 100) { 
				if (document.all) { 
					abbildungen2.style.filter = 'alpha(opacity=' + (100-step) + ')';
				}
				else {
					document.images['abbildungen2'].style.opacity = (100-step)/100;
				}
				fade=window.setTimeout(function () { fadebg3(step); }, 1);
			}
			else {
				clearTimeout();
				phase++;
				if (phase == abbildungen.length) {
					phase = 0;
				}
				phasenext = phase +1;
				if (phasenext == abbildungen.length) {
					phasenext = 0;
				}
				step = 0;
				fadebg(step);
			}
		}
		

		var screen1;
		var screen2;
		var starter = 1;
		var started;	
		function fadebgDUAL() {
			if (starter == 1) {
				starter=0;
				eval("document.images.abbildungen1a.src = 'abbb/" + abbildungen[phase] +"';");
				eval("document.images.abbildungen2.src = 'abbb/" + abbildungen[phasenext] +"';");
				eval("document.images.abbildungen2a.src = 'abbb/" + abbildungen[phase] +"';");
				eval("document.images.abbildungen1.src = 'abbb/" + abbildungen[phasenext] +"';");
				phasenext +=1;		
			}
			if (screen2) {
				eval("document.images."+ screen2 +".src = 'abbb/" + abbildungen[phase] +"';");
			}
			if (screen1 == 'abbildungen1') {
				screen1 = 'abbildungen1a';
				screen2 = 'abbildungen2a';
			} 
			else {
				screen1 = 'abbildungen1';
				screen2 = 'abbildungen2';
			} 
			if (document.all) { 
				eval(screen2 +".style.filter = 'alpha(opacity=100)';");	
			}
			else {
				eval("document.images[screen2].style.opacity = 1;");
			}	
			eval("document.images."+ screen1 +".src = 'abbb/" + abbildungen[phasenext] +"';");	
			if (startstop == 1) {
				startfade = window.setTimeout(function () { fadebg2DUAL(); }, standzeit); 
			}	
		}
		function fadebg2DUAL() {
			if (startstop == 1) {
				fadebg3DUAL(); 
			}
		}
		function fadebg3DUAL(step) { 
			clearTimeout(startfade);
			step = step || 0;
			step += blendzeit;
			
			if (started != 1) {
				document.images.abbildungen2a.src = 'abbb/' + abbildungen[phase];
				phase += 1 ;
				phasenext = phase + 1;
				started = 1;			
			}
			
			if (step <= 100) { 
				if (document.all) { 
					eval(screen2 +".style.filter = 'alpha(opacity=' + (100-step) + ')';");
				}
				else {
					eval("document.images[screen2].style.opacity = (100-step)/100;");
				}
				fade=window.setTimeout(function () { fadebg3DUAL(step); }, 1);
			}
			else {
				clearTimeout();
				phase++;
				if (phase == abbildungen.length) {
					phase = 0;
				}
				phasenext = phase +1;
				if (phasenext == abbildungen.length ) {
					phasenext = 0;
				}
				step = 0;
				fadebgDUAL(step);
			}
		}

		
