
function Fensterweite() {
	if (window.innerWidth) return window.innerWidth;
	else if (document.documentElement.clientWidth) return document.documentElement.clientWidth-5;
	else if (document.body && document.body.offsetWidth) return document.body.offsetWidth-5;
	else return 0;
}

function Fensterhoehe() {
	if (window.innerHeight) return window.innerHeight;
	else if (document.documentElement.clientHeight) return document.documentElement.clientHeight;
	else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
	else return 0;
}

function neuAufbau(){
	Dokument =document.getElementById("BIG");
	Links = document.getElementById("logo");
	Entwicklung = document.getElementById("developers");
	
	Hoehe = Fensterhoehe() - 50;
	HoeheStart = (Hoehe / 2) - 167;
	HoeheStart = HoeheStart + "px";
	Links.style.top = HoeheStart;
	
	Hoehe = Hoehe + "px";
	Dokument.style.top = "25px";
	Dokument.style.height = Hoehe;
	
	if (Fensterweite() > 1000) {
		Dokument.style.width = "1000px";
		BD = (Fensterweite() - 1000) / 2;
		BD = BD + "px";
		Links.style.left = "200px";
		Dokument.style.left = BD;
	} else {
		Weite = Fensterweite() - 50;
		WeiteStart= (Weite / 2) - 300;
		WeiteStart= WeiteStart + "px";
		Weite = Weite + "px";
		Links.style.left = WeiteStart;
		
		Dokument.style.width = Weite;
		Dokument.style.left = "25px";
	}
	
}
function neuLaden(){
	neuAufbau();
	var Weite = Fensterweite();
	var Hoehe = Fensterhoehe();
	var Anker = document.location.hash;
	if (Anker!="") {
		location.hash=Anker;
	}	
}

/*Überwachung von Netscape initialisieren*/
if(!window.Weite && window.innerWidth){
   window.onresize = neuAufbau;
   Weite = Fensterweite();
   Hoehe = Fensterhoehe();
  }
/*Überwachung von MS Internet Explorer initialisieren*/
 if(!window.Weite && document.body && document.body.offsetWidth){
   window.onresize = neuAufbau;
   Weite = Fensterweite();
   Hoehe = Fensterhoehe();
  }