var i = 0;
$(function() {
	$('#questions2 img').hide();
    var int = setInterval("doRotate(i)", 3000);
});

function doRotate() {
	var imgs = $('#questions2 img').length;
	if (i >= imgs) {
		clearInterval(i);
	}
	$('#questions2 img:hidden').eq(0).fadeIn(1000);
	i++;
}