/* Client-side access to querystring name=value pairs
	Version 1.2.3
	22 Jun 2005
	Adam Vandenberg
*/

////alert("HI")
function Querystring(qs) { // optionally pass a querystring to parse
	this.params = new Object()
	this.get=Querystring_get
	
	if (qs == null)
		qs=location.search.substring(1,location.search.length)

	if (qs.length == 0) return

// Turn <plus> back to <space>
// See: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1
	qs = qs.replace(/\+/g, ' ')
	var args = qs.split('&') // parse out name/value pairs separated via &
	
// split out each name=value pair
	for (var i=0;i<args.length;i++) {
		var value;
		var pair = args[i].split('=')
		var name = unescape(pair[0])

		if (pair.length == 2)
			value = unescape(pair[1])
		else
			value = name
		
		this.params[name] = value
	}
}

//alert("just after first function in the external js page");

function Querystring_get(key, default_) {
	// This silly looking line changes UNDEFINED to NULL
	if (default_ == null) default_ = null;
	
	var value=this.params[key]
	if (value==null) value=default_;
	
	return value
}

//GM060417 -  my stuff starts here

var listImages = 
[/*Opening brace for image list array - DO NOT REMOVE!!!!!!!!!*/

/*
###########################################################
!!!!!!!!!!CIARAN - WORK BELOW THIS POINT ONLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
###########################################################

Work from the bottom of this array/database when adding new images/records.
You will find some "helpful hints" at the bottom.
*/

//This first square bracket set is different from the rest in that it has no comma at the start.
//DO NOT PUT ANYTHING BEFORE THIS - DO NOT use apostrophes
//DO NOT COPY THIS WHEN ADDING ADDITIONAL SETS AT THE TOP
//DO NOT USE SPACES AFTER OR BEFORE DOUBLE QUOTATION MARKS

["img-IBMT-CC-Banners.jpg"
,"Banners"
,"Connolly Column and IBMT banners"]

,["img-Roma-Dublin.jpg"
,"Roma speaking in Dublin 2009"
,"Spot the error in this report"]

,["img-Memorial-SL.jpg"
,"Belfast Memorial - rededication Nov. 8th 2008"
,"Spot the error in this report"]

,["img-Memorial-INews.jpg"
,"Belfast Memorial - rededication Nov. 8th 2008"
,"Irish News report - Monday 10th"]

,["img-PoetryandTapas.jpg"
," One of the series of events - Nov. 6th 2008"
,"A Very successful Poetry and Music night - lots of Basques, Catalans and Spanish in attendancce"]

,["img-OlgaAndAndrea.jpg"
,"2 sets of relatives - Glasgow 2001"
,"Mick and Manus O&acute;Riordan with Olga and Andrea Flanagan. They are the daughter and granddaughter of Andrew Flanagan."]

,["img-UCDPlaque.jpg"
,"University College Dublin - Feb. 2008"
,"Plaque erected in memory of UCD student - Charlie Donnelly - thanks to Sam for the foto."]

,["img-DickMoss-teens.jpg"
,"Dick Moss"
,"The only available photo of Dick Moss - an Irish born IB volunteer"]

,["img-GB-MG-3vets.jpg"
,"George Brown Commemoration June 2008"
,"Bob Doyle with Jack Jones and Paddy Murphy at the George Brown Commemoration in Kilkenny"]

,["img-GB-Plaque.jpg"
,"George Brown Commemoration June 2008"
,"The plaque erected in Inistioge - Kilkenny - June 28th 2008"]

,["img-BobJarama08.jpg"
,"Jarama Commemoration Feb 2008"
,"Bob attending the Feb. 2008 Jarama Commemoration. Note Nov. 10th - Was everyone polite in not pointing out that I&acute;d the wrong year on this one."]

,["img-BrownPlaque.jpg"
,"George Brown"
,"Plaque for G Brown and 3 other local vols."]

,["img-3VetsJarama08.jpg"
,"Three Veterans"
,"Jack Jones with Bob Doyle and a Spanish veteran"]

,["img-HarryBobandJud.jpg"
//,["img-HarryBobandJud08.jpg"
,"Harry and Bob"
,"Harry Owens with Bob Doyle and Bobs grandson Jud - Jarama Feb 08"]

,["img-ConwayMemorial08.jpg"
,"Kit Conway memorial"
,"This memorial was recently vandalised"]

,["img-SeveJarama08.jpg"
,"Seve Montero"
,"Seve is one of the hard working activists ensuring that the IBers are remembered"]

,["img-BobJarama08-2.jpg"
,"Jarama Feb 08"
,"Bob Doyle - Jarama Feb 08"]

,["img-BobJarama08-3.jpg"
,"Jarama Feb 08"
,"Bob Doyle - Jarama Feb 08"]

,["img-MemorialPB30.jpg"
,"The Internationale"
,"Pol MacAdams singing the Internationale, in Irish, English and Spanish - Photo by Paddy Mackle"]


,["img-MemorialPB28.jpg"
,"Belfast memorial"
," - Photo by Paddy Mackle"]

,["img-MemorialPB33.jpg"
,"Bob unveils the memorial"
,"Bob unveils the Belfast memorial - Photo by Paddy Mackle"]

,["img-MemorialPB20.jpg"
,"Jack Edwards"
,"Jack Edwards, Liverpool volunteer - Photo by Paddy Mackle"]

,["img-MemorialPB21.jpg"
,"BD at the Belfast memorial"
,"Bob Doyle - Dublin volunteer - Photo by Paddy Mackle"]

,["img-MemorialPB29.jpg"
,"Belfast memorial"
," - Photo by Paddy Mackle"]

,["img-MemorialPB35.jpg"
,"Belfast memorial"
," - Photo by Paddy Mackle"]

,["img-MemorialPB38.jpg"
,"Belfast memorial"
," - Photo by Paddy Mackle"]

,["img-MemorialPB22.jpg"
,"Belfast memorial 3"
,"Margaret Ritchie spoke at the unveiling - Photo by Paddy Mackle"]

,["img-LHL10.jpg"
,"Linen Hall Library launch"
,"3 veterans with C Crossey at the launch of the exhibition - Photo by Hilary Coleman"]

,["img-LHL15.jpg"
,"SCW exhibition"
,"Part of the display in the Linen Hall exhibition - Photo by Hilary Coleman"]

,["img-LHL17.jpg"
,"Bob"
,"Bob Doyle in the Linen Hall - Photo by Hilary Coleman"]

,["img-LHL2.jpg"
,"LHL"
," - Photo by Hilary Coleman"]

,["img-LHL20.jpg"
,"LHL"
," - Photo by Hilary Coleman"]

,["img-LHL21.jpg"
,"LHL"
," - Photo by Hilary Coleman"]

,["img-LHL24.jpg"
,"LHL"
," - Photo by Hilary Coleman"]

,["img-LHL22.jpg"
,"LHL"
," - Photo by Hilary Coleman"]

,["img-AFF1.jpg"
,"Anti-Fascist football"
,"August 2007 - an anti-fascist football competition in Poleglass. - Photo by CCC"]

,["img-AchillParade1996.jpg"
,"Achill Memorial parade"
,"Bob Doyle and Mick O&acute;Riordan lead the parade to the Achill memorial in 1996"]

,["img-CoadyDenis.jpg"
,"Dinny Coady"
,"Dinny Coady"]

,["img-BeattieBill.jpg"
,"Bill Beattie"
,"This image comes from the Belfast Telegraph. A Belfast vol. KIA"]

,["img-HilliardBob.jpg"
,"Bob Hilliard?"
,"I found this image on the web, thought to be Bob Hilliard, CC 3 June 2007"]

,["img-BD-CD2007.jpg"
,"Bob Doyle- Feb. 07"
,"Bob Doyle - C Donnolly Winter School, Feb. 2007"]

,["img-BD-CD2007B.jpg"
,"Bob Doyle"
,"Bob Doyle - at the Donnolly memorial, Coalisland"]

,["img-BD-CD2007C.jpg"
,"Bob Doyle - Coalisland 2007"
,"Bob Doyle - Donnolly Winter School, Feb. 2007"]

,["img-McAllisterPatsy.jpg"
,"Patsy McAllister"
,"Patsy McAllister from Belfast in the 1970s"]

,["img-BurnsGrave.jpg"
,"Marker Grave for Volunteers"
,"Memorial for the XV IB dead - inscription read. To our fallen comrdes, Our victory is your vengence. June 1937."]

,["img-6a.jpg"
," 2 unknown volunteers"
,"Can anyone name these men?"]

,["img-Manning.jpg"
,"John Manning"
,"This man has been identified as John Manning, a Bandera vol. from Cork - thanks David for reminding me."]

,["img-vol1.jpg"
," unknown volunteers 1"
,"A group of international volunteers in Spain. Who are they - 1. A result - 1st Dec. - Mick O&acute;R is standing 5 from the left. "]

,["img-vol2.jpg"
,"Unknown International Volunteers"
,"A group of international soldiers in Spain. Who are they - 2"]

,["img-vol3.jpg"
,"Unknown International Volunteers"
,"A group of international soldiers in Spain. Who are they - 3"]

,["img-vol4.jpg"
,"Unknown International Volunteers"
,"A group of international veterans in Spain. Who are they - 4. A result - 1st Dec. - Mick O&acute;R is knelling 4 from the left."]

,["img-Veterans1991.jpg"
,"Group of veterans 50 years later"
,"A group of international veterans in 1991, in Dublin. See the IB page for full details"]

,["img-ConnCol.jpg"
,"Connolly Column Volunteers"
,"Volunteers in the Int Brigade - go to the New Materials page for some options as to who these are."]

,["img-MonksGroup.jpg"
,"Volunteers"
,"Volunteers from Joe Monks pamphlet"]

,["img-BrownGeorge.jpg"
,"George Browne KIA"
,"George Browne KIA, a leading commissar"]

,["img-BDHewitt.jpg"
,"Bob Doyle"
,"Bob Doyle in the John Hewitt bar, Belfast Sept 16th 2006"]

,["img-BDHewitt2.jpg"
,"Bob Doyle"
,"Bob Doyle, Belfast Sept 16th 2006, book launch, etc"]

,["img-IBCCPlaque.jpg"
,"Belfast plaque"
,"The IBCC commemorative plaque unveiled on Sept 16th by Bob Doyle in the John Hewitt bar Belfast"]

,["img-IBCCPlaque2.jpg"
,"SCW memorial plaque"
,"Plaque commemorating all the volunteers who contributed in the struggle against fascism"]

,["img-THPlatform4.jpg"
,"IBCC meeting"
,"The platform consisted of Joe Bowers, chair, Manus O&acute;Riordan and Jimmy McDermott, speakers, with Mick O&acute;Reilly of the ATGWU - Bob with Harry Owens at the end"]

,["img-THBobDoyle.jpg"
,"Bob Doyle"
,"At the Transport House meeting"]

,["img-DoyleHewitt1.jpg"
,"Bob Doyle"
,"Bob Doyle, Belfast Sept 16th 2006, book launch, etc."]

,["img-DoyleHewitt3.jpg"
,"Bob Doyle"
,"Bob in the Hewitt, 16th Sept 2006, book launch, etc."]

,["img-DoyleSpeaking.jpg"
,"Bob Doyle"
,"Bob addressing the packed crowd"]

,["img-DoyleRemarks.jpg"
,"Bob Doyle"
,"Bob speaking at his Belfast book launch"]

,["img-DoyleSpeaking2.jpg"
,"Bob Doyle"
,"Bob speaking to the packed Belfast pub"]

,["img-DohertyHewitt.jpg"
,"Kevin Doherty"
,"Kevin, IBCC secretary, introduced the book launch and unveiling"]

,["img-GreyHewitt.jpg"
,"John Gray"
,"John, Librarian of the Linen Hall Library, spoke warmly about Bobs book"]

,["img-IBCCUnveiling.jpg"
,"Bob unveiling the plaque"
,"The memorial plaque getting uncovered"]

,["img-IBCCUnveiling2.jpg"
,"Plaque revealed"
,"The uncovering of the plaque"]

,["img-IBCCUnveiling3.jpg"
,"Plaque unveiled"
,"Belfast memorial plaque to the anti-fascist volunteers, unveiled Sept 16 2006"]

,["img-Hewittcrowd.jpg"
,"Small part of the crowd"
,"A small part of the crowd at the Belfast book launch for Bob Doyle, Sept 16 2006"]

,["img-Mulherron.jpg"
,"Joe Mulherron"
,"Joe - from Derry - got a great reception when he sang his song, Connolly Column, as the last song at the social in Belfast on Sept. 16th"]

,["img-BarryBlue.jpg"
,"Blue Barry"
,"Barry - a Dubliner who travlled from Melbourne - 2nd from the right in this photo"]

,["img-BS1973.jpg"
,"Betty Sinclair"
,"Betty Sinclair in 1973"]

,["img-BSYoung.jpg"
,"A young Sinclair"
,"A young political activist"]

,["img-ArthurMorris.jpg"
,"A Morris"
,"A Welsh volunteer frequently wrongly listed as Irish."]

,["img-CForrester.jpg"
,"Clarence Forrester"
,"An Irish-Finnish-American volunteer in Spain."]

,["img-BD-MDHiggins.jpg"
,"Michael D Higgins"
,"Irish Labour Party President addressing the launch of the Brigadista book by Bob Doyle"]

,["img-BD-Manus.jpg"
,"Manus O&acute;Riordan"
,"Manus O&acute;Riordan at the launch of Brigadista"]

,["img-BD-Owens.jpg"
,"Harry Owens"
,"Harry with Bob Doyle at his book launch"]

,["img-BDWaterfordToday.jpg"
,"Waterford Today - book launch"
,"Dick Spring with Paddy Gallagher, Sean Kelly and Bob."]

,["img-Donnelly.jpg"
,"Charlie Donnelly"
,"The Dungannon born poet and activist."]

,["img-McGrotty.jpg"
,"Eamon McGrotty"
,"In Dublin in the early 1930s."]

,["img-Bodenstown34.jpg"
,"Republican Congress, June 1934"
,"Shankill Road socialists at Bodenstown."]

,["img-DoranGerry.jpg"
,"Gerry Doran"
,"Born outside Belfast, lived in Dublin before Spain."]

,["img-ReidPat.jpg"
,"Pat Reid"
,"One of 6 Irish anarchists who served in the SCW"]

,["img-MoRFuneral1.jpg"
,"Mick O&acute;Riordan funeral"
,"Funeral to Glasnevin 20th May 2006"]

,["img-MoRFuneral2.jpg"
,"Mick O&acute;Riordan funeral"
,"Mick O&acute;Riordan funeral, Dublin"]

,["img-MoRFuneral3.jpg"
,"Mick O&acute;Riordan funeral"
,"Funeral procession"]

,["img-MoRFuneral4.jpg"
,"Mick O&acute;Riordan funeral"
,""]

,["img-MoRFuneral5.jpg"
,"Mick O&acute;Riordan funeral"
,""]

,["img-MoRFuneral6.jpg"
,"Mick O&acute;Riordan funeral"
,""]

,["img-MoRFuneral7.jpg"
,"Mick O&acute;Riordan funeral"
,""]

,["img-CC-MoR-BD.jpg"
,"Connolly Column Republished"
,"C Crossey with Bob Doyle (hat) and Mick O&acute;Riordan at the Connolly Column launch, Feb. 2005, Liberty Hall, Dublin."]

,["img-CColCover.jpg"
,"Second Edition"
,"&acute;Connolly Column&acute; - by Mick O&acute;Riordan, 2nd edition."]


,["img-mcgrath.jpg"
,"Henry McGrath"
,"He&acute;s on the the front right"]

,["img-Doyle1999.jpg"
,"Bob Doyle"
,"Bob Doyle in 1999"]

,["img-COShannon.jpg"
,"O&acute;Shannon at book launch"
,"Cathal O&acute;Shannon"]

,["img-Davey-H.jpg"
,"IBMT wreath"
,"Deirdre Davey, daughter of Bob Hilliard"]

,["img-Davey-HilliardIBMT.jpg"
,"Liberty Hall Oct 2005"
,"IBMT-AGM, Oct. 2005"]

,["img-DonnellyPlaqueFull.jpg"
,"Donnelly Memorial"
,"A photograph of the Memorial Plaque is next."]

,["img-DonnellyPlaque.jpg"
,"Donnelly Plaque"
,"Coalisland Memorial"]

,["img-DunveganCastle.jpg"
,"Volunteer dies on Ship"
,"David Ryan, Limerick vol. died when this sank in WW2"]

,["img-EDowning.jpg"
,"Eugene Downing"
,"Eugene Downing"]

,["img-EugeneDowning1939.jpg"
,"Downing 1939"
,"Eugene Downing in 1939 shortly after his return from Spain."]

,["img-FloralMessage.jpg"
,"In Loving Memory"
,"Floral Message IBMT ceremonies October 2005</p><P>&acute;<i>In loving memory of the Irish Volunteers of the International Brigade and of their comrades-in-arms of all nationalities who gave their lives in defence of the Spanish Republic and for a world free from fascism.&acute;</i></p><p>The International Brigade Memorial Trust."]

,["img-GMacNultyat1984Pattenmemorial.jpg"
,"Patten Memorial 1984"
,"G MacNulty speaking at the Patten memorial"]

,["img-IBMTagm.jpg"
,"AGM of IBMT"
,"IBMT AGM"]

,["img-IBMTPres.jpg"
,"President and Veterans"
,"Mary McAleese meets IB veterans"]

,["img-JWhiteformal.jpg"
,"Jack White"
,"Jack White in formal dress"]

,["img-KitConway.jpg"
,"IB - Kit Conway KIA"
,"Kit Conway"]

,["img-ManusSpeaking.jpg"
,"Manus Speaking"
,""]

,["img-MoR.jpg"
,"Manus O&acute;Riordan Book Launch"
,"Manus speaking at the Connolly Column launch"]

,["img-MoR-BD.jpg"
,"Mick O&acute;Riordan & Doyle at Book Launch"
,"Mick and Bob at the book launch"]

,["img-MoRConwayMemorial.jpg"
,"O&acute;Riordan at Conway Memorial"
,"Mick at the COnway Memorial, 2005"]

,["img-Ryanstart.jpg"
,"Ryan Commeration Start"
,"Start of the Frank Ryan commemoration, Oct 2005"]

,["img-ManusRyan.jpg"
,"Manus O&acute;Riordan on Ryan"
,"Manus O&acute;Riordan address at Ryans grave"]

,["img-Doyle.jpg"
,"Doyle at Glasnevin"
,"Bob Doyle at Ryans grave, Oct 05"]

,["img-DoyleRyanWreath.jpg"
,"Bob Doyle remembers Ryan"
,"Doyle laying a wreath"]

,["img-Ryan1.jpg"
,"Ryan Commeration"
,"Ryan commemoration"]

,["img-Ryan2.jpg"
,"Ryan Commeration"
,"Ryan commemoration 2"]

,["img-Jones.jpg"
,"Jack Jones at Ryans grave"
,"Jack Jones at Ryans grave"]

,["img-cnt.jpg"
,"Poster"
,""]

,["img-s11.jpg"
,"Poster"
,""]

,["img-s14.jpg"
,"Poster"
,""]

,["img-s15.jpg"
,"Poster"
,""]

,["img-s17.jpg"
,"Poster"
,""]

,["img-s19.jpg"
,"Poster"
,""]

,["img-s20.jpg"
,"Poster"
,""]

,["img-s22.jpg"
,"Poster"
,""]

,["img-s23.jpg"
,"Poster"
,""]

,["img-s3.jpg"
,"Poster"
,""]

,["img-DunphyJC.jpg"
,"Sgt. John C Dunphy"
,"Sgt. John C Dunphy"]

,["img-DunphyJCand3.jpg"
,"4 Bandera members"
,"Going downhill: Sgt. JC Dunphy, with Lt Tom O&acute;Riordan, Sgt. Jack Moran, and Sgt. Thomas Hobbins"]

,["img-CunninghamCapSean.jpg"
,"Bandera Capt Sean Cunningham"
,"Bandera Capt Sean Cunningham"]

,["img-II361123Cunningham.jpg"
,"Sean Cunningham"
,"Sean Cunningham"]

,["img-II361124Casserly.jpg"
,"Casserly"
,"Bandera- Casserly"]

,["img-II370220Band.jpg"
,"St Marys Anti-Communist Pipe Band!"
,"St Marys Anti-Communist Pipe Band!"]

,["img-II370224TomHyde.jpg"
,"Bandera - Tom Hyde KIA"
,"Bandera - Tom Hyde KIA"]

,["img-II370225Dalton.jpg"
,"Bandera - Dalton"
,"Bandera - Dalton"]

,["img-II370225DOSullivan.jpg"
,"Bandera - D O&acute;Sullivan"
,"Bandera - D O&acute;Sullivan"]

,["img-II370225ICFAmbulances.jpg"
,"ICF Ambulances"
,"ICF Ambulances"]

,["img-II370225OHiggins.jpg"
,"Bandera - O&acute;Higgins"
,"Bandera - O&acute;Higgins"]

,["img-II370226DChute.jpg"
,"Bandera - D Chute"
,"Bandera - D Chute"]

,["img-II370302DandN.jpg"
,"Bandera Men"
,"4 Bandera officers"]

,["img-II370303Torney.jpg"
,"Bandera - Torney"
,"Bandera - Torney"]

,["img-II370304HydeandQuinn.jpg"
,"Bandera - Hyde and Quinn"
,"Bandera - Hyde and Quinn"]

,["img-II370305Walsh.jpg"
,"Bandera - Walsh"
,"Bandera - Walsh"]

,["img-II370313DJKelly.jpg"
,"Bandera - DJ Kelly"
,"Bandera - DJ Kelly"]

,["img-LeeG.jpg"
,"Bandera - Gabriel Lee"
,"Died of wounds 20 March 1937"]

,["img-LisbonArrivals.jpg"
,"Bandera in Lisbon 1"
,"Bandera arriving in Lisbon 1"]

,["img-LisbonArrivals2.jpg"
,"Bandera in Lisbon 2"
,"Bandera arriving in Lisbon 2"]

,["img-II361130Mulrean.jpg"
,"Bandera priest"
,"Fr Mulrean - Bandera chaplain"]

,["img-II361203WhittesSean.jpg"
,"Bandera - Sean Whittes"
,"Bandera - Sean Whittles"]

,["img-II361203WhittlesTom.jpg"
,"Bandera - Tom Whittles"
,"Bandera - Tom Whittles"]

,["img-II361207BanderaICF.jpg"
,"Belfast ICF demo"
,"Belfast ICF demo"]

,["img-II361212BanderaCrowds.jpg"
,"ICF/Bandera scenes"
,"ICF/Bandera scenes"]

,["img-II361212BanderaGHobbans.jpg"
,"Bandera - G Hobbans"
,"Bandera - G Hobbans"]

,["img-II361212BanderaJCrowe.jpg"
,"Bandera - J Crowe"
,"Bandera - J Crowe"]


,["img-Clarke-SP.jpg"
,"Sean Clarke trains"
,"Bandera Company D training"]

,["img-II361212BanderaTroy.jpg"
,"Bandera - Troy"
,"Bandera - Troy died of illness in Spain"]

,["img-II361212DandS.jpg"
,"Bandera - Doolan and Other"
,"Bandera - Doolan and Sheehan"]

,["img-II361212Gallagher.jpg"
,"Bandera - Gallagher"
,"Bandera - Gallagher of Sligo"]

,["img-II361214BanderaJamesDoyle.jpg"
," Bandera - James Doyle"
," Bandera - James Doyle"]

,["img-II361217JFahy.jpg"
," Bandera - J Fahy"
,"Bandera - J Fahy"]

,["img-GalwayBoatClimbing.jpg"
,"Bandera for Spain"
,""]

,["img-II361217JMaughan.jpg"
," Bandera - J Maughan"
,"Bandera - J Maughan"]

,["img-II362230Horan.jpg"
,"Bandera - Horan"
,"Bandera - Horan"]

,["img-II370219PDunny.jpg"
,"Bandera - P Dunny"
,"Bandera - P Dunny"]

,["img-ONeill-MLeo-Bandera.jpg"
,"Bandera - M L O&acute;Neill"
,"Bandera - M L O&acute;Neill"]

,["img-Unknown.jpg"
,"Bandera - Unknown"
,"Bandera - Unknown"]

//DO NOT USE SPACES AFTER OR BEFORE DOUBLE QUOTATION MARKS

/*
###########################################################
!!!!!!CIARAN - WORK ABOVE THIS POINT ONLY     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
###########################################################

Work in Editplus so you can spot issues when text colours change.
Remember not to use apostrophes.  Use -	 	&acute;		- instead.
Copy a single record or  block above and paste it several times.
You can then modify the extra records as you wish.

If you encounter any diffs do Ctrl-Z until all changes are gone 
and you have returned to the original state.  You CAN save the file 
as many times as you like in a single session and you will still be 
able to recover the original state of the file.  However once you close
Editplus you will not be able to return to "Year Zero".


*/



]//Closing brace for image list array - DO NOT REMOVE!!!!!!!!!



var qs = new Querystring()

// Parse a given querystring
//var qs2 = new Querystring("name1=value1&name2=value2")

//var v1 = qs2.get("first")
//var v3 = qs2.get("name3", "default value")

var qsFirst = qs.get("first")
var qsHeader = qs.get("header")
var qsComment = qs.get("comment")
//alert("qsComment")
var varNextImage
var varNextHeader
var varNextComment
var varPreviousImage
var varPreviousHeader
var varPreviousComment
var btnPrevious
var btnNext

btnPrevious = "<INPUT type='button' class='big' value='<< Previous' onClick='getNeighbours(\""
btnNext = "<INPUT type='button' class='big' value='Next >>' onClick='getNeighbours(\""

//////alert(qsFirst)


var i

for(i=0;i<listImages.length;i++){

	if(listImages[i][0] == qsFirst){

				//////alert("Next = " + varNext)
			
			if(i==0){
			varPreviousImage = listImages[listImages.length-1][0]
			varPreviousHeader = listImages[listImages.length-1][1]
			varPreviousComment = listImages[listImages.length-1][2]
				////alert("Previous = " + varPrevious)
					}else{
				varPreviousImage=listImages[i-1][0]
				varPreviousHeader=listImages[i-1][1]
				varPreviousComment=listImages[i-1][2]}
				
				if(i==(listImages.length-1)){
			varNextImage = listImages[0][0]
			varNextHeader = listImages[0][1]
			varNextComment = listImages[0][2]
				////alert("Previous = " + varPrevious)
			}else{
			varNextImage = listImages[i+1][0]
			varNextHeader = listImages[i+1][1]
			varNextComment = listImages[i+1][2]}

	}
	
	
	//document.write(listImages[i] + "<br>")

}





btnPrevious = btnPrevious + varPreviousImage + "\",\""
btnPrevious = btnPrevious + varPreviousHeader + "\",\""
btnPrevious = btnPrevious + varPreviousComment + "\");'>"

btnNext = btnNext + varNextImage + "\",\""
btnNext = btnNext + varNextHeader + "\",\""
btnNext = btnNext + varNextComment + "\");'>"


function getNeighbours(strImage,strHeader,strComment){

var strLocal ="galleryView.htm"

strLocal = strLocal + "?first=" + strImage 
strLocal = strLocal + "&header=" + strHeader 
strLocal = strLocal + "&comment=" + strComment 

document.location = strLocal;
}


