<!--hide script from non-js-browsers

function neues_fenster(newUrl,x,y) 
{
	var nwl = (screen.width/2-x);
    var nwh = (screen.height-y)/8;
	if ( self.neuesFenster)
		if ( self.neuesFenster.close )
			neuesFenster.close();
            neuesFenster = window.open(newUrl,'Zweitfenster','resizable=yes,scrollbars=no,left='+nwl+',top='+nwh+',WIDTH='+x+',HEIGHT='+y+'');
	neuesFenster.focus();
	return;
}

function second_popup(URL,a,b)
{
  var mwl = (screen.width/2);
  var mwh = (screen.height-b)/8;
  var popUp;
  popup=window.open(URL, 'Drittfenster', 'toolbar=no,location=no,directories=no,menubar=no,status=yes,resizable=yes,scrollbars=yes, left='+mwl+',top='+mwh+',width='+a+', height='+b+''); 
  popup.window.focus();
}

function longpano_popup(longURL,c,d)
{
  var lwl = (screen.width/2-c);
  var lwh = (screen.height-d);
  var longpopup;
  longpopup=window.open(longURL,'Viertfenster', 'toolbar=no,location=no,directories=no,menubar=no,status=yes,resizable=yes,scrollbars=yes, left='+lwl+',top='+lwh+',width='+c+', height='+d+''); 
  longpopup.window.focus();
}

function fitscreen_popup(fitURL,e,f)
{
  var kwl = (0);
  var kwh = (0);
  var jwl = (screen.width);
  var jwh = (screen.height);
  var fitscrpopup;
  fitscrpopup=window.open(fitURL,'fitfenster', 'toolbar=no,location=no,directories=no,menubar=no,status=yes,resizable=yes,scrollbars=yes, left='+kwl+',top='+kwh+',width='+jwl+', height='+jwh+''); 
  fitscrpopup.window.focus();
}

// stop hiding -->
