function getHeight() {
	var allesHeight= document.getElementById('homeAlles').offsetHeight;
	var	homeLayout16Height= document.getElementById('homeLayout16').offsetHeight;
	var	homeLayout19Height= document.getElementById('homeLayout19').offsetHeight;
	document.getElementById('spalteLinks').style.paddingTop = allesHeight-homeLayout16Height-homeLayout19Height-2+"px";
	document.getElementById('spalteRechts').style.paddingTop = allesHeight-homeLayout16Height-homeLayout19Height-2+"px";
}

jQuery.noConflict();
jQuery(document).ready(function($) {
	$(document).ready(function(){
		$(".pane-list li").click(function(){
		  window.location=$(this).find("a").attr("href"); return false;
		});
		$("ul.pane-list li.normal").attr("id", function (arr) {
		  return "ausrichtung" + arr;
		});
		$("ul.pane-list div.umbruchVar").attr("class", function (arr) {
		  return "umbruch" + arr;
		});
		$(".newsgross").click(function(){
		  window.location=$(this).find("a").attr("href"); return false;
		});
	});
	
	$(document).ready(function(){
		var firstTime = false;
		var currentObj;
		currentObj = doNews(".pane-list li:first", currentObj);
		
		$(".pane-list li").hover(function(){
			currentObj = doNews(this,currentObj);                              
		});
		
		$("#loaderblock").fadeOut("slow", function() {
			$("#news").fadeIn("slow");
		});
	});

	function doNews(obj, currentObj) {
		if (currentObj) {
			$(currentObj).removeClass("active");    
		}
		currentObj = obj;
		$(obj).addClass("active");    
		
		newsPicturePath = $(obj).find("img").attr("src");
		newsHeadlineVar = $(obj).find("h3").html();
		newsTeaserTextVar = $(obj).find("h4").html();
		newsLinkVar = $(obj).find("a").attr("href");
		$("#newsPicture").attr({ src: newsPicturePath, alt: newsHeadlineVar, title: newsHeadlineVar });
		$("#newsHeadline").html(newsHeadlineVar);
		$("#newsTeaserText").html(newsTeaserTextVar);
		$("#newsLink").attr({ href: newsLinkVar });
		return currentObj;
	}

}); 

