var slideSettings = {
	length: 5000
	};

function changePhoto() {
 		if (($('li.slideshow').index($('#photoSel'))+1) < $('li.slideshow').length) {
 			$('li#photoSel').fadeOut(function(){ 
 			$('li.slideshow:eq('+($('li.slideshow').index($('#photoSel')) + 1) +')').fadeIn();
 			var tmpphoto = ($('li.slideshow').index($('#photoSel')) + 1);
 			$('#photoSel').attr({ id: ""});
    		$('li.slideshow:eq('+ tmpphoto +')').attr({ id: "photoSel"});
 			});
 			}
 		else if (($('li.slideshow').index($('#photoSel'))+1) == $('li.slideshow').length) {
 			$('li#photoSel').fadeOut(function(){ 
 			$('li.slideshow:eq('+ 0 +')').fadeIn();
 			var tmpphoto = 0;
 			$('#photoSel').attr({ id: ""});
    		$('li.slideshow:eq('+ tmpphoto +')').attr({ id: "photoSel"});
 			});
 			}
 }

function quickSlide () {
	$('li.slideshow').hide();
 	$('li.slideshow:first').attr({ id: "photoSel"});
	$('li#photoSel').fadeIn();
	var intervalID = setInterval("changePhoto()", slideSettings.length);
}
