
	jQuery.noConflict();
	jQuery(document).ready(function($){
		// Eingabeformulare Nachbarbeitung
		//$('.yform div:has(strong.message)').addClass('error');



		if( (jQuery.browser.msie)){
			var Top = $('#col1_content').offset().top;
			var footerTop = $('#footer').offset().top;
			var iheight = $('#col1_content').innerHeight();
			iheight = ( iheight > $('#col2_content').innerHeight() ? iheight : $('#col2_content').innerHeight());
			iheight = ( iheight > $('#col3_content').innerHeight() ? iheight : $('#col3_content').innerHeight());
//			iheight -= $('#footer').css('margin-top');

//			$('.page, #col1_shadow, #col2_shadow, #col3_shadow').syncHeight();
//			$('#col1_shadow, #col2_shadow, #col3_shadow').fadeTo("fast", 0.75);
//			$('#col1_shadow').css('width', $('#submenu').innerWidth() + 20);
//			$('#col2_shadow').css('width', $('#col2_content').innerWidth() - 40);
//			$('#col3_shadow').css('width', $('#col3_content div').outerWidth() - 20);


			$('#col1_shadow, #col2_shadow, #col3_shadow').css('height', iheight.toString() + "px");
		} else {
//			$('#col1_shadow, #col2_shadow, #col3_shadow').fadeTo("fast", 0.75);
//			$('#col1_shadow').css('width', $('#col1_content').width());
//			$('#col2_shadow').css('width', $('#col2_content').width() + 20);
//			$('#col3_shadow').css('width', $('#col3_content').width() + 40);
			$('#col1_content, #col2_content, #col3_content, #col1_shadow, #col2_shadow, #col3_shadow').syncHeight();
		}

		$('#col1_shadow, #col2_shadow, #col3_shadow').fadeTo("fast", 0.75);
		$('#col1_shadow').css('width', $('#submenu').innerWidth() + 20);
		$('#col2_shadow').css('width', $('#col2_content').innerWidth() - 40);
		$('#col3_shadow').css('width', $('#col3_content div').outerWidth() - 20);




		$('#header').attr("title","Zurueck zum Anfang, wo alles begann!").addClass('link').bind('click', function(e){
			document.location.href="/";
		});
	});

