//Change this variable to change the auto slide timer
var theTimerDuration = 6000;


//*******No Need to edit below this line**********

var theIntervalTimer = 0;

function autoSlideIt() {
	jQuery('img.right').click();
}

function bodyInit() {
	theIntervalTimer = setInterval('autoSlideIt()',theTimerDuration);
}

function killAutoSlider(direction) {
	clearInterval (theIntervalTimer);

	if(direction == 1){
		jQuery('img.left').click();
	}
	
	if(direction == 0){
		jQuery('img.right').click();
	}
}