/***************************************************************************
* 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('3720714,3720710,3720708,3720701,3636540,3636469,3527823,3527801,3527780,3527761,3513006,3512996,3512987,3512981,3512978,2385589,2385566,2385525,2385470,2385465,2385463,2385460,2385447,2180490,2161273,2161266,2128081,2128080,2032998,2032954,2022682,2022681,2022677,2009644,2009632,2009628,1998917,1998912,1998415,1983022,1983005,1982821,1982812,1982809,1982784,1960215,1960213,1960207,1960202,1960199');
	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('3720714,3720710,3720708,3720701,3636540,3636469,3527823,3527801,3527780,3527761,3513006,3512996,3512987,3512981,3512978,2385589,2385566,2385525,2385470,2385465,2385463,2385460,2385447,2180490,2161273,2161266,2128081,2128080,2032998,2032954,2022682,2022681,2022677,2009644,2009632,2009628,1998917,1998912,1998415,1983022,1983005,1982821,1982812,1982809,1982784,1960215,1960213,1960207,1960202,1960199');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if ('gallery' != '') {
						if (photos[j].galleries_id != '') {
						document.write('<a href="' + photos[j].section_code + '_' + photos[j].galleries_id + '.html">');
						}
						else {
						document.write('<a href="gallery.html">');
						}
			}
			document.write('<img src="' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			if ('gallery' != '') {
				document.write('</a>');
			}
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !((1) || (1))) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
									document.title = 'a johnson: ' + 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(1954364,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Stormin-2007-045ab.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Stormin-2007-045ab_thumb.jpg',130, 130,0, 0,'Prognosis','31/08/07','A Johnson','Stormn\' the Castle','','');
photos[1] = new photo(1954367,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Stormin-2007-065ba.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Stormin-2007-065ba_thumb.jpg',130, 130,0, 0,'Twango Bango Deluxe','31/08/07','A Johnson','Stormn\' the Castle','','');
photos[2] = new photo(1954371,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Stormin-2007-071ab.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Stormin-2007-071ab_thumb.jpg',130, 130,0, 0,'Twango Bango Deluxe','31/08/07','A Johnson','Stormn\' the Castle','','');
photos[3] = new photo(1954373,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Stormin-2007-078a.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Stormin-2007-078a_thumb.jpg',130, 130,0, 0,'Skinflint','31/08/07','A Johnson','Stormn\' the Castle','','');
photos[4] = new photo(1954374,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Stormin-2007-114a.jpg',491,500,'','http://www3.clikpic.com/aejohnson/images/Stormin-2007-114a_thumb.jpg',130, 132,0, 0,'Doc Brown & The Groovecats','31/08/07','A Johnson','Stormn\' the Castle','','');
photos[5] = new photo(1954357,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Rock-&-Blues-2007-027a.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Rock-&-Blues-2007-027a_thumb.jpg',130, 130,0, 0,'The Cathouse Creepers','25/07/07','A Johnson','Derbyshire Rock & Blues','','');
photos[6] = new photo(1954362,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Rock-&-Blues-2007-059a.jpg',500,497,'','http://www3.clikpic.com/aejohnson/images/Rock-&-Blues-2007-059a_thumb.jpg',130, 129,0, 0,'','25/07/07','A johnson','Derbyshire Rock & Blues','','');
photos[7] = new photo(1982784,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Photos-1-012a.jpg',333,500,'','http://www3.clikpic.com/aejohnson/images/Photos-1-012a_thumb.jpg',130, 195,0, 0,'This is Ms Pproduct from the band AntiProduct, taken at the Derbyshire Rock & Blues in 2007.','','A Johnson','','','');
photos[8] = new photo(1982809,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Sounds-2007-080a.jpg',333,500,'','http://www3.clikpic.com/aejohnson/images/Sounds-2007-080a_thumb.jpg',130, 195,0, 0,'The Blind Boys Of Richmond, taken at Sounds in the Grounds, near Richmond Yorkshire, in 2007.','','A Johnson','Sounds in the Grounds','','');
photos[9] = new photo(1982812,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Sounds-2007-102ab.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Sounds-2007-102ab_thumb.jpg',130, 130,0, 0,'','','A Johnson','Sounds in the Grounds','','');
photos[10] = new photo(1982821,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Sounds-2007-229a.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Sounds-2007-229a_thumb.jpg',130, 130,0, 0,'16 Minutes,at Sounds in the Grounds near Richmond Yorkshire in 2007.','','A Johnson','Sounds in the Grounds','','');
photos[11] = new photo(2385447,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gilling-08-011a.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Gilling-08-011a_thumb.jpg',130, 87,0, 0,'This is the Blind Boys of Richmond. Taken in 2008  at the Gilling festival near Richmond in Yorkshire.','','A Johnson','Richmond Yorkshire','','');
photos[12] = new photo(2385460,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gilling-08-246a3.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Gilling-08-246a3_thumb.jpg',130, 87,0, 0,'The Spirit Levellers<br>\r\nTaken in 2008 at The Gilling Festival near Richmond','','A Johnson','','','');
photos[13] = new photo(2385463,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gillingph-man4.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Gillingph-man4_thumb.jpg',130, 130,0, 0,'The Spirit Levellers','','A Johnson','','','');
photos[14] = new photo(2385465,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gillingph-man3.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Gillingph-man3_thumb.jpg',130, 130,0, 0,'The Spirit Levellers','','A Johnson','','','');
photos[15] = new photo(2385470,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gillingph-man5.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Gillingph-man5_thumb.jpg',130, 130,0, 0,'Glider<br>\r\nTaken in 2008 at the Gilling Festival near Richmond Yorkshire','','A Johnson','','','');
photos[16] = new photo(2385525,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gillingph-man6.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Gillingph-man6_thumb.jpg',130, 130,0, 0,'Glider<br>\r\nTaken at the Gilling Festival','','A Johnson','','','');
photos[17] = new photo(2385566,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gillingph-man-6.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Gillingph-man-6_thumb.jpg',130, 130,0, 0,'Glider<br>\r\nTaken at the Gilling Festival in 2008','','A Johnson','','','');
photos[18] = new photo(2385589,'131236','','gallery','http://www3.clikpic.com/aejohnson/images/Gilling-08-749a3.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Gilling-08-749a3_thumb.jpg',130, 87,0, 0,'Glider<br>\r\nTaken at the Gilling Festival in 2008','','A Johnson','','','');
photos[19] = new photo(2161273,'131733','Rod 14','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County2007-131-.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County2007-131-_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','15/09/07','A Johnson','','','');
photos[20] = new photo(1960199,'131733','Rod 01','gallery','http://www3.clikpic.com/aejohnson/images/rod01.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/rod01_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[21] = new photo(1960202,'131733','Rod 02','gallery','http://www3.clikpic.com/aejohnson/images/rod02.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/rod02_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[22] = new photo(1960207,'131733','Rod 03','gallery','http://www3.clikpic.com/aejohnson/images/ShakespeareRaceway-2007.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/ShakespeareRaceway-2007_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[23] = new photo(1960213,'131733','Rod 05','gallery','http://www3.clikpic.com/aejohnson/images/aceway-2007.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/aceway-2007_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[24] = new photo(1960215,'131733','Rod 07','gallery','http://www3.clikpic.com/aejohnson/images/A4Shakespeare-Raceway-2007-.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/A4Shakespeare-Raceway-2007-_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[25] = new photo(2009628,'131733','Rod 06','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County2007-a.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County2007-a_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[26] = new photo(2009632,'131733','Rod 04','gallery','http://www3.clikpic.com/aejohnson/images/A3-Shakespeare-Raceway-20071.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/A3-Shakespeare-Raceway-20071_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[27] = new photo(2022677,'131733','Rod 08','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-101.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-101_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[28] = new photo(2022681,'131733','Rod 09','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County--2007-10.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County--2007-10_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[29] = new photo(2022682,'131733','Rod 10','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County--2007-11.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County--2007-11_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[30] = new photo(2032954,'131733','Rod 11','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-121.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-121_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[31] = new photo(2128080,'131733','Rod 12','gallery','http://www3.clikpic.com/aejohnson/images/Raceway-2007-022-A4.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Raceway-2007-022-A4_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[32] = new photo(2128081,'131733','Rod 13','gallery','http://www3.clikpic.com/aejohnson/images/Rod-2007-002-A31.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Rod-2007-002-A31_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[33] = new photo(1954186,'130059','Tyne 01','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-129b.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-129b_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','16/03/08','A Johnson','Tyneside','','');
photos[34] = new photo(1983005,'130059','Tyne 03','gallery','http://www3.clikpic.com/aejohnson/images/Morpeth-060a.jpg',333,500,'','http://www3.clikpic.com/aejohnson/images/Morpeth-060a_thumb.jpg',130, 195,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','Newcastle Upon Tyne','','');
photos[35] = new photo(1983022,'130059','Tyne 04','gallery','http://www3.clikpic.com/aejohnson/images/Tynemouth-015aA3.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Tynemouth-015aA3_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','North Shields Tyneside','','');
photos[36] = new photo(1998415,'130059','Tyne 05','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-137aA3.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-137aA3_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','Tyneside','','');
photos[37] = new photo(2009644,'130059','Tyne 06','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-072aA3.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-072aA3_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','Tyneside','','');
photos[38] = new photo(2032998,'130059','Tyne 07','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-088-A4-C.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-088-A4-C_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[39] = new photo(3527761,'130059','09','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-034-A32.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-034-A32_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[40] = new photo(3527780,'130059','10','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-063-A31.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-063-A31_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[41] = new photo(3527801,'130059','11','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-033-A3B2.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-033-A3B2_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[42] = new photo(3527823,'130059','08','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-071A42.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-3-071A42_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[43] = new photo(3720701,'130059','Tyne 12','gallery','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-009a.jpg',580,388,'','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-009a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery','','A Johnson','','','');
photos[44] = new photo(3720708,'130059','Tyne 13','gallery','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-013d.jpg',580,387,'','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-013d_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery','','A Johnson','','','');
photos[45] = new photo(3720710,'130059','','gallery','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-015.jpg',580,388,'','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-015_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery','','A Johnson','','','');
photos[46] = new photo(3720714,'130059','Tyne 14','gallery','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-017.jpg',580,580,'','http://admin.clikpic.com/aejohnson/images/A4-Newcasrle-017_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery','','A Johnson','','','');
photos[47] = new photo(1943340,'130059','Tyne 02','gallery','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-052aclik.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Swan-Hunter-052aclik_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','04/03/08','A Johnson','Newcastle on Tyne','','');
photos[48] = new photo(1950796,'130092','DR 01','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-Raceway-.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-Raceway-_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','15/09/07','A Johnson','','','');
photos[49] = new photo(1950820,'130092','DR 02','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-b.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-b_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','15/09/07','A Johnson','','','');
photos[50] = new photo(2161266,'130092','DR 12','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-045.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-2007-045_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','15/09/07','A Johnson','','','');
photos[51] = new photo(1946494,'130092','DR 03','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-069a.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-069a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','07/04/07','A Johnson','','','');
photos[52] = new photo(1950719,'130092','DR 04','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-095.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-095_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','07/04/07','A Johnson','','','');
photos[53] = new photo(1950725,'130092','DR 05','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-150aclik.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-150aclik_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','07/04/07','A Johnson','','','');
photos[54] = new photo(1950791,'130092','DR 06','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-a1.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-County-a1_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','07/04/07','A Johnson','','','');
photos[55] = new photo(1946503,'130092','DR 07','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-019aclik2.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-019aclik2_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','06/04/07','A Johnson','','','');
photos[56] = new photo(1946511,'130092','DR 08','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-121clik.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-121clik_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','06/04/07','A Johnson','','','');
photos[57] = new photo(1998912,'130092','DR 10','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-004A3.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-004A3_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[58] = new photo(1998917,'130092','DR 11','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-023.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-023_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[59] = new photo(2180490,'130092','DR 13','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-054-A3.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-2-054-A3_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[60] = new photo(3512981,'130092','DR 16','gallery','http://admin.clikpic.com/aejohnson/images/Santa-Pod-1-070a.jpg',580,387,'','http://admin.clikpic.com/aejohnson/images/Santa-Pod-1-070a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[61] = new photo(3512987,'130092','DR 17','gallery','http://admin.clikpic.com/aejohnson/images/A3-Santa-Pod-1-076a.jpg',580,387,'','http://admin.clikpic.com/aejohnson/images/A3-Santa-Pod-1-076a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[62] = new photo(3512996,'130092','DR 18','gallery','http://admin.clikpic.com/aejohnson/images/Santa-Pod-1-081-copy.jpg',580,387,'','http://admin.clikpic.com/aejohnson/images/Santa-Pod-1-081-copy_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[63] = new photo(3636469,'130092','DR 20','gallery','http://www3.clikpic.com/aejohnson/images/Shakespeare-ab.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/Shakespeare-ab_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[64] = new photo(3636540,'130092','DR 21','gallery','http://www3.clikpic.com/aejohnson/images/A3-Shakespeare2007-145.jpg',625,417,'','http://www3.clikpic.com/aejohnson/images/A3-Shakespeare2007-145_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[65] = new photo(1946489,'130092','DR 09','gallery','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-119aclik.jpg',500,500,'','http://www3.clikpic.com/aejohnson/images/Santa-Pod-1-119aclik_thumb.jpg',130, 130,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','07/04/07','A Johnson','','','');
photos[66] = new photo(3512978,'130092','DR 15','gallery','http://www3.clikpic.com/aejohnson/images/A3-Santa-Pod-1-069a.jpg',580,387,'','http://www3.clikpic.com/aejohnson/images/A3-Santa-Pod-1-069a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');
photos[67] = new photo(3513006,'130092','DR 19','gallery','http://www3.clikpic.com/aejohnson/images/A3-Santa-Pod-1-108a.jpg',580,387,'','http://www3.clikpic.com/aejohnson/images/A3-Santa-Pod-1-108a_thumb.jpg',130, 87,0, 0,'If you would like to buy this print simply click on the buying options on the left of the screen.<br>\r\nPlease be sure to choose a size that is relevant to the print that you wish to purchase<br>\r\neg  a square print can only be bought as a 12in x 12in or an 8in x 8in<br>\r\nAll sizes include a white border to allow for mounting.<br>\r\nAll prices include post and packing.<br>\r\nPlease allow 21 days for delivery.','','A Johnson','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(131236,'2385589,2385566,2385525,2385470,2385465,2385463,2385460,2385447,1982821,1982812','Bands','gallery');
galleries[1] = new gallery(131733,'2161273,2128081,2128080,2032954,2022682,2022681,2022677,2009632,2009628,1960215','Hot Rods','gallery');
galleries[2] = new gallery(130059,'3720714,3720710,3720708,3720701,3527823,3527801,3527780,3527761,2032998,2009644','Tyneside','gallery');
galleries[3] = new gallery(130092,'3636540,3636469,3513006,3512996,3512987,3512981,3512978,2180490,2161266,1998917','Drag Racing','gallery');

