
var current=1;
var previous=1;

function hideSlide()
{
	$(document.getElementById("jslide"+previous+"")).fade();
	if(previous==4){previous=0;} 
}// End of function

function showSlide()
{
	current=previous+1;
   window.setTimeout(function(){
	   $(document.getElementById("jslide"+current+"")).appear(); Effect.Shake("image"+current+"");
   },1000)
       previous=current; 
	   
	   
}// End of function
function animate()
{
	hideSlide(); showSlide();
}// End of function




function EventHandlers()
{
	window.setInterval("animate()",10000);
	
}//End of function
