/***************************************************************************
* 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('3944365,3944364,3944358,3944357,3944356,3944355,3944354,3944353,3944352,3944350,3944348,3944342,3944341,3944340,3944339,3944338,3944337,3944336,3944334,3944333,3944332,3944331,3944330,3944323,3944321,3944319,3944318,3944317,3944311,3944310,3944308,3944293,3944292,3944291,3944290,3944289,3944288,3944287,3944286,3944285,3944283,3944281,3944280,3944278,3944271,3944082,3944077,3944075,3944073,3944043');
	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('3944365,3944364,3944358,3944357,3944356,3944355,3944354,3944353,3944352,3944350,3944348,3944342,3944341,3944340,3944339,3944338,3944337,3944336,3944334,3944333,3944332,3944331,3944330,3944323,3944321,3944319,3944318,3944317,3944311,3944310,3944308,3944293,3944292,3944291,3944290,3944289,3944288,3944287,3944286,3944285,3944283,3944281,3944280,3944278,3944271,3944082,3944077,3944075,3944073,3944043');
	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 && !((0) || (0))) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
									document.title = 'Malcolm J Matthews: ' + 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(3944043,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9999.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9999_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[1] = new photo(3944073,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0001.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0001_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[2] = new photo(3944075,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0002.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0002_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[3] = new photo(3944077,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0003.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0003_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[4] = new photo(3944082,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0004.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0004_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[5] = new photo(3944271,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0005.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0005_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[6] = new photo(3944278,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0006.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0006_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[7] = new photo(3944280,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0007.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0007_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[8] = new photo(3944281,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0008.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP0008_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[9] = new photo(3944283,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9958.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9958_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[10] = new photo(3944285,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9959.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9959_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[11] = new photo(3944286,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9960.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9960_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[12] = new photo(3944287,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9961.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9961_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[13] = new photo(3944288,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9962.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9962_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[14] = new photo(3944289,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9963.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9963_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[15] = new photo(3944290,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9964.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9964_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[16] = new photo(3944291,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9965.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9965_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[17] = new photo(3944292,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9966.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9966_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[18] = new photo(3944293,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9967.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9967_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[19] = new photo(3944308,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9968.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9968_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[20] = new photo(3944310,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9969.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9969_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[21] = new photo(3944311,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9971.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9971_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[22] = new photo(3944317,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99701.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99701_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[23] = new photo(3944318,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9972.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9972_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[24] = new photo(3944319,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9973.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9973_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[25] = new photo(3944321,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99741.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99741_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[26] = new photo(3944323,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99751.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP99751_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[27] = new photo(3944330,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9976.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9976_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[28] = new photo(3944331,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9977.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9977_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[29] = new photo(3944332,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9978.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9978_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[30] = new photo(3944333,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9979.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9979_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[31] = new photo(3944334,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9980.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9980_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[32] = new photo(3944336,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9981.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9981_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[33] = new photo(3944337,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9982.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9982_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[34] = new photo(3944338,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9983.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9983_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[35] = new photo(3944339,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9984.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9984_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[36] = new photo(3944340,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9985.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9985_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[37] = new photo(3944341,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9986.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9986_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[38] = new photo(3944342,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9987.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9987_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[39] = new photo(3944348,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9988.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9988_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[40] = new photo(3944350,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9989.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9989_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[41] = new photo(3944352,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9990.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9990_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[42] = new photo(3944353,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9991.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9991_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[43] = new photo(3944354,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9992.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9992_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[44] = new photo(3944355,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9993.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9993_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[45] = new photo(3944356,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9994.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9994_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[46] = new photo(3944357,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9995.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9995_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[47] = new photo(3944358,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9996.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9996_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[48] = new photo(3944364,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9997.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9997_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[49] = new photo(3944365,'239173','','gallery','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9998.jpg',500,414,'','http://admin.clikpic.com/malcolmjmatthews/images/IMGP9998_thumb.jpg',130, 108,0, 0,'','','','','','');
photos[50] = new photo(2066427,'112208','001','gallery','http://www3.clikpic.com/malcolmjmatthews/images/0012.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/0012_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[51] = new photo(2066428,'112208','002','gallery','http://www3.clikpic.com/malcolmjmatthews/images/0022.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/0022_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[52] = new photo(2066430,'112208','003','gallery','http://www3.clikpic.com/malcolmjmatthews/images/0031.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/0031_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[53] = new photo(2066431,'112208','004','gallery','http://www3.clikpic.com/malcolmjmatthews/images/0042.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/0042_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[54] = new photo(2066433,'112208','005','gallery','http://www3.clikpic.com/malcolmjmatthews/images/005.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/005_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[55] = new photo(2066435,'112208','006','gallery','http://www3.clikpic.com/malcolmjmatthews/images/006.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/006_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[56] = new photo(2066436,'112208','007','gallery','http://www3.clikpic.com/malcolmjmatthews/images/007.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/007_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[57] = new photo(2066437,'112208','008','gallery','http://www3.clikpic.com/malcolmjmatthews/images/008.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/008_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[58] = new photo(2066439,'112208','009','gallery','http://www3.clikpic.com/malcolmjmatthews/images/009.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/009_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[59] = new photo(2066505,'112208','010','gallery','http://www3.clikpic.com/malcolmjmatthews/images/010.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/010_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[60] = new photo(2066547,'112208','011','gallery','http://www3.clikpic.com/malcolmjmatthews/images/011.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/011_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[61] = new photo(2066549,'112208','012','gallery','http://www3.clikpic.com/malcolmjmatthews/images/012.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/012_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[62] = new photo(2066551,'112208','013','gallery','http://www3.clikpic.com/malcolmjmatthews/images/013.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/013_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[63] = new photo(2066556,'112208','014','gallery','http://www3.clikpic.com/malcolmjmatthews/images/014.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/014_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[64] = new photo(2066557,'112208','015','gallery','http://www3.clikpic.com/malcolmjmatthews/images/015.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/015_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[65] = new photo(2066571,'112208','016','gallery','http://www3.clikpic.com/malcolmjmatthews/images/016.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/016_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[66] = new photo(2066609,'112208','017','gallery','http://www3.clikpic.com/malcolmjmatthews/images/017.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/017_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[67] = new photo(2066611,'112208','018','gallery','http://www3.clikpic.com/malcolmjmatthews/images/018.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/018_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[68] = new photo(2066612,'112208','019','gallery','http://www3.clikpic.com/malcolmjmatthews/images/019.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/019_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[69] = new photo(2066615,'112208','020','gallery','http://www3.clikpic.com/malcolmjmatthews/images/020.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/020_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[70] = new photo(2066617,'112208','021','gallery','http://www3.clikpic.com/malcolmjmatthews/images/021.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/021_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[71] = new photo(2066619,'112208','022','gallery','http://www3.clikpic.com/malcolmjmatthews/images/022.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/022_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[72] = new photo(2066620,'112208','023','gallery','http://www3.clikpic.com/malcolmjmatthews/images/023.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/023_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[73] = new photo(2066622,'112208','024','gallery','http://www3.clikpic.com/malcolmjmatthews/images/024.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/024_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[74] = new photo(2066624,'112208','025','gallery','http://www3.clikpic.com/malcolmjmatthews/images/025.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/025_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[75] = new photo(2066625,'112208','026','gallery','http://www3.clikpic.com/malcolmjmatthews/images/026.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/026_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[76] = new photo(2066627,'112208','027','gallery','http://www3.clikpic.com/malcolmjmatthews/images/027.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/027_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[77] = new photo(2066628,'112208','028','gallery','http://www3.clikpic.com/malcolmjmatthews/images/028.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/028_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[78] = new photo(2066629,'112208','029','gallery','http://www3.clikpic.com/malcolmjmatthews/images/029.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/029_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[79] = new photo(2066630,'112208','030','gallery','http://www3.clikpic.com/malcolmjmatthews/images/030.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/030_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[80] = new photo(2066632,'112208','031','gallery','http://www3.clikpic.com/malcolmjmatthews/images/031.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/031_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[81] = new photo(2066633,'112208','032','gallery','http://www3.clikpic.com/malcolmjmatthews/images/032.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/032_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[82] = new photo(2066634,'112208','033','gallery','http://www3.clikpic.com/malcolmjmatthews/images/033.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/033_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[83] = new photo(2066636,'112208','034','gallery','http://www3.clikpic.com/malcolmjmatthews/images/034.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/034_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[84] = new photo(2066638,'112208','035','gallery','http://www3.clikpic.com/malcolmjmatthews/images/035.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/035_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[85] = new photo(2066640,'112208','036','gallery','http://www3.clikpic.com/malcolmjmatthews/images/036.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/036_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[86] = new photo(2066642,'112208','037','gallery','http://www3.clikpic.com/malcolmjmatthews/images/037.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/037_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[87] = new photo(2066644,'112208','038','gallery','http://www3.clikpic.com/malcolmjmatthews/images/038.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/038_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[88] = new photo(2066645,'112208','039','gallery','http://www3.clikpic.com/malcolmjmatthews/images/039.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/039_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[89] = new photo(2066647,'112208','040','gallery','http://www3.clikpic.com/malcolmjmatthews/images/040.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/040_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[90] = new photo(2066649,'112208','041','gallery','http://www3.clikpic.com/malcolmjmatthews/images/041.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/041_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[91] = new photo(2066651,'112208','042','gallery','http://www3.clikpic.com/malcolmjmatthews/images/042.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/042_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[92] = new photo(2066656,'112208','043','gallery','http://www3.clikpic.com/malcolmjmatthews/images/043.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/043_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[93] = new photo(2066657,'112208','044','gallery','http://www3.clikpic.com/malcolmjmatthews/images/044.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/044_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[94] = new photo(2066659,'112208','045','gallery','http://www3.clikpic.com/malcolmjmatthews/images/045.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/045_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[95] = new photo(2066661,'112208','046','gallery','http://www3.clikpic.com/malcolmjmatthews/images/046.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/046_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[96] = new photo(2066662,'112208','047','gallery','http://www3.clikpic.com/malcolmjmatthews/images/047.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/047_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[97] = new photo(2066664,'112208','048','gallery','http://www3.clikpic.com/malcolmjmatthews/images/048.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/048_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[98] = new photo(2066668,'112208','049','gallery','http://www3.clikpic.com/malcolmjmatthews/images/049.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/049_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[99] = new photo(2066670,'112208','050','gallery','http://www3.clikpic.com/malcolmjmatthews/images/050.jpg',500,404,'','http://www3.clikpic.com/malcolmjmatthews/images/050_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[100] = new photo(2068520,'112208','051','gallery','http://www3.clikpic.com/malcolmjmatthews/images/051.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/051_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[101] = new photo(2068521,'112208','052','gallery','http://www3.clikpic.com/malcolmjmatthews/images/052.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/052_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[102] = new photo(2068522,'112208','053','gallery','http://www3.clikpic.com/malcolmjmatthews/images/053.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/053_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[103] = new photo(2068524,'112208','054','gallery','http://www3.clikpic.com/malcolmjmatthews/images/054.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/054_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[104] = new photo(2068525,'112208','055','gallery','http://www3.clikpic.com/malcolmjmatthews/images/055.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/055_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[105] = new photo(2068526,'112208','056','gallery','http://www3.clikpic.com/malcolmjmatthews/images/056.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/056_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[106] = new photo(2068527,'112208','057','gallery','http://www3.clikpic.com/malcolmjmatthews/images/057.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/057_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[107] = new photo(2068528,'112208','058','gallery','http://www3.clikpic.com/malcolmjmatthews/images/058.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/058_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[108] = new photo(2068529,'112208','059','gallery','http://www3.clikpic.com/malcolmjmatthews/images/059.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/059_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[109] = new photo(2068530,'112208','060','gallery','http://www3.clikpic.com/malcolmjmatthews/images/060.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/060_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[110] = new photo(2068531,'112208','061','gallery','http://www3.clikpic.com/malcolmjmatthews/images/061.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/061_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[111] = new photo(2068532,'112208','062','gallery','http://www3.clikpic.com/malcolmjmatthews/images/062.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/062_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[112] = new photo(2068533,'112208','063','gallery','http://www3.clikpic.com/malcolmjmatthews/images/063.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/063_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[113] = new photo(2068534,'112208','064','gallery','http://www3.clikpic.com/malcolmjmatthews/images/064.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/064_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[114] = new photo(2068535,'112208','065','gallery','http://www3.clikpic.com/malcolmjmatthews/images/065.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/065_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[115] = new photo(2068537,'112208','066','gallery','http://www3.clikpic.com/malcolmjmatthews/images/066.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/066_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[116] = new photo(2068538,'112208','067','gallery','http://www3.clikpic.com/malcolmjmatthews/images/067.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/067_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[117] = new photo(2068539,'112208','068','gallery','http://www3.clikpic.com/malcolmjmatthews/images/068.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/068_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[118] = new photo(2068540,'112208','069','gallery','http://www3.clikpic.com/malcolmjmatthews/images/069.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/069_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[119] = new photo(2068541,'112208','070','gallery','http://www3.clikpic.com/malcolmjmatthews/images/070.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/070_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[120] = new photo(2068542,'112208','071','gallery','http://www3.clikpic.com/malcolmjmatthews/images/071.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/071_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[121] = new photo(2068543,'112208','072','gallery','http://www3.clikpic.com/malcolmjmatthews/images/072.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/072_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[122] = new photo(2068544,'112208','073','gallery','http://www3.clikpic.com/malcolmjmatthews/images/073.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/073_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[123] = new photo(2068545,'112208','074','gallery','http://www3.clikpic.com/malcolmjmatthews/images/074.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/074_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[124] = new photo(2068546,'112208','075','gallery','http://www3.clikpic.com/malcolmjmatthews/images/075.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/075_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[125] = new photo(2068547,'112208','076','gallery','http://www3.clikpic.com/malcolmjmatthews/images/076.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/076_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[126] = new photo(2068548,'112208','077','gallery','http://www3.clikpic.com/malcolmjmatthews/images/077.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/077_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[127] = new photo(2068549,'112208','078','gallery','http://www3.clikpic.com/malcolmjmatthews/images/078.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/078_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[128] = new photo(2068550,'112208','079','gallery','http://www3.clikpic.com/malcolmjmatthews/images/079.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/079_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[129] = new photo(2068551,'112208','080','gallery','http://www3.clikpic.com/malcolmjmatthews/images/080.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/080_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[130] = new photo(2068552,'112208','081','gallery','http://www3.clikpic.com/malcolmjmatthews/images/081.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/081_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[131] = new photo(2068553,'112208','082','gallery','http://www3.clikpic.com/malcolmjmatthews/images/082.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/082_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[132] = new photo(2068554,'112208','083','gallery','http://www3.clikpic.com/malcolmjmatthews/images/083.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/083_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[133] = new photo(2068555,'112208','085','gallery','http://www3.clikpic.com/malcolmjmatthews/images/085.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/085_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[134] = new photo(2068556,'112208','085','gallery','http://www3.clikpic.com/malcolmjmatthews/images/0851.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/0851_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[135] = new photo(2068557,'112208','086','gallery','http://www3.clikpic.com/malcolmjmatthews/images/086.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/086_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[136] = new photo(2068558,'112208','087','gallery','http://www3.clikpic.com/malcolmjmatthews/images/087.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/087_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[137] = new photo(2068559,'112208','088','gallery','http://www3.clikpic.com/malcolmjmatthews/images/088.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/088_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[138] = new photo(2068560,'112208','089','gallery','http://www3.clikpic.com/malcolmjmatthews/images/089.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/089_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[139] = new photo(2068561,'112208','090','gallery','http://www3.clikpic.com/malcolmjmatthews/images/090.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/090_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[140] = new photo(2068562,'112208','091','gallery','http://www3.clikpic.com/malcolmjmatthews/images/091.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/091_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[141] = new photo(2068563,'112208','092','gallery','http://www3.clikpic.com/malcolmjmatthews/images/092.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/092_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[142] = new photo(2068564,'112208','093','gallery','http://www3.clikpic.com/malcolmjmatthews/images/093.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/093_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[143] = new photo(2068565,'112208','094','gallery','http://www3.clikpic.com/malcolmjmatthews/images/094.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/094_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[144] = new photo(2068567,'112208','095','gallery','http://www3.clikpic.com/malcolmjmatthews/images/095.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/095_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[145] = new photo(2068568,'112208','096','gallery','http://www3.clikpic.com/malcolmjmatthews/images/096.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/096_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[146] = new photo(2068570,'112208','097','gallery','http://www3.clikpic.com/malcolmjmatthews/images/097.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/097_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[147] = new photo(2068571,'112208','098','gallery','http://www3.clikpic.com/malcolmjmatthews/images/098.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/098_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[148] = new photo(2068573,'112208','099','gallery','http://www3.clikpic.com/malcolmjmatthews/images/099.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/099_thumb.JPG',130, 110,0, 0,'','','','','','');
photos[149] = new photo(2068574,'112208','100','gallery','http://www3.clikpic.com/malcolmjmatthews/images/100.JPG',500,423,'','http://www3.clikpic.com/malcolmjmatthews/images/100_thumb.JPG',130, 110,0, 0,'','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(239173,'3944365,3944364,3944358,3944357,3944356,3944355,3944354,3944353,3944352,3944350','New Gallery','gallery');
galleries[1] = new gallery(112208,'2068574,2068573,2068571,2068570,2068568,2068567,2068565,2068564,2068563,2068562','Main Gallery','gallery');

