	function resize() {

		// Contentcontainer
		var navigation 		= document.getElementById('navigation');
		var subnavigation 	= document.getElementById('subnavigation');
		var contentSmall 	= document.getElementById('contentSmall');
		var content			= document.getElementById('content');
		var wrapper			= document.getElementById('wrapper');

		// Navigation
		var mainNavigation	= document.getElementById('mainNav');

		var currentHeight	= 0;
		var maxHeight		= 486;

		function getCurrentHeight() {

			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 != contentSmall) 	contentSmall.style.height 	= __height + 'px';
			if (null != content) 		content.style.height 		= __height + 'px';
			if (null != wrapper) 		wrapper.style.height 		= __height + 'px';
		}

		function mainNav() {

			height = mainNavigation.offsetHeight;

			// Höhe des Home-Punktes dazurechnen
			height += 14;

			if (242 < height && document.getElementById('mainNavLine') && document.getElementById('iconbar')) {
				document.getElementById('mainNavLine').className 	= null;
				document.getElementById('iconbar').className 		= 'line';
			}
			else {
				document.getElementById('mainNav').style.height	='215px';
			}
		}

		this.resize = function() {
			// 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);
			} else {

				setHeight(maxHeight);
			}

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