//rotating images

var switchDelay = 3000;
var randomimgPath = "http://www.ncarts.org/images/random_images/";

var howmany = 30; // for now, 30 random images. more to come

var imgIndex1 = Math.floor(Math.random()*howmany) 

//logo
function setImage1(){
   imgIndex1 = (++imgIndex1) % howmany
   document.images['NCAC_Logo'].src= randomimgPath + 'random_' + imgIndex1 + '.jpg';
   window.setTimeout('setImage1()', switchDelay);
}
function init() {

//rotating images
//   document.images['NCAC_Logo'].src= randomimgPath + 'random_' + imgIndex1 + '.jpg';
   window.setTimeout('setImage1()',switchDelay);
   }

