// JavaScript Document
$("document").ready(function(){
	$(".LinkGrundpfeiler > span").click(function() {$.scrollTo($("#AnkerGrundpfeiler"), 1500)});
	$(".LinkEinzeltherapie > span").click(function() {$.scrollTo($("#AnkerEinzeltherapie"), 1500)});
	$(".LinkYoga > span").click(function() {$.scrollTo($("#AnkerYoga"), 1500)});
	$(".LinkEntschlackung > span").click(function() {$.scrollTo($("#AnkerEntschlackung"), 1500)});
	$(".LinkAufatmen > span").click(function() {$.scrollTo($("#AnkerAufatmen"), 1500)});
	$(".LinkWechseljahre > span").click(function() {$.scrollTo($("#AnkerWechseljahre"), 1500)});
	$(".LinkImpressionen > span").click(function() {$.scrollTo($("#AnkerImpressionen"), 1500)});
	$(".LinkKontakt > span").click(function() {$.scrollTo($("#AnkerKontakt"), 1500)});
	$(".LinkLinks > span").click(function() {$.scrollTo($("#AnkerLinks"), 1500)});
	$(".Seitenleiste > div > a").click(function() {$.scrollTo($("body"), 1500)});

	Shadowbox.init({
		handleOversize: 'drag',
		modal: false,
		counterType: 'skip',
		counterLimit: 12,
		overlayOpacity: 0.6
	});
	
	$('a[href="#"]').nospam({
        filterLevel: 'low', replaceText: true
    });

});

// google analytics
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-10734705-16']);
  _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);
  })();
