JQuery cycle

JQuery cycle

Hi 
I am using cycle method from  http://malsup.github.com/jquery.cycle.all.js ". I have created a div with some images in it which I want to slide, I am calling the cycle method on the div, now when i sign in the page for the first time the images are not sliding but as i refresh the page the images start sliding, why must that be happening ?
Also I want the images to slide as soon as i sign in, i have tried using document.ready(function(){ }); but have same behavior.

<script type="text/javascript" src="http://malsup.github.com/jquery.cycle.all.js"></script>

<div id="slideshow">
	<img src="image1.jpg"/>
	<img src="image2.jpg"/>
	<img src="image3.jpg"/>
</div>
and in the js i have called
b(".slideshow").cycle({ fx: "fade", timeout: 100 }); 
Any help around this will be appreciated. Thanks :)