// The functions that control the automatic slide show of the front page.
function clickNext() {
			if($("#next").hasClass('active')){
				$("#autoslideshow").trigger('click');
			} else {
				$("#autoswitchtofirst").trigger('click');
			}
		}
		
		function slideShow() {
			$(document).ready(function() {
				autoslideShowId = setInterval('clickNext();', 6500);
			});
		}