var slideVar;

$(document).ready(function(){
	onLoad();
});

function onLoad(){
	slideVar	= setTimeout("slideShow()",3000);
}//End onLoad()

function slideNext(){
	slideShowIndex	= slideShowIndex < pictures.length-1 ? slideShowIndex +1 : 0;
	$('#pictureSlide').attr("src",pictures[slideShowIndex].src);
}//End slideNext()

function slidePause(){
}//End slidePause()

function slidePrevious(){
	slideShowIndex	= slideShowIndex  == 0 ? pictures.length-1 : slideShowIndex -1;
	$('#pictureSlide').attr("src",pictures[slideShowIndex].src);
}//End slidePrevious()


function slideShow(){
	if(!document.images){
		return;
	}
	slideShowIndex	= slideShowIndex < pictures.length-1 ? slideShowIndex +1 : 0;
	$('#pictureSlide').attr("src",pictures[slideShowIndex].src);
	slideVar	= setTimeout("slideShow()",3000);
}//End slideShow()