var neu = null;
	function Fernsteuerung(id,lv1,lv2,lv3,NavID,Ber){
	neu = window.open('', 'FS', 'width=700,height=780,scrollbars,resizeable,screenX=10,screenY=10');
		if (neu != null) {
		if (neu.opener == null) {
			neu.opener = self;
			}
		neu.location.href = '/birdy/control.asp?id=' +id+ '&lv1=' +lv1+ '&lv2=' +lv2+ '&lv3=' +lv3+ '&NavID=' +NavID+ '&Berechnen=' +Ber+ '&tool=bearbeiten&show=Text';
		}		
	}

	var neu2 = null;
	function mailsenden(id){
	neu2 = window.open('', 'MS', 'width=1000,height=650,scrollbars,resizeable,screenX=10,screenY=10');
		if (neu2 != null) {
		if (neu2.opener == null) {
			neu2.opener = self;
			}
		neu2.location.href = '/inc/mail.asp?id=' +id+ '&show=senden';
		}		
	}
	
	function Printopen(varPrint){
		neuP = window.open('', 'Printout', 'width=695,height=845,scrollbars,resizeable,menubar');
			if (neuP != null) {
			if (neuP.opener == null) {
				neuP.opener = self;
				}
			neuP.location.href = '/content/printout.asp?' +varPrint;
			}		
		}
	


// -------------------------------------------------------------------------------------------
// 	Sponsoren-Banner Script - file ist in /inc/banner.asp
//	Banner Rotation: 4 x Hauptsponsor, 3 x Gold, 2 x Silber, Bronze und andere 1 x
// -------------------------------------------------------------------------------------------
	
 var fotos=new Array('http://www.lcbruehl.ch/media/banner/azwest.jpg',
           'http://www.lcbruehl.ch/media/banner/banner_helvetia.jpg',
		   'http://www.lcbruehl.ch/media/banner/sgsw.jpg',
		   'http://www.lcbruehl.ch/media/banner/tvo.jpg',
           'http://www.lcbruehl.ch/media/banner/schubiger.jpg',
		   'http://www.lcbruehl.ch/media/banner/frifag.jpg',
		   'http://www.lcbruehl.ch/media/banner/krebsliga.jpg',
		   'http://www.lcbruehl.ch/media/banner/swica.jpg',
		   'http://www.lcbruehl.ch/media/banner/hautle.jpg',
		   'http://www.lcbruehl.ch/media/banner/11erclub.gif',
		   'http://www.lcbruehl.ch/media/banner/raiffeisen.jpg',
		   'http://www.lcbruehl.ch/media/banner/frifag.jpg',
		   'http://www.lcbruehl.ch/media/banner/fm1.jpg',
		   'http://www.lcbruehl.ch/media/banner/sgsw.jpg',
		   'http://www.lcbruehl.ch/media2007/banner/amavita.jpg',
		   'http://www.lcbruehl.ch/media/banner/tagblatt.gif',
		   'http://www.lcbruehl.ch/media/banner/11erclub.gif',
		   'http://www.lcbruehl.ch/media/banner/width="140" .jpg',
		   'http://www.lcbruehl.ch/media/banner/azwest.jpg',
		   'http://www.lcbruehl.ch/media/banner/plaettliganz.gif',
		   'http://www.lcbruehl.ch/media/banner/raiffeisen.jpg',
		   'http://www.lcbruehl.ch/media/banner/pronto.jpg',
		   'http://www.lcbruehl.ch/media/banner/weissenstein.jpg',
		   'http://www.lcbruehl.ch/media/banner/erdgas.gif',
		   'http://www.lcbruehl.ch/media/banner/tagblatt.gif',
		   'http://www.lcbruehl.ch/media/banner/width="140" .jpg',
		   'http://www.lcbruehl.ch/media/banner/11erclub.gif',
		   'http://www.lcbruehl.ch/media/banner/implenia.gif',
		   'http://www.lcbruehl.ch/media/banner/raiffeisen.jpg',
		   'http://www.lcbruehl.ch/media2007/banner/spar.jpg',
		   'http://www.lcbruehl.ch/media/banner/wepf.jpg',
		   'http://www.lcbruehl.ch/media/banner/frifag.jpg',
		   'http://www.lcbruehl.ch/media/banner/andijakob.jpg',
		   'http://www.lcbruehl.ch/media/banner/sgsw.jpg',
		   'http://www.lcbruehl.ch/media/banner/msmail.jpg',
		   'http://www.lcbruehl.ch/media/banner/raiffeisen.jpg',
		   'http://www.lcbruehl.ch/media/banner/tvo.jpg',
		   'http://www.lcbruehl.ch/media/banner/fm1.jpg',

// ACHTUNG: beim letzten Eintrag kein Komma mehr setzen
// -------------------------------------------------------------------------------------------
 		   'http://www.lcbruehl.ch/media/banner/trev-x.jpg'
		   );
		   
		   


 var speed=1500;
// Random Zahl -> Banneranzahl (39) anpassen
 var pos=Math.floor(Math.random()*39);

function doit () {

// Diashow-Script von Thomas Salvador, http://www.brauchbar.de
// Freeware. Nutzung erlaubt, solange diese Copyrightmeldung
// unveraendert erhalten bleibt.

if (!(document.images)) {return;}

 document.bild.src=fotos[pos++];

 if (pos == fotos.length) { pos = 0; }
 setTimeout("doit();",speed);
}

//-->
