$(document).ready(function(){
	// Breite des Bildes oben berechnen
	breite = $("#TechnologieNavi ul").width() + 18; // Technologie aktiv
	breite1 = $("#TechnologieNaviIA ul").width() + 18; // Technologie inaktiv

	gesamtbreite = $("#TechnologieNavi").width() + 0;
	gesamtbreite1 = $("#TechnologieNaviIA").width() + 0;
//alert(gesamtbreite + ' ' + gesamtbreite1);
	if(gesamtbreite1 > 0){
		rest = gesamtbreite1 - breite1
	} else {
		rest = gesamtbreite - breite
	}
//alert(rest);
$("#WP").css('width',rest); // H�he des Bildes hinter der Navi
	
	// hoehe Branchen an Content anpassen 
	Contenthoehe = $("#ContentShadow").height() + 18;
	Navihoehe = $("#BranchenNavi ul").height() + 1;
	Navihoehe1 = $("#BranchenNaviIA ul").height() + 1;
	$("#BranchenNavi").css('height',Contenthoehe);
	$("#BranchenNaviIA").css('height',Contenthoehe);
      $("#BranchenImg").css('height',Contenthoehe -1);
	if(Navihoehe1 > 1){
		rest2 = Contenthoehe - Navihoehe1;
	} else {
		rest2 = Contenthoehe - Navihoehe;
	}
	$("#HP").css('height',rest2); // H�he des Bildes unter der Navi
	
	/*ab hier neu f. Feedbackformular*/
	 $("#suchmaschine").change(function() {
           if($(this).val() == "Google"){
               	$("#Anzeige").show("slow")
          }else {
          	$("#Anzeige").hide("slow")
          }
      
        })
 
});

