if (!window.Weite && 
    document.body && 
    document.body.clientWidth) {
  window.onresize = neuAufbau;
  var Rand = Fensterhoehe(298);
  var Randbreite=Fensterweite(980);

  if(Rand<0) {
    Rand=0;
  }

  if(Randbreite<0) {
    Randbreite=0;
  }
}

//document.write('<div style="margin-top:'+Rand+'px;margin-left:'+Randbreite+'px;>"');
document.write('<div style="border:0px solid #f00;margin-top:'+Math.floor(Rand)+'px;XXXmargin-left:'+Math.floor(Randbreite)+'px;">');

//document.write(Math.floor(Rand));
