var nextImg = 1;
function crossfadeImage(str_divId, imgCount)
{
	nextImg = nextImg == imgCount ? 1 : nextImg+1;
	var img = new Image();
	$(img).attr('src', 'images/img-slideshow'+nextImg+'.jpg').load(function() {
		$('#'+str_divId).prepend("<div class='slide'><img src='images/img-slideshow"+nextImg+".jpg'></div>");
		$('#'+str_divId+' .slide:last').fadeOut(1000, function() {
			$(this).remove();
		});
	});
}
