function slideShow(current) {
	
	var next = Math.floor(Math.random()*totalimages)+1;
	/*if(next > totalimages) {
		next = 1;
	}*/
	$('slideshow'+current).style.zIndex = 3;
	$('slideshow'+next).style.zIndex = 2;
	Effect.Appear('slideshow'+next, {duration:0});
	if(totalimages > 1) {
		new Effect.Fade($('slideshow'+current),{duration: 3.0});
		window.setTimeout('slideShow('+(next)+');',5500);
	}
	
}