$(document).ready(function () {
    $(window).resize(function () {
      var pos = $(".FooterLinks").offset();        
      if ($(window).width() < 980 + 241 + 241)
      {
        //window too narrow to place object to the left
        //position below footer.
        $("#geenDruppel").css({
            left: "5px",
            top: pos.top + 3 + "px"
        });
      }
      else{
        //position in left bottom corner
        $("#geenDruppel").css({
            left: "5px",
            top: $(window).height() +  $(window).scrollTop() - 33 - 5 + "px"
        });
      }
    });
    $(window).resize();
    $(window).scroll(function () { 
      $(window).resize();
    });
});
