x=0;

$(document).ready(function() {
    $('.slideshow').cycle({
		 fx:     'curtainX',
       sync:    0,
       speed:  700, 
       timeout: 1,
       after:   onAfter 

	});
	


		});


function onAfter() {
 
x++;

if(x==2){
$(document).ready(function() {
 $('.slideshow').cycle('pause');	
	


		});
}
}		
