var flist=new Array();
flist=[
      "westst.htm",
      "highst.htm",
      "oldharbour.htm",
      "glaniad1.htm",
      "glaniad2.htm",
      "tapestry.htm"
      ];

var title=new Array();
title=[
      "West Street",
      "Murals on High Street",
      "The Old Harbour",
      "Last Invasion",
      "Last Invasion",
      "Last Invasion"
      ];

var photo=new Array();
photo=[
      "Photos/westst.jpg",
      "Photos/adverts.jpg",
      "Photos/oldharbour.jpg",
      "Photos/invaders.jpg",
      "Photos/jemima.jpg",
      "Photos/tapestry.jpg"
      ];

var comment=new Array();
comment=[
        "Coming into the town via the old road from the port will \
         bring you to a crescent of shops facing this pleasant green area.<p>\
         photograph © 2001 Sally.J.Wilson",
        "Many buildings are decorated with murals.<p>\
         Some, like these, are advertising pubs and restaurants ...",
        "... but others show scenes from the past,\
         like this one on a private house which shows \
         fish being landed at the Lower Town Harbour.",
        "Some murals commemorate the invasion of 1797 \
         when a party of Napoleonic soldiers \
         landed nearby hoping to spark an uprising \
         amongst the Welsh.<p>\
         The soldiers were more keen on drinking looted \
         brandy than the locals were on revolution ...",
        "... and, when the formidable Jemima Nichols marched \
         an army of women to meet them, the invaders \
         mistook the ladies' tall hats and red cloaks \
         for Redcoats uniforms and surrendered.",
        "To commemorate the 200th anniversary, in 1997, local ladies \
         made a large tapestry which tells the whole story, from landing \
         to the French surrender in the Royal Oak Inn.<p>\
         The tapestry is well worth seeing, as is the table where the \
         surrender was signed, which is still in the pub in the Square."
        ];


var NF=flist.length-1;

var nmess="Next";
var nicon="Pics/next.gif"

var pmess="Prev.";
var picon="Pics/prev.gif";

var first=flist[0];
var last=flist[NF];

function which(surl){

 p=0;
 while((p<NF)&&(surl.indexOf(flist[p])==-1)){
  p++;
 }
 return p;

}
