/***************************************************************************
* 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('2711495,2711445,2711440,2711432,2239337,2239329,2239269,2239251,2239221,2239208,2125825,2125815,2125788,2021902,2021894,2021881,2021830,1904194,1904177,1904175,1624763,1281309,1281301,1280315,1108290,1108100,904939,904927,904900,904893,670790,627646');
	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('2711495,2711445,2711440,2711432,2239337,2239329,2239269,2239251,2239221,2239208,2125825,2125815,2125788,2021902,2021894,2021881,2021830,1904194,1904177,1904175,1624763,1281309,1281301,1280315,1108290,1108100,904939,904927,904900,904893,670790,627646');
	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)) {
		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 + '" border="0">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
			document.title = 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(1624613,'110141','web201','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines.jpg',500,400,'Abstraction of lines','http://www1.clikpic.com/gateway/images/abstraction of lines_thumb.jpg',130, 104,0, 1,'The lines of several buildings around the Lowery in Salford near Manchester, creating an abstract living form.','','','Salford Manchester','','');
photos[1] = new photo(1624663,'110141','web202','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 2.jpg',500,625,'Abstraction of lines 2','http://www1.clikpic.com/gateway/images/abstraction of lines 2_thumb.jpg',130, 163,0, 0,'The buildings around the Lowery in Salford near Manchester creating an abstract form.','','','','','');
photos[2] = new photo(1624672,'110141','web203','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 3 web.jpg',500,625,'Abstraction of lines 3','http://www1.clikpic.com/gateway/images/abstraction of lines 3 web_thumb.jpg',130, 163,0, 0,'Abstraction of lines and reflections create a new image. Shot around the Lowery in Salford near Manchester.','','','Salford Manchester','','');
photos[3] = new photo(1624693,'110141','web204','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 4 web.jpg',500,625,'Abstraction of lines 4','http://www1.clikpic.com/gateway/images/abstraction of lines 4 web_thumb.jpg',130, 163,0, 1,'Autumn sun breaking through the clouds brings a new light to shade and metal. Shot outside the Lowery in   near Manchester.','','',' Salford Manchester','','');
photos[4] = new photo(1624723,'110141','web205','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 5 web.jpg',500,400,'Abstraction of lines 5','http://www1.clikpic.com/gateway/images/abstraction of lines 5 web_thumb.jpg',130, 104,0, 0,'The white of the light bleaches the metal of the Lowery.','','','Salford Manchester','','');
photos[5] = new photo(1624734,'110141','web206','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 6 web.jpg',500,400,'Abstraction of lines 6','http://www1.clikpic.com/gateway/images/abstraction of lines 6 web_thumb.jpg',130, 104,0, 0,'Like a sharks fin breaking free of the lines of man, the afternoon sun plays upon it\'s metal scales.','','','Lowery Salford Manchester','','');
photos[6] = new photo(1624763,'110141','web207','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 7 bw web.jpg',500,625,'Abstraction of lines 7','http://www1.clikpic.com/gateway/images/abstraction of lines 7 bw web_thumb.jpg',130, 163,1, 0,'The inter play of man made and the sun\'s shadows form slashing lines of motion in the stillness of it\'s function.','','','Salford Manchester','','');
photos[7] = new photo(1624775,'110141','web208','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 8 web.jpg',500,625,'Abstraction of lines 8','http://www1.clikpic.com/gateway/images/abstraction of lines 8 web_thumb.jpg',130, 163,0, 0,'Almost like a 1930\'s abstract, the slabs of concrete, metal and glass cut across the sky.','','','Salford Manchester','','');
photos[8] = new photo(1624802,'110141','web209','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 9 web.jpg',500,625,'Abstraction of lines 9','http://www1.clikpic.com/gateway/images/abstraction of lines 9 web_thumb.jpg',130, 163,0, 1,'Like monsters of a black and white 1920\'s movie, the frame and bulk of the towers look down highlighted by the setting sun.','','','Salford Manchester','','');
photos[9] = new photo(1625388,'110141','web214','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 14 web.jpg',500,400,'Abstraction of lines 14','http://www1.clikpic.com/gateway/images/abstraction of lines 14 web_thumb.jpg',130, 104,0, 1,'A combination of sun and construction create an almost animistic creature out of the nightmares of the 1920\'s industrial advancement','','','Salford Manchester','','');
photos[10] = new photo(1625395,'110141','web215','gallery','http://www1.clikpic.com/gateway/images/abstraction of lines 15.jpg',500,400,'Abstraction of lines 15','http://www1.clikpic.com/gateway/images/abstraction of lines 15_thumb.jpg',130, 104,0, 0,'Simple contrast of light and shape creating a frame for the solid.','','','Salford Manchester','','');
photos[11] = new photo(1904170,'127724','web228','gallery','http://www1.clikpic.com/gateway/images/dancing light 4_web.jpg',500,500,'Dancing light 4','http://www1.clikpic.com/gateway/images/dancing light 4_web_thumb.jpg',130, 130,0, 1,'Winter on playing on grass. Black and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds','','');
photos[12] = new photo(1904175,'127724','web229','gallery','http://www1.clikpic.com/gateway/images/dancing light 5_web.jpg',500,500,'Dancing light 5','http://www1.clikpic.com/gateway/images/dancing light 5_web_thumb.jpg',130, 130,1, 1,'Winter sunlight on grass. <br />\r\nBlack and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds','','');
photos[13] = new photo(1904177,'127724','web230','gallery','http://www1.clikpic.com/gateway/images/dancing light 6_web.jpg',500,500,'Dancing light 6','http://www1.clikpic.com/gateway/images/dancing light 6_web_thumb.jpg',130, 130,1, 1,'Winter sunlight on grass.<br />\r\nBlack and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds','','');
photos[14] = new photo(1904184,'127724','web231','gallery','http://www1.clikpic.com/gateway/images/dancing light 7_web.jpg',500,500,'Dancing light 7','http://www1.clikpic.com/gateway/images/dancing light 7_web_thumb.jpg',130, 130,0, 0,'Winter sun on grass.<br />\r\nBlack and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds','','');
photos[15] = new photo(1904194,'127724','web232','gallery','http://www1.clikpic.com/gateway/images/dancing light 8_web.jpg',500,500,'Dancing light 8','http://www1.clikpic.com/gateway/images/dancing light 8_web_thumb.jpg',130, 130,1, 1,'Winter sun on grass.<br />\r\nBlack and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds','','');
photos[16] = new photo(1904195,'127724','web233','gallery','http://www1.clikpic.com/gateway/images/dancing light 9_web.jpg',500,500,'Dancing light 9','http://www1.clikpic.com/gateway/images/dancing light 9_web_thumb.jpg',130, 130,0, 1,'Winter sunlight on grass.<br />\r\nBlack and white infra image.<br />\r\n<br />\r\nLimited edition of 12.','','','Roundhey Park Leeds.','','');
photos[17] = new photo(2021830,'135499','web235','gallery','http://www1.clikpic.com/gateway/images/Bootham awaiting the dawn_filteredweb.jpg',500,375,'Bootham awaiting the dawn','http://www1.clikpic.com/gateway/images/Bootham awaiting the dawn_filteredweb_thumb.jpg',130, 98,1, 1,'Bootham Bar taken from High Petergate in York, as the dawn starts to break in the sky and people head for work.','','','','','');
photos[18] = new photo(2021841,'135499','web236','gallery','http://www1.clikpic.com/gateway/images/Broken arch of St Mary\'s_filteredweb.jpg',500,375,'Broken arch of St. Mary\'s','http://www1.clikpic.com/gateway/images/Broken arch of St Mary\'s_filteredweb_thumb.jpg',130, 98,0, 0,'The old broken arched doorway out of ruins of St. Mary\'s Abbey. Situated in the Museum Gardens, York.','','','','','');
photos[19] = new photo(2021848,'135499','web237','gallery','http://www1.clikpic.com/gateway/images/cobbles in the rain_filteredweb.jpg',450,600,'Cobbles in the rain.','http://www1.clikpic.com/gateway/images/cobbles in the rain_filteredweb_thumb.jpg',130, 173,0, 0,'Looking towards Newgate Market in York from the top of the Shambles.','','','','','');
photos[20] = new photo(2021855,'135499','web238','gallery','http://www1.clikpic.com/gateway/images/flooded gates of the city_filteredweb.jpg',500,375,'Flooded gates of the city.','http://www1.clikpic.com/gateway/images/flooded gates of the city_filteredweb_thumb.jpg',130, 98,0, 0,'Taken over the closed floodgates under Lendal Bridge in York.','','','','','');
photos[21] = new photo(2021860,'135499','web239','gallery','http://www1.clikpic.com/gateway/images/Going soft to very wet_filteredweb.jpg',500,375,'Going soft to very wet.','http://www1.clikpic.com/gateway/images/Going soft to very wet_filteredweb_thumb.jpg',130, 98,0, 0,'York racecourse on the Knavesmire in it\'s half flooded state.','','','','','');
photos[22] = new photo(2021862,'135499','web240','gallery','http://www1.clikpic.com/gateway/images/Marygate winter sun_filteredweb.jpg',500,375,'Marygate winter sun.','http://www1.clikpic.com/gateway/images/Marygate winter sun_filteredweb_thumb.jpg',130, 98,0, 0,'St.Olave\'s church in the winter sun. Taken by the entrance to the Museum Gardens in York.','','','','','');
photos[23] = new photo(2021875,'135499','web241','gallery','http://www1.clikpic.com/gateway/images/Open door of st mary\'s_filteredweb.jpg',500,375,'Open door of St. Mary\'s.','http://www1.clikpic.com/gateway/images/Open door of st mary\'s_filteredweb_thumb.jpg',130, 98,0, 1,'Looking into the ruins of St. Mary\'s Abbey in York. Situated in the Museum Gardens.','','','','','');
photos[24] = new photo(2021881,'135499','web242','gallery','http://www1.clikpic.com/gateway/images/reclaiming history infra_filteredweb.jpg',500,375,'Reclaiming history.','http://www1.clikpic.com/gateway/images/reclaiming history infra_filteredweb_thumb.jpg',130, 98,1, 1,'Behind the walls of the Roman multi angle tower, old stone coffins are slowly reclaimed by nature. Situated in the Museum Gardens in York.','','','','','');
photos[25] = new photo(2021884,'135499','web243','gallery','http://www1.clikpic.com/gateway/images/Stone and shadows_filteredweb.jpg',500,375,'Stone and shadows.','http://www1.clikpic.com/gateway/images/Stone and shadows_filteredweb_thumb.jpg',130, 98,0, 0,'Part of ruins associated with St. Mary\'s Abbey in York. Taken in the Museum Gardens.','','','','','');
photos[26] = new photo(2021894,'135499','web244','gallery','http://www1.clikpic.com/gateway/images/sunset on history infra_filteredweb.jpg',450,600,'Sunset on history.','http://www1.clikpic.com/gateway/images/sunset on history infra_filteredweb_thumb.jpg',130, 173,1, 1,'The winter sun starts to set behind the Roman multi angle tower in the Museum Gardens in York.','','','','','');
photos[27] = new photo(2021902,'135499','web245','gallery','http://www1.clikpic.com/gateway/images/under starters orders_filteredweb.jpg',500,375,'Under starters orders.','http://www1.clikpic.com/gateway/images/under starters orders_filteredweb_thumb.jpg',130, 98,1, 1,'The main stand of York racecourse across the flooded Knavesmire.','','','','','');
photos[28] = new photo(2021912,'135499','web246','gallery','http://www1.clikpic.com/gateway/images/walk to the light_filteredweb.jpg',450,600,'Walk into the light.','http://www1.clikpic.com/gateway/images/walk to the light_filteredweb_thumb.jpg',130, 173,0, 0,'The standing arch of St Mary\'s Abbey ruins bathed in the winter afternoon sun. Situated in the Museum Gardens in York.','','','','','');
photos[29] = new photo(2021915,'135499','web247','gallery','http://www1.clikpic.com/gateway/images/weather the grafitti_filteredweb.jpg',500,375,'Weather the graffiti .','http://www1.clikpic.com/gateway/images/weather the grafitti_filteredweb_thumb.jpg',130, 98,0, 0,'The Chain Tower at the bottom of Marygate in York, looking down the River Ouse towards Lendal Bridge.','','','','','');
photos[30] = new photo(2125763,'141337','web248','gallery','http://www1.clikpic.com/gateway/images/doafv series 1-web.jpg',500,625,'Death of a fashion victim 1','http://www1.clikpic.com/gateway/images/doafv series 1-web_thumb.jpg',130, 163,0, 1,'','','','','','');
photos[31] = new photo(2125788,'141337','web249','gallery','http://www1.clikpic.com/gateway/images/doafv series 2-web.jpg',500,400,'Death of a fashion victim 2','http://www1.clikpic.com/gateway/images/doafv series 2-web_thumb.jpg',130, 104,1, 1,'','','','','','');
photos[32] = new photo(2125795,'141337','web250','gallery','http://www1.clikpic.com/gateway/images/doafv series 3-web.jpg',500,625,'Death of a fashion victim 3','http://www1.clikpic.com/gateway/images/doafv series 3-web_thumb.jpg',130, 163,0, 0,'','','','','','');
photos[33] = new photo(2125797,'141337','web251','gallery','http://www1.clikpic.com/gateway/images/doafv series 4-web.jpg',500,400,'Death of a fashion victim 4','http://www1.clikpic.com/gateway/images/doafv series 4-web_thumb.jpg',130, 104,0, 1,'','','','','','');
photos[34] = new photo(2125802,'141337','web252','gallery','http://www1.clikpic.com/gateway/images/doafv series 5-web.jpg',500,400,'Death of a fashion victim 5','http://www1.clikpic.com/gateway/images/doafv series 5-web_thumb.jpg',130, 104,0, 0,'','','','','','');
photos[35] = new photo(2125804,'141337','web253','gallery','http://www1.clikpic.com/gateway/images/doafv series 6-web.jpg',500,625,'Death of a fashion victim 6','http://www1.clikpic.com/gateway/images/doafv series 6-web_thumb.jpg',130, 163,0, 0,'','','','','','');
photos[36] = new photo(2125808,'141337','web254','gallery','http://www1.clikpic.com/gateway/images/doafv series 7-web.jpg',500,400,'Death of a fashion victim 7','http://www1.clikpic.com/gateway/images/doafv series 7-web_thumb.jpg',130, 104,0, 1,'','','','','','');
photos[37] = new photo(2125815,'141337','web255','gallery','http://www1.clikpic.com/gateway/images/doafv series 8-web.jpg',500,400,'Death of a fashion victim 8','http://www1.clikpic.com/gateway/images/doafv series 8-web_thumb.jpg',130, 104,1, 1,'','','','','','');
photos[38] = new photo(2125825,'141337','web256','gallery','http://www1.clikpic.com/gateway/images/doafv series 9-web.jpg',500,625,'Death of a fashion victim 9','http://www1.clikpic.com/gateway/images/doafv series 9-web_thumb.jpg',130, 163,1, 1,'','','','','','');
photos[39] = new photo(2125829,'141337','web257','gallery','http://www1.clikpic.com/gateway/images/doafv series 10-web.jpg',500,625,'Death of a fashion victim 10','http://www1.clikpic.com/gateway/images/doafv series 10-web_thumb.jpg',130, 163,0, 0,'','','','','','');
photos[40] = new photo(2711432,'170826','web268','gallery','http://www1.clikpic.com/gateway/images/window series 10web.jpg',500,374,'Window Series 10','http://www1.clikpic.com/gateway/images/window series 10web_thumb.jpg',130, 97,1, 1,'The play of light in religious places, be it of stone and glass or trees and open skies, as a deep effect on the human spirit. <br />\r\nThe candles hold the promise of light against the dark of night.<br />\r\n<br />\r\nShot in the The Holy Trinity Church, Goodramgate York<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[41] = new photo(2711440,'170826','','gallery','http://www1.clikpic.com/gateway/images/window series 14web.jpg',500,400,'Window Series 14','http://www1.clikpic.com/gateway/images/window series 14web_thumb.jpg',130, 104,1, 1,'The interplay of stone, glass and metal playing upon the watcher.<br />\r\nHistory holding whispers in the stone of days past.<br />\r\n<br />\r\nShot in the Holy Trinity Church Goodramgate York<br />\r\n<br />\r\nLimited edition of 15','','','','','');
photos[42] = new photo(2711445,'170826','web270','gallery','http://www1.clikpic.com/gateway/images/window series 15web.jpg',360,450,'Window Series 15','http://www1.clikpic.com/gateway/images/window series 15web_thumb.jpg',130, 163,1, 1,'Stone mirroring light mirroring the lines of constructed glass.<br />\r\n<br />\r\nShot in the Holy Trinity Church Goodramgate York<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[43] = new photo(2711453,'170826','web271','gallery','http://www1.clikpic.com/gateway/images/window series 13web.jpg',500,400,'Window Series 13','http://www1.clikpic.com/gateway/images/window series 13web_thumb.jpg',130, 104,0, 0,'The role of the window in the defence of a place, the security against the outside world. <br />\r\n<br />\r\nShot on the City walls of York<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[44] = new photo(2711495,'170826','web272','gallery','http://www1.clikpic.com/gateway/images/window series 17web.jpg',500,400,'Window Series 17','http://www1.clikpic.com/gateway/images/window series 17web_thumb.jpg',130, 104,1, 1,'Light bursting into the arched ceilings and dirt floor, is it a prison, a place of worship or healing? <br />\r\nEach provides a different context to the emotions in the image.<br />\r\n<br />\r\nShot in St Mary\'s Abbey in York<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[45] = new photo(2711502,'170826','','gallery','http://www1.clikpic.com/gateway/images/window series 3web.jpg',337,450,'Window Series 3','http://www1.clikpic.com/gateway/images/window series 3web_thumb.jpg',130, 174,0, 0,'Does the window frame the arch or the arch the view beyond the stone?<br />\r\n<br />\r\nShot in the ruins of St Mary\'s in York<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[46] = new photo(2711507,'170826','web274','gallery','http://www1.clikpic.com/gateway/images/window series 12web.jpg',500,400,'Window Series 12','http://www1.clikpic.com/gateway/images/window series 12web_thumb.jpg',130, 104,0, 1,'The watcher in the gatehouse, now the view is defended against the bird population.<br />\r\n<br />\r\nShot on the city walls of York.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[47] = new photo(2711513,'170826','web275','gallery','http://www1.clikpic.com/gateway/images/window series 6web.jpg',360,450,'Window Series 6','http://www1.clikpic.com/gateway/images/window series 6web_thumb.jpg',130, 163,0, 0,'The passing shadows count the moments of history passing in time.<br />\r\n<br />\r\nShot in the ruins of St. Mary\'s Abbey in York.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[48] = new photo(2711524,'170826','web276','gallery','http://www1.clikpic.com/gateway/images/window series 7web.jpg',500,400,'Window Series 7','http://www1.clikpic.com/gateway/images/window series 7web_thumb.jpg',130, 104,0, 1,'The passing of the sun allows the fall of the dreams of power and hope to be seen beyond the windows.<br />\r\n<br />\r\nShot in the ruins of St. Mary\'s abbey in York.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[49] = new photo(2711540,'170826','web278','gallery','http://www1.clikpic.com/gateway/images/window series 9web.jpg',500,400,'Window Series 9','http://www1.clikpic.com/gateway/images/window series 9web_thumb.jpg',130, 104,0, 1,'The patterns of light and stone create a counting house of moments and emotions.<br />\r\n<br />\r\nShot in the ruins of St Mary\'s abbey in York.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[50] = new photo(627608,'47979','web 29','gallery','http://www1.clikpic.com/gateway/images/creeping sun bw webshot.jpg',500,375,'Creeping sun.','http://www1.clikpic.com/gateway/images/creeping sun bw webshot_thumb.jpg',130, 98,0, 1,'Bassenthwaite Lake in the autumn sun. Number 1 of this edition has been donated to raise funds for www.angels4taegan.com . A percentage of future sales of this shot will also be donated.<br />\r\n<br />\r\nLimited edition of 25.<br />\r\nLimited edition of 25.','','','Bassenthwaite Lake Cumbria','','Limited edition of 25');
photos[51] = new photo(904905,'47979','web 106','gallery','http://www1.clikpic.com/gateway/images/hardraw rainbow_filtered web.jpg',500,375,'Hardraw rainbow','http://www1.clikpic.com/gateway/images/hardraw rainbow_filtered web_thumb.jpg',130, 98,0, 1,'A moment of light and colour in the spray of Hardraw waterfall behind the Green Dragon.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[52] = new photo(938368,'47979','web 124','gallery','http://www1.clikpic.com/gateway/images/ansel inspired infra large_filtered web.jpg',500,375,'Ansel inspired','http://www1.clikpic.com/gateway/images/ansel inspired infra large_filtered web_thumb.jpg',130, 98,0, 1,'Hardraw waterfall scar in the Yorkshire dales<br />\r\n<br />\r\nLimited edition of 15 prints @ 20 x 16','','','','','');
photos[53] = new photo(938423,'47979','web 128','gallery','http://www1.clikpic.com/gateway/images/standing alone infra large_filtered web.jpg',500,382,'Standing alone','http://www1.clikpic.com/gateway/images/standing alone infra large_filtered web_thumb.jpg',130, 99,0, 1,'A single tree standing against the gathering clouds in County Durham.<br />\r\n<br />\r\nLimited edition of 15 prints @ 20 x 16','','','','','');
photos[54] = new photo(1108047,'47979','web 140','gallery','http://www1.clikpic.com/gateway/images/cutting through nothingness_web.jpg',500,375,'Cutting through nothingness','http://www1.clikpic.com/gateway/images/cutting through nothingness_web_thumb.jpg',130, 98,0, 0,'A open wooden sail of a windmill waits the fall of the clouds.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[55] = new photo(1108052,'47979','web 139','gallery','http://www1.clikpic.com/gateway/images/digger and sky_web.jpg',500,375,'Digger and sky','http://www1.clikpic.com/gateway/images/digger and sky_web_thumb.jpg',130, 98,0, 1,'A digger is left from breaking the earth while the storm clouds hang over the Vale.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[56] = new photo(1108214,'47979','web 144','gallery','http://www1.clikpic.com/gateway/images/longest day sky_web.jpg',500,375,'Longest day sky','http://www1.clikpic.com/gateway/images/longest day sky_web_thumb.jpg',130, 98,0, 1,'A windmill sits huddled against the boiling clouds of a coming storm on the longest day of the year.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[57] = new photo(1280199,'47979','web 153','gallery','http://www1.clikpic.com/gateway/images/horses at dawn_web.jpg',500,345,'Horses at dawn','http://www1.clikpic.com/gateway/images/horses at dawn_web_thumb.jpg',130, 90,0, 1,'Horses feeding as the winter sun burns away the even mists.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[58] = new photo(1280245,'47979','web 156','gallery','http://www1.clikpic.com/gateway/images/fewston solstice_web.jpg',500,523,'Fewston Solstice','http://www1.clikpic.com/gateway/images/fewston solstice_web_thumb.jpg',130, 136,0, 0,'The winter solstice sun rises through the trees around Fewston reservoir. <br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[59] = new photo(1280274,'47979','web 159','gallery','http://www1.clikpic.com/gateway/images/looks like rain_web.jpg',500,375,'Looks like rain.','http://www1.clikpic.com/gateway/images/looks like rain_web_thumb.jpg',130, 98,0, 0,'Sheep grazing on the sides of Great Langdale in Cumbria under the fast forming rain clouds.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[60] = new photo(1280291,'47979','web 160','gallery','http://www1.clikpic.com/gateway/images/ridge light_web.jpg',500,375,'Ridge light.','http://www1.clikpic.com/gateway/images/ridge light_web_thumb.jpg',130, 98,0, 1,'The summer sun breaks through the clouds to light a ridge in Great Langdale in Cumbria.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[61] = new photo(1280315,'47979','web 162','gallery','http://www1.clikpic.com/gateway/images/across the hills_web.jpg',500,375,'Across the hills.','http://www1.clikpic.com/gateway/images/across the hills_web_thumb.jpg',130, 98,1, 0,'The large winter sun casts a halo across the air mist while below the fog lingers deep and white in the valley.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[62] = new photo(1280364,'47979','web 165','gallery','http://www1.clikpic.com/gateway/images/clouds no1_web.jpg',500,375,'Clouds no. 1','http://www1.clikpic.com/gateway/images/clouds no1_web_thumb.jpg',130, 98,0, 0,'Summer storm clouds forming in the afternoon heat over the Vale of York.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[63] = new photo(1280379,'47979','web 166','gallery','http://www1.clikpic.com/gateway/images/breaking through the clouds_web.jpg',500,375,'Breaking through the clouds.','http://www1.clikpic.com/gateway/images/breaking through the clouds_web_thumb.jpg',130, 98,0, 1,'The height of the hills around Great Langdale in Cumbria are revealed by a flash parting in the summer storm clouds.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[64] = new photo(1280391,'47979','web 168','gallery','http://www1.clikpic.com/gateway/images/solstice halo_web.jpg',500,375,'Solstice halo.','http://www1.clikpic.com/gateway/images/solstice halo_web_thumb.jpg',130, 98,0, 1,'A winter solstice sun casts it ethereal halo among the trees in North Yorkshire.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[65] = new photo(1280415,'47979','web 171','gallery','http://www1.clikpic.com/gateway/images/clouds no3_web.jpg',500,368,'Clouds no. 3.','http://www1.clikpic.com/gateway/images/clouds no3_web_thumb.jpg',130, 96,0, 1,'The boiling heat of a summers day creates a sky show of a power ballet above the Vale of York.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[66] = new photo(1281339,'47979','web 182','gallery','http://www1.clikpic.com/gateway/images/sheep landscape_web.jpg',500,375,'Sheep landscape.','http://www1.clikpic.com/gateway/images/sheep landscape_web_thumb.jpg',130, 98,0, 1,'The dramatic summer sky dwarfs the rolling County Durham landscape.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[67] = new photo(1281340,'47979','web 184','gallery','http://www1.clikpic.com/gateway/images/between showers and blades_web.jpg',500,375,'Between showers and blades.','http://www1.clikpic.com/gateway/images/between showers and blades_web_thumb.jpg',130, 98,0, 1,'The dash to gather in the harvest is marked by the gathering clouds in the Vale of York.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[68] = new photo(1281342,'47979','web 185','gallery','http://www1.clikpic.com/gateway/images/colour on a coming grey day_web.jpg',500,375,'Colour on a coming grey day.','http://www1.clikpic.com/gateway/images/colour on a coming grey day_web_thumb.jpg',130, 98,0, 0,'A single poppy holds it\'s colour against the gathering grey weather in the Vale of York.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[69] = new photo(1625404,'47979','web218','gallery','http://www1.clikpic.com/gateway/images/coney fell web.jpg',500,375,'Coney Fell','http://www1.clikpic.com/gateway/images/coney fell web_thumb.jpg',130, 98,0, 1,'The early autumn colours of the hills and fells of Cumbria come alive as the sun breaks from the clouds.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','Cumbria','','');
photos[70] = new photo(1625407,'47979','web219','gallery','http://www1.clikpic.com/gateway/images/do not look back at Hades door022.jpg',500,400,'Do not look back at the door of Hades','http://www1.clikpic.com/gateway/images/do not look back at Hades door022_thumb.jpg',130, 104,0, 1,'A single figures walks into the light, almost recreating the myth of the journey out of Hades by Orpheus, do you hope he does not look back as Eurydice did?<br />\r\n<br />\r\nLimited edition of 15 prints','','','Clumber Park Nottinghamshire','','');
photos[71] = new photo(627646,'47982','web 1','gallery','http://www1.clikpic.com/gateway/images/brightshadowsonbroadway webshot.jpg',500,664,'Bright shadows on Broadway.','http://www1.clikpic.com/gateway/images/brightshadowsonbroadway webshot_thumb.jpg',130, 173,1, 1,'The morning sun and glass of the high rise building create a double shadow on the passer by.Taken on Broadway, NYC.<br />\r\n<br />\r\nLimited edition of 25.','','','Broadway, New York City','','Limited edition of 25');
photos[72] = new photo(904893,'47982','web 102','gallery','http://www1.clikpic.com/gateway/images/chain tower dawn large_filtered web.jpg',500,375,'Chain tower dawn','http://www1.clikpic.com/gateway/images/chain tower dawn large_filtered web_thumb.jpg',130, 98,1, 1,'Classic view along the river Ouse in York at sunrise, with York Minster in the background.<br />\r\n<br />\r\nLimited edition of 15 prints','','','','','');
photos[73] = new photo(904900,'47982','web 105','gallery','http://www1.clikpic.com/gateway/images/horses for courses web.jpg',500,673,'Horses for courses','http://www1.clikpic.com/gateway/images/horses for courses web_thumb.jpg',130, 175,1, 1,'An abandoned bike in the river Ouse in York forms a contrast to the narrow boat.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[74] = new photo(904927,'47982','web 112','gallery','http://www1.clikpic.com/gateway/images/fallen leaf in flood large_filtered web.jpg',500,667,'Fallen leaf in flood.','http://www1.clikpic.com/gateway/images/fallen leaf in flood large_filtered web_thumb.jpg',130, 173,1, 0,'With the Bonding warehouse kissed by the river Ouse in York in flood, a single leaf floats by.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[75] = new photo(904939,'47982','web 117','gallery','http://www1.clikpic.com/gateway/images/waiting for bogart_filtered web.jpg',500,375,'Waiting for Bogart.','http://www1.clikpic.com/gateway/images/waiting for bogart_filtered web_thumb.jpg',130, 98,1, 1,'A Life saver floats in the river Ouse at York, with the railway bridge in the background at dawn.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[76] = new photo(1108290,'47982','web 132','gallery','http://www1.clikpic.com/gateway/images/wheels and lines_web.jpg',500,375,'Wheels and lines','http://www1.clikpic.com/gateway/images/wheels and lines_web_thumb.jpg',130, 98,1, 1,'A bike parked on the river side decking next to the River Ouse in York adds to the play of shadows in the setting sun.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[77] = new photo(1281301,'47982','web 172','gallery','http://www1.clikpic.com/gateway/images/angel facing the light_web.jpg',500,375,'Angel facing the light.','http://www1.clikpic.com/gateway/images/angel facing the light_web_thumb.jpg',130, 98,1, 0,'The Angel of the North facing the morning sun.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[78] = new photo(1281309,'47982','web 173','gallery','http://www1.clikpic.com/gateway/images/another summers day_web.jpg',500,288,'Another summer\'s day.','http://www1.clikpic.com/gateway/images/another summers day_web_thumb.jpg',130, 75,1, 1,'Ouse bridge in York holds the centre ground as yet another summer storm heads into York.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[79] = new photo(1281317,'47982','web 174','gallery','http://www1.clikpic.com/gateway/images/Arched shadow_web.jpg',500,375,'Arched shadow.','http://www1.clikpic.com/gateway/images/Arched shadow_web_thumb.jpg',130, 98,0, 1,'The railway bridge over The Side in Newcastle casts an artistic shadow.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[80] = new photo(1625495,'47982','web224','gallery','http://www1.clikpic.com/gateway/images/power electra web.jpg',500,625,'Power electra','http://www1.clikpic.com/gateway/images/power electra web_thumb.jpg',130, 163,0, 1,'Like a dream of the mind of Huxley, the regeneration for tomorrow and the surviving past collide in the sun burst.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','Salford Manchester','','');
photos[81] = new photo(2239173,'47982','web258','gallery','http://www1.clikpic.com/gateway/images/afternoon in the park_filtered-web.jpg',500,400,'Afternoon in the park','http://www1.clikpic.com/gateway/images/afternoon in the park_filtered-web_thumb.jpg',130, 104,0, 1,'Stark shapes in the mid winter sun create a story scape of their own.<br />\r\n<br />\r\nRoundhey Park in Leeds.<br />\r\n<br />\r\nLimited edition of 15','','','','','');
photos[82] = new photo(2239208,'47982','web260','gallery','http://www1.clikpic.com/gateway/images/every thing stops for tea_filtered-web.jpg',500,400,'Everything stops for tea.','http://www1.clikpic.com/gateway/images/every thing stops for tea_filtered-web_thumb.jpg',130, 104,1, 1,'Playing bowls under the shadow of York Minster and the walls of St. Mary\'s Abbey.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[83] = new photo(2239221,'47982','web261','gallery','http://www1.clikpic.com/gateway/images/In history, today is always full of youth_filtered-web.jpg',500,400,'In history, today is always full of youth.','http://www1.clikpic.com/gateway/images/In history, today is always full of youth_filtered-web_thumb.jpg',130, 104,1, 1,'In the early spring sun, all hearts beat with the joy of life.<br />\r\n<br />\r\nLimited edition of 15.','','','York','','');
photos[84] = new photo(2239230,'47982','web262','gallery','http://www1.clikpic.com/gateway/images/light shopping infra_filtered-web.jpg',500,625,'Light shopping infra','http://www1.clikpic.com/gateway/images/light shopping infra_filtered-web_thumb.jpg',130, 163,0, 1,'Walking hurriedly into the morning sun, a single carry bag catches the light, while caught in the shadows.<br />\r\nTaken at the bottom of the steps to York Minster.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[85] = new photo(2239251,'47982','web264','gallery','http://www1.clikpic.com/gateway/images/towards the future\'s path_filtered-web.jpg',500,400,'Towards the future\'s path.','http://www1.clikpic.com/gateway/images/towards the future\'s path_filtered-web_thumb.jpg',130, 104,1, 1,'A couple walk hand in hand up the steps in Roundhey Park, Leeds. The stark winter sun creating silhouettes across the skyline.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[86] = new photo(2239269,'47982','web265','gallery','http://www1.clikpic.com/gateway/images/walking balanced in light and shadow_filtered-web.jpg',500,625,'Walking in balanced shadow and light.','http://www1.clikpic.com/gateway/images/walking balanced in light and shadow_filtered-web_thumb.jpg',130, 163,1, 1,'Taken on the city walls at York, a couple caught in the spring sun, while the shadows of history and the now surround them.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[87] = new photo(2239329,'47982','web266','gallery','http://www1.clikpic.com/gateway/images/walking the lines_filtered-web.jpg',500,625,'Walking the lines.','http://www1.clikpic.com/gateway/images/walking the lines_filtered-web_thumb.jpg',130, 163,1, 1,'Like a line from a Johnny Cash song, a shadow play of train tracks and fences as a figure walks past.<br />\r\nShot at Seven Valley Railway, Bridgenorth.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[88] = new photo(2239337,'47982','web267','gallery','http://www1.clikpic.com/gateway/images/waiting for the lights_filtered-web.jpg',500,400,'Waiting for the lights.','http://www1.clikpic.com/gateway/images/waiting for the lights_filtered-web_thumb.jpg',130, 104,1, 1,'Walking under the York city walls, a single moment of time catches a shadow play of the traffic lights changing.<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[89] = new photo(627921,'47983','web 18','gallery','http://www1.clikpic.com/gateway/images/clickofthelight webshot.jpg',500,256,'Click of the light.','http://www1.clikpic.com/gateway/images/clickofthelight webshot_thumb.jpg',130, 67,0, 1,'On a gentle sea, a single wave breaks.<br />\r\n<br />\r\nLimited edition of 25.','','','Whitley Bay, Tyneside.','','Limited edition of 25');
photos[90] = new photo(627934,'47983','web 21','gallery','http://www1.clikpic.com/gateway/images/instonewetrust webshot.jpg',500,666,'In stone we trust.','http://www1.clikpic.com/gateway/images/instonewetrust webshot_thumb.jpg',130, 173,0, 0,'The seawall defense in the South Bay at Scarborough.<br />\r\n<br />\r\nLimited edition of 25.','','','Scarborough North Yorkshire','','Limited edition of 25');
photos[91] = new photo(627940,'47983','web 11','gallery','http://www1.clikpic.com/gateway/images/english summer webshot.jpg',500,352,'Classic English summer\'s day.','http://www1.clikpic.com/gateway/images/english summer webshot_thumb.jpg',130, 92,0, 0,'All that is England on a summer\'s day at the coast. Shot at the top cliff at Robin Hood\'s Bay.<br />\r\n<br />\r\nLimited edition of 25.','','','Robin Hood\'s Bay North Yorkshire','','Limited edition of 25');
photos[92] = new photo(627948,'47983','web 6','gallery','http://www1.clikpic.com/gateway/images/surfing the shore webshot.jpg',500,216,'Surfing the shore.','http://www1.clikpic.com/gateway/images/surfing the shore webshot_thumb.jpg',130, 56,0, 0,'A seagull surfing the edge of the sea at Robin Hood\'s Bay.<br />\r\n<br />\r\nLimited edition of 30.','','','Robin Hood\'s Bay North Yorkshire','','Limited edition of 30');
photos[93] = new photo(627955,'47983','web 38','gallery','http://www1.clikpic.com/gateway/images/webshotFill the air with birds and rainbows.jpg',500,375,'Fill the air with rainbows and seagulls.','http://www1.clikpic.com/gateway/images/webshotFill the air with birds and rainbows_thumb.jpg',130, 98,0, 0,'A weather front rainbow is caught in a flock of seagulls in the North Bay, at Scarborough.<br />\r\n<br />\r\nLimited edition of 25.','','','Scarborough','','Limited edition of 25');
photos[94] = new photo(627963,'47983','web 41','gallery','http://www1.clikpic.com/gateway/images/retracing the river webshot.jpg',500,375,'Retracing the river.','http://www1.clikpic.com/gateway/images/retracing the river webshot_thumb.jpg',130, 98,0, 0,'The retreating tide leaves a reflecting stream at Whitley Bay. <br />\r\n<br />\r\nLimited edition of 25.','','','Whitley Bay Tyneside.','','Limited edition of 25');
photos[95] = new photo(1281327,'47983','web 177','gallery','http://www1.clikpic.com/gateway/images/facing the sun_web.jpg',500,372,'Facing the sun.','http://www1.clikpic.com/gateway/images/facing the sun_web_thumb.jpg',130, 97,0, 0,'Broken breakers sit amongst the tides wash while the sun casts deep shadows on the beach at Whitley Bay.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[96] = new photo(1282590,'47983','web 183','gallery','http://www1.clikpic.com/gateway/images/single breaker standing_web.jpg',500,375,'Single breaker standing.','http://www1.clikpic.com/gateway/images/single breaker standing_web_thumb.jpg',130, 98,0, 0,'A single line of breaks both divide and join air land and sea. Taken at Whitley Bay.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[97] = new photo(2239187,'47983','web259','gallery','http://www1.clikpic.com/gateway/images/between the rock and that hard place_filtered-web.jpg',500,400,'Between the rock and that hard place','http://www1.clikpic.com/gateway/images/between the rock and that hard place_filtered-web_thumb.jpg',130, 104,0, 1,'Do I stay and play, hope she stays or do I give chase?<br />\r\n<br />\r\nShot at Whitley Bay<br />\r\n<br />\r\nLimited edition of 15.','','','','','');
photos[98] = new photo(628001,'47984','web 31','gallery','http://www1.clikpic.com/gateway/images/Window into winter webshot.jpg',500,664,'Window into winter.','http://www1.clikpic.com/gateway/images/Window into winter webshot_thumb.jpg',130, 173,0, 0,'Shot through a ruined window at Fountain\'s Abbey in North Yorkshire.<br />\r\n<br />\r\nLimited edition of 30.','','','Fountain\'s Abbey North Yorkshire','','Limited edition of 30');
photos[99] = new photo(804435,'47984','web 75','gallery','http://www1.clikpic.com/gateway/images/open to possibility web.jpg',500,543,'Open to the possibility.','http://www1.clikpic.com/gateway/images/open to possibility web_thumb.jpg',130, 141,0, 0,'The lure of the flower, orchids holding forth their promise.','','','','','');
photos[100] = new photo(904890,'47984','web 100','gallery','http://www1.clikpic.com/gateway/images/glamour unfolding large_filtered web.jpg',500,667,'Unfolding glamour','http://www1.clikpic.com/gateway/images/glamour unfolding large_filtered web_thumb.jpg',130, 173,0, 1,'Amaryllis Flower unfolding like a dancers fan<br />\r\n<br />\r\nLimited edition of 15 prints','','','','','');
photos[101] = new photo(1108049,'47984','web 145','gallery','http://www1.clikpic.com/gateway/images/dance on the wind_web.jpg',500,329,'Dance on the wind','http://www1.clikpic.com/gateway/images/dance on the wind_web_thumb.jpg',130, 86,0, 0,'Ears of ripening harvest dance in the edge of the storms wind.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[102] = new photo(1108100,'47984','web 146','gallery','http://www1.clikpic.com/gateway/images/explosion of life_web.jpg',500,375,'Explosion of life.','http://www1.clikpic.com/gateway/images/explosion of life_web_thumb.jpg',130, 98,1, 1,'A Lilly explodes with the temptation of life.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[103] = new photo(1108300,'47984','150','gallery','http://www1.clikpic.com/gateway/images/waiting for the millstone_web.jpg',500,375,'Waiting for the millstone.','http://www1.clikpic.com/gateway/images/waiting for the millstone_web_thumb.jpg',130, 98,0, 1,'Slowly filling out in the wind and sun, soon to be the grist in the millstone of the waiting mill.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[104] = new photo(1280222,'47984','web 155','gallery','http://www1.clikpic.com/gateway/images/flight of the heart_web.jpg',500,375,'Flight of the heart','http://www1.clikpic.com/gateway/images/flight of the heart_web_thumb.jpg',130, 98,0, 0,'A calla lily flower takes on the look of a bird in flight.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[105] = new photo(1280259,'47984','web 157','gallery','http://www1.clikpic.com/gateway/images/hiding its glory_web.jpg',500,486,'Hiding it\'s glory.','http://www1.clikpic.com/gateway/images/hiding its glory_web_thumb.jpg',130, 126,0, 1,'The magic and sensuality of a calla lily flower.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[106] = new photo(1280298,'47984','web 161','gallery','http://www1.clikpic.com/gateway/images/like fireworks out of the dark_web.jpg',500,600,'Like fireworks out of the dark.','http://www1.clikpic.com/gateway/images/like fireworks out of the dark_web_thumb.jpg',130, 156,0, 0,'Calla lily flowers explode into the evening sun light.<br />\r\nLimited edition of 15 prints.','','','','','');
photos[107] = new photo(1280399,'47984','web 169','gallery','http://www1.clikpic.com/gateway/images/subtle awareness_web.jpg',500,486,'Subtle awareness.','http://www1.clikpic.com/gateway/images/subtle awareness_web_thumb.jpg',130, 126,0, 0,'A calla lily flower in a subtle light.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[108] = new photo(1282581,'47984','web 187','gallery','http://www1.clikpic.com/gateway/images/ballet of the followspot_web.jpg',500,409,'Ballet of the follow spot.','http://www1.clikpic.com/gateway/images/ballet of the followspot_web_thumb.jpg',130, 106,0, 1,'Like a pas de deux of light and dark, these calla lily flowers hold the follow spot on stage.<br />\r\n<br />\r\nLimited edition of 15 prints.','','','','','');
photos[109] = new photo(670790,'51070','web 61','gallery','http://www1.clikpic.com/gateway/images/Gothic arch webshot.jpg',500,667,'Gothic Arch','http://www1.clikpic.com/gateway/images/Gothic arch webshot_thumb.jpg',130, 173,1, 0,'The Gothic feel of the ruins of St. Mary\'s Abbey within the Museum Gardens in York, captured in the setting winter sun.<br />\r\nFeatured image in Olympus cameras E magazine competition<br />\r\n<br />\r\nLimited edition of 15 prints at 20 x 16','','','Museum Gardens in York','','');
photos[110] = new photo(670797,'51070','web 62','gallery','http://www1.clikpic.com/gateway/images/winter solstice wood 3264x2448 webshot.jpg',500,375,'Winter Solstice Wood','http://www1.clikpic.com/gateway/images/winter solstice wood 3264x2448 webshot_thumb.jpg',130, 98,0, 0,'A small wood in North Yorkshire with the light of the Winter Solstice sun coming through.<br />\r\n<br />\r\nLimited edition of 15 prints at 20x16','','','North Yorkshire','','');
photos[111] = new photo(670887,'51070','web 65','gallery','http://www1.clikpic.com/gateway/images/light dales_filtered webshot.jpg',500,375,'Light of the Dales','http://www1.clikpic.com/gateway/images/light dales_filtered webshot_thumb.jpg',130, 98,0, 0,'Rain, low cloud, fog, remains of lost lives clinging to the steep sides of the hill. Yorkshire Dales at their most magical.<br />\r\n<br />\r\nLimited edition of 15 prints at 20x16','','','North Yorkshire','','');
photos[112] = new photo(938383,'51070','web125','gallery','http://www1.clikpic.com/gateway/images/children all_filtered large web.jpg',500,375,'Children all','http://www1.clikpic.com/gateway/images/children all_filtered large web_thumb.jpg',130, 98,0, 1,'Robin Hood\'s Bay in N.Yorkshire bringing all ages together.<br />\r\n<br />\r\nLimited edition of 15 prints @ 20 x 16','','','','','');
photos[113] = new photo(996246,'74732','web 130','gallery','http://www1.clikpic.com/gateway/images/1920s dreaming large_filtered web.jpg',500,476,'1920\'s dreaming','http://www1.clikpic.com/gateway/images/1920s dreaming large_filtered web_thumb.jpg',130, 124,0, 1,'A moment of time recreated encapturing a time of new expression.<br />\r\n<br />\r\nLimited edition of 15 prints at 12 x 12.','','','','','');
photos[114] = new photo(996251,'74732','web 131','gallery','http://www1.clikpic.com/gateway/images/dreaming of gods vintage large_filtered web.jpg',500,667,'Dreaming of Gods','http://www1.clikpic.com/gateway/images/dreaming of gods vintage large_filtered web_thumb.jpg',130, 173,0, 1,'While the sleeper sleeps, the eye of the peacock watches out across the myths of time.<br />\r\n<br />\r\nLimited edition of 15 prints at 20 x 16','','','','','');
photos[115] = new photo(996254,'74732','web 132','gallery','http://www1.clikpic.com/gateway/images/eye of the sleeper vintage large_filtered web.jpg',500,375,'Dreaming of gods 2','http://www1.clikpic.com/gateway/images/eye of the sleeper vintage large_filtered web_thumb.jpg',130, 98,0, 1,'The rest of the sleeper, a private moment.<br />\r\n<br />\r\nLimited edition of 15 prints at 20x16','','','','','');
photos[116] = new photo(996258,'74732','web 133','gallery','http://www1.clikpic.com/gateway/images/spark in the eye vintage large_filtered web.jpg',500,375,'Spark in the eye.','http://www1.clikpic.com/gateway/images/spark in the eye vintage large_filtered web_thumb.jpg',130, 98,0, 1,'Portrait of the curves of the human face.<br />\r\n<br />\r\nLimited edition of 15 prints at 20x16','','','','','');
photos[117] = new photo(996264,'74732','web 134','gallery','http://www1.clikpic.com/gateway/images/falling into rest large_filtered web.jpg',500,375,'Falling into rest','http://www1.clikpic.com/gateway/images/falling into rest large_filtered web_thumb.jpg',130, 98,0, 0,'Movement and rest of the human form.<br />\r\n<br />\r\nLimited edition of 15 prints at 20x16','','','','','');
photos[118] = new photo(996268,'74732','web 135','gallery','http://www1.clikpic.com/gateway/images/catch of the eye infra large_filtered web.jpg',500,517,'Catch of the eye','http://www1.clikpic.com/gateway/images/catch of the eye infra large_filtered web_thumb.jpg',130, 134,0, 1,'The catch of the light in the human eye, half hidden behind a peacocks feathered lashes.<br />\r\n<br />\r\nLimited edition of 15 prints at 12x12','','','','','');
photos[119] = new photo(996289,'74732','web 137','gallery','http://www1.clikpic.com/gateway/images/lines of light sunburst vintage large_filtered web.jpg',500,559,'Lines of light','http://www1.clikpic.com/gateway/images/lines of light sunburst vintage large_filtered web_thumb.jpg',130, 145,0, 1,'A nod towards the experimentation of early photography and the capture of the human form.<br />\r\n<br />\r\nLimited edition of 15 prints at 12x12','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(110141,'1625388,1624802,1624693,1624613','Abstraction of lines','gallery');
galleries[1] = new gallery(127724,'1904195,1904194,1904177,1904175,1904170','Dancing Light series','gallery');
galleries[2] = new gallery(141337,'2125825,2125815,2125808,2125797,2125788,2125763','Death of a fashion victim series','gallery');
galleries[3] = new gallery(135499,'2021902,2021894,2021881,2021875,2021830','Images of York','gallery');
galleries[4] = new gallery(170826,'2711540,2711524,2711507,2711495,2711445,2711440,2711432','Window Series','gallery');
galleries[5] = new gallery(47979,'1625407,1625404,1281340,1281339,1280415,1280391,1280379,1280291,1280199,1108214,1108052,938423,938368,904905,627608','Landscapes','gallery');
galleries[6] = new gallery(47982,'2239337,2239329,2239269,2239251,2239230,2239221,2239208,2239173,1625495,1281317,1281309,1108290,904939,904900,904893,627646','Urban','gallery');
galleries[7] = new gallery(47983,'2239187,627921','Seascapes','gallery');
galleries[8] = new gallery(47984,'1282581,1280259,1108300,1108100,904890','Nature','gallery');
galleries[9] = new gallery(51070,'938383','Digital art','gallery');
galleries[10] = new gallery(74732,'996289,996268,996258,996254,996251,996246','Of human nature','gallery');

