
	iCurrentPhoto	= 1;
	iTotalPhotos	= 5;

	function slide( sDirection )
	{
		if ( 'left' === sDirection )
		{
			iCurrentPhoto	= 1 === iCurrentPhoto ? iTotalPhotos : iCurrentPhoto - 1;
		}
		if ( 'right' === sDirection )
		{
			iCurrentPhoto	= iTotalPhotos === iCurrentPhoto ? 1 : iCurrentPhoto + 1;
		}
		document.getElementById( 'slideshow' ).style.background = "url('/images/photos/" + iCurrentPhoto + ".JPG') no-repeat top left";
	}
