<!--
 //define global variables for the slide show
   var interval=4000;
   var intervalID=0;
 // build list of images for slide show
   var piclist = new Array(); // will hold the URL of jpeg to display
   for (var i = 1; i < 11; i++) {  
        piclist[i] = "http://www.newbornconcepts.com/images/photo_slideshow" + i + ".jpg"// s URL of each jpeg
              }
   i=1; // reset index variable
   
	startshow();
	
// function that creates the slide show window and schedules showing of slides by newslide
function startshow() { 
    clearInterval(intervalID); // reset, in case one was already running
    if (interval == 0) interval =500;
    intervalID = window.setInterval('newslide()', interval);  // set up the periodic new pic
    newslide();  // display the first slide
}
// function that displays the next slide
function newslide() {

//  use the list of images created at end of document  
        if (i == piclist.length) i = 1;   // go back to beginning when at end
        document.images['slidepic'].src = piclist[i++];
 
}