function KalFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_date", "width=720, height=520, scrollbars=yes,left=50,top=100")
  Fenster.focus();
}
function AboutFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_about", "width=900, height=800, scrollbars=yes,left=300,top=50")
  Fenster.focus();
}
function AktuellFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_klein", "width=600, height=300, scrollbars=yes,left=50,top=50");
  Fenster.focus();
}
function BriefFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_news", "width=800,height=350,scrollbars=yes,left=150,top=250");
  Fenster.focus();
}
function GuestFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_guest", "width=700,height=800,scrollbars=yes,left=400,top=50");
  Fenster.focus();
}
function KontaktFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_contact", "width=500,height=500,scrollbars=yes,left=250,top=150");
  Fenster.focus();
}
function GebuFenster (Adresse) {
  Fenster = window.open(Adresse, "fenster_gebu", "width=300, height=250, scrollbars=no,left=450,top=250");
  Fenster.focus();
}
$(document).ready(function(){
		$("a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed: 'normal',
			theme: 'light_rounded',
			overlay_gallery: false,
			social_tools: false,
			deeplinking: false,
      opacity: 0.80,
			showTitle: true
		});
	});
$(document).ready(function() {
		$('a.emad').each(function() {
			e = this.rel.replace('#haha#','@euro-ducks.de');
			this.href = 'mailto:' + e;
			$(this).text(e);
		});

	});
function BackOrClose() {
document.getElementById("back_close").style.visibility = 'visible';
document.getElementById("back_back").style.visibility = 'hidden';
}
 	
//start google analytics
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25215530-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
// end google analytics
