	function resize() {

		// Contentcontainer
		var navigation 			= $('#navigation')[0];
		var subnavigation 		= $('#subnavigation')[0];
		var subnavigationTable 	= $('#subnavigationTable')[0];
		var contentSmall 		= $('#contentSmall')[0];
		var content				= $('#content')[0];
		var wrapper				= $('#wrapper')[0];

		// Navigation
		var mainNavigation	= $('#mainNav')[0];

		var currentHeight	= 0;
		var maxHeight		= 486;

		function getCurrentHeight() {
			currentHeight	= 0;

			if (null != navigation 		&& currentHeight < navigation.offsetHeight) 	currentHeight = navigation.offsetHeight;
			if (null != subnavigation 	&& currentHeight < subnavigation.offsetHeight) 	currentHeight = subnavigation.offsetHeight;
			if (null != contentSmall 	&& currentHeight < contentSmall.offsetHeight) 	currentHeight = contentSmall.offsetHeight;
			if (null != content 		&& currentHeight < content.offsetHeight) 		currentHeight = content.offsetHeight;
		}

		function setHeight(__height) {

			// Sonst flackert der Boden
			__height -= 2;

			if (null != navigation) 		navigation.style.height 			= __height + 'px';
			if (null != subnavigation) 		subnavigation.style.height 			= __height + 'px';
			if (null != subnavigationTable) subnavigationTable.style.height 	= __height + 'px';
			if (null != contentSmall) 		contentSmall.style.height 			= __height + 'px';
			if (null != content) 			content.style.height 				= __height + 'px';
			if (null != wrapper) 			wrapper.style.height 				= __height + 'px';

			if (null != subnavigationTable) {
				if (-1 != navigator.userAgent.indexOf("Firefox")) {
					$('#subnavigationTableCell1').height(241);
					
					if(document.getElementById('subnavigationTableCell1').offsetHeight > 241) {
						__setHeight = document.getElementById('subnavigationTableCell1').offsetHeight;
					}
					else {
						__setHeight = 241;
					}
					
					if(document.getElementById('subnavigationTableCell2').innerHTML != "") {
						$('#subnavigationTableCell2').height(__height - __setHeight);
					}
				}
				else {
					$('#subnavigationTableCell1').height(241);;
					
					if(document.getElementById('subnavigationTableCell1').offsetHeight > 241) {
						__setHeight = document.getElementById('subnavigationTableCell1').offsetHeight;
					}
					else {
						__setHeight = 241;
					}
					
					if(document.getElementById('subnavigationTableCell2').innerHTML != "") {
						$('#subnavigationTableCell2').height(__height - __setHeight - 12);
					}
				}
			}
		}

		function mainNav() {

			height = mainNavigation.offsetHeight;
			
			// Höhe des Home-Punktes dazurechnen
			/*height += 20;

			// Nachträgliche Korrektur für den Safari, da dieser eine andere Höhe berechnet
			if (-1 != navigator.userAgent.indexOf("Safari")) height += 10;

			if (205 < height && document.getElementById('mainNavLine')) {
				document.getElementById('mainNavLine').className 	= null;
			}
			else {
				document.getElementById('mainNav').style.height		='185px';
				document.getElementById('mainNav').style.overflow	='hidden';
			}*/
		}
		
		this.reset = function () {
			
			if (null != navigation) 		navigation.style.height 			= 'auto';
			if (null != subnavigation) 		subnavigation.style.height 			= 'auto';
			if (null != subnavigationTable) subnavigationTable.style.height 	= 'auto';
			if (null != contentSmall) 		contentSmall.style.height 			= 'auto';
			if (null != content) 			content.style.height 				= 'auto';
			if (null != wrapper) 			wrapper.style.height 				= 'auto';
		}

		this.getAvailableScreen = function() {
			var availableScreen = [0,0];
		
			/* Mozilla kompatibel */
			if (window.innerWidth !== undefined) {
				availableScreen = [window.innerWidth,window.innerHeight];
			}
			
			/* Internet Explorer kompatibel */
			else {
				var IE_Quirk = document.body; /* IE ohne DocType */
				var IE_Standard = document.documentElement; /* IE mit DocType */
				IE = (IE_Standard.clientHeight) ? IE_Standard : IE_Quirk;
				availableScreen = [IE.clientWidth,IE.clientHeight];
			}
			
			return availableScreen;
		}

		this.setBuilderHeight = function() {
    		var screen = this.getAvailableScreen();
    		var height = screen[1];
    		var contentH1 = 135; /* Höhe des contentH1 DIV */
			height -= 132; /* Höhe abzüglich Logo & Footer */

			if (height > maxHeight) {
				$('#navigation').height(height - 2);
				$('#wrapper').height(height);
				$('#content').height(height);
				$('#contentH2').height(height- contentH1);
			}
		}		

		this.setDownloadHeight = function() {
    		var screen = this.getAvailableScreen();
    		var height = screen[1];
    		var contentH1 = 103; /* Höhe des contentH1 DIV */
			height -= 100; /* Höhe abzüglich Logo & Footer */

			if (height > maxHeight) {
				$('#navigation').height(height - 2);
				$('#wrapper').height(height);
				$('#content').height(height);
				$('#contentH2').height(height- contentH1);
			}
		}


		this.resize = function() {
			
			// Zurücksetzen von Höhen
			this.reset();
			
			// Abfragen der derzeitig größten Höhe
			getCurrentHeight();

			// Überprüfen, ob die aktuelle Höhe über der Standardhöhe liegt
			if (currentHeight > maxHeight) {

				setHeight(currentHeight-1);
			} else {

				setHeight(maxHeight-1);
			}

			// Mainnav: Position der Linie überprüfen
			if (null != mainNavigation) mainNav();
		}
	};