var id_current = -1;
function homeSlideShow() {
	var children = $("photo_gallery").childNodes;
	if(id_current != -1) Element.hide(children[id_current].id);
	if(id_current < (children.length - 1)) id_current = id_current + 1;
	else id_current = 0;
	new Effect.Appear(children[id_current].id, { duration: 1.5 });
	window.setTimeout("homeSlideShow()", 5000);
}
window.onload = homeSlideShow;
