// JavaScript Document
function fnHausText(haus_text) 
{ 
 document.hausbau.haustext.value = haus_text;
} 



var msg = "  Ackon - Das erfolgreiche Immobiliensystem aus Kanada ...             ";
var txt = msg; 
   
function lauftext()
  {
  window.document.lauf.lauftext.value = txt;
  self.defaultStatus = txt;
  // Lauftext um ein Zeichen nach links schieben
  txt = txt.substring(1, txt.length) + txt.substring(0, 1);
  // Timeout fuer naechste Ausgabe setzen
  Text=window.setTimeout("lauftext()", 200);
  }
  
  
  
function feld_leeren_1()
  {
  window.document.login.username.value = "";
  }
  
  
function feld_leeren_2()
  {
  window.document.login.passwort.value = "";
  }

// Öffnet URLStr in einem neuen Fenster an der Position (left, top) und in der Größe (width * height)
function openWindow(URLStr, left, top, width, height)
{
  var grundWin=0;
  if(grundWin)
  {
    if(!grundWin.closed) popUpWin.close();
  }
  
  if( width > screen.availWidth )
  	width = screen.availWidth;
  if( height > screen.availHeight )
  	height = screen.availHeight;
  
  grundWin = window.open(URLStr, 'grundWin', 'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
  grundWin.focus();
}

