function fenster(seite, weite, hoehe,name){ 
var mon, toppos, leftpos; 

toppos = (screen.height - hoehe)/2; 
leftpos = (screen.width - weite)/2; 
features = "scrollbars=1,location=0,toolbar=0,menubar=0,resizable=1,status=0"; 
mon = window.open(seite,"name","width="+weite+",height="+hoehe+",top="+toppos+",left="+leftpos+","+features); 
//mon.document.title=name;
mon.focus();
} 

function fenster1(seite, weite, hoehe, name){ 
var mon, toppos, leftpos; 

toppos = (screen.height - hoehe)/2; 
leftpos = (screen.width - weite)/2; 
features = "scrollbars=1,location=0,toolbar=0,menubar=0,resizable=1,status=0"; 
mon = window.open(seite,"name","width="+weite+",height="+hoehe+",top="+toppos+",left="+leftpos+","+features); 
mon.document.write('<head><title>'+name+'</title></head><body><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center" valign="middle"><img src='+seite+' width="'+eval(weite-40)+'"></td></tr></table></body>');
//mon.document.title=name;
mon.focus();
} 

function MM_displayStatusMsg(msgStr)
{ 
  status=msgStr;
  document.MM_returnValue = true;
}

function linkme(link){
  window.location.href = link;
}
function back(refer){
  if(typeof(document.referrer)!="undefined" && document.referrer.indexOf('http://www.muenstertal.com/')>-1 ){
      window.location.href = document.referrer;
  }else{
      window.location.href=refer;
  }
}

function start_fulltext_search(){
	url_string="http://www.muenstertal.com/mitglieder-suche.html?q=";
	q_string=document.suche.q.value;
	if(q_string!=""){
		while(q_string.search(/&/)!=-1){
     	 		q_string=q_string.replace(/&/,"%7E");
   		}
		q_string=escape(q_string);
		url_string+=q_string;
		window.location.href=url_string;
	}
	else alert("Sie haben noch keinen Suchbegriff eingegeben!");	
}

function start_fulltext_search1(){
	url_string="http://www.muenstertal.com/mitglieder-suche.html?q=";
	q_string=document.suche.q.value;
	if(q_string!=""){
		while(q_string.search(/&/)!=-1){
     	 		q_string=q_string.replace(/&/,"%7E");
   		}
		q_string=escape(q_string);
		url_string+=q_string;
		document.getElementById("suche").action=url_string;
	}
	else{
		alert("Sie haben noch keinen Suchbegriff eingegeben!");
		return;
	}
}