/***************************************************************************
* Create a photo object                                                    *
***************************************************************************/
function photo(id, galleries_id, photo_ref, section_code, src, width, height, caption, thumbnail, thumbnail_width, thumbnail_height, home, gallery, description, takendate, photographer, location, item_price, purchase_instruction) {
	this.id = id;
	this.galleries_id = galleries_id;
	this.photo_ref = photo_ref;
	this.section_code = section_code;
	this.src = src;
	this.width = width;
	this.height = height;
	this.caption = caption;
	this.thumbnail = thumbnail;
	this.thumbnail_width = thumbnail_width;
	this.thumbnail_height = thumbnail_height;
	this.home = home;
	this.gallery = gallery;
	this.description = description;
	this.takendate = takendate;
	this.photographer = photographer;
	this.location = location;
	this.item_price = item_price;
	this.purchase_instruction = purchase_instruction;
}
/***************************************************************************
* Create a gallery object                                                  *
***************************************************************************/

function gallery(id,featured_images,title,section_code) {
	this.id = id;
	this.featured_images = featured_images;
	this.title = title;
	this.section_code = section_code;}

/***************************************************************************
* Select a random value from a comma separated list                        *
***************************************************************************/
function randomListVal(list) {
	arrayVals = list.split(',');
	pos = Math.round(Math.random() * (arrayVals.length - 1));
	debug('Returning ' + arrayVals[pos] + ' as random image');
	return arrayVals[pos];
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('1789458,1789457,1789455,1789453,1789448,1770883,1197987,1197985,1197981,1197978,1197976,1197974,1197972,1197968,1197962,1197948,1197935,1197913,1197909,1197904,1197895,1197887,1197874,1197857,1197843,1189901,1189893,1188833,1188832,1188830,1188829,1188824,1188786,1188776,1188771,1188761');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if (!basic) {
			img.src = photos[j].src;
			img.width = photos[j].width;
			img.height = photos[j].height;
			}
			else {
				newImage = new Image(photos[j].width,photos[j].height);
				newImage.src = photos[j].src;
				document.images[img.name] = newImage;
				debug(newImage.src);
			}
			break;
		}
	}
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline() {
	
	imageID = randomListVal('1789458,1789457,1789455,1789453,1789448,1770883,1197987,1197985,1197981,1197978,1197976,1197974,1197972,1197968,1197962,1197948,1197935,1197913,1197909,1197904,1197895,1197887,1197874,1197857,1197843,1189901,1189893,1188833,1188832,1188830,1188829,1188824,1188786,1188776,1188771,1188761');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if ('gallery' != '') {
						if (photos[j].galleries_id != '') {
						document.write('<a href="' + photos[j].section_code + '_' + photos[j].galleries_id + '.html">');
						}
						else {
						document.write('<a href="gallery.html">');
						}
			}
			document.write('<img src="' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			if ('gallery' != '') {
				document.write('</a>');
			}
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !((1) || (1))) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
									document.title = 'Photography by Frank van der Zwan: ' + photos[nextImg].caption;
										/* apply 'blank' classname to element where */			if ( photos[nextImg].caption == '') {
				document.getElementById('imageTitle').style.className = 'blank';
			}
			else {
				document.getElementById('imageTitle').style.className = 'normal';
			}
						temp = '';
			if (photos[nextImg].description != '') {
				temp = temp +  '<p id="imageDescription">' + photos[nextImg].description + '</p>';
			}
						if (photos[nextImg].photo_ref != '') {
				temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + photos[nextImg].photo_ref + '</p>';
			}
						if (photos[nextImg].takendate != '') {
				debug('Resetting taken date');
				temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + photos[nextImg].takendate + '</p>';
			}
			
			if (photos[nextImg].location != '') {
				debug('Resetting location');
				temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  photos[nextImg].location + '</p>';
			}
			
			if (photos[nextImg].photographer != '') {
				debug('Resetting photographer');
				temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + photos[nextImg].photographer + '</p>';
			}
			if (temp != '') {				temp = temp + '<div class="spacer"></div>';			}					if (temp == '') {
			document.getElementById('imageDetails').style.display = 'none';
		}
		else {
			document.getElementById('imageDetails').style.display = 'block';
		}
		document.getElementById('imageDetails').innerHTML =temp;	
		
	}
	else {
		debug('Redirecting to id ' + photos[nextImg].id);
		window.location = 'photo_' + photos[nextImg].id + '.html';
	}
}

/***************************************************************************
* Show the previous image for a gallery. field = hidden field containing   *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function previous(field,img) {


	imageID = field.value;
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k = j -1;
	while (nextImg < 0) {
		for (; k >= 0; k--) {
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				break;
			}
		}
		if (nextImg == -1) {
			k = photos.length -1;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);	
	}
}

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.
        *
* Gallery_id = id of gallery to choose                                     *
* 
 img = reference to html image                                       *
* in which to show image                                                   *
***************************************************************************/
function showGalleryImage(gallery_id, img) {
	debug('Gallery = ' + gallery_id);
	for (i = 0; i < galleries.length; i++) {
		if (galleries[i].id == gallery_id) {
			imageID = randomListVal(galleries[i].featured_images);
				for (j = 0; j < photos.length; j++) {
					if (photos[j].id == imageID) {
						
						img.src = photos[j].thumbnail;
						img.width = photos[j].thumbnail_width;
						img.height = photos[j].thumbnail_height;
						
						break;
					}
				}
			break;
		}
	} 
	}

/***************************************************************************
* If we have dynamic HTML                                                  *
*  replace the galleries link with a list that                             *
* doesn't include the current gallery                                      *
***************************************************************************/
function showGalleries(gallery_id) {
	debug('Showing links for gallery ' + gallery_id);
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
			debug('Testing gallery ' + galleries[i].id);
			
			if (galleries[i].id != gallery_id) {
				debug('Adding link');
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="gallery_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}
/***************************************************************************
* Create the array of Photo objects                                        *
***************************************************************************/
photos = new Array();
photos[0] = new photo(1188824,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/USA3291.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/USA3291_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Remember<br>\r\n<strong>Date:</strong> 18 July 2003<br>\r\n<strong>Location:</strong> Miami Beach, Florida, USA<br>\r\n<br>\r\nThe Holocaust Memorial in Miami is a haunting memory of the six million Jews that were killed in the Second World War. It is reflected in the water surrounding it and \'crowned\' with water lilies.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&ll=25.796409,-80.136611&spn=0.003589,0.004807&z=18&msid=103007547386465026665.0004550d972842d4dc582\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/06/het-verhaal-achter-de-foto-1.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> USA_20030718_3291<br>\r\n<strong>Additional keywords:</strong> American, holocaust, reflection, still life, United States of America','','','','','');
photos[1] = new photo(1189901,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Jordan4309.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Jordan4309_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Bedouin Boy<br>\r\n<strong>Date:</strong> 18 December 2003<br>\r\n<strong>Location:</strong> Wadi Rum, Jordan<br>\r\n<br>\r\nA Bedouin boy is peeking through his father\'s tent.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&ll=30.623732,35.551758&spn=3.511747,4.921875&z=8&msid=103007547386465026665.0004550da87fede214652\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Jordan_20031218_4309<br>\r\n<strong>Additional keywords:</strong> Jordanian, portrait, street photography','','','','','');
photos[2] = new photo(1197978,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00189.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00189_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Tree House<br>\r\n<strong>Date:</strong> 6 July 2004<br>\r\n<strong>Location:</strong> Cong, Co. Mayo, Ireland<br>\r\n<br>\r\nA ruin of a house in Cong now harbours a tree.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=53.54245,-9.28791&spn=0.07579,0.153809&z=13&msid=103007547386465026665.0004550f00f4e8d6ccb3c\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040706_00189_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish','','','','','');
photos[3] = new photo(1789448,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland5302.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland5302_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Blue Boat Reflection<br>\r\n<strong>Date:</strong> 27 June 2006<br>\r\n<strong>Location:</strong> Dingle, Co. Kerry, Ireland<br>\r\n<br>\r\nDetail and reflection of an old fishing boat in Dingle Harbour.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.138272,-10.273772&spn=0.002446,0.004807&z=18&msid=103007547386465026665.00045508f8920a88a25cd\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/08/het-verhaal-achter-de-foto-6.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20060627_5302_v1<br>\r\n<strong>Additional keywords:</strong> decay, Dingle Peninsula, Eire, harbor, Irish, rot, rust, still life, tire, tyre, water','','','','','');
photos[4] = new photo(1789457,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland6892.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland6892_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Irish Sheep<br>\r\n<strong>Date:</strong> 10 January 2007<br>\r\n<strong>Location:</strong> Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nA sheep sporting the national flag is happy to call Ireland home.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.000455092d57d932a78cf&ll=52.199874,-9.897823&spn=0.039087,0.076904&z=14\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20070110_6892_v1<br>\r\n<strong>Additional keywords:</strong> Eire, grass, green, Irish, nationalist, orange, paint','','','','','');
photos[5] = new photo(1188776,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00030.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00030_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Connemara Ponies<br>\r\n<strong>Date:</strong> 5 July 2004<br>\r\n<strong>Location:</strong> Connemara National Park, Co. Galway, Ireland<br>\r\n<br>\r\nSituated in the heart of the West of Ireland in County Galway, Connemara National Park covers some 2,957 hectares of scenic mountains, expanses of bogs, heaths, grasslands and woodlands. Here roam the famous Connemara Ponies.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550f19b9fdb8db37d&ll=53.45494,-9.784698&spn=0.303787,0.615234&z=11\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2009/01/het-verhaal-achter-de-foto-9.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040705_00030_v1<br>\r\n<strong>Additional keywords:</strong> boat, Eire, horse, Irish, lake, landscape, mountain, pony','','','','','');
photos[6] = new photo(1197904,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00283.jpg',600,212,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00283_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Fishing Boats in Dingle Harbour<br>\r\n<strong>Date:</strong> 15 July 2004<br>\r\n<strong>Location:</strong> Dingle, Co. Kerry, Ireland<br>\r\n<br>\r\nTwo fishing boats meet each other in Dingle Harbour, one going out to sea and one coming in.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550909380ed1c2709&ll=52.126125,-10.265501&spn=0.009788,0.019226&z=16\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040715_00283_v2<br>\r\n<strong>Additional keywords:</strong> Dingle Peninsula, Eire, harbor, Irish, landscape','','','','','');
photos[7] = new photo(1789453,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland5490.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland5490_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Lily Sunset<br>\r\n<strong>Date:</strong> 29 June 2006<br>\r\n<strong>Location:</strong> Clogher Head, Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nA group of calla lilies is lit by the last rays of the summer sun as it sets over the Atlantic.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.00045493375e13f02b381&ll=52.150502,-10.467396&spn=0.019565,0.038452&z=15\" target=\"_blank\"> Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20060629_5490_v1<br>\r\n<strong>Additional keywords:</strong> Atlantic Ocean, Eire, flower, Irish, landscape, lily, still life, sunset','','','','','');
photos[8] = new photo(1197948,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00072.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00072_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Street Musician<br>\r\n<strong>Date:</strong> 7 July 2004<br>\r\n<strong>Location:</strong> Galway, Co. Galway, Ireland<br>\r\n<br>\r\nWhile smoking a cigarette, a street musician is playing his violin for small change.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&ll=53.272271,-9.052702&spn=0.004767,0.009613&z=17&msid=103007547386465026665.0004550dec91e7999ab87\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040707_00072_v1<br>\r\n<strong>Additional keywords:</strong> busker, busking, Eire, Irish, man, money, portrait, smoke, street photography','','','','','');
photos[9] = new photo(1197987,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00316.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00316_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Cottage Windowsill<br>\r\n<strong>Date:</strong> 17 July 2004<br>\r\n<strong>Location:</strong> Bunratty Folk Park, Co. Clare, Ireland<br>\r\n<br>\r\nTraditional cottage window from the inside in Bunratty Folk Park.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550cd052ea5fbe560&ll=52.697622,-8.814447&spn=0.009662,0.019226&z=16\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040717_00316_v1<br>\r\n<strong>Additional keywords:</strong> bottle, Eire, glass, Irish, jug, still life, windowsill','','','','','');
photos[10] = new photo(1770883,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland8382.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland8382_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Empty Chair<br>\r\n<strong>Date:</strong> 7 September 2007<br>\r\n<strong>Location:</strong> Killarney, Co. Kerry, Ireland<br>\r\n<br>\r\nAn empty chair is a silent witness to the life that once filled this now abandoned house.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?f=q&hl=en&geocode=&mrt=kmlkmz&ie=UTF8&t=h&msa=0&ll=52.024825,-9.465923&spn=0.078481,0.153809&z=13&msid=103007547386465026665.00045509dd410786c4d79\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\"http://frankvanderzwan.blogspot.com/2008/06/het-verhaal-achter-de-foto-2.html\" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20070907_8382<br>\r\n<strong>Additional keywords:</strong> dark, decay, dirt, dust, Eire, Irish, light, old, still life, wood','','','','','');
photos[11] = new photo(1188786,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Spain2463.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Spain2463_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Beggar<br>\r\n<strong>Date:</strong> 1 May 2003<br>\r\n<strong>Location:</strong> Madrid, Spain<br>\r\n<br>\r\nA beggar is sitting in the rain on the streets of Madrid, waiting for passers-by to give him some change.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&ll=40.419112,-3.693305&spn=0.003034,0.004807&z=18&msid=103007547386465026665.0004550dc1e5b959ea112\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/07/het-verhaal-achter-de-foto-3.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Spain_20030501_2463_BS<br>\r\n<strong>Additional keywords:</strong> money, portrait, Spanish, street photography','','','','','');
photos[12] = new photo(1789455,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland5615.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland5615_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> View from Clogher Head<br>\r\n<strong>Date:</strong> 30 June 2006<br>\r\n<strong>Location:</strong> Clogher Head, Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nOffering a grandiose view of the northwestern part of the peninsula, Clogher Head is continuously pounded by the Atlantic breakers.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.176248,-10.434437&spn=0.078215,0.153809&z=13&msid=103007547386465026665.000455091d1316a6ae324\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20060630_5615_v1<br>\r\n<strong>Additional keywords:</strong> Atlantic Ocean, Ballydavid Head, Ballyferriter, Brandon Head, Brandon Peak, Clogher Strand, Eire, Irish, landscape, Masatiompan, Mount Brandon, sea, surf, Sybil Head, Sybil Point, The Three Sisters','','','','','');
photos[13] = new photo(1197981,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00199.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00199_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Old Fishing Boat<br>\r\n<strong>Date:</strong> 8 July 2004<br>\r\n<strong>Location:</strong> Kilronan, Inishmore, Aran Islands, Co. Galway, Ireland<br>\r\n<br>\r\nAnd old fishing boat is rotting away in the harbour, its bright blue and red colours slowly fading and given over to decay.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=53.121126,-9.663591&spn=0.019136,0.038452&z=15&msid=103007547386465026665.0004550e83ce18fb5c7f5\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040708_00199_v1<br>\r\n<strong>Additional keywords:</strong> Alhena, Eire, harbor, Irish, rust','','','','','');
photos[14] = new photo(1197843,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00324.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00324_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Old Weir Bridge<br>\r\n<strong>Date:</strong> 18 July 2004<br>\r\n<strong>Location:</strong> Killarney National Park, Co. Kerry, Ireland<br>\r\n<br>\r\nOne of the most popular national parks in Ireland, Killarney National Park harbours many beautiful views. Near the Meeting of the Waters, the water flows fast underneath the Old Weir Bridge.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?f=q&hl=en&geocode=&mrt=kmlkmz&ie=UTF8&t=h&msa=0&ll=52.032535,-9.537849&spn=0.078467,0.153809&z=13&msid=103007547386465026665.0004550a0e27feaeba87e\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040718_00324_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, landscape, river','','','','','');
photos[15] = new photo(1188829,'85430','','gallery','http://www1.clikpic.com/cfvdzwan/images/Spain2202.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Spain2202_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> The Cross<br>\r\n<strong>Date:</strong> 29 April 2003<br>\r\n<strong>Location:</strong> Segovia, Spain<br>\r\n<br>\r\nCross near the round church of the Knights Templar, just outside the World Heritage town of Segovia.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&ll=40.955589,-4.132485&spn=0.001505,0.002403&z=19&msid=103007547386465026665.0004550dd448ec1038d65\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/09/het-verhaal-achter-de-foto-8.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Spain_20030429_2202<br>\r\n<strong>Additional keywords:</strong> christian, Church Of The True Cross, Iglesia Vera Cruz, Spanish, UNESCO, World Heritage Site','','','','','');
photos[16] = new photo(1197974,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00314.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00314_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Cottage Window<br>\r\n<strong>Date:</strong> 17 July 2004<br>\r\n<strong>Location:</strong> Bunratty Folk Park, Co. Clare, Ireland<br>\r\n<br>\r\nNext to Bunratty Castle (one of Ireland\'s main tourist attractions) is Bunratty Folk Park, giving a view of Ireland in the 1950s. Still found in countless places in Ireland today, this is an example of a traditional cottage window, complete with rusted teapot and plant.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.698299,-8.81391&spn=0.009662,0.019226&z=16&msid=103007547386465026665.0004550cc40d20f8a5086\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040717_00314_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, still life, windowsill','','','','','');
photos[17] = new photo(1189893,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Jordan4204.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Jordan4204_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Selling Stones<br>\r\n<strong>Date:</strong> 17 December 2003<br>\r\n<strong>Location:</strong> Petra, Jordan<br>\r\n<br>\r\nA young boy is selling stones to tourists in the ancient city of Petra.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&hl=en&t=h&msa=0&msid=103007547386465026665.0004550d182e2253448f2&ll=30.670991,35.974731&spn=3.510032,4.921875&z=8\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Jordan_20031217_4204<br>\r\n<strong>Additional keywords:</strong> Jordanian, portrait, street photography','','','','','');
photos[18] = new photo(1197935,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00107.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00107_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> The Sleeping Giant<br>\r\n<strong>Date:</strong> 16 July 2004<br>\r\n<strong>Location:</strong> Inishtooskert, Co. Kerry, Ireland<br>\r\n<br>\r\nOne of the Blasket Islands off the coast of the Dingle Peninsula, Inishtooskert is also called The Sleeping Giant as it resembles a giant sleeping on his back. While the giant sleeps, a seagull flies high in the sky above it.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.000454f8ecf3c4256da3f&ll=52.126665,-10.459864&spn=0.009788,0.019226&z=16\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040716_00107<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, landscape','','','','','');
photos[19] = new photo(1197972,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00073.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00073_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Galway Swans<br>\r\n<strong>Date:</strong> 7 July 2004<br>\r\n<strong>Location:</strong> Galway, Co. Galway, Ireland<br>\r\n<br>\r\nA family of swans swims towards the setting sun in Galway Harbour.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=53.26905,-9.05194&spn=0.009535,0.019226&z=16&msid=103007547386465026665.0004550ce25f0287f1af5\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040707_00073_v1<br>\r\n<strong>Additional keywords:</strong> Eire, harbor, Irish, still life, sunset','','','','','');
photos[20] = new photo(1188761,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland5268.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland5268_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Golden Dawn<br>\r\n<strong>Date:</strong> 27 June 2006<br>\r\n<strong>Location:</strong> Connor Pass, Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nView towards Mount Brandon and Owenmore Valley at dawn.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.00045494e6abce43e46a7&ll=52.1823,-10.2069&spn=0.039102,0.076904&z=14\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/07/het-verhaal-achter-de-foto-4.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20060627_5268_v1<br>\r\n<strong>Additional keywords:</strong> Brandon Peak, Clogharee Lough, Connor Hill, Eire, Irish, lake, landscape, Lough Atlea, mountain, sea, sunrise, valley','','','','','');
photos[21] = new photo(1197874,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00214.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00214_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Keys To The Kingdom<br>\r\n<strong>Date:</strong> 11 July 2004<br>\r\n<strong>Location:</strong> Dunquin, Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nA small cafe in the west of the peninsula is in possession of the keys to the kingdom (of Kerry).<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.000454f923cc3057bf846&ll=52.126955,-10.45892&spn=0.009788,0.019226&z=16\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040711_00214_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, rust, still life','','','','','');
photos[22] = new photo(1197962,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00110.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00110_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Cottage Garden<br>\r\n<strong>Date:</strong> 17 July 2004<br>\r\n<strong>Location:</strong> Bunratty Folk Park, Co. Clare, Ireland<br>\r\n<br>\r\nThe view from a cottage window is obscured by a wild but beautiful garden.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.69813,-8.811979&spn=0.009662,0.019226&z=16&msid=103007547386465026665.0004550cb17b1886422c1\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040717_00110_v1<br>\r\n<strong>Additional keywords:</strong> Eire, flower, Irish','','','','','');
photos[23] = new photo(1789458,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland6915.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland6915_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Inch Beach<br>\r\n<strong>Date:</strong> 10 January 2007<br>\r\n<strong>Location:</strong> Inch Beach, Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nThe sun breaks through the stormy winter sky above the four mile long strand of Inch.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.000455094b9c4b0d693c9&ll=52.085203,-10.037727&spn=0.156749,0.307617&z=12\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20070110_6915_v1<br>\r\n<strong>Additional keywords:</strong> Atlantic Ocean, Been Hill, Beenmore, clouds, dark, Dingle Bay, Drung Hill, Eire, Inch Strand, Irish, Iveragh, Kells Mountain, Knocknadobar, landscape, light, mountain, rays, reflection, sea, Teermoyle Mountain','','','','','');
photos[24] = new photo(1197887,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00259.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00259_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Dingle Painter<br>\r\n<strong>Date:</strong> 15 July 2004<br>\r\n<strong>Location:</strong> Dingle, Co. Kerry, Ireland<br>\r\n<br>\r\nA man is painting a scene of fishing boats in Dingle Harbour. After a cigarette break, he puts the brush to the canvas again.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.138236,-10.273333&spn=0.002446,0.004807&z=18&msid=103007547386465026665.000454faef4c8a90359a5\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/08/het-verhaal-achter-de-foto-7.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040715_00259_v2<br>\r\n<strong>Additional keywords:</strong> Dingle Peninsula, Eire, harbor, Irish, paint, painter, portrait, street photography','','','','','');
photos[25] = new photo(1197985,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00203.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00203_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Leamaneagh Castle<br>\r\n<strong>Date:</strong> 9 July 2004<br>\r\n<strong>Location:</strong> Kilfenora, Co. Clare, Ireland<br>\r\n<br>\r\nThe ruin of Leamaneagh Castle in the south of The Burren is visited by a cow.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.987601,-9.13967&spn=0.002399,0.004807&z=18&msid=103007547386465026665.0004550c9557c05abf811\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040709_00203_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, Leamaneh Castle, still life','','','','','');
photos[26] = new photo(1188771,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00327.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00327_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Torc Waterfall<br>\r\n<strong>Date:</strong> 19 July 2004<br>\r\n<strong>Location:</strong> Killarney National Park, Co. Kerry, Ireland<br>\r\n<br>\r\nThe Owengarriff River cascades through the wooded Friar\'s Glen into Muckross Lake. A pretty path winds up to the top of the 18m high Torc Waterfall.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?f=q&hl=en&geocode=&mrt=kmlkmz&ie=UTF8&t=h&msa=0&msid=103007547386465026665.00045509f1c46d37bb7f3&ll=52.036337,-9.511242&spn=0.07846,0.153809&z=13\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040719_00327<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, landscape','','','','','');
photos[27] = new photo(1188830,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Spain2007.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Spain2007_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Taking A Nap<br>\r\n<strong>Date:</strong> 28 April 2003<br>\r\n<strong>Location:</strong> Plaza España, Madrid, Spain<br>\r\n<br>\r\nIn the small city park of Plaza España, a man is taking a nap on one of its stone benches.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550c2289e2f1230cb&ll=40.423514,-3.712429&spn=0.003034,0.004807&z=18\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Spain_20030428_2007<br>\r\n<strong>Additional keywords:</strong> portrait, Spanish, street photography','','','','','');
photos[28] = new photo(1197913,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00311.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00311_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Fuchsia<br>\r\n<strong>Date:</strong> 16 July 2004<br>\r\n<strong>Location:</strong> Dingle Peninsula, Co. Kerry, Ireland<br>\r\n<br>\r\nA single red and purple fuchsia bloom stands out from the green background of a hedge of fuchsias. Country roads in Ireland often have fuchsia hedges on either side.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?f=q&hl=en&geocode=&mrt=kmlkmz&ie=UTF8&t=h&msa=0&msid=103007547386465026665.00045509750eb0bd89bc4&ll=52.131539,-10.396671&spn=0.039147,0.076904&z=14\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040716_00311_v1<br>\r\n<strong>Additional keywords:</strong> Eire, flower, Irish','','','','','');
photos[29] = new photo(1188833,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Spain2048.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Spain2048_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Generations<br>\r\n<strong>Date:</strong> 28 April 2003<br>\r\n<strong>Location:</strong> Plaza España, Madrid, Spain<br>\r\n<br>\r\nA young girl and her grandmother stand in the shade of the statue of Don Quichote on the Plaza España.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=40.423445,-3.712344&spn=0.003034,0.004807&z=18&msid=103007547386465026665.0004550c150d0cd61cfeb\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\nRead the story behind this photograph on my <a href=\" http://frankvanderzwan.blogspot.com/2008/07/het-verhaal-achter-de-foto-5.html \" target=\"_blank\">blog</a> (in Dutch).<br>\r\n<br>\r\n<strong>Reference:</strong> Spain_20030428_2048<br>\r\n<strong>Additional keywords:</strong> black, ice cream, portrait, red, Spanish, street photography','','','','','');
photos[30] = new photo(1197895,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00265.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00265_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Rotting Away<br>\r\n<strong>Date:</strong> 15 July 2004<br>\r\n<strong>Location:</strong> Dingle, Co. Kerry, Ireland<br>\r\n<br>\r\nAn old fishing boat is rotting away in Dingle Harbour.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=52.137377,-10.273553&spn=0.002446,0.004807&z=18&msid=103007547386465026665.000454fad8c110ade0d25\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040715_00265_v2<br>\r\n<strong>Additional keywords:</strong> decay, Dingle Peninsula, Eire, harbor, Irish, paint, rust, still life','','','','','');
photos[31] = new photo(1197976,'85477','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00328.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00328_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Drombeg Stone Circle<br>\r\n<strong>Date:</strong> 19 July 2004<br>\r\n<strong>Location:</strong> Glandore, Co. Cork, Ireland<br>\r\n<br>\r\nThe prettiest of the many stone circles in county Cork, Drombeg Stone Circle offers a view to the Atlantic Ocean under a bright blue summer sky.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=51.55957,-9.105434&spn=0.079294,0.153809&z=13&msid=103007547386465026665.0004550bebbea9b7049ab\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040719_00328_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, landscape','','','','','');
photos[32] = new photo(1197968,'165717','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00027.jpg',600,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00027_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Bog Sheep<br>\r\n<strong>Date:</strong> 5 July 2004<br>\r\n<strong>Location:</strong> Co. Mayo, Ireland<br>\r\n<br>\r\nA sheep roams freely in a field of cut peat.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550ba2028660ee8b0&ll=53.835512,-9.521027&spn=0.602114,1.230469&z=10\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040705_00027_v1<br>\r\n<strong>Additional keywords:</strong> Eire, grassland, Irish, turf','','','','','');
photos[33] = new photo(1197857,'165717','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00326.jpg',400,600,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00326_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Old Tractor<br>\r\n<strong>Date:</strong> 18 July 2004<br>\r\n<strong>Location:</strong> Killarney, Co. Kerry, Ireland<br>\r\n<br>\r\nAn old red tractor stands by the side of the road, waiting for rust and decay to take over.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=103007547386465026665.0004550a42e84a635524a&ll=52.031796,-9.478455&spn=0.078468,0.153809&z=13\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040718_00326_v1<br>\r\n<strong>Additional keywords:</strong> Eire, Irish, rot','','','','','');
photos[34] = new photo(1197909,'165717','','gallery','http://www1.clikpic.com/cfvdzwan/images/Ireland00310.jpg',600,400,'','http://www1.clikpic.com/cfvdzwan/images/Ireland00310_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Curragh Racing<br>\r\n<strong>Date:</strong> 16 July 2004<br>\r\n<strong>Location:</strong> Dingle, Co. Kerry, Ireland<br>\r\n<br>\r\nFour women are practicing for traditional curragh racing in Dingle Harbour.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?f=q&hl=en&geocode=&mrt=kmlkmz&ie=UTF8&t=h&msa=0&ll=52.12785,-10.279942&spn=0.03915,0.076904&z=14&msid=103007547386465026665.00045509a837c5e146382\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Ireland_20040716_00310<br>\r\n<strong>Additional keywords:</strong> currach, Dingle Peninsula, Eire, harbor, Irish, sea','','','','','');
photos[35] = new photo(1188832,'165717','','gallery','http://www1.clikpic.com/cfvdzwan/images/Spain2184.jpg',450,600,'','http://www1.clikpic.com/cfvdzwan/images/Spain2184_thumb.jpg',130, 130,1, 1,'<strong>Title:</strong> Need A Light?<br>\r\n<strong>Date:</strong> 29 April 2003<br>\r\n<strong>Location:</strong> Segovia, Spain<br>\r\n<br>\r\nA UNESCO World Heritage Site, Segovia is famous for its ancient Roman aqueduct, its Gothic cathedral and the Alcázar castle. This little fellow is helping to light the streets.<br>\r\n<br>\r\nVisit the location of this photograph on <a href=\" http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&ll=40.941008,-4.117985&spn=0.048173,0.076904&z=14&msid=103007547386465026665.0004550bb6eab8a48499e\" target=\"_blank\">Google Maps</a>.<br>\r\n<br>\r\n<strong>Reference:</strong> Spain_20030429_2184<br>\r\n<strong>Additional keywords:</strong> Spanish, still life, street light, street photography','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(85430,'1789457,1789455,1789453,1789448,1770883,1197987,1197981,1197978,1197948,1197904,1197843,1189901,1188829,1188824,1188786,1188776','Gallery I','gallery');
galleries[1] = new gallery(85477,'1789458,1197985,1197976,1197974,1197972,1197962,1197935,1197913,1197895,1197887,1197874,1189893,1188833,1188830,1188771,1188761','Gallery II','gallery');
galleries[2] = new gallery(165717,'1197968,1197909,1197857,1188832','Gallery III','gallery');

