$(function() { if (document.getElementById('slides')) { $('#slides').slidesjs({ width: 990, height: 230, play: { active: true, auto: true, interval: 4000, swap: true } }); } if (document.getElementById('accordion')) { $( "#accordion" ).accordion({ heightStyle: "content" }); } //ACTIVIERT BESONDERE SEKTION (HIER IM BEISPIEL SEKTION 1) //$("#accordion").accordion('option', 'active' , 1); var footerHeight = $('#footer').height(); var footerBottom = footerHeight + $('#footer').offset().top; $(window).resize(function(){ $('#footer').css('height', footerHeight); if (footerBottom < $(document).height()) $('#footer').css('height', ($(document).height()-$('#footer').offset().top)-40); }); $('#footer').css('height', footerHeight); if (footerBottom < $(document).height()) $('#footer').css('height', ($(document).height()-$('#footer').offset().top)-40); }); function printImage(src, title1, title2) { var mywindow = window.open('', 'Ruhland GmbH - Bildergalerie'); mywindow.document.write('