$(document).ready(function(){
	//set all the rotate classes to be handled by Rotate()
	setRotate('.rotation');
});

function setRotate(id){
	$(id).height($(id).children().height());
	$(id).cycle({fx: 'fade',timeout:3000,speed:3000,fit:1,delay:5});
}
