function WriteHeader(photourl, lk) {

  var photoArray = new Array(0);

  photoArray.push("ansbra001.htm","Oie &agrave; bec court","Pink-footed Goose");
  photoArray.push("ansery001.htm","Oie naine","Lesser White-fronted Goose");
  photoArray.push("ansery002.htm","Oie naine","Lesser White-fronted Goose");
  photoArray.push("anscae001.htm","Oie des neiges","Snow Goose");
  photoArray.push("anscae002.htm","Oie des neiges","Snow Goose");
  photoArray.push("brahro001.htm","Bernache &agrave; ventre p&acirc;le","Pale-bellied Brent Goose");
  photoArray.push("anacar001.htm","Sarcelle &agrave; ailes vertes","Green-winged Teal");
  photoArray.push("anacar002.htm","Sarcelle &agrave; ailes vertes","Green-winged Teal");
  photoArray.push("anacar003.htm","Sarcelle &agrave; ailes vertes","Green-winged Teal");
  photoArray.push("anacar004.htm","Hybride Sarcelle &agrave; ailes vertes - Sarcelle d'hiver","Hybrid Green-winged Teal - Teal");
  photoArray.push("anadis001.htm","Sarcelle &agrave; ailes bleues","Blue-winged Teal");
  photoArray.push("aytcol001.htm","Fuligule &agrave; bec cercl&eacute;","Ring-necked Duck");
  photoArray.push("aytcol002.htm","Fuligule &agrave; bec cercl&eacute;","Ring-necked Duck");
  photoArray.push("aytcol003.htm","Fuligule &agrave; bec cercl&eacute;","Ring-necked Duck");
  photoArray.push("aytcol004.htm","Fuligule &agrave; bec cercl&eacute;","Ring-necked Duck");
  photoArray.push("aytnyr001.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytnyr002.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytnyr003.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytnyr004.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytnyr005.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytnyr006.htm","Fuligule nyroca","Ferruginous Duck");
  photoArray.push("aytaff001.htm","Fuligule &agrave; t&ecirc;te noire","Lesser Scaup");
  photoArray.push("aytaff002.htm","Fuligule &agrave; t&ecirc;te noire","Lesser Scaup");
  photoArray.push("clahye001.htm","Harelde bor&eacute;ale","Long-tailed Duck");
  photoArray.push("clahye002.htm","Harelde bor&eacute;ale","Long-tailed Duck");
  photoArray.push("clahye003.htm","Harelde bor&eacute;ale","Long-tailed Duck");
  photoArray.push("oxyleu001.htm","Erismature &agrave; t&ecirc;te blanche","White-headed Duck");
  photoArray.push("gavarc001.htm","Plongeon arctique","Black-throated Diver");
  photoArray.push("gavimm001.htm","Plongeon imbrin","Great Northern Diver");
  photoArray.push("gavimm002.htm","Plongeon imbrin","Great Northern Diver");
  photoArray.push("gavimm003.htm","Plongeon imbrin","Great Northern Diver");
  photoArray.push("podaur001.htm","Gr&egrave;be esclavon","Slavonian Grebe");
  photoArray.push("podaur002.htm","Gr&egrave;be esclavon","Slavonian Grebe");
  photoArray.push("podaur003.htm","Gr&egrave;be esclavon","Slavonian Grebe");
  photoArray.push("podaur004.htm","Gr&egrave;be esclavon","Slavonian Grebe");
  photoArray.push("morbas001.htm","Fou de Bassan","Northern Gannet");
  photoArray.push("phaari001.htm","Cormoran hupp&eacute;","European Shag");
  photoArray.push("nycnyc001.htm","Bihoreau gris","Black-crowned Night Heron");
  photoArray.push("ardral001.htm","Crabier chevelu","Squacco Heron");
  photoArray.push("ardral002.htm","Crabier chevelu","Squacco Heron");
  photoArray.push("bubibi001.htm","H&eacute;ron garde-boeufs","Cattle Egret");
  photoArray.push("bubibi002.htm","H&eacute;ron garde-boeufs","Cattle Egret");
  photoArray.push("bubibi003.htm","H&eacute;ron garde-boeufs","Cattle Egret");
  photoArray.push("egrgar001.htm","Aigrette garzette","Little Egret");
  photoArray.push("casalb001.htm","Grande Aigrette","Great White Egret");
  photoArray.push("plefal001.htm","Ibis falcinelle","Glossy Ibis");
  photoArray.push("plefal002.htm","Ibis falcinelle","Glossy Ibis");
  photoArray.push("plefal003.htm","Ibis falcinelle","Glossy Ibis");
  photoArray.push("elacae001.htm","Elanion blanc","Black-shouldered Kite");
  photoArray.push("elacae002.htm","Elanion blanc","Black-shouldered Kite");
  photoArray.push("halalb001.htm","Pygargue &agrave; queue blanche","White-tailed Eagle");
  photoArray.push("halalb002.htm","Pygargue &agrave; queue blanche","White-tailed Eagle");
  photoArray.push("gypful001.htm","Vautour fauve","Eurasian Griffon");
  photoArray.push("gypful002.htm","Vautour fauve","Eurasian Griffon");
  photoArray.push("gypful003.htm","Vautour fauve","Eurasian Griffon");
  photoArray.push("cirgal001.htm","Circa&egrave;te Jean-le-Blanc","Short-toed Eagle");
  photoArray.push("cirgal002.htm","Circa&egrave;te Jean-le-Blanc","Short-toed Eagle");
  photoArray.push("cirgal003.htm","Circa&egrave;te Jean-le-Blanc","Short-toed Eagle");
  photoArray.push("cirmac002.htm","Busard p&acirc;le","Pallid Harrier");
  photoArray.push("cirmac001.htm","Busard p&acirc;le","Pallid Harrier");
  photoArray.push("cirmac003.htm","Busard p&acirc;le","Pallid Harrier");
  photoArray.push("cirmac004.htm","Busard p&acirc;le","Pallid Harrier");
  photoArray.push("cirmac005.htm","Busard p&acirc;le","Pallid Harrier");
  photoArray.push("butruf001.htm","Buse f&eacute;roce africaine","African Long-legged Buzzard");
  photoArray.push("butruf002.htm","Buse f&eacute;roce africaine","African Long-legged Buzzard");
  photoArray.push("butlag001.htm","Buse pattue","Rough-legged Buzzard");
  photoArray.push("hiepen001.htm","Aigle bott&eacute;","Booted Eagle");
  photoArray.push("hiepen002.htm","Aigle bott&eacute;","Booted Eagle");
  photoArray.push("falves001.htm","Faucon kobez","Red-footed Falcon");
  photoArray.push("falves002.htm","Faucon kobez","Red-footed Falcon");
  photoArray.push("falves003.htm","Faucon kobez","Red-footed Falcon");
  photoArray.push("falves004.htm","Faucon kobez","Red-footed Falcon");
  photoArray.push("porpor001.htm","Marouette ponctu&eacute;e","Spotted Crake");
  photoArray.push("porpar001.htm","Marouette poussin","Little Crake");
  photoArray.push("porpus001.htm","Marouette de Baillon","Baillon's Crake");
  photoArray.push("gruvir001.htm","Grue demoiselle","Demoiselle Crane");
  photoArray.push("himhim001.htm","Echasse blanche","Black-winged Stilt");
  photoArray.push("buroed001.htm","Oedicn&egrave;me criard","Stone-curlew");
  photoArray.push("buroed002.htm","Oedicn&egrave;me criard","Stone-curlew");
  photoArray.push("buroed003.htm","Oedicn&egrave;me criard","Stone-curlew");
  photoArray.push("buroed004.htm","Oedicn&egrave;me criard","Stone-curlew");
  photoArray.push("buroed005.htm","Oedicn&egrave;me criard","Stone-curlew");
  photoArray.push("chaale001.htm","Gravelot &agrave; collier interrompu","Kentish Plover");
  photoArray.push("chamon001.htm","Gravelot mongol","Lesser Sand Plover");
  photoArray.push("eudmor001.htm","Pluvier guignard","Eurasian Dotterel");
  photoArray.push("eudmor002.htm","Pluvier guignard","Eurasian Dotterel");
  photoArray.push("eudmor003.htm","Pluvier guignard","Eurasian Dotterel");
  photoArray.push("vangre001.htm","Vanneau sociable","Sociable Lapwing");
  photoArray.push("vangre002.htm","Vanneau sociable","Sociable Lapwing");
  photoArray.push("vangre003.htm","Vanneau sociable","Sociable Lapwing");
  photoArray.push("vangre004.htm","Vanneau sociable","Sociable Lapwing");
  photoArray.push("calcan001.htm","B&eacute;casseau maub&egrave;che","Red Knot");
  photoArray.push("calmil001.htm","B&eacute;casseau minuscule","Least Sandpiper");
  photoArray.push("calfus001.htm","B&eacute;casseau de Bonaparte","White-rumped Sandpiper");
  photoArray.push("calbai001.htm","B&eacute;casseau de Baird","Baird's Sandpiper");
  photoArray.push("calmel001.htm","B&eacute;casseau tachet&eacute;","Pectoral Sandpiper");
  photoArray.push("calmel002.htm","B&eacute;casseau tachet&eacute;","Pectoral Sandpiper");
  photoArray.push("calmel003.htm","B&eacute;casseau tachet&eacute;","Pectoral Sandpiper");
  photoArray.push("calmel004.htm","B&eacute;casseau tachet&eacute;","Pectoral Sandpiper");
  photoArray.push("calmel005.htm","B&eacute;casseau tachet&eacute;","Pectoral Sandpiper");
  photoArray.push("calfer001.htm","B&eacute;casseau cocorli","Curlew sandpiper");
  photoArray.push("limfal001.htm","B&eacute;casseau falcinelle","Broad-billed Sandpiper");
  photoArray.push("limfal002.htm","B&eacute;casseau falcinelle","Broad-billed Sandpiper");
  photoArray.push("trysub001.htm","B&eacute;casseau rousset","Buff-breasted Sandpiper");
  photoArray.push("galmed001.htm","B&eacute;cassine double","Great Snipe");
  photoArray.push("limsco001.htm","B&eacute;cassin &agrave; long bec","Long-billed Dowitcher");
  photoArray.push("limlimisl001.htm","Barge &agrave; queue noire islandaise","Icelandic Black-tailed Godwit");
  photoArray.push("trista002.htm","Chevalier stagnatile","Marsh Sandpiper");
  photoArray.push("trista003.htm","Chevalier stagnatile","Marsh Sandpiper");
  photoArray.push("trista001.htm","Chevalier stagnatile","Marsh Sandpiper");
  photoArray.push("trista004.htm","Chevalier stagnatile","Marsh Sandpiper");
  photoArray.push("xencin001.htm","Chevalier bargette","Terek Sandpiper");
  photoArray.push("phatri001.htm","Phalarope de Wilson","Wilson's Phalarope");
  photoArray.push("phalob001.htm","Phalarope &agrave; bec &eacute;troit","Red-necked Phalarope");
  photoArray.push("phalob002.htm","Phalarope &agrave; bec &eacute;troit","Red-necked Phalarope");
  photoArray.push("phaful001.htm","Phalarope &agrave; bec large","Grey Phalarope");
  photoArray.push("phaful002.htm","Phalarope &agrave; bec large","Grey Phalarope");
  photoArray.push("stelon001.htm","Labbe &agrave; longue queue","Long-tailed Skua");
  photoArray.push("stelon002.htm","Labbe &agrave; longue queue","Long-tailed Skua");
  photoArray.push("stelon003.htm","Labbe &agrave; longue queue","Long-tailed Skua");
  photoArray.push("larich001.htm","Go&eacute;land ichthya&egrave;te","Great Black-headed Gull");
  photoArray.push("larmel001.htm","Mouette m&eacute;lanoc&eacute;phale","Mediterranean Gull");
  photoArray.push("larmel002.htm","Mouette m&eacute;lanoc&eacute;phale","Mediterranean Gull");
  photoArray.push("larmel003.htm","Mouette m&eacute;lanoc&eacute;phale","Mediterranean Gull");
  photoArray.push("larmel004.htm","Mouette m&eacute;lanoc&eacute;phale","Mediterranean Gull");
  photoArray.push("larmel005.htm","Mouette m&eacute;lanoc&eacute;phale","Mediterranean Gull");
  photoArray.push("larpip001.htm","Mouette de Franklin","Franklin's Gull");
  photoArray.push("larmin001.htm","Mouette pygm&eacute;e","Little Gull");
  photoArray.push("larsab001.htm","Mouette de Sabine","Sabine's Gull");
  photoArray.push("larsab002.htm","Mouette de Sabine","Sabine's Gull");
  photoArray.push("larphi001.htm","Mouette de Bonaparte","Bonaparte's Gull");
  photoArray.push("largen001.htm","Go&eacute;land railleur","Slender-billed Gull");
  photoArray.push("larridXcan001.htm","Hybride Mouette rieuse - Go&eacute;land cendr&eacute;","Hybrid Black-headed Gull - Common Gull");
  photoArray.push("larridXcan002.htm","Hybride Mouette rieuse - Go&eacute;land cendr&eacute;","Hybrid Black-headed Gull - Common Gull");
  photoArray.push("larridXcan003.htm","Hybride Mouette rieuse - Go&eacute;land cendr&eacute;","Hybrid Black-headed Gull - Common Gull");
  photoArray.push("larfus001.htm","Go&eacute;land de la Baltique","Baltic Gull");
  photoArray.push("larcac001.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac002.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac003.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac004.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac005.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac006.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac007.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac008.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac009.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac010.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac011.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larcac012.htm","Go&eacute;land pontique","Caspian Gull");
  photoArray.push("larmic001.htm","Go&eacute;land leucoph&eacute;e","Yellow-legged Gull");
  photoArray.push("largla001.htm","Go&eacute;land &agrave; ailes blanches","Iceland Gull");
  photoArray.push("larhyp001.htm","Go&eacute;land bourgmestre","Glaucous Gull");
  photoArray.push("larhyp002.htm","Go&eacute;land bourgmestre","Glaucous Gull");
  photoArray.push("stecas001.htm","Sterne caspienne","Caspian Tern");
  photoArray.push("stesan001.htm","Sterne caugek","Sandwich Tern");
  photoArray.push("stearc001.htm","Sterne arctique","Arctic Tern");
  photoArray.push("stearc002.htm","Sterne arctique","Arctic Tern");
  photoArray.push("stearc003.htm","Sterne arctique","Arctic Tern");
  photoArray.push("stefor001.htm","Sterne de Forster","Forster's Tern");
  photoArray.push("chlhyb001.htm","Guifette moustac","Whiskered Tern");
  photoArray.push("chlhyb002.htm","Guifette moustac","Whiskered Tern");
  photoArray.push("chlhyb003.htm","Guifette moustac","Whiskered Tern");
  photoArray.push("chlhyb004.htm","Guifette moustac","Whiskered Tern");
  photoArray.push("chlhyb005.htm","Guifette moustac","Whiskered Tern");
  photoArray.push("chlleu001.htm","Guifette leucopt&egrave;re","White-winged Black Tern");
  photoArray.push("chlleu002.htm","Guifette leucopt&egrave;re","White-winged Black Tern");
  photoArray.push("chlleu003.htm","Guifette leucopt&egrave;re","White-winged Black Tern");
  photoArray.push("chlleu004.htm","Guifette leucopt&egrave;re","White-winged Black Tern");
  photoArray.push("cepgry001.htm","Guillemot &agrave; miroir","Black Guillemot");
  photoArray.push("allall001.htm","Mergule nain","Little Auk");
  photoArray.push("bubbub001.htm","Grand-duc d'Europe","Eagle Owl");
  photoArray.push("bubsca001.htm","Harfang des neiges","Snowy Owl");
  photoArray.push("aegfun001.htm","Chouette de Tengmalm","Tengmalm's Owl");
  photoArray.push("aegfun002.htm","Chouette de Tengmalm","Tengmalm's Owl");
  photoArray.push("apumel001.htm","Martinet &agrave; ventre blanc","Alpine Swift");
  photoArray.push("merapi001.htm","Gu&ecirc;pier d'Europe","European Bee-eater");
  photoArray.push("merapi002.htm","Gu&ecirc;pier d'Europe","European Bee-eater");
  photoArray.push("merapi003.htm","Gu&ecirc;pier d'Europe","European Bee-eater");
  photoArray.push("merapi004.htm","Gu&ecirc;pier d'Europe","European Bee-eater");
  photoArray.push("corgar001.htm","Rollier d'Europe","European Roller");
  photoArray.push("denmed001.htm","Pic mar","Middle Spotted Woodpecker");
  photoArray.push("calbra001.htm","Alouette calandrelle","Short-toed Lark");
  photoArray.push("calruf001.htm","Alouette pispolette","Lesser Short-toed Lark");
  photoArray.push("erealp001.htm","Alouette haussecol","Horned Lark");
  photoArray.push("ptyrup001.htm","Hirondelle de rochers","Crag Martin");
  photoArray.push("hirdau001.htm","Hirondelle rousseline","Red-rumped Swallow");
  photoArray.push("antric001.htm","Pipit de Richard","Richard's Pipit");
  photoArray.push("antric002.htm","Pipit de Richard","Richard's Pipit");
  photoArray.push("antgod001.htm","Pipit de Godlewski","Blyth's Pipit");
  photoArray.push("antgod002.htm","Pipit de Godlewski","Blyth's Pipit");
  photoArray.push("anthod001.htm","Pipit &agrave; dos olive","Olive-backed Pipit");
  photoArray.push("antcer001.htm","Pipit &agrave; gorge rousse","Red-throated Pipit");
  photoArray.push("antpet001.htm","Pipit maritime","Rock Pipit");
  photoArray.push("motfls001.htm","Bergeronnette flav&eacute;ole","British Yellow Wagtail");
  photoArray.push("motcit001.htm","Bergeronnette citrine","Citrine Wagtail");
  photoArray.push("motyar001.htm","Bergeronnette de Yarrell","Pied Wagtail");
  photoArray.push("dumcar001.htm","Moqueur chat","Grey Catbird");
  photoArray.push("luslus001.htm","Rossignol progn&eacute;","Thrush Nightingale");
  photoArray.push("luslus002.htm","Rossignol progn&eacute;","Thrush Nightingale");
  photoArray.push("luslus003.htm","Rossignol progn&eacute;","Thrush Nightingale");
  photoArray.push("pho_x001.htm","Rougequeue (hybride)","redstart (hybrid)");
  photoArray.push("saxmau001.htm","Tarier oriental","Siberian Stonechat");
  photoArray.push("oenoenleu001.htm","Traquet motteux du Groenland","Greenland Wheatear");
  photoArray.push("oenmel001.htm","Traquet oreillard oriental","Eastern Black-eared Wheatear");
  photoArray.push("oendes001.htm","Traquet du d&eacute;sert","Desert Wheatear");
  photoArray.push("turatr001.htm","Grive &agrave; gorge noire","Black-throated Thrush");
  photoArray.push("cetcet001.htm","Bouscarle de Cetti","Cetti's Warbler");
  photoArray.push("cisjun001.htm","Cisticole des joncs","Zitting Cisticola");
  photoArray.push("loclan001.htm","Locustelle lanc&eacute;ol&eacute;e","Lanceolated Warbler");
  photoArray.push("acrpal001.htm","Phragmite aquatique","Aquatic Warbler");
  photoArray.push("acragr001.htm","Rousserolle isabelle","Paddyfield Warbler");
  photoArray.push("hipcal001.htm","Hypola&iuml;s bott&eacute;e","Booted Warbler");
  photoArray.push("hipcal002.htm","Hypola&iuml;s bott&eacute;e","Booted Warbler");
  photoArray.push("hipcal003.htm","Hypola&iuml;s bott&eacute;e","Booted Warbler");
  photoArray.push("sylnis001.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis002.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis003.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis004.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis005.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis006.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis007.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis008.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylnis009.htm","Fauvette &eacute;pervi&egrave;re","Barred Warbler");
  photoArray.push("sylund001.htm","Fauvette pitchou","Dartford Warbler");
  photoArray.push("sylsar001.htm","Fauvette sarde","Marmora's Warbler");
  photoArray.push("sylcan001.htm","Fauvette passerinette","Subalpine Warbler");
  photoArray.push("phytri001.htm","Pouillot verd&acirc;tre","Greenish Warbler");
  photoArray.push("phytri002.htm","Pouillot verd&acirc;tre","Greenish Warbler");
  photoArray.push("phytri003.htm","Pouillot verd&acirc;tre","Greenish Warbler");
  photoArray.push("phybor001.htm","Pouillot bor&eacute;al","Arctic Warbler");
  photoArray.push("phypro001.htm","Pouillot de Pallas","Pallas's Warbler");
  photoArray.push("phypro002.htm","Pouillot de Pallas","Pallas's Warbler");
  photoArray.push("phyino001.htm","Pouillot &agrave; grands sourcils","Yellow-browed Warbler");
  photoArray.push("phyino002.htm","Pouillot &agrave; grands sourcils","Yellow-browed Warbler");
  photoArray.push("phyino003.htm","Pouillot &agrave; grands sourcils","Yellow-browed Warbler");
  photoArray.push("phyhum001.htm","Pouillot de Hume","Hume's Warbler");
  photoArray.push("phyhum002.htm","Pouillot de Hume","Hume's Warbler");
  photoArray.push("physch001.htm","Pouillot de Schwarz","Radde's Warbler");
  photoArray.push("phybon001.htm","Pouillot de Bonelli","Bonelli's Warbler");
  photoArray.push("phycolssp001.htm","Pouillot v&eacute;loce &quot;sib&eacute;rien&quot;","&quot;Siberian&quot; Chiffchaff");
  photoArray.push("phycolssp002.htm","Pouillot v&eacute;loce &quot;de type sib&eacute;rien&quot;","&quot;Siberian-type&quot; Chiffchaff");
  photoArray.push("phyibe001.htm","Pouillot ib&eacute;rique","Iberian Chiffchaff");
  photoArray.push("ficpar004.htm","Gobemouche nain","Red-breasted Flycatcher");
  photoArray.push("ficpar001.htm","Gobemouche nain","Red-breasted Flycatcher");
  photoArray.push("ficpar002.htm","Gobemouche nain","Red-breasted Flycatcher");
  photoArray.push("ficpar003.htm","Gobemouche nain","Red-breasted Flycatcher");
  photoArray.push("ficpar005.htm","Gobemouche nain","Red-breasted Flycatcher");
  photoArray.push("cerfam001.htm","Grimpereau des bois","Eurasian Treecreeper");
  photoArray.push("rempen001.htm","R&eacute;miz penduline","Penduline Tit");
  photoArray.push("lanisa001.htm","Pie-gri&egrave;che isabelle","Isabelline Shrike");
  photoArray.push("lansen002.htm","Pie-gri&egrave;che &agrave; t&ecirc;te rousse","Woodchat Shrike");
  photoArray.push("lansen001.htm","Pie-gri&egrave;che &agrave; t&ecirc;te rousse","Woodchat Shrike");
  photoArray.push("lansen003.htm","Pie-gri&egrave;che &agrave; t&ecirc;te rousse","Woodchat Shrike");
  photoArray.push("lansen004.htm","Pie-gri&egrave;che &agrave; t&ecirc;te rousse","Woodchat Shrike");
  photoArray.push("lansen005.htm","Hybride Pie-gri&egrave;che &agrave; t&ecirc;te rousse - &eacute;corcheur","Woodchat - Red-backed Shrike hybrid");
  photoArray.push("sturos001.htm","Etourneau roselin","Rose-coloured Starling");
  photoArray.push("sturos002.htm","Etourneau roselin","Rose-coloured Starling");
  photoArray.push("sercit001.htm","Venturon montagnard","Citril Finch");
  photoArray.push("carros001.htm","Roselin rose","Pallas's Rosefinch");
  photoArray.push("pyrpyrpyr001.htm","Bouvreuil nord-oriental","North-eastern Bullfinch");
  photoArray.push("callap001.htm","Bruant lapon","Lapland Bunting");
  photoArray.push("pleniv001.htm","Bruant des neiges","Snow Bunting");
  photoArray.push("pleniv002.htm","Bruant des neiges","Snow Bunting");
  photoArray.push("pleniv003.htm","Bruant des neiges","Snow Bunting");
  photoArray.push("pleniv004.htm","Bruant des neiges","Snow Bunting");
  photoArray.push("pleniv005.htm","Bruant des neiges","Snow Bunting");
  photoArray.push("embleu001.htm","Bruant &agrave; calotte blanche (hybride)","Pine Bunting (hybrid)");
  photoArray.push("embcir001.htm","Bruant zizi","Cirl Bunting");
  photoArray.push("embcir002.htm","Bruant zizi","Cirl Bunting");
  photoArray.push("embcir003.htm","Bruant zizi","Cirl Bunting");
  photoArray.push("embcir004.htm","Bruant zizi","Cirl Bunting");
  photoArray.push("embcia001.htm","Bruant fou","Rock Bunting");
  photoArray.push("embpus001.htm","Bruant nain","Little Bunting");
  photoArray.push("embpus002.htm","Bruant nain","Little Bunting");
  photoArray.push("embaur001.htm","Bruant aur&eacute;ole","Yellow-breasted Bunting");
  photoArray.push("embaur002.htm","Bruant aur&eacute;ole","Yellow-breasted Bunting");

  current = 0;
  while (photoArray[current] != photourl && current < photoArray.length) current++;
  if (current > 1) {
    prevurl = photoArray[current - 3];
    if (parent.content_en) prevtitle = photoArray[current - 1];
    else prevtitle = photoArray[current - 2];
  }
  else {
	prevtitle = "";
	prevurl = "";
  }
  url = photoArray[current];
  if (parent.content_en) title = photoArray[current + 2];
  else title = photoArray[current + 1];
  if (current < photoArray.length - 2) {
    nexturl = photoArray[current + 3];
    if (parent.content_en) nexttitle = photoArray[current + 5];
    else nexttitle = photoArray[current + 4];
  }
  else {
	nexturl = "";
    nexttitle = "";
  }
  if (parent.content_en) {
	photourl = "../photos_en.htm";
	phototitle = "Pictures";
	contentframe = "content_en";
  }
  else {
	photourl = "../photos.htm";
	phototitle = "Photos";
	contentframe = "content";
  }
  str = "";
  str += "<html><head><link rel=stylesheet type='text/css' href='../style/main.css'>";
  str += "<style> table { vertical-align='super' } </style></head><body bgcolor='eaeaca'>";
  str += "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
  if (prevurl) {
    str += "<td align='left'><a href='";
    str += prevurl;
    str += "' target='"
    str += contentframe;
    str += "'><img src='../images/arrowprev.gif' border='0' width='16' height='15'></a></td>";
  }
  str += "<td align='left' width='15%' nowrap class=sheaderT>&nbsp";
  if (prevurl) {
    str += "<a href='";
    str += prevurl;
    str += "' target='";
    str += contentframe;
    str += "' class=lkHeader>[";
    str += prevtitle;
    str += "]</a>";
  }
  str += "&nbsp;&nbsp;</td><td align='right'><a href='";
  str += photourl;
  str += "' target='";
    str += contentframe;
    str += "'><img src='../images/arrowup.gif' border='0' width='15' height='18'></a></td>";
  str += "<td align='left' width='35%' nowrap class=sheaderT>&nbsp;<a href='";
  str += photourl;
  str += "' target='";
    str += contentframe;
    str += "' class=lkHeader>[";
  str += phototitle;
  str += "...]</a>&nbsp;&nbsp;</td>";
  str += "<td align='center' class=headerT nowrap>-&nbsp;";
  if (lk != 0) {
    spurl = "../parespece/";
    if (lk) spurl += lk;
    else spurl += url.slice(0,-7);
    spurl += "." + url.slice(-3);
	str += "<a href='";
    str += spurl;
    str += "' target='";
    str += contentframe;
    str += "' class=lkHeader>";
  }
  str += title;
  if (lk != 0) str += "</a>";
  str += "&nbsp;-</td><td align='right' width='50%' nowrap class=sheaderT>";
  if (nexturl) {
	str += "<a href='";
    str += nexturl;
    str += "' target='";
    str += contentframe;
    str += "' class=lkHeader>[";
    str += nexttitle;
    str += "]</a>";
  }
  str += "&nbsp;</td><td align='right'>";
  if (nexturl) {
	str += "<a href='";
    str += nexturl;
    str += "' target='";
    str += contentframe;
    str += "'><img src='../images/arrownext.gif' border='0' width='16' height='15'></a>";
  }
  else str += "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
  str += "</td></tr></table></body></html>";
  parent.header.document.open("text/html","replace");
  parent.header.document.write(str);
  parent.header.document.close();
}
