function fensterAnpassen(intBreite, intHoehe){
    var intWidth = Math.floor(screen.width/2)-Math.floor(intBreite/2);
    var intHeight = Math.floor(screen.height/2)-Math.floor(intHoehe/2);
    self.resizeTo(intBreite, intHoehe);
    self.moveTo(intWidth, intHeight);
}