jQuery().ready(function(){
	
	var bodyId = jQuery('body').attr("id");
	jQuery('BODY').bgStretcher({
		images: ['images/'+bodyId+'.jpg'],
		imageWidth: 1024, 
		imageHeight: 768, 
		slideShow: false
	});
	
	var imgSrcHome = jQuery('#botton-home').attr("src");	
	$("#botton-home").hover(function() {
		$(this).attr("src","images_content/button-home-over.png");
			}, function() {
		$(this).attr("src",imgSrcHome);
	});
	
	$("#inputSubmit").hover(function() {
		$("#inputSubmit img").attr("src","images_content/button-submit-over.png");
			}, function() {
		$("#inputSubmit img").attr("src","images_content/button-submit.png");
	});	
	
	$("#button-ueber-uns").hover(function() {
		$("#button-ueber-uns img").attr("src","images_content/button-ueber-uns-over.png");
			}, function() {
			if (bodyId == "ueber-uns") {
				$("#button-ueber-uns img").attr("src","images_content/button-ueber-uns-aktiv.png");
			} else {
				$("#button-ueber-uns img").attr("src","images_content/button-ueber-uns.png");
			}
	});

	$("#button-kalender-"+bodyId).hover(function() {
		$("#button-kalender-"+bodyId+" img").attr("src","images_content/button-kalender-over.png");
			}, function() {
		$("#button-kalender-"+bodyId+" img").attr("src","images_content/button-kalender.png");
	});	
	$("#button-kalender-home").hover(function() {
		$("#button-kalender-home img").attr("src","images_content/button-kalender-home-over.png");
			}, function() {
		$("#button-kalender-home img").attr("src","images_content/button-kalender-home.png");
	});	
	
}); 




