// JavaScript Document

		 function Size() {
		  var myWidth = 0, myHeight = 0;
		  if( typeof( window.innerWidth ) == 'number' ) {
			//Non-IE
			myWidth = window.innerWidth;
			myHeight = window.innerHeight;
		  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			//IE 6+ in 'standards compliant mode'
			myWidth = document.documentElement.clientWidth;
			myHeight = document.documentElement.clientHeight;
		  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			//IE 4 compatible
			myWidth = document.body.clientWidth;
			myHeight = document.body.clientHeight;
		  }

		  var fade = document.getElementById("backgroundContainer");
		  $(fade).fadeIn("slow", 0.55);

		  //Hintergrund
		  if(myWidth<1200 && myHeight<758){
			$(fade).fadeIn("slow", 0.55);
			document.getElementById("sitebody").className = 'bg1200';
		  }else if(myWidth<1300 && myHeight<821){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1300';
		  }else if(myWidth<1400 && myHeight<884){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1500';
		  }else if(myWidth<1500 && myHeight<947){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1500';
		  }else if(myWidth<1600 && myHeight<1011){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1600';
		  }else if(myWidth<1700 && myHeight<1074){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1800';
		  }else if(myWidth<1800 && myHeight<1137){
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1800';
		  }else{
			$(fade).fadeIn("slow", 0.55);  
		  	document.getElementById("sitebody").className = 'bg1900';
		  }
		  
		  $(fade).fadeTo("slow", 1.00);
		  
		  
		  //Content
		  if(myWidth<1200){
			document.getElementById("wrap").style.margin = "0 auto";
		  }else if(myWidth<1300){
			document.getElementById("wrap").style.marginLeft = "600px";
		  }else if(myWidth<1400){
			document.getElementById("wrap").style.marginLeft = "650px";
		  }else if(myWidth<1500){
			document.getElementById("wrap").style.marginLeft = "700px";
		  }else if(myWidth<1600){
			document.getElementById("wrap").style.marginLeft = "770px";
		  }else if(myWidth<1700){
			document.getElementById("wrap").style.marginLeft = "820px";
		  }else if(myWidth<1800){
			document.getElementById("wrap").style.marginLeft = "870px";
		  }else{
			document.getElementById("wrap").style.marginLeft = "870px";
		  }
		 }

