/***************************************************************************
* 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('614130,614115,560227,467766,467685,467657,467653,467411,467342,451226');
	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('614130,614115,560227,467766,467685,467657,467653,467411,467342,451226');
	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) || (0))) {
		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 = 'Hebridean Homeland Photography: ' + 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(1949686,'','','','http://www1.clikpic.com/martinmartin/images/PICT11541.JPG',400,300,'sunrise over benbecula from west coast road','http://www1.clikpic.com/martinmartin/images/PICT11541_thumb.JPG',130, 98,0, 0,'','15/03/08','martin johnstone','benbecula','','to accompany poem');
photos[1] = new photo(615130,'','198','','http://www1.clikpic.com/martinmartin/images/DSCF2028, 400pixel.jpg',300,400,'sea-cliff primroses','http://www1.clikpic.com/martinmartin/images/DSCF2028, 400pixel_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[2] = new photo(615134,'','199','','http://www1.clikpic.com/martinmartin/images/DSCF2034, 400pixel.jpg',300,400,'Sea Pink by the shore','http://www1.clikpic.com/martinmartin/images/DSCF2034, 400pixel_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[3] = new photo(615398,'','119  card','','http://www1.clikpic.com/martinmartin/images/our lady adobe photoshop text2,aug06, 400pixel.jpg',300,400,'119  Our Lady of the Isles 1 with prayer on front','http://www1.clikpic.com/martinmartin/images/our lady adobe photoshop text2,aug06, 400pixel_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[4] = new photo(3039366,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2319.JPG',400,300,'Picture Mugs - click NEXT to see more','http://www1.clikpic.com/martinmartin/images/PICT2319_thumb.JPG',130, 98,0, 1,'','','','','','');
photos[5] = new photo(3039240,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2311.JPG',300,400,'sunrise over north uist','http://www1.clikpic.com/martinmartin/images/PICT2311_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[6] = new photo(3039312,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2313.JPG',300,400,'snowy sheep shadows, benbecula','http://www1.clikpic.com/martinmartin/images/PICT2313_thumb.JPG',98, 130,0, 0,'this mug has the same image used twice, on the front and back of the mug, instead of the usual format of one panoramic image stretching around.','','','',8.00,'');
photos[7] = new photo(3039315,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2314.JPG',300,400,'Pol na Crann, Benbecula','http://www1.clikpic.com/martinmartin/images/PICT2314_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[8] = new photo(3039318,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2316.JPG',300,400,'Liniclate, Benbecula','http://www1.clikpic.com/martinmartin/images/PICT2316_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[9] = new photo(3039320,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2317.JPG',300,400,'Benbecula Dawn','http://www1.clikpic.com/martinmartin/images/PICT2317_thumb.JPG',98, 130,0, 0,'snowy scene','','','',8.00,'');
photos[10] = new photo(3039322,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2318.JPG',300,400,'Hecla & Bheinn Mhor, South Uist','http://www1.clikpic.com/martinmartin/images/PICT2318_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[11] = new photo(3039331,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2339.JPG',300,400,'Bayble Pebbles, Lewis','http://www1.clikpic.com/martinmartin/images/PICT2339_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[12] = new photo(3039333,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2341.JPG',300,400,'Borve, harris','http://www1.clikpic.com/martinmartin/images/PICT2341_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[13] = new photo(3039339,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2346.JPG',300,400,'Lewis Track','http://www1.clikpic.com/martinmartin/images/PICT2346_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[14] = new photo(3039355,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2347.JPG',300,400,'Tarbert harbour before daybreak','http://www1.clikpic.com/martinmartin/images/PICT2347_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[15] = new photo(3039357,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2348.JPG',300,400,'misty morning on bayble grazings, lewis','http://www1.clikpic.com/martinmartin/images/PICT2348_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[16] = new photo(3039365,'186885','','section231359','http://www1.clikpic.com/martinmartin/images/PICT2350.JPG',300,400,'shallow fog at sunrise, over pairc, lewis','http://www1.clikpic.com/martinmartin/images/PICT2350_thumb.JPG',98, 130,0, 0,'','','','',8.00,'');
photos[17] = new photo(560285,'33890','191','gallery','http://www1.clikpic.com/martinmartin/images/191 Sunset over Uig area, Lewis.jpg',300,400,'191 Sunset in Uig','http://www1.clikpic.com/martinmartin/images/191 Sunset over Uig area, Lewis_thumb.jpg',113, 150,0, 0,'Sunset over the Uig area of west Lewis','','','','','');
photos[18] = new photo(451226,'33890','52','gallery','http://www1.clikpic.com/martinmartin/images/145.jpg',400,300,'52,<br>\r\n Lewis track','http://www1.clikpic.com/martinmartin/images/145_thumb.jpg',130, 98,1, 1,'Sunrise spills into the pools of water on a peat track near Arnish area of Lewis','','','','','');
photos[19] = new photo(610571,'33890','197','gallery','http://www1.clikpic.com/martinmartin/images/197 Moto the collie.JPG',300,400,'197,Moto the Collie','http://www1.clikpic.com/martinmartin/images/197 Moto the collie_thumb.JPG',113, 150,0, 0,'Moto the working collie dog from point on the Isle of Lewis<br>\r\n<br>\r\ncard','','','','','');
photos[20] = new photo(560227,'33890','60 ','gallery','http://www1.clikpic.com/martinmartin/images/60 Misty morning at Loch Chnoc Ian Duibh, Isle of Lewis 5 edit.jpg',400,300,'60 Loch Chnoc Ian Duibh','http://www1.clikpic.com/martinmartin/images/60 Misty morning at Loch Chnoc Ian Duibh, Isle of Lewis 5 edit_thumb.jpg',130, 98,1, 0,'Misty Morning at Loch Chnoc Ian Duibh near Laxay, as the sun struggles to penetrate and bring light to the day<br>\r\n<br>\r\ncard','','','','','');
photos[21] = new photo(560228,'33890','62 ','gallery','http://www1.clikpic.com/martinmartin/images/62 shallow fog as sun rises over Pairc,IoLewis 1.jpg',400,255,'62  Sunrise over Pairc','http://www1.clikpic.com/martinmartin/images/62 shallow fog as sun rises over Pairc,IoLewis 1_thumb.jpg',130, 83,0, 0,'The sun starts to climb above the shallow fog at Pairc.<br>\r\n<br>\r\ncard','','','','','');
photos[22] = new photo(560231,'33890','63 ','gallery','http://www1.clikpic.com/martinmartin/images/63 Misty Morn over Loch Seaforth,IoLewis 2.jpg',400,262,'63  Foggy Loch Seaforth','http://www1.clikpic.com/martinmartin/images/63 Misty Morn over Loch Seaforth,IoLewis 2_thumb.jpg',130, 85,0, 0,'63  Calm morning as daybreak reveals shallow fog at Loch Seaforth<br>\r\n<br>\r\ncard','','','','','');
photos[23] = new photo(560238,'33890','66','gallery','http://www1.clikpic.com/martinmartin/images/66 Loch na h Aibhne Ruaidhe, near Aline,I of Lewis.jpg',400,300,'66 Loch na h Aibhne Ruaidhe','http://www1.clikpic.com/martinmartin/images/66 Loch na h Aibhne Ruaidhe, near Aline,I of Lewis_thumb.jpg',130, 98,0, 0,'Calm gray morning holds an expectant air at loch na h Aibhne Ruaidhe near Aline','','','','','');
photos[24] = new photo(613781,'33890','30','gallery','http://www1.clikpic.com/martinmartin/images/30 Bayble Island 5.jpg',400,300,'30 Bayble Island','http://www1.clikpic.com/martinmartin/images/30 Bayble Island 5_thumb.jpg',130, 98,0, 0,'Bayble island and the natural arch','','','','','');
photos[25] = new photo(560251,'33890','71','gallery','http://www1.clikpic.com/martinmartin/images/71 Bayble shore pebbles 1.jpg',400,300,'71  Bayble shore pebbles','http://www1.clikpic.com/martinmartin/images/71 Bayble shore pebbles 1_thumb.jpg',130, 98,0, 0,'Pebbles on the shore of a small beach adjacent to Bayble beach','','','','','');
photos[26] = new photo(560272,'33890','133','gallery','http://www1.clikpic.com/martinmartin/images/133 Bayble Gable ruin, cloudy sky.jpg',400,300,'133 Gable end ruin','http://www1.clikpic.com/martinmartin/images/133 Bayble Gable ruin, cloudy sky_thumb.jpg',130, 98,0, 0,'Gable end ruin in Bayble on an overcast day conjures images of days in the past','','','','','');
photos[27] = new photo(560275,'33890','164','gallery','http://www1.clikpic.com/martinmartin/images/164 Eilan a chaise & mainland from bayble,4.jpg',400,194,'164 Eilan a Chaise','http://www1.clikpic.com/martinmartin/images/164 Eilan a chaise & mainland from bayble,4_thumb.jpg',130, 63,0, 0,'Eilan a Chaise near Upper Bayble with the silhouetted mainland on the horizon','','','','','');
photos[28] = new photo(560278,'33890','165','gallery','http://www1.clikpic.com/martinmartin/images/165 Loch Sandavat Sunrise, lochs area, Lewis.jpg',400,204,'165 Loch Sandavat Sunrise','http://www1.clikpic.com/martinmartin/images/165 Loch Sandavat Sunrise, lochs area, Lewis_thumb.jpg',130, 66,0, 0,'Sunrise over Loch Sandavat in the Lochs area','','','','','');
photos[29] = new photo(560282,'33890','188','gallery','http://www1.clikpic.com/martinmartin/images/188 Striped Sunset over Broadbay & North Lewis 2.jpg',300,400,'188 Striped sunset Broad Bay','http://www1.clikpic.com/martinmartin/images/188 Striped Sunset over Broadbay & North Lewis 2_thumb.jpg',113, 150,0, 0,'Multicoloured stripes are made by the sunset over Broadbay and north Lewis, viewed from Aiginish.','','','','','');
photos[30] = new photo(560284,'33890','189','gallery','http://www1.clikpic.com/martinmartin/images/189, Last moments of Sunset, Lewis.jpg',300,400,'189 Last moments','http://www1.clikpic.com/martinmartin/images/189, Last moments of Sunset, Lewis_thumb.jpg',113, 150,0, 0,'last moments of setting sun over north Lewis from Garrabost','','','','','');
photos[31] = new photo(424045,'33890','31','gallery','http://www1.clikpic.com/martinmartin/images/31 Ballalan ruin 2.jpg',300,400,'31 <br>\r\nruin in Balallan, used for nesting by Starlings','http://www1.clikpic.com/martinmartin/images/31 Ballalan ruin 2_thumb.jpg',130, 173,0, 0,'Many old houses lie in this state of disrepair, full of memories and awaiting new hope','','','','','');
photos[32] = new photo(560287,'33890','192','gallery','http://www1.clikpic.com/martinmartin/images/192 Aiginish Memorial, Point Lewis, Alter Image.jpg',300,400,'192  Aiginish Memorial','http://www1.clikpic.com/martinmartin/images/192 Aiginish Memorial, Point Lewis, Alter Image_thumb.jpg',113, 150,0, 0,'Altered Image of Aiginish Memorial in point','','','','','');
photos[33] = new photo(614089,'47090','63','section68220','http://www1.clikpic.com/martinmartin/images/36 Carinish church N Uist 3.jpg',300,400,'63, Carinish Church, North Uist','http://www1.clikpic.com/martinmartin/images/36 Carinish church N Uist 3_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[34] = new photo(614115,'47090','','section68220','http://www1.clikpic.com/martinmartin/images/86 Loch Strath Steachran, Harris 3.jpg',400,300,'86, Loch Strath Steachran','http://www1.clikpic.com/martinmartin/images/86 Loch Strath Steachran, Harris 3_thumb.jpg',130, 98,1, 0,'Loch Strath Steachran, Harris as the sun invites the loch to reflect it\'s splendour','','','','','');
photos[35] = new photo(614122,'47090','93','section68220','http://www1.clikpic.com/martinmartin/images/93 St Clements church, Rodel 3.jpg',300,400,'93, St Clements Church','http://www1.clikpic.com/martinmartin/images/93 St Clements church, Rodel 3_thumb.jpg',98, 130,0, 0,'St Clements Church in Rodel, Harris','','','','','');
photos[36] = new photo(614127,'47090','99','section68220','http://www1.clikpic.com/martinmartin/images/99 Straw stacks in Nunton in snow1.jpg',400,300,'99, Straw Stacks in Nunton','http://www1.clikpic.com/martinmartin/images/99 Straw stacks in Nunton in snow1_thumb.jpg',130, 98,0, 0,'Straw Stacks in Nunton, Benbecula, make a warming sight as a promise of sustenance for livestock in the winter snow','','','','','');
photos[37] = new photo(614130,'47090','109','section68220','http://www1.clikpic.com/martinmartin/images/109 Sheep Snowy shadows, Benbecula 12.jpg',400,333,'109, Sheep Snowy Shadows','http://www1.clikpic.com/martinmartin/images/109 Sheep Snowy shadows, Benbecula 12_thumb.jpg',130, 108,1, 1,'The flock casts long Shadows in the low winter sun','','','','','');
photos[38] = new photo(614144,'47090','143','section68220','http://www1.clikpic.com/martinmartin/images/143 rodel ruin in snow.jpg',400,273,'143, Rodel Ruin','http://www1.clikpic.com/martinmartin/images/143 rodel ruin in snow_thumb.jpg',130, 89,0, 0,'Rodel Ruin overlooks the harbour in winter snow','','','','','');
photos[39] = new photo(614148,'47090','197','section68220','http://www1.clikpic.com/martinmartin/images/197 Moto the collie1.JPG',300,400,'197 Moto','http://www1.clikpic.com/martinmartin/images/197 Moto the collie1_thumb.JPG',98, 130,0, 0,'Moto the Collie','','','','','');
photos[40] = new photo(614161,'47090','32','section68220','http://www1.clikpic.com/martinmartin/images/32 Dark Island 21.jpg',400,301,'32, Dark Island','http://www1.clikpic.com/martinmartin/images/32 Dark Island 21_thumb.jpg',130, 98,0, 0,'Dark Island - Benbecula is blanketed in silent fog but brightly lit under the full moon','','','','','');
photos[41] = new photo(614172,'47090','','section68220','http://www1.clikpic.com/martinmartin/images/42 Balivanich shore 31.jpg',400,300,'42 Balivanich Shore','http://www1.clikpic.com/martinmartin/images/42 Balivanich shore 31_thumb.jpg',130, 98,0, 0,'Balivanich shore as dusk give way to dark.','','','','','');
photos[42] = new photo(614175,'47090','48','section68220','http://www1.clikpic.com/martinmartin/images/48 N Uist track at dusk, near Baile Raghnill.jpg',300,400,'48 Twighlight Track','http://www1.clikpic.com/martinmartin/images/48 N Uist track at dusk, near Baile Raghnill_thumb.jpg',98, 130,0, 0,'Twighlight Track near Baile Raghnill, North Uist','','','','','');
photos[43] = new photo(614180,'47090','60','section68220','http://www1.clikpic.com/martinmartin/images/60 Misty morning at Loch Chnoc Ian Duibh, Isle of Lewis 5 edit1.jpg',400,300,'60, Misty morning','http://www1.clikpic.com/martinmartin/images/60 Misty morning at Loch Chnoc Ian Duibh, Isle of Lewis 5 edit1_thumb.jpg',130, 98,0, 0,'Misty morning at Loch Chnoc Ian Duibh, Lewis','','','','','');
photos[44] = new photo(614183,'47090','62','section68220','http://www1.clikpic.com/martinmartin/images/62 shallow fog as sun rises over Pairc,IoLewis 11.jpg',400,255,'62 Shallow Fog at Pairc','http://www1.clikpic.com/martinmartin/images/62 shallow fog as sun rises over Pairc,IoLewis 11_thumb.jpg',130, 83,0, 0,'Shallow fog drifts around Pairc, Isle of Lewis, at sunrise','','','','','');
photos[45] = new photo(614188,'47090','63','section68220','http://www1.clikpic.com/martinmartin/images/63 Misty Morn over Loch Seaforth,IoLewis 21.jpg',400,262,'63  Misty Morn over Loch Seaforth','http://www1.clikpic.com/martinmartin/images/63 Misty Morn over Loch Seaforth,IoLewis 21_thumb.jpg',130, 85,0, 0,'Misty Morning over Loch Seaforth, Isles of Lewis and Harris','','','','','');
photos[46] = new photo(614190,'47090','70','section68220','http://www1.clikpic.com/martinmartin/images/70 Loch Lacasdail, Harris 1.jpg',400,294,'70  Loch Lacasdail, Harris','http://www1.clikpic.com/martinmartin/images/70 Loch Lacasdail, Harris 1_thumb.jpg',130, 96,0, 0,'Loch Lacasdail, Harris, in winter','','','','','');
photos[47] = new photo(614191,'47090','89','section68220','http://www1.clikpic.com/martinmartin/images/89 Frozen waterfall near Leverburgh, Harris.jpg',300,400,'89, Frozen Waterfall, Harris','http://www1.clikpic.com/martinmartin/images/89 Frozen waterfall near Leverburgh, Harris_thumb.jpg',98, 130,0, 0,'Frozen waterfall near Leverburgh in Harris','','','','','');
photos[48] = new photo(614193,'47090','94','section68220','http://www1.clikpic.com/martinmartin/images/94 St Clements church, Rodel 7.jpg',300,400,'94 Inside St Clements Church','http://www1.clikpic.com/martinmartin/images/94 St Clements church, Rodel 7_thumb.jpg',98, 130,0, 0,'Inside St Clements Church in Rodel, Harris','','','','','');
photos[49] = new photo(615212,'47090','102, card','section68220','http://www1.clikpic.com/martinmartin/images/102 Grimsay Dawn & Eaval  N Uist 2.jpg',400,214,'102, Grimsay Dawn & Eaval, North Uist','http://www1.clikpic.com/martinmartin/images/102 Grimsay Dawn & Eaval  N Uist 2_thumb.jpg',130, 70,0, 0,'','','','','','');
photos[50] = new photo(615220,'47090','107, card','section68220','http://www1.clikpic.com/martinmartin/images/107 Benbecula Dawn, North Causeway 2.jpg',300,400,'107, Benbecula Dawn','http://www1.clikpic.com/martinmartin/images/107 Benbecula Dawn, North Causeway 2_thumb.jpg',98, 130,0, 0,'Benbecula Dawn from North Causeway','','','','','');
photos[51] = new photo(615226,'47090','116, card','section68220','http://www1.clikpic.com/martinmartin/images/116 Hecla & Bheinn Mhor,Snow,  S Uist 51.jpg',400,248,'116 Hecla & Bheinn Mhor','http://www1.clikpic.com/martinmartin/images/116 Hecla & Bheinn Mhor,Snow,  S Uist 51_thumb.jpg',130, 81,0, 0,'Hecla & Bheinn Mhor, in a majestic cloak of snow, tower over South Uist','','','','','');
photos[52] = new photo(615321,'47090','118','section68220','http://www1.clikpic.com/martinmartin/images/118 Snow Footprints, S Uist1.jpg',300,400,'118, Snow Footprints','http://www1.clikpic.com/martinmartin/images/118 Snow Footprints, S Uist1_thumb.jpg',98, 130,0, 0,'Footprints in the snow in South Uist','','','','','');
photos[53] = new photo(615324,'47090','119','section68220','http://www1.clikpic.com/martinmartin/images/119 Our lady of the Isles 11.jpg',206,400,'119  Our Lady of the Isles 1','http://www1.clikpic.com/martinmartin/images/119 Our lady of the Isles 11_thumb.jpg',67, 130,0, 0,'Statue of Our Lady of the Isles in South Uist in the snow. As a christmas card, this picture normally has a short prayer/poem on the front picture (see poems section) as well as the standard Christmas greeting inside, but can be available with no prayer on the front.','','','','','');
photos[54] = new photo(615330,'47090','120, card','section68220','http://www1.clikpic.com/martinmartin/images/120 Our lady of the Isles 21.jpg',400,300,'120  Our Lady of the Isles 2','http://www1.clikpic.com/martinmartin/images/120 Our lady of the Isles 21_thumb.jpg',130, 98,0, 0,'The Statue of Our Lady of the Isles seems to watch over the isles in protection as day ends and night begins','','','','','');
photos[55] = new photo(615336,'47090','160, card','section68220','http://www1.clikpic.com/martinmartin/images/160 Church at Griminish, Benbecula1.jpg',300,400,'160  Church at Griminish , Benbecula','http://www1.clikpic.com/martinmartin/images/160 Church at Griminish, Benbecula1_thumb.jpg',98, 130,0, 0,'Church at Griminish , Benbecula','','','','','');
photos[56] = new photo(615341,'47090','180 card','section68220','http://www1.clikpic.com/martinmartin/images/180 Roadside shrine near Iochdar, South Uist.jpg',300,400,'180  Roadside Shrine near Iochdar','http://www1.clikpic.com/martinmartin/images/180 Roadside shrine near Iochdar, South Uist_thumb.jpg',98, 130,0, 0,'Roadside shrine by the side of the main road near Iochdar in South Uist','','','','','');
photos[57] = new photo(467657,'34716','165 ','gallery','http://www1.clikpic.com/martinmartin/images/165.jpg',400,294,'165 Loch Lacasdail','http://www1.clikpic.com/martinmartin/images/165_thumb.jpg',130, 96,1, 1,'Harris in wintry mood with loch Lacasdail<br>\r\n<br>\r\ncard','','','','','');
photos[58] = new photo(467653,'34716','163','gallery','http://www1.clikpic.com/martinmartin/images/163.jpg',400,270,'163 Loch Bearastadh Mor','http://www1.clikpic.com/martinmartin/images/163_thumb.jpg',130, 88,1, 0,'Golden sun lights up mist and cloud at Loch Baerastadh Mor','','','','','');
photos[59] = new photo(451212,'34716','50 ','gallery','http://www1.clikpic.com/martinmartin/images/050.jpg',400,273,'50, Rodel Ruin','http://www1.clikpic.com/martinmartin/images/050_thumb.jpg',130, 89,0, 0,'A ruin overlooking the harbour bay at Rodel in South Harris with snow laying on the ground<br>\r\n<br>\r\ncard','','','','','');
photos[60] = new photo(451188,'34716','128','gallery','http://www1.clikpic.com/martinmartin/images/033.jpg',400,269,'128<br>\r\n seilibost and luskentyre','http://www1.clikpic.com/martinmartin/images/033_thumb.jpg',130, 87,0, 0,'Luskentyre sand dune at far end of the beautiful beach at Seilibost, an inspirational place for many','','','','','');
photos[61] = new photo(451193,'34716','129','gallery','http://www1.clikpic.com/martinmartin/images/129 ram skull, harris,1.jpg',300,400,'129 <br>\r\n Rams Skull','http://www1.clikpic.com/martinmartin/images/129 ram skull, harris,1_thumb.jpg',130, 173,0, 0,'A Ram skull with horns already overgrown in Lichens starting life anew','','','','','');
photos[62] = new photo(451197,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/040.jpg',400,300,'40, rocky inlet near Horgabost','http://www1.clikpic.com/martinmartin/images/040_thumb.jpg',130, 98,0, 0,'This small but beautiful rocky inlet near Horgabost is typical of many, where turquoise water brushes golden sand','','','','','');
photos[63] = new photo(451207,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/042.jpg',400,228,'42, Hills of north Harris','http://www1.clikpic.com/martinmartin/images/042_thumb.jpg',130, 74,0, 0,'The hills of North Harris viewed on a cold day from Horgabost','','','','','');
photos[64] = new photo(467404,'34716','182 ','gallery','http://www1.clikpic.com/martinmartin/images/182.jpg',400,300,'182 Loch Strath Steachran','http://www1.clikpic.com/martinmartin/images/182_thumb.jpg',130, 98,0, 0,'Sun dazzles and reflects off Loch Strath Steachran<br>\r\n<br>\r\ncard','','','','','');
photos[65] = new photo(451217,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/075.jpg',400,300,'75, Lambs near Seilibost','http://www1.clikpic.com/martinmartin/images/075_thumb.jpg',130, 98,0, 0,'Lambs ruuning along road near Selibost beach','','','','','');
photos[66] = new photo(451224,'34716','167','gallery','http://www1.clikpic.com/martinmartin/images/167 Leverburgh Lobster Pots, Harris, 3.jpg',300,400,'167<br>\r\n Leverburgh Lobster Pots','http://www1.clikpic.com/martinmartin/images/167 Leverburgh Lobster Pots, Harris, 3_thumb.jpg',130, 173,0, 0,'Colourful Bouys beside rows of new lobster pots at Leverburgh','','','','','');
photos[67] = new photo(467338,'34716','77','gallery','http://www1.clikpic.com/martinmartin/images/077.jpg',400,222,'fishing boats at Leverburgh','http://www1.clikpic.com/martinmartin/images/077_thumb.jpg',130, 72,0, 0,'Late afternoon fishing boats at Leverburgh harbour','','','','','');
photos[68] = new photo(467342,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/078.jpg',400,291,'78 Looking over Traigh Nisabost','http://www1.clikpic.com/martinmartin/images/078_thumb.jpg',130, 95,1, 0,'78 Looking over Traigh Nisabost towards Luskentyre sand dune','','','','','');
photos[69] = new photo(467352,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/080.jpg',400,300,'80 Coast near Borve','http://www1.clikpic.com/martinmartin/images/080_thumb.jpg',130, 98,0, 0,'80 Coastline near Borve, Harris, on afresh breezy day','','','','','');
photos[70] = new photo(467396,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/081.jpg',400,294,'81 Borve waves breaking','http://www1.clikpic.com/martinmartin/images/081_thumb.jpg',130, 96,0, 0,'81 Waves break and crash near Borve','','','','','');
photos[71] = new photo(451183,'34716','124','gallery','http://www1.clikpic.com/martinmartin/images/029.jpg',400,300,'124<br>\r\n, Toe Head Harris','http://www1.clikpic.com/martinmartin/images/029_thumb.jpg',130, 98,0, 0,'Toe Head\'s distinctive profile viewed from the North','','','','','');
photos[72] = new photo(467411,'34716','','gallery','http://www1.clikpic.com/martinmartin/images/095.jpg',400,300,'95 Leverburgh boat wreck','http://www1.clikpic.com/martinmartin/images/095_thumb.jpg',130, 98,1, 0,'95 Altered image of Boat wreck lying on shore at Leverburgh','','','','','');
photos[73] = new photo(467419,'34716','195','gallery','http://www1.clikpic.com/martinmartin/images/195 Leverburgh 1 Harris.jpg',300,400,'195<br>\r\n Leverburgh Pier','http://www1.clikpic.com/martinmartin/images/195 Leverburgh 1 Harris_thumb.jpg',130, 173,0, 0,'Leverburgh with a sea of mercurial calm reflecting the pier','','','','','');
photos[74] = new photo(467432,'34716','196','gallery','http://www1.clikpic.com/martinmartin/images/108.jpg',400,300,'196 Leverburgh Reflections','http://www1.clikpic.com/martinmartin/images/108_thumb.jpg',130, 98,0, 0,'Sky and sea make surreal calm at Leverburgh','','','','','');
photos[75] = new photo(424949,'34716',' 127','gallery','http://www1.clikpic.com/martinmartin/images/0322.jpg',400,300,'127 Selibost & Luskentyre','http://www1.clikpic.com/martinmartin/images/0322_thumb.jpg',130, 98,0, 0,'Beautiful blue & turquoise waters around Seilibost & Luskentyre in Harris','','','','','');
photos[76] = new photo(434888,'34716','130','gallery','http://www1.clikpic.com/martinmartin/images/036.jpg',400,300,'130 Bun Abhainn Eadarra','http://www1.clikpic.com/martinmartin/images/036_thumb.jpg',130, 98,0, 0,'fish farm in Loch Bun Abhainn Eadarra','','','','','');
photos[77] = new photo(615193,'34716','93','gallery','http://www1.clikpic.com/martinmartin/images/93 St Clements church, Rodel 31.jpg',300,400,'93, St Clements Church','http://www1.clikpic.com/martinmartin/images/93 St Clements church, Rodel 31_thumb.jpg',98, 130,0, 0,'The wonderful restored stone church of St Clements at Rodel in Harris<br>\r\n<br>\r\ncard','','','','','');
photos[78] = new photo(467685,'37013','10','gallery','http://www1.clikpic.com/martinmartin/images/10 boats at Poll an Oir, Berneray.jpg',297,400,'10<br>\r\n boats at Poll an Oir, Berneray','http://www1.clikpic.com/martinmartin/images/10 boats at Poll an Oir, Berneray_thumb.jpg',130, 175,1, 1,'Silhouetted boats reflect the cloudy, but calm sky at Poll an Oir, Berneray','','','','','');
photos[79] = new photo(467766,'37013','59','gallery','http://www1.clikpic.com/martinmartin/images/59 Sound of Harris Sunrise,from Berneray 3.jpg',300,400,'59 Sunrise over the Uists from Berneray','http://www1.clikpic.com/martinmartin/images/59 Sound of Harris Sunrise,from Berneray 3_thumb.jpg',130, 173,1, 0,'Lobster pots are dramatically silhouetted by beautiful sunrise over the Uists, viewed from Berneray','','','','','');
photos[80] = new photo(467706,'37013','105','gallery','http://www1.clikpic.com/martinmartin/images/105 Snowy Eaval & tractor ruin.jpg',300,400,'105 Tractor carcass, Grimsay','http://www1.clikpic.com/martinmartin/images/105 Snowy Eaval & tractor ruin_thumb.jpg',130, 173,0, 0,'The carcass of a tractor lies in the snow in Grimsay, with Eaval dominating the backdrop','','','','','');
photos[81] = new photo(467694,'37013','103','gallery','http://www1.clikpic.com/martinmartin/images/006.jpg',400,300,'103, Grimsay winter Dawn','http://www1.clikpic.com/martinmartin/images/006_thumb.jpg',130, 98,0, 0,'Winter sunrise reflected in the beautifully calm high tide at Gearraidh Dubh, Grimsay','','','','','');
photos[82] = new photo(467718,'37013','27','gallery','http://www1.clikpic.com/martinmartin/images/027.jpg',400,222,'27 Eaval scoured by snow','http://www1.clikpic.com/martinmartin/images/027_thumb.jpg',130, 72,0, 0,'North Uists\' highest peak- Eaval at 1138 feet- is blasted by scouring snow','','','','','');
photos[83] = new photo(467737,'37013','28','gallery','http://www1.clikpic.com/martinmartin/images/0281.jpg',400,300,'28 Fire at dawn, Grimsay','http://www1.clikpic.com/martinmartin/images/0281_thumb.jpg',130, 98,0, 0,'Sunrise like fire in the sky is not extinguished, only reflected and added to by the sea at Gearraidh Dubh, Grimsay','','','','','');
photos[84] = new photo(467748,'37013','126','gallery','http://www1.clikpic.com/martinmartin/images/126 orange sunrise over North Uist from Benbecula,2.jpg',300,400,'126<br>\r\n Sunrise over North Uist','http://www1.clikpic.com/martinmartin/images/126 orange sunrise over North Uist from Benbecula,2_thumb.jpg',130, 173,0, 0,'Sunrise over North Uist holds promise for the day ahead, viewed from Grimsay<br>\r\n<br>\r\ncard','','','','','');
photos[85] = new photo(467755,'37013','35','gallery','http://www1.clikpic.com/martinmartin/images/035.jpg',400,300,'35 Boats at Berneray harbour','http://www1.clikpic.com/martinmartin/images/035_thumb.jpg',130, 98,0, 0,'Fishing boats tied up at rest in the harbour at Berneray','','','','','');
photos[86] = new photo(467759,'37013','48','gallery','http://www1.clikpic.com/martinmartin/images/048.jpg',400,285,'48 Church ruin at Berneray','http://www1.clikpic.com/martinmartin/images/048_thumb.jpg',130, 93,0, 0,'The remains of an old church at Berneray still holds an atmosphere to captivate','','','','','');
photos[87] = new photo(467711,'37013','11A','gallery','http://www1.clikpic.com/martinmartin/images/11A  boat at Poll an Oir, Berneray.jpg',300,400,'11A B&W old row boat, Berneray','http://www1.clikpic.com/martinmartin/images/11A  boat at Poll an Oir, Berneray_thumb.jpg',130, 173,0, 0,'Black and white image of old row boat in Berneray','','','','','');
photos[88] = new photo(615190,'37013','36','gallery','http://www1.clikpic.com/martinmartin/images/36 Carinish church N Uist 31.jpg',300,400,'36, Carinish Church','http://www1.clikpic.com/martinmartin/images/36 Carinish church N Uist 31_thumb.jpg',98, 130,0, 0,'Old Church at Carinish in North Uist with wonderful lichen-covered stone walls<br>\r\n<br>\r\ncard','','','','','');
photos[89] = new photo(510610,'39571','22','gallery','http://www1.clikpic.com/martinmartin/images/22 Oitir Mhor, N Causeway tide pool 3.jpg',300,400,'22, Golden Crescent, Oitir Mhor','http://www1.clikpic.com/martinmartin/images/22 Oitir Mhor, N Causeway tide pool 3_thumb.jpg',130, 173,0, 0,'The sun makes a Crescent moon in the sea water at Oitir Mhor, just before she sets and gives way to the real moon','','','','','');
photos[90] = new photo(510658,'39571','160 ','gallery','http://www1.clikpic.com/martinmartin/images/160 Church at Griminish, Benbecula.jpg',300,400,'160 Church at Griminish','http://www1.clikpic.com/martinmartin/images/160 Church at Griminish, Benbecula_thumb.jpg',130, 173,0, 0,'Church at Griminish, Benbecula, peaceful on a calm, cold winters day<br>\r\n<br>\r\ncard','','','','','');
photos[91] = new photo(510621,'39571','40','gallery','http://www1.clikpic.com/martinmartin/images/40 Nunton steadings 2.jpg',300,400,'40 Nunton Steadings','http://www1.clikpic.com/martinmartin/images/40 Nunton steadings 2_thumb.jpg',130, 173,0, 0,'Gable End of Nunton Steadings with Bell. The steadings have been renovated and are now a beautiful visitor centre with cafe, and function venue','','','','','');
photos[92] = new photo(510606,'39571','21','gallery','http://www1.clikpic.com/martinmartin/images/21 Oitir Mhor, N Causeway rock pool 3.jpg',400,300,'21 Oitir Mhor, North Causeway','http://www1.clikpic.com/martinmartin/images/21 Oitir Mhor, N Causeway rock pool 3_thumb.jpg',130, 98,0, 1,'Sunset transforms a rockpool at Oitir Mhor, beside the North Causeway','','','','','');
photos[93] = new photo(510615,'39571','32 ','gallery','http://www1.clikpic.com/martinmartin/images/32 Dark Island 2.jpg',400,301,'32 The Dark Island','http://www1.clikpic.com/martinmartin/images/32 Dark Island 2_thumb.jpg',130, 98,0, 0,'A full moon lights up the dark island, reflecting off a sleepy blanket of shallow fog in the quiet of night <br>\r\n<br>\r\ncard','','','','','');
photos[94] = new photo(510627,'39571','42','gallery','http://www1.clikpic.com/martinmartin/images/42 Balivanich shore 3.jpg',400,300,'42 Balivanich Shoreline','http://www1.clikpic.com/martinmartin/images/42 Balivanich shore 3_thumb.jpg',130, 98,0, 0,'Looking out from Balivanich shoreline towards the Monach Isles and the Atlantic <br>\r\n<br>\r\ncard','','','','','');
photos[95] = new photo(510643,'39571','99 ','gallery','http://www1.clikpic.com/martinmartin/images/99 Straw stacks in Nunton in snow.jpg',400,300,'99 Haystacks at Nunton','http://www1.clikpic.com/martinmartin/images/99 Straw stacks in Nunton in snow_thumb.jpg',130, 98,0, 0,'Stacks of Straw(Corn) at Nunton in Benbecula, feed for the winter, which has already started as snow falls on the stacks<br>\r\n<br>\r\ncard','','','','','');
photos[96] = new photo(510647,'39571','106 ','gallery','http://www1.clikpic.com/martinmartin/images/106 Benbecula Dawn, North Causeway 1.jpg',400,240,'106 Benbecula Winter Dawn','http://www1.clikpic.com/martinmartin/images/106 Benbecula Dawn, North Causeway 1_thumb.jpg',130, 78,0, 0,'Winter Dawn reveals Snow covered Benbecula, viewed from North Causeway<br>\r\n<br>\r\ncard','','','','','');
photos[97] = new photo(510652,'39571','109 ','gallery','http://www1.clikpic.com/martinmartin/images/109 Sheep Snowy shadows, Benbecula 1.jpg',400,333,'109  Snowy Sheep Shadows','http://www1.clikpic.com/martinmartin/images/109 Sheep Snowy shadows, Benbecula 1_thumb.jpg',130, 108,0, 0,'Long sheep shadows are cast by the low winter sun on fresh snow.<br>\r\n<br>\r\ncard','','','','','');
photos[98] = new photo(510662,'39571','161','gallery','http://www1.clikpic.com/martinmartin/images/161 Tidal stripes, North Ford, Benbecula 2.jpg',400,300,'161 Tidal Stripes','http://www1.clikpic.com/martinmartin/images/161 Tidal stripes, North Ford, Benbecula 2_thumb.jpg',130, 98,0, 0,'The tide at North Ford makes a srtipey pattern out of exposed rocky ground','','','','','');
photos[99] = new photo(512144,'39721','118 ','gallery','http://www1.clikpic.com/martinmartin/images/118 Snow Footprints, S Uist.jpg',300,400,'118 Footprints','http://www1.clikpic.com/martinmartin/images/118 Snow Footprints, S Uist_thumb.jpg',130, 173,0, 0,'Footprints in the snow leading up the track to the statue of Our Lady of the Isles <br>\r\n<br>\r\ncard','','','','','');
photos[100] = new photo(512161,'39721','147','gallery','http://www1.clikpic.com/martinmartin/images/147 sunset reflected in North Loch Eyenort, South Uist.jpg',258,400,'147 Loch Eynort sunset','http://www1.clikpic.com/martinmartin/images/147 sunset reflected in North Loch Eyenort, South Uist_thumb.jpg',130, 202,0, 0,'The sinking sun reflects long at North Loch Eynort, South Uist','','','','','');
photos[101] = new photo(512149,'39721','119','gallery','http://www1.clikpic.com/martinmartin/images/119 Our lady of the Isles 1.jpg',206,400,'119 Our Lady of the Isles','http://www1.clikpic.com/martinmartin/images/119 Our lady of the Isles 1_thumb.jpg',130, 252,0, 0,'The twenty foot high statue of Our Lady of the Isles, holding the infant Christ in a blanket of snow.<br>\r\n<br>\r\nA Prayer to go with this picture is in the Poetry section and prints are available with the Prayer on the picture.<br>\r\n<br>\r\ncard','','','','','');
photos[102] = new photo(512156,'39721','120 ','gallery','http://www1.clikpic.com/martinmartin/images/120 Our lady of the Isles 2.jpg',400,300,'120 Our Lady of the Isles Watches','http://www1.clikpic.com/martinmartin/images/120 Our lady of the Isles 2_thumb.jpg',130, 98,0, 0,'As the sun sets, the statue of Our Lady seems to watch over the Isles as if saying \" sleep well, you are being guarded over\"<br>\r\n<br>\r\ncard','','','','','');
photos[103] = new photo(512138,'39721','116 ','gallery','http://www1.clikpic.com/martinmartin/images/116 Hecla & Bheinn Mhor,Snow,  S Uist 5.jpg',400,248,'116 Hecla and Bheinn Mhor','http://www1.clikpic.com/martinmartin/images/116 Hecla & Bheinn Mhor,Snow,  S Uist 5_thumb.jpg',130, 81,0, 1,'Hecla and Bheinn Mhor are snow covered,majestic and reflected in loch Bi<br>\r\n<br>\r\ncard','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(186885,'3039366','picture mugs','section231359');
galleries[1] = new gallery(33890,'451226','Lewis','gallery');
galleries[2] = new gallery(47090,'614130','Christmas Cards','section68220');
galleries[3] = new gallery(34716,'467657','Harris','gallery');
galleries[4] = new gallery(37013,'467685','North Uist ','gallery');
galleries[5] = new gallery(39571,'510606','Benbecula','gallery');
galleries[6] = new gallery(39721,'512138','South Uist','gallery');

