$(document).ready(function(){ $(".pics").cycle({ timeout: 9000 }); });