<!--
function popup(url) {
 fenster = window.open(url, "Popupfenster", "width=200,height=30,resizable=no");
 fenster.focus();
 return false;
}

function popupwk(url) {
 fenster=window.open(url, "Popupfenster", "scrollbars=yes, width=597, height=600");
 fenster.focus();
 return false;
}

function Mail(USER, DOMAIN, TXT){
  if(typeof(DOMAIN) == 'undefined' || DOMAIN == ''){DOMAIN = 'conchez-connection.ch';}
  var MAIL = USER + '&#64;' + DOMAIN;
  if(typeof(TXT) == 'undefined' || TXT == ''){TXT = MAIL;}
  document.write('<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;:' + MAIL + '\">' + TXT +'</a>');
  /*> Argumente:
      USER = username (Alles vor @)
      DOMAIN = maildomain (Alle nach @) > optional, wenn leer DOMAIN = vogelwarte.ch
      TXT = linktext > optional, wenn leer TXT = komplette Mailadresse
  
      Beispiel eines Html Aufrufs:
      <script type="text/javascript">Mail('info','gmx.ch','Info-Mail');</script>
   <*/
}

searchCity = function(zip,city) {

	var objCity = document.getElementsByName(city)[0];
		//vError = false,
		//strErrorMessage = "Bitte geben Sie eine g&uuml;1ltige Postleitzahl ein.";
	
	objCity.value = '';

	//if(isNaN(zip.value) || zip.value.length > 4) vError = true;

	try  {	
		for(i=0;i<aPostCodes.length;i++) {
			if(aPostCodes[i][0] == zip.value) objCity.value = aPostCodes[i][1];
		}

	} catch (error) {};
	
	//if(zip.value.length >= 4 && objCity.value.length == 0) vError = true;
	//if(vError) {
	//	alert(strErrorMessage);
	//	zip.value = '';
	//}
	
}
//-->