//AddThis-Konfiguration START
var addthis_config = { ui_delay:200  }
//AddThis-Konfiguration ENDE


//NivoSlider-Konfiguration START
$(window).load(function() {
    $('#slider').nivoSlider();
});
//NivoSlider-Konfiguration ENDE    
    

//Menu-Konfiguration START    
$(document).ready(function(){
  function slideTheMenuUp() {
    $(this).find('.subnav').slideUp('fast');
    $(this).removeClass('active');
    }
  function slideTheMenuDown() {
      $(this).click(function() { 
      $(this).addClass('active');
      $(this).find('.subnav').slideDown('fast')
    }); 
    }                   
    $('ul.topnav li').hoverIntent({
        sensitivity: 9,
        interval: 10,
        over: slideTheMenuDown,
        timeout: 500,
        out: slideTheMenuUp
      })
});


//NivoSlider-Konfiguration ENDE


//Footer-Slider-Konfiguration START
     $(document).ready(function(){
       $("#bottom_1").mouseover(function(){$('#bottom_1_over').slideDown('fast');});
       $("#bottom_2").mouseover(function(){$('#bottom_2_over').slideDown('fast');});       
       $("#bottom_3").mouseover(function(){$('#bottom_3_over').slideDown('fast');});
       
     $("#bottom").mouseleave(function () {$("#bottom_1_over").fadeOut('fast').delay(200);});
     $("#bottom").mouseleave(function () {$("#bottom_2_over").fadeOut('fast').delay(200);});
   $("#bottom").mouseleave(function () {$("#bottom_3_over").fadeOut('fast').delay(200);});
     });
//Footer-Slider-Konfiguration ENDE


//Analytics-Start
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18514632-12']);
  _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);
  })();
//Analytics-Ende
