/***************************************************************************
* 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('3646307,3646302,3645428,3645427,3645425,3645423,3645415,3645327,3645323,3645133,2403611,2403603,2403590,2403444,2403386,2403209,2403003,2402930,1289905,1289872,995393');
	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('3646307,3646302,3645428,3645427,3645425,3645423,3645415,3645327,3645323,3645133,2403611,2403603,2403590,2403444,2403386,2403209,2403003,2402930,1289905,1289872,995393');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if ('gallery' != '') {
						if (photos[j].galleries_id != '') {
						document.write('<a href="' + photos[j].section_code + '_' + photos[j].galleries_id + '.html">');
						}
						else {
						document.write('<a href="gallery.html">');
						}
			}
			document.write('<img src="' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			if ('gallery' != '') {
				document.write('</a>');
			}
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !((1) || (0))) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
									document.title = 'FALCONRYPHOTOS: ' + 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(2402930,'','','','http://www1.clikpic.com/trotterian/images/arwen9974.jpg',600,429,'','http://www1.clikpic.com/trotterian/images/arwen9974_thumb.jpg',130, 93,1, 1,'','','','','','');
photos[1] = new photo(2402938,'155683','','gallery','http://www1.clikpic.com/trotterian/images/cast kill9744.jpg',600,486,'','http://www1.clikpic.com/trotterian/images/cast kill9744_thumb.jpg',130, 105,0, 0,'','','','','','');
photos[2] = new photo(2402942,'155683','','gallery','http://www1.clikpic.com/trotterian/images/first pheasant kill5656-01.jpg',600,399,'','http://www1.clikpic.com/trotterian/images/first pheasant kill5656-01_thumb.jpg',130, 86,0, 0,'','','','','','');
photos[3] = new photo(2402950,'155683','','gallery','http://www1.clikpic.com/trotterian/images/rabbit kill6260.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/rabbit kill6260_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[4] = new photo(2402951,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V0013 (1).jpg',600,420,'','http://www1.clikpic.com/trotterian/images/VP9V0013 (1)_thumb.jpg',130, 91,0, 0,'','','','','','');
photos[5] = new photo(2402952,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V0236.jpg',600,581,'','http://www1.clikpic.com/trotterian/images/VP9V0236_thumb.jpg',130, 126,0, 0,'','','','','','');
photos[6] = new photo(2403003,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1435.jpg',600,462,'','http://www1.clikpic.com/trotterian/images/VP9V1435_thumb.jpg',130, 100,1, 0,'','','','','','');
photos[7] = new photo(2403055,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1443-01.jpg',600,399,'','http://www1.clikpic.com/trotterian/images/VP9V1443-01_thumb.jpg',130, 86,0, 0,'','','','','','');
photos[8] = new photo(2403209,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1546-01.jpg',600,404,'','http://www1.clikpic.com/trotterian/images/VP9V1546-01_thumb.jpg',130, 88,1, 0,'','','','','','');
photos[9] = new photo(2403386,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1608-01.jpg',600,573,'','http://www1.clikpic.com/trotterian/images/VP9V1608-01_thumb.jpg',130, 124,1, 0,'','','','','','');
photos[10] = new photo(2403429,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V2957.jpg',600,468,'','http://www1.clikpic.com/trotterian/images/VP9V2957_thumb.jpg',130, 101,0, 0,'','','','','','');
photos[11] = new photo(2403430,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3372.jpg',600,388,'','http://www1.clikpic.com/trotterian/images/VP9V3372_thumb.jpg',130, 84,0, 0,'','','','','','');
photos[12] = new photo(2403432,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3459.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V3459_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[13] = new photo(2403434,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3856.jpg',600,443,'','http://www1.clikpic.com/trotterian/images/VP9V3856_thumb.jpg',130, 96,0, 0,'','','','','','');
photos[14] = new photo(2403436,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3857.jpg',600,476,'','http://www1.clikpic.com/trotterian/images/VP9V3857_thumb.jpg',130, 103,0, 0,'','','','','','');
photos[15] = new photo(2403444,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3878.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V3878_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[16] = new photo(2403445,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V3895.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V3895_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[17] = new photo(2403483,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4326.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V4326_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[18] = new photo(2403502,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4487.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V4487_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[19] = new photo(2403587,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9192.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9192_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[20] = new photo(2403588,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9307.jpg',600,405,'','http://www1.clikpic.com/trotterian/images/VP9V9307_thumb.jpg',130, 88,0, 0,'','','','','','');
photos[21] = new photo(2403590,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9327.jpg',600,384,'','http://www1.clikpic.com/trotterian/images/VP9V9327_thumb.jpg',130, 83,1, 0,'','','','','','');
photos[22] = new photo(2403600,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9329.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9329_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[23] = new photo(2403603,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9385.jpg',600,382,'','http://www1.clikpic.com/trotterian/images/VP9V9385_thumb.jpg',130, 83,1, 0,'','','','','','');
photos[24] = new photo(2403606,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9458.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9458_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[25] = new photo(2403608,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9471.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9471_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[26] = new photo(2403611,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9742.jpg',600,411,'','http://www1.clikpic.com/trotterian/images/VP9V9742_thumb.jpg',130, 89,1, 0,'','','','','','');
photos[27] = new photo(2403615,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9791.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9791_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[28] = new photo(2403619,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9949.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9949_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[29] = new photo(2403620,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9950.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9950_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[30] = new photo(2403624,'155683','','gallery','http://www1.clikpic.com/trotterian/images/VP9V9952.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V9952_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[31] = new photo(3645133,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0115star-fav.jpg',600,450,'Alfie in the snow','http://www1.clikpic.com/trotterian/images/770K0115star-fav_thumb.jpg',130, 98,1, 1,'','','ian trotter','','','');
photos[32] = new photo(3645140,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0512skirfare.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/770K0512skirfare_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[33] = new photo(3645151,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K8021alfie.jpg',600,400,'pointing','http://www1.clikpic.com/trotterian/images/770K8021alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[34] = new photo(3645157,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K8033alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K8033alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[35] = new photo(3645162,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K8110alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K8110alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[36] = new photo(3645168,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K8983alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K8983alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[37] = new photo(3645171,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K9163alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K9163alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[38] = new photo(3645178,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K9170alfie.jpg',400,600,'','http://www1.clikpic.com/trotterian/images/770K9170alfie_thumb.jpg',87, 130,0, 0,'','','','','','');
photos[39] = new photo(3645181,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K9243alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K9243alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[40] = new photo(3645185,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K9303alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K9303alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[41] = new photo(3645193,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K9408alfie.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K9408alfie_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[42] = new photo(3645200,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1098alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1098alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[43] = new photo(3645206,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1141alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1141alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[44] = new photo(3645211,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1179alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1179alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[45] = new photo(3645280,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1249alfie.jpg',450,600,'','http://www1.clikpic.com/trotterian/images/IMG_1249alfie_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[46] = new photo(3645283,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1256alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1256alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[47] = new photo(3645286,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1273alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1273alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[48] = new photo(3645290,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1282alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1282alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[49] = new photo(3645291,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1311alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1311alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[50] = new photo(3645295,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1326-alfie-fav.jpg',450,600,'','http://www1.clikpic.com/trotterian/images/IMG_1326-alfie-fav_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[51] = new photo(3645297,'222862','','gallery','http://www1.clikpic.com/trotterian/images/IMG_1331alfie.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/IMG_1331alfie_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[52] = new photo(3645323,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0025star.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K0025star_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[53] = new photo(3645327,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0106star.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K0106star_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[54] = new photo(3645332,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0114star.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K0114star_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[55] = new photo(3645339,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0186star.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K0186star_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[56] = new photo(3645350,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0228star-crop.jpg',302,355,'','http://www1.clikpic.com/trotterian/images/770K0228star-crop_thumb.jpg',111, 130,0, 0,'','','','','','');
photos[57] = new photo(3645400,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K0344star-fav1.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/770K0344star-fav1_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[58] = new photo(3645403,'222862','','gallery','http://www1.clikpic.com/trotterian/images/770K0694grantley-fav.jpg',450,600,'','http://www1.clikpic.com/trotterian/images/770K0694grantley-fav_thumb.jpg',98, 130,0, 0,'','','','','','');
photos[59] = new photo(3645415,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K7847-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/770K7847-fav_thumb.jpg',130, 98,1, 0,'','','','','','');
photos[60] = new photo(3645420,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K8166stryder.jpg',600,414,'','http://www1.clikpic.com/trotterian/images/770K8166stryder_thumb.jpg',130, 90,0, 0,'','','','','','');
photos[61] = new photo(3645422,'222873','','gallery','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-054-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-054-fav_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[62] = new photo(3645423,'222873','','gallery','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-058-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-058-fav_thumb.jpg',130, 98,1, 1,'','','','','','');
photos[63] = new photo(3645425,'222873','','gallery','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-161-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-161-fav_thumb.jpg',130, 98,1, 0,'','','','','','');
photos[64] = new photo(3645427,'222873','','gallery','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-168-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-168-fav_thumb.jpg',130, 98,1, 0,'','','','','','');
photos[65] = new photo(3645428,'222873','','gallery','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-269-fav.jpg',600,450,'','http://www1.clikpic.com/trotterian/images/falconry-08-to-09-269-fav_thumb.jpg',130, 98,1, 0,'','','','','','');
photos[66] = new photo(3645434,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K0207star.jpg',600,411,'','http://www1.clikpic.com/trotterian/images/770K0207star_thumb.jpg',130, 89,0, 0,'','','','','','');
photos[67] = new photo(3645440,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K0082star.jpg',600,390,'','http://www1.clikpic.com/trotterian/images/770K0082star_thumb.jpg',130, 85,0, 0,'','','','','','');
photos[68] = new photo(3646302,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K0891arwen.jpg',600,399,'','http://www1.clikpic.com/trotterian/images/770K0891arwen_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[69] = new photo(3646307,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K0903arwen.jpg',600,402,'','http://www1.clikpic.com/trotterian/images/770K0903arwen_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[70] = new photo(3646314,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K8820ruby.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K8820ruby_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[71] = new photo(3646318,'222873','','gallery','http://www1.clikpic.com/trotterian/images/770K8854ruby.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/770K8854ruby_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[72] = new photo(3651037,'222873','','gallery','http://admin.clikpic.com/trotterian/images/193grassington.jpg',600,450,'','http://admin.clikpic.com/trotterian/images/193grassington_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[73] = new photo(3651041,'222873','','gallery','http://admin.clikpic.com/trotterian/images/770K0689grantley.jpg',600,450,'','http://admin.clikpic.com/trotterian/images/770K0689grantley_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[74] = new photo(3651044,'222873','','gallery','http://admin.clikpic.com/trotterian/images/770K0807web-crop.jpg',576,600,'','http://admin.clikpic.com/trotterian/images/770K0807web-crop_thumb.jpg',125, 130,0, 0,'','','','','','');
photos[75] = new photo(3651049,'222862','','gallery','http://admin.clikpic.com/trotterian/images/770K4299.jpg',520,600,'','http://admin.clikpic.com/trotterian/images/770K4299_thumb.jpg',113, 130,0, 0,'','','','','','');
photos[76] = new photo(3651060,'222873','','gallery','http://admin.clikpic.com/trotterian/images/falconry-08-to-09-055.jpg',600,449,'','http://admin.clikpic.com/trotterian/images/falconry-08-to-09-055_thumb.jpg',130, 97,0, 0,'','','','','','');
photos[77] = new photo(1289574,'73632','','gallery','http://www1.clikpic.com/trotterian/images/D1EV1823sharpened.jpg',600,399,'Harris hawk','http://www1.clikpic.com/trotterian/images/D1EV1823sharpened_thumb.jpg',130, 86,0, 0,'attacking the rabbit in her first season.','20/02/06','ian trotter','','','');
photos[78] = new photo(995310,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5606-011.jpg',500,333,'Arwen the Harris Hawk','http://www1.clikpic.com/trotterian/images/VP9V5606-012.jpg',130, 87,0, 0,'','','','','','');
photos[79] = new photo(995311,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V52831.jpg',500,333,'red tailed hawk 2','http://www1.clikpic.com/trotterian/images/VP9V52832.jpg',130, 87,0, 0,'','','','','','');
photos[80] = new photo(995320,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5588-01.jpg',500,333,'harris hawk on hedge','http://www1.clikpic.com/trotterian/images/VP9V5588-011.jpg',130, 87,0, 0,'','','','','','');
photos[81] = new photo(995333,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5595-011.jpg',500,324,'harris hawk on hedge 2','http://www1.clikpic.com/trotterian/images/VP9V5595-012.jpg',130, 84,0, 0,'','','','','','');
photos[82] = new photo(995342,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5606-013.jpg',500,333,'over the hedge','http://www1.clikpic.com/trotterian/images/VP9V5606-014.jpg',130, 87,0, 0,'','','','','','');
photos[83] = new photo(995347,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5610-011.jpg',500,323,'flying low','http://www1.clikpic.com/trotterian/images/VP9V5610-012.jpg',130, 84,0, 0,'','','','','','');
photos[84] = new photo(995361,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5835.jpg',333,500,'on the lookout','http://www1.clikpic.com/trotterian/images/VP9V58351.jpg',87, 130,0, 0,'','','','','','');
photos[85] = new photo(995380,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V6588-01.jpg',333,500,'red tailed hawk','http://www1.clikpic.com/trotterian/images/VP9V6588-011.jpg',87, 130,0, 0,'','','','','','');
photos[86] = new photo(995383,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V6678-01.jpg',500,333,'soaring over yorkshire','http://www1.clikpic.com/trotterian/images/VP9V6678-011.jpg',130, 87,0, 0,'','','','','','');
photos[87] = new photo(995384,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V6679-01.jpg',500,333,'soaring over yorkshire 2','http://www1.clikpic.com/trotterian/images/VP9V6679-011.jpg',130, 87,0, 0,'','','','','','');
photos[88] = new photo(995393,'73632','which way to go','gallery','http://www1.clikpic.com/trotterian/images/VP9V6700-01.jpg',500,333,'which way should i go','http://www1.clikpic.com/trotterian/images/VP9V6700-011.jpg',130, 87,1, 1,'','','','','','');
photos[89] = new photo(995424,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V7380-01.jpg',500,333,'vera the vulture','http://www1.clikpic.com/trotterian/images/VP9V7380-011.jpg',130, 87,0, 0,'','','','','','');
photos[90] = new photo(995429,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V7452-01.jpg',500,333,'soaring over the fields','http://www1.clikpic.com/trotterian/images/VP9V7452-011.jpg',130, 87,0, 0,'','','','','','');
photos[91] = new photo(995440,'73632','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8307-01.jpg',500,333,'a black kite','http://www1.clikpic.com/trotterian/images/VP9V8307-011.jpg',130, 87,0, 0,'','','','','','');
photos[92] = new photo(995458,'73632','','gallery','http://www1.clikpic.com/trotterian/images/CRW_1852.jpg',333,500,'tasty','http://www1.clikpic.com/trotterian/images/CRW_18521.jpg',87, 130,0, 0,'','','','','','');
photos[93] = new photo(995492,'73632','','gallery','http://www1.clikpic.com/trotterian/images/CRW_1928.jpg',333,500,'oooooo my favorite','http://www1.clikpic.com/trotterian/images/CRW_19281.jpg',87, 130,0, 0,'','','','','','');
photos[94] = new photo(995558,'73632','','gallery','http://www1.clikpic.com/trotterian/images/D1EV0044.jpg',500,333,'its getting a bit dark','http://www1.clikpic.com/trotterian/images/D1EV00441.jpg',130, 86,0, 0,'','','','','','');
photos[95] = new photo(995562,'73632','','gallery','http://www1.clikpic.com/trotterian/images/D1EV0053.jpg',333,500,'a nice sunset','http://www1.clikpic.com/trotterian/images/D1EV00531.jpg',87, 130,0, 0,'','','','','','');
photos[96] = new photo(995589,'73632','','gallery','http://www1.clikpic.com/trotterian/images/D1EV0192.jpg',500,333,'windy','http://www1.clikpic.com/trotterian/images/D1EV01921.jpg',130, 86,0, 0,'','','','','','');
photos[97] = new photo(995597,'73632','','gallery','http://www1.clikpic.com/trotterian/images/D1EV9641.jpg',500,333,'I see you','http://www1.clikpic.com/trotterian/images/D1EV96411.jpg',130, 86,0, 0,'','','','','','');
photos[98] = new photo(995598,'73632','','gallery','http://www1.clikpic.com/trotterian/images/O1M5541.jpg',500,333,'have a nice flight','http://www1.clikpic.com/trotterian/images/O1M55411.jpg',130, 87,0, 0,'','','','','','');
photos[99] = new photo(995603,'73632','','gallery','http://www1.clikpic.com/trotterian/images/O1M5569.jpg',383,500,'harris hawk flying2','http://www1.clikpic.com/trotterian/images/O1M55691.jpg',100, 130,0, 0,'','','','','','');
photos[100] = new photo(995605,'73632','','gallery','http://www1.clikpic.com/trotterian/images/O1M5629.jpg',500,333,'me and my harris hawk','http://www1.clikpic.com/trotterian/images/O1M56291.jpg',130, 87,0, 0,'','','','','','');
photos[101] = new photo(995609,'73632','','gallery','http://www1.clikpic.com/trotterian/images/O1M5761.jpg',500,333,'off you go','http://www1.clikpic.com/trotterian/images/O1M57611.jpg',130, 87,0, 0,'','','','','','');
photos[102] = new photo(1289542,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1415-01.jpg',399,600,'Goshawk','http://www1.clikpic.com/trotterian/images/VP9V1415-01_thumb.jpg',86, 130,0, 0,'A finnish goshawk male','16/08/07','ian trotter','','','');
photos[103] = new photo(1289544,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1428-01.jpg',600,388,'Goshawk2','http://www1.clikpic.com/trotterian/images/VP9V1428-01_thumb.jpg',130, 84,0, 0,'Goshawk in flight','16/08/07','ian trotter','','','');
photos[104] = new photo(1289536,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1086.jpg',600,400,'Golden Eagle','http://www1.clikpic.com/trotterian/images/VP9V1086_thumb.jpg',130, 87,0, 0,'Me holding Daniel from YFC\'s Golden eagle at festival of falconry','15/07/07','paul cannadine','englefield, reading','','');
photos[105] = new photo(1289469,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V0755.gif',400,600,'Martial Eagle','http://www1.clikpic.com/trotterian/images/VP9V0755_thumb.gif',87, 130,0, 0,'Martial Eagle','14/07/07','ian trotter','','','');
photos[106] = new photo(1289517,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V0871.jpg',600,387,'Peregrine in flight','http://www1.clikpic.com/trotterian/images/VP9V0871_thumb.jpg',130, 84,0, 0,'a display peregrine at this years festival of falconry.','14/07/07','ian trotter','englefield, reading','','');
photos[107] = new photo(1289524,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V0879.jpg',600,401,'Peregrine in flight 2','http://www1.clikpic.com/trotterian/images/VP9V0879_thumb.jpg',130, 87,0, 0,'at festival of falconry','14/07/07','ian trotter','','','');
photos[108] = new photo(1289532,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1029.jpg',400,600,'Red Tailed Hawk','http://www1.clikpic.com/trotterian/images/VP9V1029_thumb.jpg',87, 130,0, 0,'close up of Dale\'s red','14/07/07','ian trotter','','','');
photos[109] = new photo(1289641,'74741','','gallery','http://www1.clikpic.com/trotterian/images/white-tailed-sea-eagle4800.jpg',600,400,'Sea Eagle','http://www1.clikpic.com/trotterian/images/white-tailed-sea-eagle4800_thumb.jpg',130, 87,0, 0,'White tailed sea eagle in flight','31/05/06','ian trotter','','','');
photos[110] = new photo(1289640,'74741','','gallery','http://www1.clikpic.com/trotterian/images/buzzard_9341.jpg',600,401,'Wild Buzzard','http://www1.clikpic.com/trotterian/images/buzzard_9341_thumb.jpg',130, 87,0, 0,'Silhuetted Buzzard against the red setting sun','21/06/05','ian trotter','scrooby,nottinghamshire','','');
photos[111] = new photo(1013539,'74741','','gallery','http://www1.clikpic.com/trotterian/images/lanner5043.jpg',600,434,'','http://www1.clikpic.com/trotterian/images/lanner50431.jpg',130, 94,0, 0,'Lanner Falcon','','','','','');
photos[112] = new photo(1013542,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7539.jpg',400,600,'','http://www1.clikpic.com/trotterian/images/MO1M75391.jpg',87, 130,0, 0,'Scar the Barn Owl 2','','','','','');
photos[113] = new photo(1013544,'74741','','gallery','http://www1.clikpic.com/trotterian/images/rutland-ospreys.jpg',600,410,'','http://www1.clikpic.com/trotterian/images/rutland-ospreys1.jpg',130, 89,0, 0,'Breeding pair of Ospreys at Rutland Water.','','','','','');
photos[114] = new photo(1013545,'74741','','gallery','http://www1.clikpic.com/trotterian/images/scar5844.jpg',400,600,'','http://www1.clikpic.com/trotterian/images/scar58441.jpg',87, 130,0, 0,'Barn Owl at Sunset','','','','','');
photos[115] = new photo(1013547,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5528.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V55281.jpg',130, 87,0, 0,'Scar in Summer','','','','','');
photos[116] = new photo(1013549,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V6880.jpg',600,378,'','http://www1.clikpic.com/trotterian/images/VP9V68801.jpg',130, 82,0, 0,'Ready for Landing?','','','','','');
photos[117] = new photo(1013550,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V6887.jpg',600,359,'','http://www1.clikpic.com/trotterian/images/VP9V68871.jpg',130, 78,0, 0,'Harris Hovering','','','','','');
photos[118] = new photo(1013554,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8307-012.jpg',600,415,'','http://www1.clikpic.com/trotterian/images/VP9V8307-013.jpg',130, 90,0, 0,'Black Kite','','','','','');
photos[119] = new photo(1013555,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8373-01.jpg',600,253,'','http://www1.clikpic.com/trotterian/images/VP9V8373-011.jpg',130, 55,0, 0,'Black Kite 2','','','','','');
photos[120] = new photo(1013556,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8486.jpg',600,400,'','http://www1.clikpic.com/trotterian/images/VP9V84861.jpg',130, 87,0, 0,'Ready for take off.','','','','','');
photos[121] = new photo(1013557,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8503.jpg',400,600,'','http://www1.clikpic.com/trotterian/images/VP9V85031.jpg',87, 130,0, 0,'Scar in the woods','','','','','');
photos[122] = new photo(1013558,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8527.jpg',400,600,'','http://www1.clikpic.com/trotterian/images/VP9V85271.jpg',87, 130,0, 0,'Scar in the wood 2','','','','','');
photos[123] = new photo(1021144,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V67381.jpg',400,600,'ready for off','http://www1.clikpic.com/trotterian/images/VP9V67381_thumb.jpg',87, 130,0, 0,'','','','','','');
photos[124] = new photo(1021147,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V70123.jpg',508,600,'returning to boss?','http://www1.clikpic.com/trotterian/images/VP9V70123_thumb.jpg',110, 130,0, 0,'','','','','','');
photos[125] = new photo(1021648,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7103.jpg',400,600,'bald eagle','http://www1.clikpic.com/trotterian/images/MO1M7103_thumb.jpg',87, 130,0, 0,'bald eagle','','','','','');
photos[126] = new photo(1021651,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7224.jpg',600,400,'black kite flying','http://www1.clikpic.com/trotterian/images/MO1M7224_thumb.jpg',130, 87,0, 0,'black kite flying','','','','','');
photos[127] = new photo(1021661,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7334.jpg',600,372,'white tailed sea eagle','http://www1.clikpic.com/trotterian/images/MO1M7334_thumb.jpg',130, 81,0, 0,'white tailed sea eagle','','','','','');
photos[128] = new photo(1021667,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7343.jpg',600,366,'white tailed sea eagle 3','http://www1.clikpic.com/trotterian/images/MO1M7343_thumb.jpg',130, 79,0, 0,'white tailed sea eagle 3','','','','','');
photos[129] = new photo(1021671,'74741','','gallery','http://www1.clikpic.com/trotterian/images/MO1M7391.jpg',600,362,'white tailed sea eagle 5','http://www1.clikpic.com/trotterian/images/MO1M7391_thumb.jpg',130, 78,0, 0,'white tailed sea eagle 5','','','','','');
photos[130] = new photo(1021673,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4687.jpg',600,400,'red kite','http://www1.clikpic.com/trotterian/images/VP9V4687_thumb.jpg',130, 87,0, 0,'red kite','','','','','');
photos[131] = new photo(1021678,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4754.jpg',376,600,'griffin vulture','http://www1.clikpic.com/trotterian/images/VP9V4754_thumb.jpg',81, 130,0, 0,'griffin vulture','','','','','');
photos[132] = new photo(1021679,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4762.jpg',600,400,'griffin vulture 2','http://www1.clikpic.com/trotterian/images/VP9V4762_thumb.jpg',130, 87,0, 0,'griffin vulture 2','','','','','');
photos[133] = new photo(1021682,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4863.jpg',414,600,'lanner falcon 2','http://www1.clikpic.com/trotterian/images/VP9V4863_thumb.jpg',90, 130,0, 0,'lanner falcon 2','','','','','');
photos[134] = new photo(1021691,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V4988.jpg',600,400,'eagle owl','http://www1.clikpic.com/trotterian/images/VP9V4988_thumb.jpg',130, 87,0, 0,'eagle owl','','','','','');
photos[135] = new photo(1021697,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V5163.jpg',600,360,'gyr hybrid','http://www1.clikpic.com/trotterian/images/VP9V5163_thumb.jpg',130, 78,0, 0,'gyr hybrid','','','','','');
photos[136] = new photo(1021707,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V8271.jpg',600,199,'battler eagle 5','http://www1.clikpic.com/trotterian/images/VP9V8271_thumb.jpg',130, 43,0, 0,'battler eagle 5','','','','','');
photos[137] = new photo(1289547,'74741','','gallery','http://www1.clikpic.com/trotterian/images/VP9V1547-01.jpg',600,394,'Goshawk 3','http://www1.clikpic.com/trotterian/images/VP9V1547-01_thumb.jpg',130, 85,0, 0,'finnish goshawk in flight,looking at another bird in background','','','','','');
photos[138] = new photo(1289830,'91520','','gallery','http://www1.clikpic.com/trotterian/images/hare2881.jpg',600,378,'Brown Hare','http://www1.clikpic.com/trotterian/images/hare2881_thumb.jpg',130, 82,0, 0,'A Brown Hare running like the wind as they do.','30/07/06','ian trotter','Mattersey, Nottinghamshire','','');
photos[139] = new photo(1289893,'91520','','gallery','http://www1.clikpic.com/trotterian/images/Rhinos1552-01.jpg',600,399,'Rhinos','http://www1.clikpic.com/trotterian/images/Rhinos1552-01_thumb.jpg',130, 86,0, 0,'Two Rhino\'s in safari park','20/07/06','ian trotter','woburn safari park','','');
photos[140] = new photo(1289890,'91520','','gallery','http://www1.clikpic.com/trotterian/images/puffin_9202.jpg',600,397,'Puffin','http://www1.clikpic.com/trotterian/images/puffin_9202_thumb.jpg',130, 86,0, 0,'Another Puffin shot.','21/06/05','ian trotter','Bempton cliffs,Flamboro,Yorkshire','','');
photos[141] = new photo(1289887,'91520','','gallery','http://www1.clikpic.com/trotterian/images/puffin_9175.jpg',600,413,'Puffin','http://www1.clikpic.com/trotterian/images/puffin_9175_thumb.jpg',130, 89,0, 0,'A cliff nesting puffin','19/06/05','ian trotter','Bempton cliffs,Flamboro,Yorkshire','','');
photos[142] = new photo(1289821,'91520','','gallery','http://www1.clikpic.com/trotterian/images/D1EV1856.jpg',600,399,'Red Squirrel','http://www1.clikpic.com/trotterian/images/D1EV1856_thumb.jpg',130, 86,0, 0,'A Red Squirrel eating nuts.','08/04/05','ian trotter','Formby, Liverpool.','','');
photos[143] = new photo(1289824,'91520','','gallery','http://www1.clikpic.com/trotterian/images/D1EV1875a.jpg',400,600,'Red Squirrel 2','http://www1.clikpic.com/trotterian/images/D1EV1875a_thumb.jpg',87, 130,0, 0,'A Red Squirrel chilling on a branch','08/04/05','ian trotter','Formby, Liverpool.','','');
photos[144] = new photo(1289809,'91520','','gallery','http://www1.clikpic.com/trotterian/images/CRW_8164.jpg',600,400,'Grey Seal pup','http://www1.clikpic.com/trotterian/images/CRW_8164_thumb.jpg',130, 87,0, 0,'A Grey Seal pup at sunset','04/01/05','ian trotter','Donna Nook, Lincolnshire','','');
photos[145] = new photo(1289818,'91520','','gallery','http://www1.clikpic.com/trotterian/images/CRW_8323.jpg',600,397,'Grey Seal Colony','http://www1.clikpic.com/trotterian/images/CRW_8323_thumb.jpg',130, 86,0, 0,'A shot of the Seal colony at the height of their breeding season','04/01/05','ian trotter','Donna Nook, Lincolnshire','','');
photos[146] = new photo(1289894,'91520','','gallery','http://www1.clikpic.com/trotterian/images/seal8340.jpg',600,400,'Grey seal female','http://www1.clikpic.com/trotterian/images/seal8340_thumb.jpg',130, 87,0, 0,'A Grey seal on the beech in winter','04/01/05','ian trotter','Donna Nook, Lincolnshire','','');
photos[147] = new photo(1289896,'91520','','gallery','http://www1.clikpic.com/trotterian/images/sealpup8443sunset.jpg',600,400,'Seal pup','http://www1.clikpic.com/trotterian/images/sealpup8443sunset_thumb.jpg',130, 87,0, 0,'A Seal pup just starting to lose his juvinile fur','04/01/05','ian trotter','Donna Nook, Lincolnshire','','');
photos[148] = new photo(1289800,'91520','','gallery','http://www1.clikpic.com/trotterian/images/CRW_7520.jpg',600,400,'Swans','http://www1.clikpic.com/trotterian/images/CRW_7520_thumb.jpg',130, 87,0, 0,'Some swans wintering on a nearby lake.','27/12/04','ian trotter','','','');
photos[149] = new photo(1289855,'91520','','gallery','http://www1.clikpic.com/trotterian/images/leopard_5825.jpg',600,400,'whats up there?','http://www1.clikpic.com/trotterian/images/leopard_5825_thumb.jpg',130, 87,0, 0,'Leopard at a private collection.','28/09/04','ian trotter','Santago, hartfordshire.','','');
photos[150] = new photo(1289655,'91520','','gallery','http://www1.clikpic.com/trotterian/images/boxer-6788clu.jpg',600,403,'Barbery Macaques','http://www1.clikpic.com/trotterian/images/boxer-6788clu_thumb.jpg',130, 87,0, 0,'A baby monkey showing how to box.','','ian trotter','','','');
photos[151] = new photo(1289833,'91520','','gallery','http://www1.clikpic.com/trotterian/images/leopard-2.jpg',600,546,'Leopard','http://www1.clikpic.com/trotterian/images/leopard-2_thumb.jpg',130, 118,0, 0,'African Leopard','','ian trotter','','','');
photos[152] = new photo(1289850,'91520','','gallery','http://www1.clikpic.com/trotterian/images/leopard-12.jpg',392,600,'Leopard 2','http://www1.clikpic.com/trotterian/images/leopard-12_thumb.jpg',85, 130,0, 0,'African Leopard','','ian trotter','','','');
photos[153] = new photo(1289859,'91520','','gallery','http://www1.clikpic.com/trotterian/images/lion2482.jpg',600,400,'Male African Lion.','http://www1.clikpic.com/trotterian/images/lion2482_thumb.jpg',130, 87,0, 0,'What a magnificent beast.','','ian trotter','','','');
photos[154] = new photo(1289870,'91520','','gallery','http://www1.clikpic.com/trotterian/images/lion-cub2368.jpg',600,400,'Lion cub','http://www1.clikpic.com/trotterian/images/lion-cub2368_thumb.jpg',130, 87,0, 0,'Lion cub','','ian trotter','','','');
photos[155] = new photo(1289872,'91520','','gallery','http://www1.clikpic.com/trotterian/images/lions2263.jpg',600,400,'Young lions','http://www1.clikpic.com/trotterian/images/lions2263_thumb.jpg',130, 87,1, 0,'A group of young Lions just got out of waterhole','','ian trotter','','','');
photos[156] = new photo(1289874,'91520','','gallery','http://www1.clikpic.com/trotterian/images/monkey-6447.jpg',399,600,'Barbary Macaques','http://www1.clikpic.com/trotterian/images/monkey-6447_thumb.jpg',86, 130,0, 0,'A Monkey pondering life?','','ian trotter','','','');
photos[157] = new photo(1289903,'91520','','gallery','http://www1.clikpic.com/trotterian/images/tiger1787-01.jpg',600,399,'Tiger','http://www1.clikpic.com/trotterian/images/tiger1787-01_thumb.jpg',130, 86,0, 0,'Magnificent bengal tiger on prowl','','ian trotter','','','');
photos[158] = new photo(1289905,'91520','','gallery','http://www1.clikpic.com/trotterian/images/tiger1828.jpg',600,400,'Drinking Tiger','http://www1.clikpic.com/trotterian/images/tiger1828_thumb.jpg',130, 87,1, 1,'Tiger relaxing in the heat.','','ian trotter','','','');
photos[159] = new photo(1289907,'91520','','gallery','http://www1.clikpic.com/trotterian/images/zebra1645-01.jpg',600,419,'Zebras','http://www1.clikpic.com/trotterian/images/zebra1645-01_thumb.jpg',130, 91,0, 0,'Two Zebras at woburn.','','ian trotter','woburn safari park','','');
photos[160] = new photo(1289911,'91520','','gallery','http://www1.clikpic.com/trotterian/images/zebra1665-01.jpg',600,399,'Zebra','http://www1.clikpic.com/trotterian/images/zebra1665-01_thumb.jpg',130, 86,0, 0,'Laughing Zebra','','ian trotter','woburn safari park','','');
photos[161] = new photo(3646309,'91520','','gallery','http://www1.clikpic.com/trotterian/images/770K0965leverets.jpg',600,421,'','http://www1.clikpic.com/trotterian/images/770K0965leverets_thumb.jpg',130, 91,0, 0,'','','','','','');
photos[162] = new photo(3646310,'91520','','gallery','http://www1.clikpic.com/trotterian/images/770K0989leverets.jpg',600,376,'','http://www1.clikpic.com/trotterian/images/770K0989leverets_thumb.jpg',130, 81,0, 0,'','','','','','');
photos[163] = new photo(3651074,'91520','','gallery','http://admin.clikpic.com/trotterian/images/Bradgatepark00074_RT16.jpg',600,400,'','http://admin.clikpic.com/trotterian/images/Bradgatepark00074_RT16_thumb.jpg',130, 87,0, 0,'','','','','','');
photos[164] = new photo(3651084,'91520','','gallery','http://admin.clikpic.com/trotterian/images/VP9V8863scar.jpg',400,600,'','http://admin.clikpic.com/trotterian/images/VP9V8863scar_thumb.jpg',87, 130,0, 0,'','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(222862,'3645133','Alfie the Brittany','gallery');
galleries[1] = new gallery(155683,'2403624,2403620,2403619,2403615,2403611,2403608,2403606,2403603,2403600,2403590','Hunting and Action','gallery');
galleries[2] = new gallery(222873,'3645423','new falconry 2008/09','gallery');
galleries[3] = new gallery(73632,'995393','FALCONRY','gallery');
galleries[4] = new gallery(74741,'1289641,1289640,1289547,1289544,1289542,1289536,1289532,1289524,1289517,1289469','falconry2','gallery');
galleries[5] = new gallery(91520,'1289905','Wildlife','gallery');

