src = ["images/Cairngorms.jpg", "images/CarrBridge.jpg", "images/DeadTree.jpg", "images/Dunnydeer.jpg", "images/LochNess.jpg", "images/SingleTrack.jpg", "images/SnowTree.jpg", "images/SnowWalk.jpg", "images/HarrisNaturalMirror.jpg", "images/PouringCloud.jpg", "images/AberdeenSnowStreet.jpg", "images/Deer.jpg", "images/HebrideanSkyline.jpg", "images/PillBox.jpg", "images/OldManWalking.jpg"]
url = ["Scottish SpaceCairngorms.htm", "Scottish SpaceCarrBridge.htm", "Scottish SpaceDeadTree.htm", "Scottish SpaceDunnydeer.htm", "Scottish SpaceLochNess.htm", "Scottish SpaceSingleTrack.htm", "Scottish SpaceSnowTree.htm", "Scottish SpaceSnowWalk.htm", "Scottish SpaceHarrisNaturalMirror.htm", "Scottish SpacePouringCloud.htm", "Scottish SpaceAberdeenSnowStreet.htm", "Scottish SpaceDeer.htm", "Scottish SpaceHebrideanSkyline.htm", "Scottish SpacePillBox.htm", "Scottish SpaceOldManWalking.htm"]
duration = 6;
ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)
switchAd();
}

