/***************************************************************************
* 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('3084938,3084856,3084694,3081743,3081716,3081695,3081656,3081628,3078735,3078680,3078667');
	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('3084938,3084856,3084694,3081743,3081716,3081695,3081656,3081628,3078735,3078680,3078667');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if ('gallery' != '') {
						if (photos[j].galleries_id != '') {
						document.write('<a href="' + photos[j].section_code + '_' + photos[j].galleries_id + '.html">');
						}
						else {
						document.write('<a href="gallery.html">');
						}
			}
			document.write('<img src="' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			if ('gallery' != '') {
				document.write('</a>');
			}
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !((1) || (1))) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
									document.title = 'John Northover Photography: ' + photos[nextImg].caption;
										/* apply 'blank' classname to element where */			if ( photos[nextImg].caption == '') {
				document.getElementById('imageTitle').style.className = 'blank';
			}
			else {
				document.getElementById('imageTitle').style.className = 'normal';
			}
						temp = '';
			if (photos[nextImg].description != '') {
				temp = temp +  '<p id="imageDescription">' + photos[nextImg].description + '</p>';
			}
						if (photos[nextImg].photo_ref != '') {
				temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + photos[nextImg].photo_ref + '</p>';
			}
						if (photos[nextImg].takendate != '') {
				debug('Resetting taken date');
				temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + photos[nextImg].takendate + '</p>';
			}
			
			if (photos[nextImg].location != '') {
				debug('Resetting location');
				temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  photos[nextImg].location + '</p>';
			}
			
			if (photos[nextImg].photographer != '') {
				debug('Resetting photographer');
				temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + photos[nextImg].photographer + '</p>';
			}
			if (temp != '') {				temp = temp + '<div class="spacer"></div>';			}					if (temp == '') {
			document.getElementById('imageDetails').style.display = 'none';
		}
		else {
			document.getElementById('imageDetails').style.display = 'block';
		}
		document.getElementById('imageDetails').innerHTML =temp;	
		
	}
	else {
		debug('Redirecting to id ' + photos[nextImg].id);
		window.location = 'photo_' + photos[nextImg].id + '.html';
	}
}

/***************************************************************************
* Show the previous image for a gallery. field = hidden field containing   *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function previous(field,img) {


	imageID = field.value;
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k = j -1;
	while (nextImg < 0) {
		for (; k >= 0; k--) {
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				break;
			}
		}
		if (nextImg == -1) {
			k = photos.length -1;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);	
	}
}

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.
        *
* Gallery_id = id of gallery to choose                                     *
* 
 img = reference to html image                                       *
* in which to show image                                                   *
***************************************************************************/
function showGalleryImage(gallery_id, img) {
	debug('Gallery = ' + gallery_id);
	for (i = 0; i < galleries.length; i++) {
		if (galleries[i].id == gallery_id) {
			imageID = randomListVal(galleries[i].featured_images);
				for (j = 0; j < photos.length; j++) {
					if (photos[j].id == imageID) {
						
						img.src = photos[j].thumbnail;
						img.width = photos[j].thumbnail_width;
						img.height = photos[j].thumbnail_height;
						
						break;
					}
				}
			break;
		}
	} 
	}

/***************************************************************************
* If we have dynamic HTML                                                  *
*  replace the galleries link with a list that                             *
* doesn't include the current gallery                                      *
***************************************************************************/
function showGalleries(gallery_id) {
	debug('Showing links for gallery ' + gallery_id);
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
			debug('Testing gallery ' + galleries[i].id);
			
			if (galleries[i].id != gallery_id) {
				debug('Adding link');
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="gallery_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}
/***************************************************************************
* Create the array of Photo objects                                        *
***************************************************************************/
photos = new Array();
photos[0] = new photo(3081628,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/cley_mill_landscapejpg.jpg',600,400,'Cley Windmill landscape','http://admin2.clikpic.com/Jdnorthover/images/cley_mill_landscapejpg_thumb.jpg',130, 87,1, 0,'-a view of Cley Windmill (Cley next the sea, North Norfolk) with the<br>\r\nreedbeds in the foreground. These reedbeds are cut for use in thatching etc.<br>\r\nWindmill dates from early 18th century with amazing views over the salt<br>\r\nmarshes to Blakeney Point & the sea.','','','','','');
photos[1] = new photo(3081656,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/laycock_abbey_cloisterjpg.jpg',400,600,'Laycock abbey cloisters','http://admin2.clikpic.com/Jdnorthover/images/laycock_abbey_cloisterjpg_thumb.jpg',130, 195,1, 0,'A classic view of the cloisters in this very attractive abbey. Laycock abbey, nr Chippenham, Wiltshire is a country house created out a medieval abbey and the former home of William Henry Fox Talbot, a photography pioneer.','','','','','');
photos[2] = new photo(3081695,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/city_skyline_updatejpg.jpg',600,379,'London from Hainault Forest country park','http://admin2.clikpic.com/Jdnorthover/images/city_skyline_updatejpg_thumb.jpg',130, 82,1, 1,'Winter evening view of London from Hainault forest country park, Essex','','','','','');
photos[3] = new photo(3081705,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/hunstanton_cliffsjpg.jpg',600,400,'Hunstanton Cliffs','http://admin2.clikpic.com/Jdnorthover/images/hunstanton_cliffsjpg_thumb.jpg',130, 87,0, 0,'A view of the spectacular cliffs in Hunstanton, North Norfolk. This area is on the east coast but gets great sunsets as it faces back west. The cliffs are a popular geological feature with white chalk from the Upper Cretaceous<br>\r\nera, a layer of limestone known as red chalk from the lower cretaceous period formed over a period of 15 million years and finally beneath that is grey/green carstone.','','','','','');
photos[4] = new photo(3081710,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/First_nation_homesteadjpg.jpg',400,600,'First nations longhouse','http://admin2.clikpic.com/Jdnorthover/images/First_nation_homesteadjpg_thumb.jpg',130, 195,0, 0,'A view inside a First nation\'s longhouse in Canada. Sun was streaming<br>\r\nthrough small holes in the roof and show up in the smokey air.','','','','','');
photos[5] = new photo(3081714,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/city_of_arts_and_sciences_valenciajpg.jpg',600,340,'City of arts & sciences, Valencia','http://admin2.clikpic.com/Jdnorthover/images/city_of_arts_and_sciences_valenciajpg_thumb.jpg',130, 74,0, 0,'An interesting view of Valencia\'s City of Arts and Science (Ciudad de las<br>\r\nArtes y de las Ciencias) mastermined by Architect Santiago Calatrava','','','','','');
photos[6] = new photo(3081716,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/rockcliffe_beachjpg.jpg',600,344,'Rockcliffe beach','http://admin2.clikpic.com/Jdnorthover/images/rockcliffe_beachjpg_thumb.jpg',130, 75,1, 1,'A beautiful beach by the small village of Rockcliffe on<br>\r\nRough Firth where the River Urr flows into the Solway firth. The tide<br>\r\ntravels a long way very quickly due to the shallow gradient.','','','','','');
photos[7] = new photo(3081743,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/madrid_royal_palace_galleryjpg.jpg',400,600,'Madrid Royal palace','http://admin2.clikpic.com/Jdnorthover/images/madrid_royal_palace_galleryjpg_thumb.jpg',130, 195,1, 0,'Madrid Royal palace, -Palacio Real -A magnificent palace in an amazing city. The <br>\r\npalace was built to impress with 870 windows, 240 balconies, 110 doors, 44 sets of stairs and gardens to rival Versaille','','','','','');
photos[8] = new photo(3081760,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Benalmadenajpg.jpg',600,350,'Benalmadena','http://admin2.clikpic.com/Jdnorthover/images/Benalmadenajpg_thumb.jpg',130, 76,0, 0,'Benalmadena in southern Spain','','','','','');
photos[9] = new photo(3081764,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Berlin_Sony_centrejpg.jpg',400,600,'Berlin Sony centre','http://admin2.clikpic.com/Jdnorthover/images/Berlin_Sony_centrejpg_thumb.jpg',130, 195,0, 0,'Sony centre in Potsdamer platz, Berlin','','','','','');
photos[10] = new photo(3081765,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Berlin_towersjpg.jpg',417,600,'Berlin Towers','http://admin2.clikpic.com/Jdnorthover/images/Berlin_towersjpg_thumb.jpg',130, 187,0, 0,'Berlin Towers','','','','','');
photos[11] = new photo(3081767,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Berlin_tv_towerjpg.jpg',408,600,'Berlin Tv tower','http://admin2.clikpic.com/Jdnorthover/images/Berlin_tv_towerjpg_thumb.jpg',130, 191,0, 0,'Berlin Tv tower','','','','','');
photos[12] = new photo(3081769,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Cambridge_collegejpg.jpg',448,600,'Cambridge College','http://admin2.clikpic.com/Jdnorthover/images/Cambridge_collegejpg_thumb.jpg',130, 174,0, 0,'View of a college through the gates','','','','','');
photos[13] = new photo(3081770,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Cambridge_puntsjpg.jpg',462,600,'Cambridge punts','http://admin2.clikpic.com/Jdnorthover/images/Cambridge_puntsjpg_thumb.jpg',130, 169,0, 0,'These puts were lined up just waiting for a photographer!','','','','','');
photos[14] = new photo(3083374,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/chrysler_building_enclosedjpg.jpg',450,600,'Chrysler Building, New York','http://admin2.clikpic.com/Jdnorthover/images/chrysler_building_enclosedjpg_thumb.jpg',130, 173,0, 0,'Chrysler Building, New York -designed by William Van Alen, Architect & built 1928 to 1930','','','','','');
photos[15] = new photo(3083376,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/chrysler_buildingjpg.jpg',394,600,'Chrysler building, New York','http://admin2.clikpic.com/Jdnorthover/images/chrysler_buildingjpg_thumb.jpg',130, 198,0, 0,'','','','','','');
photos[16] = new photo(3083379,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Dali_elephantjpg.jpg',452,600,'Dali Elephant','http://admin2.clikpic.com/Jdnorthover/images/Dali_elephantjpg_thumb.jpg',130, 173,0, 0,'view of an exhibit (Dali Elephant) in london commenmorating Dali\'s works','','','','','');
photos[17] = new photo(3083392,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Florence_sunsetjpg.jpg',600,445,'Florence sunset','http://admin2.clikpic.com/Jdnorthover/images/Florence_sunsetjpg_thumb.jpg',130, 96,0, 0,'A sunset in Florence taken from the ponte vechio','','','','','');
photos[18] = new photo(3083421,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Grand_central_motionjpg.jpg',600,450,'Grand central','http://admin2.clikpic.com/Jdnorthover/images/Grand_central_motionjpg_thumb.jpg',130, 98,0, 0,'A view of the main hall in Grand central station, New York. Taken with a slow shutter speed it shows the speed of movement of many rushing to work whilst those standing still are caught clearly.','','','','','');
photos[19] = new photo(3083433,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Jewish_museumjpg.jpg',428,600,'Jewish Museum','http://admin2.clikpic.com/Jdnorthover/images/Jewish_museumjpg_thumb.jpg',130, 182,0, 0,'A monochrome view of the Jewish Museum in Berlin-designed by Daniel Libeskind','','','','','');
photos[20] = new photo(3083436,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Kaiser_Wilhelm_Kirchejpg.jpg',391,600,'Kaiser Wilhelm Kirche','http://admin2.clikpic.com/Jdnorthover/images/Kaiser_Wilhelm_Kirchejpg_thumb.jpg',130, 199,0, 0,'This is the Kaiser-Wilhelm-gedachtniskirche on the Kurfurstendamm in Berlin. Built in 1943 it was damaged in a bombing raid in 1943. The new church alongside was built in 1960 and designed by Egon Eiermann.','','','','','');
photos[21] = new photo(3083438,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Kerrara_mul_panoramajpg.jpg',600,306,'kerrera landscape','http://admin2.clikpic.com/Jdnorthover/images/Kerrara_mul_panoramajpg_thumb.jpg',130, 66,0, 0,'A view of Kerrara, an island in the scottish Inner hebrides, close to Oban.','','','','','');
photos[22] = new photo(3084501,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/boat face copenhagenjpg.jpg',600,400,'Boat face in Copenhagen','http://admin2.clikpic.com/Jdnorthover/images/boat face copenhagenjpg_thumb.jpg',130, 87,0, 0,'An amusing face painting on a boat moored in Copenhagen harbour','','','','','');
photos[23] = new photo(3084506,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Ladies_view_Killarneyjpg.jpg',600,465,'Ladies view - Killarney - Ireland','http://admin2.clikpic.com/Jdnorthover/images/Ladies_view_Killarneyjpg_thumb.jpg',130, 101,0, 0,'','','','','','');
photos[24] = new photo(3084517,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/london_eye_podsjpg.jpg',450,600,'London eye pods','http://admin2.clikpic.com/Jdnorthover/images/london_eye_podsjpg_thumb.jpg',130, 173,0, 0,'','','','','','');
photos[25] = new photo(3084532,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/lowry_bridge_night_shotjpg.jpg',450,600,'Lowry bridge - night shot','http://admin2.clikpic.com/Jdnorthover/images/lowry_bridge_night_shotjpg_thumb.jpg',130, 173,0, 0,'A photograph of the bridge by the Lowry at Salford Quays','','','','','');
photos[26] = new photo(3084540,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/lowry_bridgesjpg.jpg',450,600,'Bridges- the Lowry','http://admin2.clikpic.com/Jdnorthover/images/lowry_bridgesjpg_thumb.jpg',130, 173,0, 0,'Another view of the bridges by the Lowry at Salford quays','','','','','');
photos[27] = new photo(3084603,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/madrid_royal_ palacejpg.jpg',421,600,'Royal palace  Madrid','http://admin2.clikpic.com/Jdnorthover/images/madrid_royal_ palacejpg_thumb.jpg',130, 185,0, 0,'Madrid Royal palace, -Palacio Real -A magnificent palace in an amazing city. The <br>\r\npalace was built to impress with 870 windows, 240 balconies, 110 doors, 44 sets of stairs and gardens to rival Versaille','','','','','');
photos[28] = new photo(3084655,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/montreal_Contrastsjpg.jpg',360,600,'Montreal contrasts','http://admin2.clikpic.com/Jdnorthover/images/montreal_Contrastsjpg_thumb.jpg',130, 217,0, 0,'A view in Montreal contrasting old & new','','','','','');
photos[29] = new photo(3084660,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/new_yorker_muraljpg.jpg',600,456,'New Yorker mural','http://admin2.clikpic.com/Jdnorthover/images/new_yorker_muraljpg_thumb.jpg',130, 99,0, 0,'','','','','','');
photos[30] = new photo(3084667,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Oban_boatsjpg.jpg',484,600,'Fishing boats at Oban','http://admin2.clikpic.com/Jdnorthover/images/Oban_boatsjpg_thumb.jpg',130, 161,0, 0,'','','','','','');
photos[31] = new photo(3084694,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Oban_sunset2jpg.jpg',600,423,'Oban sunset','http://admin2.clikpic.com/Jdnorthover/images/Oban_sunset2jpg_thumb.jpg',130, 92,1, 1,'a wonderful sunset in Oban with the island of Kerrera in the background','','','','','');
photos[32] = new photo(3084704,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/OBAN_SUNSETjpg.jpg',489,600,'Oban sunset 2','http://admin2.clikpic.com/Jdnorthover/images/OBAN_SUNSETjpg_thumb.jpg',130, 160,0, 0,'a wonderful sunset in Oban with the islands of Kerrera  and Mull in the background','','','','','');
photos[33] = new photo(3084856,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Punting_kings_collegejpg.jpg',600,370,'Punting by Kings College','http://admin2.clikpic.com/Jdnorthover/images/Punting_kings_collegejpg_thumb.jpg',130, 80,1, 1,'Punting along the river Cam in Cambridge, in front of King\'s College','','','','','');
photos[34] = new photo(3084860,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/rosenberg_slot_copenhagenjpg.jpg',400,600,'Rosenberg slot, Copenhagen','http://admin2.clikpic.com/Jdnorthover/images/rosenberg_slot_copenhagenjpg_thumb.jpg',130, 195,0, 0,'','','','','','');
photos[35] = new photo(3084861,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/salford_quays_sunsetjpg.jpg',457,600,'Salford Quays Sunset','http://admin2.clikpic.com/Jdnorthover/images/salford_quays_sunsetjpg_thumb.jpg',130, 171,0, 0,'','','','','','');
photos[36] = new photo(3084903,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/siena_cathedraljpg.jpg',600,450,'Siena cathedral','http://admin2.clikpic.com/Jdnorthover/images/siena_cathedraljpg_thumb.jpg',130, 98,0, 0,'A view of Siena cathedral in Italy','','','','','');
photos[37] = new photo(3084939,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/thames_city_viewjpg.jpg',441,600,'Thames city view','http://admin2.clikpic.com/Jdnorthover/images/thames_city_viewjpg_thumb.jpg',130, 177,0, 0,'','','','','','');
photos[38] = new photo(3084942,'189226','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Vatican_ museum_ stairsjpg.jpg',600,450,'Staircase in the Vatican Museum','http://admin2.clikpic.com/Jdnorthover/images/Vatican_ museum_ stairsjpg_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[39] = new photo(3085019,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/woolworth_buildingjpg.jpg',448,600,'Woolworth Building, New York','http://admin2.clikpic.com/Jdnorthover/images/woolworth_buildingjpg_thumb.jpg',130, 174,0, 0,'','','','','','');
photos[40] = new photo(3100799,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/montreal_olympic_stadiumjpg.jpg',600,392,'Montreal Olympic stadium','http://admin2.clikpic.com/Jdnorthover/images/montreal_olympic_stadiumjpg_thumb.jpg',130, 85,0, 0,'A monochrome view of the Montreal Olympic stadium.','','','','','');
photos[41] = new photo(3100800,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/norfolk_beachjpg.jpg',600,286,'Hunstanton beach','http://admin2.clikpic.com/Jdnorthover/images/norfolk_beachjpg_thumb.jpg',130, 62,0, 0,'','','','','','');
photos[42] = new photo(3100801,'189227','','gallery','http://admin2.clikpic.com/Jdnorthover/images/ottawa_museum_internaljpg.jpg',400,600,'Ottawa museum','http://admin2.clikpic.com/Jdnorthover/images/ottawa_museum_internaljpg_thumb.jpg',130, 195,0, 0,'An interesting pattern shot of blinds within the Ottawa Art museum','','','','','');
photos[43] = new photo(3100808,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/sidmouth_pattern_beach_jpg.jpg',600,379,'Sidmouth beach','http://admin2.clikpic.com/Jdnorthover/images/sidmouth_pattern_beach_jpg_thumb.jpg',130, 82,0, 0,'Patterns seen on the beach in Sidmouth, Devon','','','','','');
photos[44] = new photo(3078667,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Mull_lightjpg.jpg',600,422,'Mull Light','http://admin2.clikpic.com/Jdnorthover/images/Mull_lightjpg_thumb.jpg',130, 91,1, 1,'A beautiful view of the sun\'s rays on the lighthouse from the Mull ferry as it sailed toward Oban, off the west coast of Scotland.','','','','','');
photos[45] = new photo(3079034,'189222','','gallery','http://admin2.clikpic.com/Jdnorthover/images/castle_acre_sunsetjpg.jpg',600,381,'Castle acre sunset','http://admin2.clikpic.com/Jdnorthover/images/castle_acre_sunsetjpg_thumb.jpg',130, 83,0, 0,'Sunset at Castle Acre Priory. One of the largest and best preserved monastic sites in England. The foundation of Castle Acre Priory dates back to c1090','','','','','');
photos[46] = new photo(3083378,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/county_hall_windowsjpg.jpg',600,395,'The old county hall - Windows','http://admin2.clikpic.com/Jdnorthover/images/county_hall_windowsjpg_thumb.jpg',130, 86,0, 0,'','','','','','');
photos[47] = new photo(3084941,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Tower_bridge_at_nightjpg.jpg',600,450,'Tower bridge at night','http://admin2.clikpic.com/Jdnorthover/images/Tower_bridge_at_nightjpg_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[48] = new photo(3083385,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/exeter_cathedraljpg.jpg',600,450,'Exeter Cathedral','http://admin2.clikpic.com/Jdnorthover/images/exeter_cathedraljpg_thumb.jpg',130, 98,0, 0,'Monochrome view of Exeter cathedral-Norman Towers dating from the early 12th Century although most rebuilt in 1270 with subsequent works.','','','','','');
photos[49] = new photo(3084544,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/lowry_museumjpg.jpg',600,454,'the Lowry- inside view','http://admin2.clikpic.com/Jdnorthover/images/lowry_museumjpg_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[50] = new photo(3084945,'189228','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Waterloojpg.jpg',600,237,'Waterloo ARPS','http://admin2.clikpic.com/Jdnorthover/images/Waterloojpg_thumb.jpg',130, 51,0, 0,'A view of waterloo from the London eye. ARPS refers to the photographic composition guide \" a red point somewhere\"','','','','','');
photos[51] = new photo(3083341,'189077','','gallery','http://admin2.clikpic.com/Jdnorthover/images/chamonix_climbersjpg.jpg',400,600,'Chamonix climbers','http://admin2.clikpic.com/Jdnorthover/images/chamonix_climbersjpg_thumb.jpg',130, 195,0, 0,'Another view from the aiguille du midi above chamonix. There is also a great ride by cable car across from here over the Glacier du Geant to Helbronner','','','','','');
photos[52] = new photo(3078735,'189077','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Argentierejpg.jpg',400,600,'Argentiere','http://admin2.clikpic.com/Jdnorthover/images/Argentierejpg_thumb.jpg',130, 195,1, 0,'A view up by the Argentiere glacier to the peak. Sun rays  streamiong back towards the viewer','','','','','');
photos[53] = new photo(3078680,'189077','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Chamonix_alps_ men_ on_ ridgejpg.jpg',400,600,'Chamonix climbers on ridge','http://admin2.clikpic.com/Jdnorthover/images/Chamonix_alps_ men_ on_ ridgejpg_thumb.jpg',130, 195,1, 0,'A group of mountain climbers on the ridge leading up to the access point on the Aiguille du midi 3842m above sea level. Accessible by cable car from Chamonix.','','','','','');
photos[54] = new photo(3078694,'189077','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Aiguille_du_midijpg.jpg',600,363,'Auiguille du midi','http://admin2.clikpic.com/Jdnorthover/images/Aiguille_du_midijpg_thumb.jpg',130, 79,0, 0,'A view of the Auiguille du midi in the evening sun, seen from the Alpine town of Chamonix.','','','','','');
photos[55] = new photo(3078740,'189077','','gallery','http://admin2.clikpic.com/Jdnorthover/images/chalet_du_Col_des_Montets_in_French_Alpsjpg.jpg',600,400,'Chalet du Col des Montets in French Alps','http://admin2.clikpic.com/Jdnorthover/images/chalet_du_Col_des_Montets_in_French_Alpsjpg_thumb.jpg',130, 87,0, 0,'Chalet du Col des Montets in French Alps in the Aiguilles Rouges nature reserve, close to Argentiere & Chamonix','','','','','');
photos[56] = new photo(3081702,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Knowle_deer_silhouetejpg.jpg',600,488,'Stag calling','http://admin2.clikpic.com/Jdnorthover/images/Knowle_deer_silhouetejpg_thumb.jpg',130, 106,0, 0,'A rutting Fallow deer stag seen at Knole park in Kent. Each october the<br>\r\ndeer go through their rutting rituals which are interesting although keep<br>\r\nyour distance!','','','','','');
photos[57] = new photo(3081745,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/mandrilljpg.jpg',441,600,'Mandrill','http://admin2.clikpic.com/Jdnorthover/images/mandrilljpg_thumb.jpg',130, 177,0, 0,'Mandrill -one of the most colourful mammals in the world, the colours brighten as the animal gets more excited. From Cameroon & Gabon,<br>\r\nthey can live up to 46 years.','','','','','');
photos[58] = new photo(3081747,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/elephants_&_rays_tsavo eastjpg.jpg',600,400,'Tsavo Elephants','http://admin2.clikpic.com/Jdnorthover/images/elephants_&_rays_tsavo eastjpg_thumb.jpg',130, 87,0, 0,'A group of elephants seen in the Tsavo East park, Kenya with evening sun rays. The Elephants have a red hue as they cover themselves with the red dust which acts as a form of sunscreen.','','','','','');
photos[59] = new photo(3083343,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Chimp_B & Wjpg.jpg',444,600,'Chimpanzee','http://admin2.clikpic.com/Jdnorthover/images/Chimp_B & Wjpg_thumb.jpg',130, 176,0, 0,'','','','','','');
photos[60] = new photo(3083424,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/grey_monkeyjpg.jpg',482,600,'Old Grey','http://admin2.clikpic.com/Jdnorthover/images/grey_monkeyjpg_thumb.jpg',130, 162,0, 0,'This old grey monkey in colchester zoo caught my eye','','','','','');
photos[61] = new photo(3091453,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/norfolk sealsjpg.jpg',585,600,'Norfolk seals','http://admin2.clikpic.com/Jdnorthover/images/norfolk sealsjpg_thumb.jpg',130, 133,0, 0,'A group of seals seen from the boat trip at Morston quay near Blakeney in North Norfolk','','','','','');
photos[62] = new photo(3100813,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/tsavo_east_voi_elephant_jpg.jpg',400,600,'Tsavo elephant','http://admin2.clikpic.com/Jdnorthover/images/tsavo_east_voi_elephant_jpg_thumb.jpg',130, 195,0, 0,'Close up of an elephant seen at Voi in Tsavo east park, Kenya. The red colouring is natural coming from the clay in the soil which they throw over themselves as protection from the sun.','','','','','');
photos[63] = new photo(3336582,'189080','','gallery','http://admin2.clikpic.com/Jdnorthover/images/leopard close up jpegjpg.jpg',600,362,'Tsavo Leopard','http://admin2.clikpic.com/Jdnorthover/images/leopard close up jpegjpg_thumb.jpg',130, 78,0, 0,'A magnificent leopard seen in Tsavo west in the hills near Kilaguni lodge.','','','','','');
photos[64] = new photo(3351573,'189080','','gallery','http://admin.clikpic.com/Jdnorthover/images/Agama_lizardjpg.jpg',322,600,'Agama Lizard','http://admin.clikpic.com/Jdnorthover/images/Agama_lizardjpg_thumb.jpg',130, 242,0, 0,'An Agama lizard, seen by the Kilaguni lodge in Tsavo, Eastern Kenya. This is a mature dominant male. Subordinate & recently frightened males will have a dull brown colour whilst at night all males turn a dark shade of brown. Mainly insectivorous they will also eat grass, berries & seeds.','','','','','');
photos[65] = new photo(3351575,'189080','','gallery','http://admin.clikpic.com/Jdnorthover/images/baboon_pairjpg.jpg',600,418,'Baboon pair','http://admin.clikpic.com/Jdnorthover/images/baboon_pairjpg_thumb.jpg',130, 91,0, 0,'Baboons seen near Kilaguni lodge, Tsavo, Eastern Kenya. A large male looking for termites with a younger baboon. They are omnivorous, although mainly vegetarian. Living in hierarchical troops, this pair was in a group of about 15.','','','','','');
photos[66] = new photo(3351601,'189080','','gallery','http://admin.clikpic.com/Jdnorthover/images/baboon_mother_babyjpg.jpg',522,600,'Baboon Mother & baby','http://admin.clikpic.com/Jdnorthover/images/baboon_mother_babyjpg_thumb.jpg',130, 149,0, 0,'Baboon Mother & baby seen near Voi lodge, Tsavo, Eastern Kenya','','','','','');
photos[67] = new photo(3081762,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Bengal_Eagle_owljpg.jpg',450,600,'Bengal eagle owl','http://admin2.clikpic.com/Jdnorthover/images/Bengal_Eagle_owljpg_thumb.jpg',130, 173,0, 0,'Bengal eagle owl','','','','','');
photos[68] = new photo(3084852,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/oystercatchers_at_blakeneyjpg.jpg',600,360,'Oystercatchers at Blakeney','http://admin2.clikpic.com/Jdnorthover/images/oystercatchers_at_blakeneyjpg_thumb.jpg',130, 78,0, 0,'A flock of Oystercatchers seen at Blakeney , North Norfolk on a trip out to see the seals.','','','','','');
photos[69] = new photo(3084910,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/smew_pensthorpejpg.jpg',600,372,'Smew','http://admin2.clikpic.com/Jdnorthover/images/smew_pensthorpejpg_thumb.jpg',130, 81,0, 0,'A Smew seen at Pensthorpe in Norfolk','','','','','');
photos[70] = new photo(3084950,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/white_headed_buffalo_weaverjpg.jpg',600,370,'White headed buffalo weaver','http://admin2.clikpic.com/Jdnorthover/images/white_headed_buffalo_weaverjpg_thumb.jpg',130, 80,0, 0,'','','','','','');
photos[71] = new photo(3100770,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/bird in canadajpg.jpg',600,436,'Canadian Wader bird','http://admin2.clikpic.com/Jdnorthover/images/bird in canadajpg_thumb.jpg',130, 94,0, 0,'','','','','','');
photos[72] = new photo(3100805,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Ruff_pensthorpe_jpg.jpg',600,574,'Ruff seen at Pensthorpe','http://admin2.clikpic.com/Jdnorthover/images/Ruff_pensthorpe_jpg_thumb.jpg',130, 124,0, 0,'','','','','','');
photos[73] = new photo(3100815,'189081','','gallery','http://admin2.clikpic.com/Jdnorthover/images/vulturejpg.jpg',600,417,'Vulture','http://admin2.clikpic.com/Jdnorthover/images/vulturejpg_thumb.jpg',130, 90,0, 0,'','','','','','');
photos[74] = new photo(3081756,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/bee_&_geraniumjpg.jpg',600,507,'Bee & geranium','http://admin2.clikpic.com/Jdnorthover/images/bee_&_geraniumjpg_thumb.jpg',130, 110,0, 0,'Bee & geranium taken in the garden','','','','','');
photos[75] = new photo(3081768,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Cactus_closeupjpg.jpg',600,451,'Close up of Cactus','http://admin2.clikpic.com/Jdnorthover/images/Cactus_closeupjpg_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[76] = new photo(3083377,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Cornflowerjpg.jpg',600,450,'Cornflower','http://admin2.clikpic.com/Jdnorthover/images/Cornflowerjpg_thumb.jpg',130, 98,0, 0,'','','','','','');
photos[77] = new photo(3083399,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/flower_starsjpg.jpg',600,458,'Flower stars','http://admin2.clikpic.com/Jdnorthover/images/flower_starsjpg_thumb.jpg',130, 99,0, 0,'Close up of a type of Alium showing flower stars','','','','','');
photos[78] = new photo(3083401,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/french_butterflyjpg.jpg',456,600,'French Butterfly','http://admin2.clikpic.com/Jdnorthover/images/french_butterflyjpg_thumb.jpg',130, 171,0, 0,'','','','','','');
photos[79] = new photo(3083422,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Grass_seedjpg.jpg',466,600,'Grass seed head','http://admin2.clikpic.com/Jdnorthover/images/Grass_seedjpg_thumb.jpg',130, 167,0, 0,'','','','','','');
photos[80] = new photo(3083423,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Grasshopperjpg.jpg',458,600,'Grasshopper','http://admin2.clikpic.com/Jdnorthover/images/Grasshopperjpg_thumb.jpg',130, 170,0, 0,'','','','','','');
photos[81] = new photo(3083428,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/hatfield_forest_orchidjpg.jpg',428,600,'Marsh Orchid','http://admin2.clikpic.com/Jdnorthover/images/hatfield_forest_orchidjpg_thumb.jpg',130, 182,0, 0,'I believe this is a common spotted marsh orchid- seen in hatfield forest.','','','','','');
photos[82] = new photo(3083439,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/lace_butterflyjpg.jpg',536,600,'Lace Butterfly','http://admin2.clikpic.com/Jdnorthover/images/lace_butterflyjpg_thumb.jpg',130, 146,0, 0,'','','','','','');
photos[83] = new photo(3084908,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Skipper_&_thistlejpg.jpg',600,464,'Skipper & Thistle','http://admin2.clikpic.com/Jdnorthover/images/Skipper_&_thistlejpg_thumb.jpg',130, 101,0, 0,'','','','','','');
photos[84] = new photo(3084934,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Teaseljpg.jpg',450,600,'Teasel','http://admin2.clikpic.com/Jdnorthover/images/Teaseljpg_thumb.jpg',130, 173,0, 0,'','','','','','');
photos[85] = new photo(3084938,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/tenerife_lizardjpg.jpg',600,371,'Tenerife lizard','http://admin2.clikpic.com/Jdnorthover/images/tenerife_lizardjpg_thumb.jpg',130, 80,1, 0,'','','','','','');
photos[86] = new photo(3100771,'189082','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Irisjpg.jpg',427,600,'Iris','http://admin2.clikpic.com/Jdnorthover/images/Irisjpg_thumb.jpg',130, 183,0, 0,'','','','','','');
photos[87] = new photo(3081723,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/London_triathlon_swin_startjpg.jpg',600,355,'London Triathlon swim start','http://admin2.clikpic.com/Jdnorthover/images/London_triathlon_swin_startjpg_thumb.jpg',130, 77,0, 0,'The exciting start of one of the London Triathlon heats in 2008. This is in the basin by the Excel exhibition centre.','','','','','');
photos[88] = new photo(3081753,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/B & W_Guardsmanjpg.jpg',442,600,'Guardsman','http://admin2.clikpic.com/Jdnorthover/images/B & W_Guardsmanjpg_thumb.jpg',130, 176,0, 0,'Guardsman on parade - photograph converted in Adobe photoshop elements.','','','','','');
photos[89] = new photo(3081772,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/canadian_soliders_aim and _firejpg.jpg',600,400,'Ready, aim, fire','http://admin2.clikpic.com/Jdnorthover/images/canadian_soliders_aim and _firejpg_thumb.jpg',130, 87,0, 0,'A re enactment in Fort Worth , Canada','','','','','');
photos[90] = new photo(3083425,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Harlequins_at_7sjpg.jpg',332,500,'Harlequins at sevens','http://admin2.clikpic.com/Jdnorthover/images/Harlequins_at_7sjpg_thumb.jpg',130, 196,0, 0,'','','','','','');
photos[91] = new photo(3084906,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/singerjpg.jpg',451,600,'The Singer','http://admin2.clikpic.com/Jdnorthover/images/singerjpg_thumb.jpg',130, 173,0, 0,'','','','','','');
photos[92] = new photo(3091461,'189069','','gallery','http://admin2.clikpic.com/Jdnorthover/images/matt air pleny updatejpg.jpg',600,450,'Mountain biking in the Alps','http://admin2.clikpic.com/Jdnorthover/images/matt air pleny updatejpg_thumb.jpg',130, 98,0, 0,'My son making a jump at the Pleny downhill run in the Alps','','','','','');
photos[93] = new photo(3081749,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/audi_reflectionjpg.jpg',600,385,'Audi Reflection','http://admin2.clikpic.com/Jdnorthover/images/audi_reflectionjpg_thumb.jpg',130, 83,0, 0,'A reflection seen in an Audi TT headlamp.','','','','','');
photos[94] = new photo(3083390,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Fishing_netsjpg.jpg',450,600,'Fishing Nets','http://admin2.clikpic.com/Jdnorthover/images/Fishing_netsjpg_thumb.jpg',130, 173,0, 0,'','','','','','');
photos[95] = new photo(3084512,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/London_eye_centrejpg.jpg',472,600,'London eye centre point','http://admin2.clikpic.com/Jdnorthover/images/London_eye_centrejpg_thumb.jpg',130, 165,0, 0,'','','','','','');
photos[96] = new photo(3084552,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/lowry_walljpg.jpg',437,600,'The Lowry - wall detail','http://admin2.clikpic.com/Jdnorthover/images/lowry_walljpg_thumb.jpg',130, 178,0, 0,'','','','','','');
photos[97] = new photo(3084644,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/Metalwork_Collieryjpg.jpg',591,600,'Colliery metal work','http://admin2.clikpic.com/Jdnorthover/images/Metalwork_Collieryjpg_thumb.jpg',130, 132,0, 0,'a close up abstract of some colliery machinery at Woodhorn colliery in Northumberland','','','','','');
photos[98] = new photo(3084649,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/milan_noble_menjpg.jpg',600,400,'milan noble men','http://admin2.clikpic.com/Jdnorthover/images/milan_noble_menjpg_thumb.jpg',130, 87,0, 0,'A test for the focus on my camera resulted in this view of sculputures','','','','','');
photos[99] = new photo(3084911,'189070','','gallery','http://admin2.clikpic.com/Jdnorthover/images/spanish_flagjpg.jpg',400,600,'Spanish Flag','http://admin2.clikpic.com/Jdnorthover/images/spanish_flagjpg_thumb.jpg',130, 195,0, 0,'','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(189228,'3084945,3084941,3084939,3084861,3084544,3084540,3084532,3084517,3083385,3083379','Britain','gallery');
galleries[1] = new gallery(189222,'3084856,3084694,3081716,3081695,3078667','British landscapes','gallery');
galleries[2] = new gallery(189226,'3084942,3084903,3084860,3084603,3084501,3083436,3083433,3083392,3081767,3081765','Europe','gallery');
galleries[3] = new gallery(189227,'3100801,3100799,3085019,3084660,3084655,3083421,3083376,3083374,3081710','US & Canada','gallery');
galleries[4] = new gallery(189066,'3084856,3084694,3081716,3081695,3078667','Landscapes','gallery');
galleries[5] = new gallery(189077,'3083341,3078740,3078735,3078694,3078680','French Alps','gallery');
galleries[6] = new gallery(189067,'3100801,3100799,3085019,3084945,3084942,3084941,3084939,3084903,3084861,3084860','Architecture/Cityscape','gallery');
galleries[7] = new gallery(189068,'3351601,3351575,3351573,3336582,3100815,3100813,3100805,3100771,3100770,3091453','Nature','gallery');
galleries[8] = new gallery(189080,'3351601,3351575,3351573,3336582,3100813,3091453,3083424,3083343,3081747,3081745','Animals','gallery');
galleries[9] = new gallery(189081,'3100815,3100805,3100770,3084950,3084910,3084852,3081762','Birds','gallery');
galleries[10] = new gallery(189082,'3100771,3084938,3084934,3084908,3083439,3083428,3083423,3083422,3083401,3083399','Flora and Fauna','gallery');
galleries[11] = new gallery(189069,'3091461,3084906,3083425,3081772,3081753,3081723','People','gallery');
galleries[12] = new gallery(189070,'3084911,3084649,3084644,3084552,3084512,3083390,3081749','Abstract','gallery');


