$(document).ready(function() {
    $("a.impressumLink").click(function(){
		document.getElementById('bgDiv').scrollTop = this.scrollTop;
		document.getElementById('bgDiv').style.overflow = 'hidden';
         $("#impressumFrame").animate({ height: 'show', opacity: 'show' }, 'slow');
		 $("img.close").animate({ height: 'show', opacity: 'show' }, 'slow');
		 $(".overlay").animate({opacity: 'show' }, 'normal');
    });
	    $("img.close").click(function(){
		document.getElementById('bgDiv').style.overflow = 'auto';
         $("#impressumFrame").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $("img.close").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $(".overlay").animate({opacity: 'hide' }, 'normal');
    });
	
	    $("a.kontaktLink").click(function(){
		document.getElementById('bgDiv').scrollTop = this.scrollTop;
		document.getElementById('bgDiv').style.overflow = 'hidden';
         $("#kontaktFrame").animate({ height: 'show', opacity: 'show' }, 'slow');
		 $("img.close2").animate({ height: 'show', opacity: 'show' }, 'slow');
		 $(".overlay").animate({opacity: 'show' }, 'normal');
    });
	    $("img.close2").click(function(){
		document.getElementById('bgDiv').style.overflow = 'auto';
         $("#kontaktFrame").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $("img.close2").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $(".overlay").animate({opacity: 'hide' }, 'normal');
    });
	    $("img.close3").click(function(){
		document.getElementById('bgDiv').style.overflow = 'auto';
         $("#bildFrame").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $("img.close3").animate({ height: 'hide', opacity: 'hide' }, 'slow');
		 $(".overlay").animate({opacity: 'hide' }, 'normal');
    });
});
        var RecaptchaOptions = {
                lang : 'de', // Unavailable while writing this code (just for audio challenge)
                theme : 'red',
        };


