function ButtonUmbenennen(B, N) {
	B.value=N;
	return true;
}
function FormSubmit(ID) {
	F=document.getElementById(ID);
	F.action='';
}
function SucheGestartet(B) {
	return ButtonUmbenennen(B, "Suche läuft ...");
}
function BitteWartenAlt(B) {
	return ButtonUmbenennen(B, "Bitte warten...");
	   document.getElementById("P").src="./Bilder/T.gif";
	   document.getElementById("P").src="./Bilder/Progress.gif";
}
function BitteWarten() {
	if(document.getElementById) {
	   document.getElementById("bw").style.visibility = "visible";
	 }
}
function Hilfe(P) {
	window.open('Hilfe.asp?' + P,'Hilfe','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=250,height=300');
	return true;
}
function Druckansicht(Link) {
	window.open(Link,'Druckansicht','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=' + (screen.width-100) + ',height=' + (screen.height - 100) + ',top=50,left=50');
	return true;
}
function VeranstalterEdit(ID) {
	if (ID != "") {
		window.open('VeranstalterEdit.asp?ID=' + ID,'Veranstalter','width=' + window.width-100 + ',height=' + window.height-100 + '');
	}
	return true;
}
function MusikerEdit(ID) {
	if (ID != "") {
		window.open('MD.asp?ID=' + ID,'Musiker','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=' + (screen.width-100) + ',height=' + (screen.height - 100) + '');
	}
	return true;
}
function BandEdit(ID) {
	if (ID != "") {
		window.open('BD.asp?ID=' + ID,'Band','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=' + (screen.width-100) + ',height=' + (screen.height - 100) + '');
	}
	return true;
}
function MusikerCD(ID, L1, L2) {
	if (ID != "") {
		window.open('MusikerCDs.asp?ID=' + ID,'Musiker','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,top=0,width=' + (screen.width/2) + ',height=' + (screen.height - 110) + '');

	window.open(L1, 'MusikerAmazon', 'toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,left=' + (screen.width/2+50) + ',top=0,width=' + (screen.width/2-50) + ',height=' + (screen.height - 110));

	window.open(L2, 'MusikerJpc', 'toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,left=' + (screen.width/2+50) + ',top=0,width=' + (screen.width/2-50) + ',height=' + (screen.height - 110));

return true;
	}
}
function OrtShow(ID) {
	if (ID != "") {
		window.open('OrtDetail.asp?ID=' + ID,'OrtShow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=' + (screen.width-100) + ',height=' + (screen.height - 100) + '');
	}
		return true;
}
function OrtEdit(ID, Ort) {
 	window.open('OrtEdit.asp?ID=' + ID + '','OrtEdit','toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0,width=' + (screen.width-300) + ',height=' + (screen.height - 110));
	window.open('http://www.meinestadt.de/?ortswechsel=' + escape(Ort), 'OrtMeineStadt', 'toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,left=' + (screen.width-290) + ',top=0,width=280,height=' + (screen.height - 110));
}
function OrtSuchen(Ort) {
 	window.open('SucheOrt.asp?SuchOrt=' + escape(Ort) + '','OrtEdit','toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0,width=' + (screen.width-300) + ',height=' + (screen.height - 110));
	window.open('http://www.meinestadt.de/?ortswechsel=' + escape(Ort), 'OrtMeineStadt', 'toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,left=' + (screen.width-290) + ',top=0,width=280,height=' + (screen.height - 110));
}
function iBand(id, bandid) {
	if(document.getElementById) {
	   document.getElementById(id).src = "BF.asp?ID=" + bandid + "";
	 }
	
}
function iVeranstalter(ID) {
	if(document.getElementById) {
	   document.getElementById("iVeranstalter").src = "VF.asp?ID=" + ID + "";
	 }
	
}
function iAgentur(ID) {
	if(document.getElementById) {
	   document.getElementById("iAgentur").src = "VF.asp?ID=" + ID + "";
	 }
	
}
function iFest(ID) {
	if(document.getElementById) {
	   document.getElementById("iFest").src = "VF.asp?ID=" + ID + "";
	 }
	
}
