$(function() { 
    // run the code in the markup!
    $('#s3').cycle({fx:'fade', speed:700, timeout:4000, random:1 });
});