// Initialize Variables
var CurIdx = 0;
var slide_size = 9;	// Number of images in the slideshow
var slide_time = 3000;	// Time in miliseconds

// the function to change the images reference from body onload
function slides() {
        document.slideshow.src = ImageA[CurIdx];
        CurIdx += 1;
        if (CurIdx == (slide_size)) CurIdx = 0;
                setTimeout("slides()", slide_time);	//change picture
}

// Images
var ImageA = new Array (
	"/images/flexpartial.jpg",
	"/images/procera.jpg",
	"/images/acrylicdenture.jpg",
	"/images/gold.jpg",
	"/images/metalpartial.jpg",
	"/images/ipsempress.jpg",
	"/images/lava.jpg",
	"/images/captek.jpg",
	"/images/pfm.jpg"
);

