document.write('<A CLASS=nextlink HREF="javascript:NextPrev(\'N\',this);" OnMouseOver="window.status=\'Press the &laquo;Plus&raquo; key to go to the next photograph in this series of pictures of England\'; return true;"><IMG SRC="../images/ARROWN.GIF" ALT="Appuyez sur la touche &laquo;Plus&raquo; pour aller &agrave; la prochaine photo d&#146;Angleterre" WIDTH=79 HEIGHT=26 BORDER=0 ALIGN=middle></A></SPAN>');
// My deepest thanks go out to James Alarie, jalarie@flint.umich.edu, http://spruce.flint.umich.edu/~jalarie/, for writing this script for me!
var np_links = new Array(
"England020_fr.htm",
"England021_fr.htm",
"England002_fr.htm",
"England010_fr.htm",
"England012_fr.htm",
"England001_fr.htm",
"England022_fr.htm",
"England003_fr.htm",
"England008_fr.htm",
"England000_fr.htm",
"England006_fr.htm",
"England016_fr.htm",
"England019_fr.htm",
"England009_fr.htm",
"England011_fr.htm",
"England014_fr.htm",
"England017_fr.htm",
"England013_fr.htm",
"England005_fr.htm",
"England007_fr.htm",
"England018_fr.htm",
"England015_fr.htm",
"England004_fr.htm");

//DAVID here is the new array. Update this every time you update the other array

var next_pic = new Array(
"BigBenHousesParliament12.jpg",
"BigBen04.jpg",
"HousesOfParliamentFacade03.jpg",
"WhitehallHorseGuard.jpg",
"TowerBridgeTower34.jpg",
"CharterHouseInteriorVert.jpg",
"LondonTowerEntrance23.jpg",
"TowerOfLondonCourtyardFacade.jpg",
"VictoriaAlbertMuseum23.jpg",
"LondonVictoriaAlbertMSculptures21.jpg",
"NealsYardLondon20.jpg",
"SegaWorldLondon02.jpg",
"GreenwichObservatoryArcades.jpg",
"LondonNaturalHistoryMuseum10.jpg",
"LondonStKatherinesDockYacht.jpg",
"KatherinesDockDickensInn.jpg",
"LondonTransportationMuseum07.jpg",
"LondonGrandUnionCanal14.jpg",
"LondonVirginiaWoolfeHouse.jpg",
"LondonPhoneBooth32.jpg",
"WinchesterCathedralFacade.jpg",
"TheLondonInn.jpg",
"ThistleFlowers.jpg");

function NextPrev(Which,This)
{

Loop='yes';
URL=document.location.href;
ix1=URL.indexOf('?');
if (ix1 > -1)
{
URL=URL.substring(0,ix1);
}

ix1=URL.lastIndexOf('/');

if (ix1 > -1)
{
URL=URL.substring(ix1+1);
}

links_len=np_links.length;

for (ix1=0; ix1<links_len; ix1++)
{
link=np_links[ix1];
if (link == URL)
{
if (Which == 'N')
{
ix2=ix1*1 + 1;
if (ix2 >= links_len)
{
if (Loop == 'no')
{
alert('Last picture in the series on the United States.');
if (This.href) { This.href=URL; }
return false;
}

ix2=0;
}

locn=np_links[ix2];
document.location=locn;
if (This.href)
{
This.href=locn;
}

return false;

}
else
{

ix2=ix1 - 1;
if (ix2 < 0)
{
if (Loop == 'no')
{
alert('Beginning of list.');
if (This.href) { This.href=URL; }
return false;
}
ix2=links_len-1;
}

locn=np_links[ix2];
document.location=locn;
if (This.href) { This.href=locn; }

return false;
}
}
}
}

var timer = null
function slideshow() { NextPrev('N',this); }
timer=setTimeout('slideshow()',300000)

function ejs_code_clavier(keyStroke) {
ejs_code_eventChooser = (!document.all) ? keyStroke.which : event.keyCode;
ejs_code_which = String.fromCharCode(ejs_code_eventChooser);
if (ejs_code_which =='+' ){ NextPrev('N',this); }
else if (ejs_code_which == '-' ){ NextPrev('P',this); }
return true
}
document.onkeypress = ejs_code_clavier;

//DAVID here is the previous preload image
function preloadNextPrev()
{
URL=document.location.href;
ix1=URL.indexOf('?');
if (ix1 > -1)
{
URL=URL.substring(0,ix1);
}
ix1=URL.lastIndexOf('/');
if (ix1 > -1)
{
URL=URL.substring(ix1+1);
}
links_len=np_links.length;
for (ix1=0; ix1<links_len; ix1++)
{
link=np_links[ix1];
if (link == URL)
{
ix2=ix1 + 1;
if (ix2 < next_pic.length)
{
ImageNext = new Image(1,1);
ImageNext.src = next_pic[ix2];
//noel( ix2, "after" );
}
ix2=ix1 - 1;
if (ix2 >= 0)
{
ImageNext = new Image(1,1);
ImageNext.src = next_pic[ix2];
//noel( ix2, "before" );
}
return false;
}
}
}
