function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);

function brussels_win()
{
window.open('brussels.html','brussels','height=503,width=503,dependent=yes,menubar=no,location=yes,toolbar=no,resizable=yes,scrollbars=yes' ); 
  }

function curtis_win()
{
window.open('curtis.html','charles_curtis','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=auto' ); 
  }

function curtis_en_win()
{
window.open('curtis_en.html','charles_curtis','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function jullander_win()
{
window.open('jullander.html','jullander','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=auto' ); 
  }
  
function jullander_en_win()
{
window.open('jullander_en.html','jullander','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
function kanton_win()
{
window.open('kanton.html','kanton','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function kanton_en_win()
{
window.open('kanton_en.html','kanton','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function kleine_win()
{
window.open('kleine.html','kleine_wohnen','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function kleine_en_win()
{
window.open('kleine_en.html','kleine_wohnen','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
function ion_win()
{
window.open('ion.html','ion_plus','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function ion_en_win()
{
window.open('ion_en.html','ion_plus','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
function state_win()
{
window.open('state.html','state_river_widening','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function state_en_win()
{
window.open('state_en.html','state_river_widening','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  } 
 
 function kontakt_win()
{
window.open('kontakt.html','kontakt','height=174,width=250,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

function contact_win()
{
window.open('contact.html','contact','height=351,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
 function br001_win()
{
window.open('br001.html','br001','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
 function br002_win()
{
window.open('br002.html','br002','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

 function br003_win()
{
window.open('br003.html','br003','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  } 

 function br004_win()
{
window.open('br004.html','br004','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  } 
  
 function br005_win()
{
window.open('br005.html','br005','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }
  
 function br006_win()
{
window.open('br006.html','br006','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  } 
  
 function br007_win()
{
window.open('br007.html','br007','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  
  
 function br008_win()
{
window.open('br008.html','br008','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  

 function br009_win()
{
window.open('br009.html','br009','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

 function br010_win()
{
window.open('br010.html','br010','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

 function br011_win()
{
window.open('br011.html','br011','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }

 function br012_win()
{
window.open('br012.html','br012','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  
  
 function br013_win()
{
window.open('br013.html','br013','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  
 
  function br014_win()
{
window.open('br014.html','br014','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  

  function br015_win()
{
window.open('br015.html','br015','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  } 
  
  function br016_win()
{
window.open('br016.html','br016','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  
  
  function br017_win()
{
window.open('br017.html','br017','height=175,width=503,dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no' ); 
  }  
  
function randomImage() {

	var anzahlBilder = 12;
	var dateiEndung = '.gif';
	var bildLink = Math.round(Math.random() * ( 12 - 1) ) + dateiEndung;

	document.write('<background="../images/' + bildLink + '" alt="" width="90" height="121" hspace="0" vspace="0" border="0" align="top">');
}

function picturePopup (dim,bild_ID) {
 var width = dim;
 var height = dim + 40;

 window.open('../extern/picture.html?bild_ID=' + bild_ID,'picture','dependent=yes,menubar=no,location=no,toolbar=no,resizable=no,scrollbars=no,width=' + width + ',height=' + height);
}
