$(window).load(function() { $("#container1").twentytwenty(); });