var screenshotIndex = 0;
scrollToScreenshotIndex=function(n) {
	ssCanvas = document.getElementById ("scrollableArea");
	ssCanvas.style.marginLeft = (-320.0 * n) + "px";
	ssCanvas = document.getElementById ("scrollableArea2");
	ssCanvas.style.marginLeft = (-240.0 * n) + "px";
}
nextImage=function() {
	screenshotIndex++;
	if (screenshotIndex >= 6)
	screenshotIndex = 0;
	this.scrollToScreenshotIndex(screenshotIndex);
	return false;
}
previousImage=function() {
	screenshotIndex--;
	if (screenshotIndex < 0)
	screenshotIndex = 5;
	this.scrollToScreenshotIndex(screenshotIndex);
	return false;
}

