
  //openWindow('xxx.html','name','width=700,height=600');
  //toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0
	function openWindow(URL, winname, options) {
 		window.open(URL,winname,options);
	}
  

var newwin=null;

function imageWindow(iURL, mytitle, valw, valh, pp, wb) {
  if(!mytitle || (mytitle=='')) mytitle = iURL;
	if(!valw || (valw=='')) valw = 500;
  if(!valh || (valh=='')) valh = 380;
  if(pp=='pp') { valw = parseInt(valw)+40; valh = parseInt(valh)+60; }; //bei pp flag wird die windowgröße größer als die bildgröße
  
  newwin=window.open('','new3','width=' + valw + ',height=' + valh + '');
	with(newwin.document) {
	  writeln('<HTML><HEAD><TITLE>' + mytitle + '</TITLE>');
		if(wb) writeln('<style>img { border-width:' + wb + 'px; border-color:#f4f4f4; } body { background-color : #333333; background-image: URL(images/bg_img.jpg); }</style>');
		writeln('</HEAD>');
		writeln('<BODY link="#000000" alink="#000000" vlink="#000000" text="#000000" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">');
		writeln('<center>');
      
		writeln('<a href="javascript:self.close()"><img src="' + iURL + '" border="1"></a>');
		writeln('<br><font face="verdana,arial" size="1" color="#999999">[<a href="javascript:self.close()" style="color:#999999;">Fenster Schließen</a>]</font>');
	
		writeln('</center>');
    writeln('<script>window.focus();<\/script>');
    writeln('</BODY>');
		writeln('</HTML>');
		close();
  }
	newwin.focus();
}

// thre is the space for the city link names, printet out by Script
function writeLeftBANav() {
  html = '';
  html += '<a href="city_erfurt.html"><b>Erfurt</b></a><span class=sphnav> [\'05]&nbsp;</span><br>';
  html += '<a href="city_jena_050411.html"><b>Jena</b></a><span class=sphnav> [\'05]&nbsp;</span><br>';
  html += '<a href="city_berlin.html"><b>Berlin</b></a><span class=sphnav> [\'04]&nbsp;</span><br>';
  html += '<a href="city_hamburg.html"><b>Hamburg</b></a><span class=sphnav> [\'04]&nbsp;</span><br>';
  html += '<p><br><a href="../start.html">uweE.de/&nbsp;HOME</a><span class=sphnav>&nbsp;&nbsp;</span><br>';
  return html;       
}
  
  

  

  
