function openWindow(theURL,winName,features) {   
	thiswin=window.open(theURL,winName,features);
	thiswin.focus();
}

function setback(url) {	
	window.opener.location = url;
}

function bleibvorne() {	
	self.focus(); 
	window.setTimeout("bleibvorne()",100);
}

function fenster(file,name,groesse){
	var win;
	win=window.open(file,name,groesse);
}

function checkplz() {
	if(document.suchen.gebiet.value.length!=4) {
		alert("Postleitgebiet bitte 4-stellig eingeben!");
		return false;
	}
}

function nospam_mailto(PRE,POST,TEMPLATE) {
	MAIL=(PRE+"&#64;"+POST).replace(/e/gi,"&#101;");
	LINK=TEMPLATE.replace(/xxx/gi,MAIL);
	document.write(LINK);
}

