//<!--  
var statustext = "immowelt";
window.status=statustext;
var ns;
var ns6;
var SessionTimeoutID=0;
	
function diashow(page,gid,bildnr,command)
{
	var http = page + '?gid=' + gid +'&bnr='+bildnr +'&com='+command ;
	diashowwin=window.open( http, 'diashow', 'height=400,width=440,scrollbars=0,resizable=1');
	diashowwin.focus();
}

function openwin(page)
{ 
	fenster = open(page,"merker","directories=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0,width=280,height=130");
} 
  
function closeWin()
{
  setTimeout("fenster.close()",1200);
}
  
function openwinold(page)
{ 
	// fenster = open("","merker","directories=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0,screenX=100,screenY=50,width=280,height=150");
	fenster = open("","merker","directories=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0,screenX=0,screenY=0,width=1,height=1");
	if(fenster != null) 
	{      
		if(fenster.opener == null)
			fenster.opener=self;
		fenster.location.href= page;    
		//fenster.focus();
		fenster.close();
	} 
	else 
	{
     alert("Konnte Fenster nicht laden");
    }  
}

function noCookies()
{ 
	alert("Ihr Browser ist so eingestellt, dass keine Cookies akzeptiert werden.\nWenn Sie diese Funktion nuetzen moechten,\nmuessen Sie die betreffende Einstellung in Ihrem Browser aendern.")
} 	  

function stadtplan(page)
{	var http = page;
	stadtplanwin=window.open( http, 'stadtplan', 'height=615,width=532,scrollbars=0,resizable=1');
	stadtplanwin.focus();
} 

function openWindow(url,width,height)
{
	if(url.length > 0)
	{
		mywindow = window.open(url, 'thewindow' , 'width=' + width + ',height=' + height + 'scrollbar=0,resizable=0');
		mywindow.focus();		
	}
}

function finanzrechner(page)
{	
	finanzrechnerfenster = open(page, 'finanzrechner', 'height=600,width=620,scrollbars=yes,resizable=1');
	finanzrechnerfenster.focus();
} 
  
//-->

