function getsize() {
	var mainTopmenuHeight
	var mainBottomHeight
	var topBannerHeight
	var searchAreaFrontHeight
	var searchAreaHeight


	var submenuHeight
	var teasersHeight
	var documentHeight
	var frontspotsHeight

  if (document.body.scrollHeight) {
		submenuHeight = document.getElementById("subMenu").scrollHeight;		

		if (document.getElementById("teasers")) {
			teasersHeight = document.getElementById("teasers").scrollHeight;		
			frontspotsHeight = document.getElementById("frontSpots").scrollHeight;		
			//alert("sub:"+submenuHeight+", teaser:"+teasersHeight+", spot:"+frontspotsHeight)

			if (teasersHeight>submenuHeight) {
				document.getElementById("subMenu").style.height = teasersHeight+14;
			}
			if (teasersHeight>frontspotsHeight) {
				document.getElementById("frontSpots").style.height = teasersHeight;
			}
		}

		if (document.getElementById("document")) {
			documentHeight = document.getElementById("document").scrollHeight;		
			//alert("sub:"+submenuHeight+", document:"+documentHeight)

			if (documentHeight>submenuHeight) {
				document.getElementById("subMenu").style.height = documentHeight+16;
			}
		}



		if (document.getElementById("topBanner")) {
			mainTopmenuHeight = document.getElementById("mainTopmenu").scrollHeight;		
			topBannerHeight = document.getElementById("topBanner").scrollHeight;		
			searchAreaFrontHeight = document.getElementById("searchAreaFront").scrollHeight;		
			mainBottomHeight = document.getElementById("mainBottom").scrollHeight;		

			totalHeight = mainTopmenuHeight + topBannerHeight + searchAreaFrontHeight + submenuHeight + mainBottomHeight;
			//mainPlaceholderHeight = topBannerHeight + searchAreaFrontHeight + submenuHeight;

			//document.getElementById("mainPlaceholder").style.height = mainPlaceholderHeight;
			//document.getElementById("mainLayout").style.height = totalHeight;

		}


		if (document.getElementById("document")) {
			mainTopmenuHeight = document.getElementById("mainTopmenu").scrollHeight;		
			searchAreaHeight = document.getElementById("searchArea").scrollHeight;		
			mainBottomHeight = document.getElementById("mainBottom").scrollHeight;		

			totalHeight = mainTopmenuHeight + searchAreaHeight + submenuHeight + mainBottomHeight;
			//mainPlaceholderHeight = searchAreaHeight + submenuHeight;

			//alert("total:"+totalHeight+"top:"+mainTopmenuHeight+"search:"+searchAreaHeight+"sub:"+submenuHeight+"bottom:"+mainBottomHeight);
			
			//document.getElementById("mainPlaceholder").style.height = mainPlaceholderHeight;
			//document.getElementById("mainLayout").style.height = totalHeight;

		}
		



     //window.resizeTo(348,document.body.scrollHeight+102);
	}
}
