function processSlideshow(elem, imageList, imageDuration, fadeSpeed, current) 
{
	var listSize = imageList.length;
    if (!current || current >= listSize) current = 0;
    if (!imageDuration) imageDuration = 4000;
    if (!fadeSpeed) fadeSpeed = 5000;
    $(elem + " img").attr("src", imageList[current]);
    if (current == (listSize - 1)) { $(elem).css("background", "transparent url(" + imageList[0] + ") no-repeat");
    } else {
        $(elem).css("background", "transparent url(" + imageList[current + 1] + ") no-repeat");
    }
    $(elem + " img").animate({ opacity: "1" }, imageDuration).
	      animate({ opacity: "0.01" }, fadeSpeed, function() 
		   { 
		     $(this).css("opacity", "1"); processSlideshow(elem, imageList, imageDuration, fadeSpeed, current + 1) 
			});

} 

		var slideShow = new Array()
		slideShow[0] = "http://blog.ederntal.com/images-title-blog/blog-title-01.gif";
		slideShow[1] = "http://blog.ederntal.com/images-title-blog/blog-title-02.gif";
		slideShow[2] = "http://blog.ederntal.com/images-title-blog/blog-title-03.gif";
		slideShow[3] = "http://blog.ederntal.com/images-title-blog/blog-title-04.gif";
		slideShow[4] = "http://blog.ederntal.com/images-title-blog/blog-title-05.gif";
		slideShow[5] = "http://blog.ederntal.com/images-title-blog/blog-title-06.gif";
		slideShow[6] = "http://blog.ederntal.com/images-title-blog/blog-title-07.gif";
		
		function startSlideshow()
		{
              processSlideshow("#logotype", slideShow, 100, 1500);
        }

       $(document).ready(startSlideshow);
