
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function mailuse(form) {
document.location.href=("mailto:photorights@f22.org.uk?subject=Photo usage rights")
}
function mailme(form) {
document.location.href=("mailto:f22-email@f22.org.uk?subject=f22.org.uk website")
}

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};


//========================================================================================================================
// code to write index page random image
function write_image(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<p align='center'><img src=" + image_list[number] +"></p>");
document.write("<br><p align='center'><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>");
document.write("This is a randomly chosen image from a selection of my favourites and will change each time you visit or refresh this page.</font></p>");
}

// index page random image array
var image_list=new Array(
"chris.jpg",
"Galleries/0-rdnimgs/041119_084.jpg",
"Galleries/0-rdnimgs/050604_084.jpg",
"Galleries/0-rdnimgs/060603_136.jpg",
"Galleries/0-rdnimgs/060603_220.jpg",
"Galleries/0-rdnimgs/060605_017.jpg",
"Galleries/0-rdnimgs/060608_014.jpg",
"Galleries/0-rdnimgs/060617_071.jpg",
"Galleries/0-rdnimgs/061008_019.jpg",
"Galleries/0-rdnimgs/061008_375.jpg",
"Galleries/0-rdnimgs/061023_022.jpg",
"Galleries/0-rdnimgs/061024_128.jpg",
"Galleries/0-rdnimgs/061102_129.jpg",
"Galleries/0-rdnimgs/070311_036.jpg",
"Galleries/0-rdnimgs/070314_148.jpg",
"Galleries/0-rdnimgs/070318_013.jpg",
"Galleries/0-rdnimgs/070320_056.jpg",
"Galleries/0-rdnimgs/070322_001.jpg",
"Galleries/0-rdnimgs/070323_027.jpg",
"Galleries/0-rdnimgs/070323_059.jpg",
"Galleries/0-rdnimgs/070324_038.jpg",
"chris.jpg");

//========================================================================================================================

// code to write animals random thumbnail
function write_thm_animals(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Animals/index.html'><img src=" + image_list_animals[number]  +"></a>");
}

// animals random thumbnail array
var image_list_animals=new Array(
"chris.jpg",
"Galleries/0-rndthms/animals/010825017.jpg",
"Galleries/0-rndthms/animals/011015_049.jpg",
"Galleries/0-rndthms/animals/011015_062.jpg",
"Galleries/0-rndthms/animals/011017_007.jpg",
"Galleries/0-rndthms/animals/011017_048.jpg",
"Galleries/0-rndthms/animals/020531_101.jpg",
"Galleries/0-rndthms/animals/020531_139.jpg",
"Galleries/0-rndthms/animals/020915_055.jpg",
"Galleries/0-rndthms/animals/030404_029.jpg",
"Galleries/0-rndthms/animals/030404_064.jpg",
"Galleries/0-rndthms/animals/030404_078.jpg",
"Galleries/0-rndthms/animals/030404_150.jpg",
"Galleries/0-rndthms/animals/030927_011.jpg",
"Galleries/0-rndthms/animals/031004_007.jpg",
"Galleries/0-rndthms/animals/040502_033.jpg",
"Galleries/0-rndthms/animals/040502_093.jpg",
"Galleries/0-rndthms/animals/040502_218.jpg",
"Galleries/0-rndthms/animals/051102_046.jpg",
"Galleries/0-rndthms/animals/20002425.jpg",
"Galleries/0-rndthms/animals/20012034.jpg",
"chris.jpg");
//========================================================================================================================

// code to write birds random thumbnail
function write_thm_birds(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Birds/index.html'><img src=" + image_list_birds[number]  +"></a>");
}

// birds random thumbnail array
var image_list_birds=new Array(
"chris.jpg",
"Galleries/0-rndthms/birds/010811001.jpg",
"Galleries/0-rndthms/birds/011015_046.jpg",
"Galleries/0-rndthms/birds/011015_065.jpg",
"Galleries/0-rndthms/birds/011016_042.jpg",
"Galleries/0-rndthms/birds/011016_077.jpg",
"Galleries/0-rndthms/birds/011017_071.jpg",
"Galleries/0-rndthms/birds/011223_002.jpg",
"Galleries/0-rndthms/birds/020531_067.jpg",
"Galleries/0-rndthms/birds/020603_105.jpg",
"Galleries/0-rndthms/birds/021116_015.jpg",
"Galleries/0-rndthms/birds/021223_114.jpg",
"Galleries/0-rndthms/birds/030709_028.jpg",
"Galleries/0-rndthms/birds/040328_032.jpg",
"Galleries/0-rndthms/birds/050604_007.jpg",
"Galleries/0-rndthms/birds/050604_074.jpg",
"Galleries/0-rndthms/birds/050604_178.jpg",
"Galleries/0-rndthms/birds/050609_026.jpg",
"Galleries/0-rndthms/birds/060415_023.jpg",
"Galleries/0-rndthms/birds/20014920.jpg",
"Galleries/0-rndthms/birds/Nuthatch01.jpg",
"chris.jpg");
//========================================================================================================================

// code to write insects random thumbnail
function write_thm_insects(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Insects/index.html'><img src=" + image_list_insects[number]  +"></a>");
}

// insects random thumbnail array
var image_list_insects=new Array(
"chris.jpg",
"Galleries/0-rndthms/insects/020529_081.jpg",
"Galleries/0-rndthms/insects/020530_121.jpg",
"Galleries/0-rndthms/insects/020531_031.jpg",
"Galleries/0-rndthms/insects/020531_192.jpg",
"Galleries/0-rndthms/insects/020602_060.jpg",
"Galleries/0-rndthms/insects/020605_016.jpg",
"Galleries/0-rndthms/insects/020606_102.jpg",
"Galleries/0-rndthms/insects/030628_050.jpg",
"Galleries/0-rndthms/insects/030628_055.jpg",
"Galleries/0-rndthms/insects/030628_065.jpg",
"Galleries/0-rndthms/insects/030628_090.jpg",
"Galleries/0-rndthms/insects/030629_041.jpg",
"Galleries/0-rndthms/insects/030710_041.jpg",
"Galleries/0-rndthms/insects/030710_050.jpg",
"Galleries/0-rndthms/insects/030710_094.jpg",
"Galleries/0-rndthms/insects/030710_120.jpg",
"Galleries/0-rndthms/insects/040728_002.jpg",
"Galleries/0-rndthms/insects/040728_014.jpg",
"Galleries/0-rndthms/insects/20003828.jpg",
"Galleries/0-rndthms/insects/20014533.jpg",
"chris.jpg");
//========================================================================================================================

// code to write plants random thumbnail
function write_thm_plants(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Plants/index.html'><img src=" + image_list_plants[number]  +"></a>");
}

// plants random thumbnail array
var image_list_plants=new Array(
"chris.jpg",
"Galleries/0-rndthms/plants/010821032.jpg",
"Galleries/0-rndthms/plants/011020_030.jpg",
"Galleries/0-rndthms/plants/011020_064.jpg",
"Galleries/0-rndthms/plants/011027_004.jpg",
"Galleries/0-rndthms/plants/011027_034.jpg",
"Galleries/0-rndthms/plants/011224_008.jpg",
"Galleries/0-rndthms/plants/020328_022.jpg",
"Galleries/0-rndthms/plants/020411_015.jpg",
"Galleries/0-rndthms/plants/020606_056.jpg",
"Galleries/0-rndthms/plants/020914_071.jpg",
"Galleries/0-rndthms/plants/021115_001.jpg",
"Galleries/0-rndthms/plants/030405_012.jpg",
"Galleries/0-rndthms/plants/030427_018.jpg",
"Galleries/0-rndthms/plants/030609_006.jpg",
"Galleries/0-rndthms/plants/030609_021.jpg",
"Galleries/0-rndthms/plants/030927_100.jpg",
"Galleries/0-rndthms/plants/030927_105.jpg",
"Galleries/0-rndthms/plants/031004_036.jpg",
"Galleries/0-rndthms/plants/031004_054.jpg",
"Galleries/0-rndthms/plants/20014106.jpg",
"chris.jpg");
//========================================================================================================================

// code to write buildings random thumbnail
function write_thm_buildings(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Buildings_and_Structures/index.html'><img src=" + image_list_buildings[number]  +"></a>");
}

// buildings random thumbnail array
var image_list_buildings=new Array(
"chris.jpg",
"Galleries/0-rndthms/bldgs/010829019.jpg",
"Galleries/0-rndthms/bldgs/011016_146.jpg",
"Galleries/0-rndthms/bldgs/011016_174.jpg",
"Galleries/0-rndthms/bldgs/011114_039.jpg",
"Galleries/0-rndthms/bldgs/020307_034.jpg",
"Galleries/0-rndthms/bldgs/020307_060.jpg",
"Galleries/0-rndthms/bldgs/020606_132.jpg",
"Galleries/0-rndthms/bldgs/020606_134.jpg",
"Galleries/0-rndthms/bldgs/030306_087.jpg",
"Galleries/0-rndthms/bldgs/030313_007.jpg",
"Galleries/0-rndthms/bldgs/030313_023.jpg",
"Galleries/0-rndthms/bldgs/030927_065.jpg",
"Galleries/0-rndthms/bldgs/030927_070.jpg",
"Galleries/0-rndthms/bldgs/030927_076.jpg",
"Galleries/0-rndthms/bldgs/031004_091.jpg",
"Galleries/0-rndthms/bldgs/031004_096.jpg",
"Galleries/0-rndthms/bldgs/031016_001.jpg",
"Galleries/0-rndthms/bldgs/031016_011.jpg",
"Galleries/0-rndthms/bldgs/040613_035.jpg",
"Galleries/0-rndthms/bldgs/20004731.jpg",
"chris.jpg");
//========================================================================================================================


// code to write other random thumbnail
function write_thm_other(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Misc/index.html'><img src=" + image_list_other[number]  +"></a>");
}

// other random thumbnail array
var image_list_other=new Array(
"chris.jpg",
"Galleries/0-rndthms/misc/010829006.jpg",
"Galleries/0-rndthms/misc/011003009.jpg",
"Galleries/0-rndthms/misc/011015_004.jpg",
"Galleries/0-rndthms/misc/011128pan.jpg",
"Galleries/0-rndthms/misc/020307_001.jpg",
"Galleries/0-rndthms/misc/020525_098.jpg",
"Galleries/0-rndthms/misc/020525_115.jpg",
"Galleries/0-rndthms/misc/020831_007.jpg",
"Galleries/0-rndthms/misc/020901_016.jpg",
"Galleries/0-rndthms/misc/020901_048.jpg",
"Galleries/0-rndthms/misc/020917_016.jpg",
"Galleries/0-rndthms/misc/030405_060.jpg",
"Galleries/0-rndthms/misc/040220_006.jpg",
"Galleries/0-rndthms/misc/040220_028.jpg",
"Galleries/0-rndthms/misc/040904_047.jpg",
"Galleries/0-rndthms/misc/040904_133.jpg",
"Galleries/0-rndthms/misc/040904_205.jpg",
"Galleries/0-rndthms/misc/040904_226.jpg",
"Galleries/0-rndthms/misc/040904_285.jpg",
"Galleries/0-rndthms/misc/040904_310.jpg",
"chris.jpg");
//========================================================================================================================

// code to write dartmoor random thumbnail
function write_thm_dartmoor(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Dartmoor/index.html'><img src=" + image_list_dartmoor[number]  +"></a>");
}

// dartmoor random thumbnail array
var image_list_dartmoor=new Array(
"chris.jpg",
"Galleries/0-rndthms/dartmoor/040922_006.jpg",
"Galleries/0-rndthms/dartmoor/040922_011.jpg",
"Galleries/0-rndthms/dartmoor/040922_013.jpg",
"Galleries/0-rndthms/dartmoor/040922_019.jpg",
"Galleries/0-rndthms/dartmoor/040922_028.jpg",
"Galleries/0-rndthms/dartmoor/040922_040.jpg",
"Galleries/0-rndthms/dartmoor/040922_044.jpg",
"Galleries/0-rndthms/dartmoor/040922_048.jpg",
"Galleries/0-rndthms/dartmoor/040922_050.jpg",
"Galleries/0-rndthms/dartmoor/040922_051.jpg",
"Galleries/0-rndthms/dartmoor/040922_061.jpg",
"Galleries/0-rndthms/dartmoor/040922_066.jpg",
"Galleries/0-rndthms/dartmoor/040922_067.jpg",
"Galleries/0-rndthms/dartmoor/040922_073.jpg",
"Galleries/0-rndthms/dartmoor/040922_075.jpg",
"Galleries/0-rndthms/dartmoor/040922_088.jpg",
"Galleries/0-rndthms/dartmoor/040922_089.jpg",
"Galleries/0-rndthms/dartmoor/040922_097.jpg",
"Galleries/0-rndthms/dartmoor/040922_099.jpg",
"Galleries/0-rndthms/dartmoor/040922_104.jpg",
"chris.jpg");
//========================================================================================================================

// code to write dorset random thumbnail
function write_thm_dorset(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Dorset/index.html'><img src=" + image_list_dorset[number]  +"></a>");
}

// dorset random thumbnail array
var image_list_dorset=new Array(
"chris.jpg",
"Galleries/0-rndthms/dorset/030418_006.jpg",
"Galleries/0-rndthms/dorset/030418_007.jpg",
"Galleries/0-rndthms/dorset/030418_026.jpg",
"Galleries/0-rndthms/dorset/030418_032.jpg",
"Galleries/0-rndthms/dorset/030418_042.jpg",
"Galleries/0-rndthms/dorset/030418_051.jpg",
"Galleries/0-rndthms/dorset/030418_057.jpg",
"Galleries/0-rndthms/dorset/030418_076a.jpg",
"Galleries/0-rndthms/dorset/030418_084.jpg",
"Galleries/0-rndthms/dorset/030418_087.jpg",
"Galleries/0-rndthms/dorset/030418_111.jpg",
"Galleries/0-rndthms/dorset/030418_113.jpg",
"Galleries/0-rndthms/dorset/030418_114.jpg",
"Galleries/0-rndthms/dorset/030418_130.jpg",
"Galleries/0-rndthms/dorset/040814_089.jpg",
"Galleries/0-rndthms/dorset/040814_091.jpg",
"Galleries/0-rndthms/dorset/040814_101.jpg",
"Galleries/0-rndthms/dorset/040814_104.jpg",
"Galleries/0-rndthms/dorset/040814_116.jpg",
"Galleries/0-rndthms/dorset/040814_123.jpg",
"chris.jpg");
//========================================================================================================================

// code to write france random thumbnail
function write_thm_france(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/France/index.html'><img src=" + image_list_france[number]  +"></a>");
}

// dorset random thumbnail array
var image_list_france=new Array(
"chris.jpg",
"Galleries/0-rndthms/france/020101_024.jpg",
"Galleries/0-rndthms/france/020603_063.jpg",
"Galleries/0-rndthms/france/020606_109.jpg",
"Galleries/0-rndthms/france/030701_042.jpg",
"Galleries/0-rndthms/france/030701_076.jpg",
"Galleries/0-rndthms/france/030702_041.jpg",
"Galleries/0-rndthms/france/030703_001.jpg",
"Galleries/0-rndthms/france/030703_013.jpg",
"Galleries/0-rndthms/france/030703_033.jpg",
"Galleries/0-rndthms/france/030703_067.jpg",
"Galleries/0-rndthms/france/030704_004.jpg",
"Galleries/0-rndthms/france/030704_017.jpg",
"Galleries/0-rndthms/france/030704_068.jpg",
"Galleries/0-rndthms/france/030705_014.jpg",
"Galleries/0-rndthms/france/030705_036.jpg",
"Galleries/0-rndthms/france/030705_069.jpg",
"Galleries/0-rndthms/france/030705_148.jpg",
"Galleries/0-rndthms/france/20004613.jpg",
"Galleries/0-rndthms/france/20004720.jpg",
"Galleries/0-rndthms/france/viaduct.jpg",
"chris.jpg");
//========================================================================================================================

// code to write hants random thumbnail
function write_thm_hants(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Hampshire/index.html'><img src=" + image_list_hants[number]  +"></a>");
}

// dorset random thumbnail array
var image_list_hants=new Array(
"chris.jpg",
"Galleries/0-rndthms/hants/010915016.jpg",
"Galleries/0-rndthms/hants/010915034.jpg",
"Galleries/0-rndthms/hants/010915045.jpg",
"Galleries/0-rndthms/hants/011215_004.jpg",
"Galleries/0-rndthms/hants/020301_038.jpg",
"Galleries/0-rndthms/hants/030306_061.jpg",
"Galleries/0-rndthms/hants/030306_072.jpg",
"Galleries/0-rndthms/hants/030315_007.jpg",
"Galleries/0-rndthms/hants/030508_016.jpg",
"Galleries/0-rndthms/hants/030508_022c.jpg",
"Galleries/0-rndthms/hants/031004_068.jpg",
"Galleries/0-rndthms/hants/031004_076.jpg",
"Galleries/0-rndthms/hants/031004_077.jpg",
"Galleries/0-rndthms/hants/040814_001.jpg",
"Galleries/0-rndthms/hants/040814_007.jpg",
"Galleries/0-rndthms/hants/040814_011.jpg",
"Galleries/0-rndthms/hants/040814_016.jpg",
"Galleries/0-rndthms/hants/040814_032.jpg",
"Galleries/0-rndthms/hants/040814_035.jpg",
"Galleries/0-rndthms/hants/beaulieu.jpg",
"chris.jpg");
//========================================================================================================================

// code to write iow random thumbnail
function write_thm_iow(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Isle_of_Wight/index.html'><img src=" + image_list_iow[number]  +"></a>");
}

// iow random thumbnail array
var image_list_iow=new Array(
"chris.jpg",
"Galleries/0-rndthms/iow/030823_003.jpg",
"Galleries/0-rndthms/iow/030823_007.jpg",
"Galleries/0-rndthms/iow/030823_014.jpg",
"Galleries/0-rndthms/iow/030823_022.jpg",
"Galleries/0-rndthms/iow/030823_023.jpg",
"Galleries/0-rndthms/iow/030823_025.jpg",
"Galleries/0-rndthms/iow/030823_027.jpg",
"Galleries/0-rndthms/iow/030823_029.jpg",
"Galleries/0-rndthms/iow/030823_031.jpg",
"Galleries/0-rndthms/iow/030823_034.jpg",
"Galleries/0-rndthms/iow/030823_035.jpg",
"Galleries/0-rndthms/iow/030823_050.jpg",
"Galleries/0-rndthms/iow/030823_057.jpg",
"Galleries/0-rndthms/iow/030823_060.jpg",
"Galleries/0-rndthms/iow/030823_061.jpg",
"Galleries/0-rndthms/iow/030823_064.jpg",
"Galleries/0-rndthms/iow/030823_070.jpg",
"Galleries/0-rndthms/iow/030823_083.jpg",
"Galleries/0-rndthms/iow/030823_099.jpg",
"Galleries/0-rndthms/iow/030823_106.jpg",
"chris.jpg");
//========================================================================================================================

// code to write lakes random thumbnail
function write_thm_lakes(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Lake_District/index.html'><img src=" + image_list_lakes[number]  +"></a>");
}

// lakes random thumbnail array
var image_list_lakes=new Array(
"chris.jpg",
"Galleries/0-rndthms/lakes/040329_003.jpg",
"Galleries/0-rndthms/lakes/040329_076.jpg",
"Galleries/0-rndthms/lakes/040609_024.jpg",
"Galleries/0-rndthms/lakes/040609_079.jpg",
"Galleries/0-rndthms/lakes/041119_019.jpg",
"Galleries/0-rndthms/lakes/041119_030.jpg",
"Galleries/0-rndthms/lakes/041119_080.jpg",
"Galleries/0-rndthms/lakes/041123_086.jpg",
"Galleries/0-rndthms/lakes/050324_082.jpg",
"Galleries/0-rndthms/lakes/050606_018.jpg",
"Galleries/0-rndthms/lakes/050606_025.jpg",
"Galleries/0-rndthms/lakes/050610_013.jpg",
"Galleries/0-rndthms/lakes/050610_048.jpg",
"Galleries/0-rndthms/lakes/050615_025.jpg",
"Galleries/0-rndthms/lakes/060403_064.jpg",
"Galleries/0-rndthms/lakes/060403_111.jpg",
"Galleries/0-rndthms/lakes/060409_088.jpg",
"Galleries/0-rndthms/lakes/060410_093.jpg",
"Galleries/0-rndthms/lakes/060413_028.jpg",
"Galleries/0-rndthms/lakes/060413_064.jpg",
"chris.jpg");
//========================================================================================================================


// code to write ncornwall random thumbnail
function write_thm_ncornwall(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/North_Cornwall/index.html'><img src=" + image_list_ncornwall[number]  +"></a>");
}

// ncornwall random thumbnail array
var image_list_ncornwall=new Array(
"chris.jpg",
"Galleries/0-rndthms/ncornwall/040922_110.jpg",
"Galleries/0-rndthms/ncornwall/040923_028.jpg",
"Galleries/0-rndthms/ncornwall/040923_059.jpg",
"Galleries/0-rndthms/ncornwall/040923_062.jpg",
"Galleries/0-rndthms/ncornwall/040923_114.jpg",
"Galleries/0-rndthms/ncornwall/040923_133.jpg",
"Galleries/0-rndthms/ncornwall/040923_165.jpg",
"Galleries/0-rndthms/ncornwall/040924_053.jpg",
"Galleries/0-rndthms/ncornwall/040924_072.jpg",
"Galleries/0-rndthms/ncornwall/040924_111.jpg",
"Galleries/0-rndthms/ncornwall/040924_119.jpg",
"Galleries/0-rndthms/ncornwall/040924_146.jpg",
"Galleries/0-rndthms/ncornwall/040924_147.jpg",
"Galleries/0-rndthms/ncornwall/040924_172.jpg",
"Galleries/0-rndthms/ncornwall/040924_198.jpg",
"Galleries/0-rndthms/ncornwall/040924_220.jpg",
"Galleries/0-rndthms/ncornwall/040924_244.jpg",
"Galleries/0-rndthms/ncornwall/040925_006.jpg",
"Galleries/0-rndthms/ncornwall/040925_028.jpg",
"Galleries/0-rndthms/ncornwall/040925_107.jpg",
"chris.jpg");
//========================================================================================================================

// code to write ne random thumbnail
function write_thm_ne(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/North-East/index.html'><img src=" + image_list_ne[number]  +"></a>");
}

// ne random thumbnail array
var image_list_ne=new Array(
"chris.jpg",
"Galleries/0-rndthms/ne/050328_005.jpg",
"Galleries/0-rndthms/ne/050611_002.jpg",
"Galleries/0-rndthms/ne/050611_006.jpg",
"Galleries/0-rndthms/ne/050611_009.jpg",
"Galleries/0-rndthms/ne/050611_011.jpg",
"Galleries/0-rndthms/ne/050611_018.jpg",
"Galleries/0-rndthms/ne/050611_019.jpg",
"Galleries/0-rndthms/ne/050611_028.jpg",
"Galleries/0-rndthms/ne/050611_031.jpg",
"Galleries/0-rndthms/ne/050611_036.jpg",
"Galleries/0-rndthms/ne/050611_038.jpg",
"Galleries/0-rndthms/ne/050611_045.jpg",
"Galleries/0-rndthms/ne/050611_053.jpg",
"Galleries/0-rndthms/ne/050611_058.jpg",
"Galleries/0-rndthms/ne/050611_060.jpg",
"Galleries/0-rndthms/ne/050611_066.jpg",
"Galleries/0-rndthms/ne/050611_067.jpg",
"Galleries/0-rndthms/ne/050611_075.jpg",
"Galleries/0-rndthms/ne/050611_083.jpg",
"Galleries/0-rndthms/ne/050611_087.jpg",
"chris.jpg");
//========================================================================================================================


// code to write nw random thumbnail
function write_thm_nw(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/North-West/index.html'><img src=" + image_list_nw[number]  +"></a>");
}

// nw random thumbnail array
var image_list_nw=new Array(
"chris.jpg",
"Galleries/0-rndthms/nw/040613_002.jpg",
"Galleries/0-rndthms/nw/040613_003.jpg",
"Galleries/0-rndthms/nw/040613_016.jpg",
"Galleries/0-rndthms/nw/040613_021.jpg",
"Galleries/0-rndthms/nw/040613_028.jpg",
"Galleries/0-rndthms/nw/040613_030.jpg",
"Galleries/0-rndthms/nw/040613_040.jpg",
"Galleries/0-rndthms/nw/040613_049.jpg",
"Galleries/0-rndthms/nw/040614_059.jpg",
"Galleries/0-rndthms/nw/040614_065.jpg",
"Galleries/0-rndthms/nw/041120_018.jpg",
"Galleries/0-rndthms/nw/041120_020.jpg",
"Galleries/0-rndthms/nw/041120_030.jpg",
"Galleries/0-rndthms/nw/041120_039.jpg",
"Galleries/0-rndthms/nw/050325_072.jpg",
"Galleries/0-rndthms/nw/050326_038.jpg",
"Galleries/0-rndthms/nw/050328_030.jpg",
"Galleries/0-rndthms/nw/051029_071.jpg",
"Galleries/0-rndthms/nw/060416_002.jpg",
"Galleries/0-rndthms/nw/060416_033.jpg",
"chris.jpg");
//========================================================================================================================


// code to write nwales random thumbnail
function write_thm_nwales(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/North_Wales/index.html'><img src=" + image_list_nwales[number]  +"></a>");
}

// nwales random thumbnail array
var image_list_nwales=new Array(
"chris.jpg",
"Galleries/0-rndthms/nwales/040610_001.jpg",
"Galleries/0-rndthms/nwales/041121_004.jpg",
"Galleries/0-rndthms/nwales/050327_017.jpg",
"Galleries/0-rndthms/nwales/050402_100.jpg",
"Galleries/0-rndthms/nwales/050402_123.jpg",
"Galleries/0-rndthms/nwales/050402_132.jpg",
"Galleries/0-rndthms/nwales/050609_008.jpg",
"Galleries/0-rndthms/nwales/050609_021.jpg",
"Galleries/0-rndthms/nwales/050613_012.jpg",
"Galleries/0-rndthms/nwales/050613_042.jpg",
"Galleries/0-rndthms/nwales/051101_037.jpg",
"Galleries/0-rndthms/nwales/051107_001.jpg",
"Galleries/0-rndthms/nwales/051107_019.jpg",
"Galleries/0-rndthms/nwales/051107_039.jpg",
"Galleries/0-rndthms/nwales/060404_009.jpg",
"Galleries/0-rndthms/nwales/060404_097.jpg",
"Galleries/0-rndthms/nwales/060404_103.jpg",
"Galleries/0-rndthms/nwales/060415_041.jpg",
"Galleries/0-rndthms/nwales/060415_050.jpg",
"Galleries/0-rndthms/nwales/060415_086.jpg",
"chris.jpg");
//========================================================================================================================


// code to write peak random thumbnail
function write_thm_peak(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Peak_District/index.html'><img src=" + image_list_peak[number]  +"></a>");
}

// peak random thumbnail array
var image_list_peak=new Array(
"chris.jpg",
"Galleries/0-rndthms/peak/020913_004.jpg",
"Galleries/0-rndthms/peak/020913_021.jpg",
"Galleries/0-rndthms/peak/020913_037.jpg",
"Galleries/0-rndthms/peak/020914_077.jpg",
"Galleries/0-rndthms/peak/020915_039.jpg",
"Galleries/0-rndthms/peak/040325_017.jpg",
"Galleries/0-rndthms/peak/040611_027.jpg",
"Galleries/0-rndthms/peak/040611_035.jpg",
"Galleries/0-rndthms/peak/050329_006.jpg",
"Galleries/0-rndthms/peak/050404_010.jpg",
"Galleries/0-rndthms/peak/050614_006.jpg",
"Galleries/0-rndthms/peak/050614_058.jpg",
"Galleries/0-rndthms/peak/051031_004.jpg",
"Galleries/0-rndthms/peak/051031_025.jpg",
"Galleries/0-rndthms/peak/051031_031.jpg",
"Galleries/0-rndthms/peak/051031_034.jpg",
"Galleries/0-rndthms/peak/051031_052.jpg",
"Galleries/0-rndthms/peak/060414_005.jpg",
"Galleries/0-rndthms/peak/060414_059.jpg",
"Galleries/0-rndthms/peak/060414_071.jpg",
"chris.jpg");
//========================================================================================================================


// code to write sussex random thumbnail
function write_thm_sussex(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Sussex/index.html'><img src=" + image_list_sussex[number]  +"></a>");
}

// sussex random thumbnail array
var image_list_sussex=new Array(
"chris.jpg",
"Galleries/0-rndthms/sussex/011117_034.jpg",
"Galleries/0-rndthms/sussex/030503_005.jpg",
"Galleries/0-rndthms/sussex/030503_005m.jpg",
"Galleries/0-rndthms/sussex/030503_010.jpg",
"Galleries/0-rndthms/sussex/030503_014.jpg",
"Galleries/0-rndthms/sussex/030503_026.jpg",
"Galleries/0-rndthms/sussex/030503_030.jpg",
"Galleries/0-rndthms/sussex/030503_039.jpg",
"Galleries/0-rndthms/sussex/030503_053.jpg",
"Galleries/0-rndthms/sussex/030503_093.jpg",
"Galleries/0-rndthms/sussex/030503_094.jpg",
"Galleries/0-rndthms/sussex/030503_105.jpg",
"Galleries/0-rndthms/sussex/030503_109.jpg",
"Galleries/0-rndthms/sussex/030503_116.jpg",
"Galleries/0-rndthms/sussex/030503_127.jpg",
"Galleries/0-rndthms/sussex/20002206.jpg",
"Galleries/0-rndthms/sussex/20004901.jpg",
"Galleries/0-rndthms/sussex/20004904.jpg",
"Galleries/0-rndthms/sussex/20005005.jpg",
"Galleries/0-rndthms/sussex/20005023.jpg",
"chris.jpg");
//========================================================================================================================

// code to write wilts random thumbnail
function write_thm_wilts(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Wiltshire/index.html'><img src=" + image_list_wilts[number]  +"></a>");
}

// wilts random thumbnail array
var image_list_wilts=new Array(
"chris.jpg",
"Galleries/0-rndthms/wilts/030614_006.jpg",
"Galleries/0-rndthms/wilts/030614_024.jpg",
"Galleries/0-rndthms/wilts/030614_026.jpg",
"Galleries/0-rndthms/wilts/030614_047.jpg",
"Galleries/0-rndthms/wilts/030614_062.jpg",
"Galleries/0-rndthms/wilts/030614_064.jpg",
"Galleries/0-rndthms/wilts/030614_067.jpg",
"Galleries/0-rndthms/wilts/030614_071.jpg",
"Galleries/0-rndthms/wilts/030614_073.jpg",
"Galleries/0-rndthms/wilts/030614_080.jpg",
"Galleries/0-rndthms/wilts/030614_095.jpg",
"Galleries/0-rndthms/wilts/030614_111.jpg",
"Galleries/0-rndthms/wilts/030614_132.jpg",
"Galleries/0-rndthms/wilts/030614_133.jpg",
"Galleries/0-rndthms/wilts/030614_142.jpg",
"Galleries/0-rndthms/wilts/040814_037.jpg",
"Galleries/0-rndthms/wilts/040814_043.jpg",
"Galleries/0-rndthms/wilts/040814_051.jpg",
"Galleries/0-rndthms/wilts/040814_055.jpg",
"Galleries/0-rndthms/wilts/040814_082.jpg",
"chris.jpg");
//========================================================================================================================

// code to write dales random thumbnail
function write_thm_dales(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Yorkshire_Dales/index.html'><img src=" + image_list_dales[number]  +"></a>");
}

// dales random thumbnail array
var image_list_dales=new Array(
"chris.jpg",
"Galleries/0-rndthms/dales/040328_003.jpg",
"Galleries/0-rndthms/dales/040328_037.jpg",
"Galleries/0-rndthms/dales/040328_059.jpg",
"Galleries/0-rndthms/dales/040612_039.jpg",
"Galleries/0-rndthms/dales/040614_016.jpg",
"Galleries/0-rndthms/dales/040614_030.jpg",
"Galleries/0-rndthms/dales/041122_029.jpg",
"Galleries/0-rndthms/dales/050331_019.jpg",
"Galleries/0-rndthms/dales/050608_015.jpg",
"Galleries/0-rndthms/dales/050608_036.jpg",
"Galleries/0-rndthms/dales/050612_004.jpg",
"Galleries/0-rndthms/dales/050612_017.jpg",
"Galleries/0-rndthms/dales/050612_022.jpg",
"Galleries/0-rndthms/dales/050612_030.jpg",
"Galleries/0-rndthms/dales/051001_008.jpg",
"Galleries/0-rndthms/dales/051030_014.jpg",
"Galleries/0-rndthms/dales/051105_003.jpg",
"Galleries/0-rndthms/dales/051105_011.jpg",
"Galleries/0-rndthms/dales/060407_056.jpg",
"Galleries/0-rndthms/dales/060416_034.jpg",
"chris.jpg");
//========================================================================================================================

// code to write skye random thumbnail
function write_thm_skye(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Isle_of_Skye/index.html'><img src=" + image_list_skye[number]  +"></a>");
}

// dales random thumbnail array
var image_list_skye=new Array(
"chris.jpg",
"Galleries/0-rndthms/skye/061101_033.jpg",
"Galleries/0-rndthms/skye/061101_046.jpg",
"Galleries/0-rndthms/skye/061101_082.jpg",
"Galleries/0-rndthms/skye/061101_093.jpg",
"Galleries/0-rndthms/skye/061101_107.jpg",
"Galleries/0-rndthms/skye/070320_058.jpg",
"Galleries/0-rndthms/skye/070320_093.jpg",
"Galleries/0-rndthms/skye/070320_104.jpg",
"Galleries/0-rndthms/skye/070320_123.jpg",
"Galleries/0-rndthms/skye/070320_135.jpg",
"Galleries/0-rndthms/skye/070322_030.jpg",
"Galleries/0-rndthms/skye/070618_078.jpg",
"Galleries/0-rndthms/skye/070619_052.jpg",
"Galleries/0-rndthms/skye/070619_077.jpg",
"Galleries/0-rndthms/skye/070619_086.jpg",
"Galleries/0-rndthms/skye/070619_137.jpg",
"Galleries/0-rndthms/skye/070621_050.jpg",
"Galleries/0-rndthms/skye/070621_064.jpg",
"Galleries/0-rndthms/skye/070621_119.jpg",
"Galleries/0-rndthms/skye/071024_056.jpg",
"chris.jpg");
//========================================================================================================================


// code to write scotland random thumbnail
function write_thm_scotland(){
var number = rand(20); // change this to suit the number of images I've included
document.write("<a href='Galleries/Scotland/index.html'><img src=" + image_list_scotland[number]  +"></a>");
}

// dales random thumbnail array
var image_list_scotland=new Array(
"chris.jpg",
"Galleries/0-rndthms/scotland/061030_012.jpg",
"Galleries/0-rndthms/scotland/061031_037.jpg",
"Galleries/0-rndthms/scotland/061031_062.jpg",
"Galleries/0-rndthms/scotland/061031_124.jpg",
"Galleries/0-rndthms/scotland/061102_055.jpg",
"Galleries/0-rndthms/scotland/061102_080.jpg",
"Galleries/0-rndthms/scotland/061102_140.jpg",
"Galleries/0-rndthms/scotland/061103_001.jpg",
"Galleries/0-rndthms/scotland/061103_080.jpg",
"Galleries/0-rndthms/scotland/070319_005.jpg",
"Galleries/0-rndthms/scotland/070321_005.jpg",
"Galleries/0-rndthms/scotland/070323_004.jpg",
"Galleries/0-rndthms/scotland/070323_042.jpg",
"Galleries/0-rndthms/scotland/070323_074.jpg",
"Galleries/0-rndthms/scotland/070618_008.jpg",
"Galleries/0-rndthms/scotland/070618_033.jpg",
"Galleries/0-rndthms/scotland/070622_019.jpg",
"Galleries/0-rndthms/scotland/070622_022.jpg",
"Galleries/0-rndthms/scotland/071023_018.jpg",
"Galleries/0-rndthms/scotland/071023_080.jpg",
"chris.jpg");
//========================================================================================================================


















