<!--
// JScript source code

var photos = new photoArray("images/photo1b.jpg","#nogo.htm","images/photo2b.jpg","#nogo.htm","images/photo3b.jpg","#nogo.htm");
var photo_no = 0;
var delay = 2000; 
//link_num = document.links.length-1;



function photoArray() {
 for (i=0; i*2<photoArray.arguments.length; i++) {
  this[i] = new Object();
  this[i].src = photoArray.arguments[i*2];
  this[i].href = photoArray.arguments[i*2+1];
  }
  this.length = i;
}

function rotatePhotos() {
 var photoObj;
 var linkObj;
 if (document.images) {
  photo_no = (photo_no+1)%photos.length;
  photoObj = document.getElementById('gallery_pic');
  linkObj = document.getElementById('gallery_dest');
  photoObj.src = photos[photo_no].src;
  linkObj.href = photos[photo_no].href;
 // document.js_ad.src = photos[photo_no].src;
  //document.links[link_num].href = photos[photo_no].href;
  setTimeout("rotatePhotos()",delay);
 }
}

function loadGallery() {
 //add script to load all photos before ...
 setTimeout('rotatePhotos()',2000);
}

-->