/***************************************************************************
* 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) {
	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;
}
/***************************************************************************
* 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('594561,594557,594552,594548,594547,594522,593241,593184,407793,172873,163675');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if (!basic) {
			img.src = 'images/' + 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 = 'images/' + 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('594561,594557,594552,594548,594547,594522,593241,593184,407793,172873,163675');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			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="images/' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			document.write('</a>');
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !(0)) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
						document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="images/' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '" border="0">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
			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.visibility = 'hidden';
		}
		else {
			document.getElementById('imageDetails').style.visibility = 'visible';
		}
		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('Image = ' + 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 = 'images/' + 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(603255,'33413','','gallery','Shadow Detail.jpg',400,500,'\"Shadow Detail\"','Shadow Detail_thumb.jpg',104, 130,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D, AFS @ 38mm','18/10/06','R. L. Craig','Sugar Land, Texas');
photos[1] = new photo(593045,'33411','','gallery','Counterbalanced.jpg',450,327,'\"Counterbalanced\"','Counterbalanced_thumb.jpg',130, 94,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D, AFS @ 28mm','17/07/06','R. L. Craig','Leadville, Colorado');
photos[2] = new photo(407793,'33412','','gallery','Vases & Doors Final.jpg',400,550,'\"Vases & Doors\"','Vases & Doors Final_thumb.jpg',130, 179,1, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 20mm','17/03/06','R. L.  Craig','Sedona, Arizona');
photos[3] = new photo(594547,'33411','','gallery','Circles3.jpg',400,320,'\"Circles\"','Circles3_thumb.jpg',130, 104,1, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 35mm','13/03/06','R. L. Craig','Sedona, Arizona');
photos[4] = new photo(594548,'','','','Golden Light2.jpg',400,320,'\"Golden Light\"','Golden Light2_thumb.jpg',130, 104,1, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','27/02/06','R. L. Craig','Sugar Land, Texas');
photos[5] = new photo(172873,'','','','The Day Is Done.jpg',400,500,'\"The Day is Done\"','The Day Is Done_thumb.jpg',130, 163,1, 0,'This Shovel And Hand Truck Oddly Seem To Be Left In Place When The Plant Ceased Operations.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[6] = new photo(164203,'','','','DSC_0738.jpg',400,320,'\"Fire Escape\"','DSC_0738_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nFire Escape to Old Galveston Building.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D, AFS @ 34mm','12/02/06','R. L. Craig','Galveston, Texas');
photos[7] = new photo(593086,'33412','','gallery','Bridled.jpg',400,500,'\"Bridled\"','Bridled_thumb.jpg',130, 163,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D, AFS @ 70mm','12/02/06','R. L. Craig','Galveston, Texas');
photos[8] = new photo(629489,'33413','','gallery','Silhouettes In Motion.jpg',400,500,'\"Silhouettes In Motion\"','Silhouettes In Motion_thumb.jpg',104, 130,0, 0,'<b>Equipment:</b><br>Nikon D70s, Nikon 28-70mm, F/2.8D, AFS @ 70mm','11/12/05','R. L. Craig','Houston, Texas');
photos[9] = new photo(165627,'','','','DSC_0919.jpg',400,320,'\"A Touch of Fall I\"','DSC_0919_thumb.jpg',130, 104,0, 0,'Late Afternoon Sun Created a Dramatic Showcase of Fall Aspen Color Against The Dark Background of Pine Trees.<br><br>\n<b>Equipment:</b><br>Nikon D70s, Nikon VR 70-200mm, F/2.8G, AFS @ 70mm','01/10/05','R. L. Craig','Highway 40, Kremling, Colorado');
photos[10] = new photo(165640,'','','','DSC_8986.jpg',400,500,'\"A Touch of Fall III\"','DSC_8986_thumb.jpg',130, 163,0, 0,'Against The Color of The Aspens & The Dark Colored Pines, This Lone Tree Shows Its Color.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 70-200mm, F/2.8G, AFS @ 70mm','01/10/05','R. L. Craig','Vail, Colorado');
photos[11] = new photo(165677,'33411','','gallery','Nautical Reflections2.jpg',400,500,'\"Nautical Reflections\"','Nautical Reflections2_thumb.jpg',130, 163,0, 1,'Limited Edition of 11<br><br>\nRipple Free Early Morning Water Created a Perfect Reflection.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon VR 70-200mm, F/2.8D,AFS @ 80mm','01/08/05','R. L. Craig','Lake Dillon Marina, Dillon, Colorado');
photos[12] = new photo(165749,'33411','','gallery','Old Chevy Truck.jpg',400,500,'\"Old Chevy Truck\"','Old Chevy Truck_thumb.jpg',130, 163,0, 0,'Limited Editon of 11<br><br>\nOld Deserted Chevy Truck That Has Seen Its Better Days<br><br>\n<b>Equipment:</b><br>Nikon D70s, Nikon 24-85mm,  F/3.5-4.5G, AFS @ 24 mmI','09/07/05','R. L. Craig','Fayette County, Texas');
photos[13] = new photo(164095,'','','','United We Stand 2.jpg',400,614,'\"United We Stand II\"','United We Stand 2_thumb.jpg',130, 200,0, 0,'Limited Edition of 11<br><br>\nA Field of Honor Displayed in Sugar Land, Texas As A Show of Patriotism.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 300mm, F/2.8D, AFS II<br>\n','03/04/05','R. L. Craig','Sugar Land, Texas');
photos[14] = new photo(163638,'','','','Nesting Pair II.jpg',400,267,'\"Nesting Pair II\"','Nesting Pair II_thumb.jpg',130, 87,0, 0,'Limited Edition of 11<br><br>\nGreat Egret Pair Nest Building During Mating Season.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 400mm, F/2.8D,AFS II w/TC 14E II Tele-Converter','25/03/05','R. L. Craig','Smith Oaks Rookery, High Isand, Texas');
photos[15] = new photo(163665,'','','','Silky Mountain Stream.jpg',400,300,'\"Silky Mountain Stream\"','Silky Mountain Stream_thumb.jpg',130, 98,0, 0,'Limited Edition of 11<br><br>\nOvercast Skies Created The Soft Light Required to Produce an Exposure of 2.5 Seconds to Produce The Silky Movement of This Rocky Mountain Stream.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 17mm','19/07/04','R. L. Craig','Rocky Mountain National Park, Just Off Bear Lake Road');
photos[16] = new photo(164048,'','','','Sunrise on Dillon.jpg',400,261,'\"Sunrise on Dillon\"','Sunrise on Dillon_thumb.jpg',130, 85,0, 0,'Limited Edition of 11<br><br>\nEarly Morning Sunrise on Lake Dillon.<br><br>\n<b>Equipment:</b><br> Nikon D1X, Nikon 24-85mm, F/3.5-4.5G AFS @ 28mm','18/07/04','R. L. Craig','Lake Dillon, Dillon, Colorado');
photos[17] = new photo(164017,'33410','','gallery','Old Yellow Truck1.jpg',400,320,'\"Old Truck I\"','Old Yellow Truck1_thumb.jpg',130, 104,0, 1,'Limited Edition of 11<br><br>\nDramatic Sky and Strong Lines Create Focal Point on Old Truck.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 17-35mm, F/2.8D, AFS @ 17mm','18/03/04','R. L. Craig','Hwy. 89, Gray Mountain, Arizona');
photos[18] = new photo(163639,'','','','Canyon Sunset.jpg',400,320,'\"Canyon Sunset\"','Canyon Sunset_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nSunset At Grand Canyon, Grand Canyon National Park.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','14/03/04','R. L. Craig','Grand Canyon National Park');
photos[19] = new photo(165752,'','','','Old Desert Shack BW.jpg',400,320,'\"Old Desert Shack\"','Old Desert Shack BW_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nFront Lit Old Desert Shack on Indian Reservation Contrasted By Sky and Mountain Background.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 20mm','14/03/04','R. L. Craig','Highway 64, Navajo Reservation, Coconino County Arizona');
photos[20] = new photo(170755,'','','','Trading Post.jpg',400,261,'\"The Trading Post\"','Trading Post_thumb.jpg',130, 85,0, 0,'Native American Indian Store Near Grand Canyon National Park.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 19mm','14/03/04','R. L. Craig','Grand Canyon National Park, Arizona');
photos[21] = new photo(170756,'','','','Sign Gallery.jpg',400,261,'\"Sign Gallery\"','Sign Gallery_thumb.jpg',130, 85,0, 0,'Collection of Vintage Signs In Yard.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 35mm','14/03/04','R. L. Craig','Sedona, Arizona');
photos[22] = new photo(163661,'','','','DSC_4451.jpg',400,320,'\"Papered Up\"','DSC_4451_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nPapered Up Storefront Downtown Lafayette Louisiana.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 24-85mm, F 3.5-4.5G, AFS @ 28mm','29/02/04','R. L. Craig','Jefferson Street, Lafayette, Louisiana');
photos[23] = new photo(163647,'33413','','gallery','Homeless 22.jpg',400,319,'\"Homeless\"','Homeless 22_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nEarly Morning Gathering of Homeless Men Lining Up For Food. Various Facial Expressions Add Interest.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 300mm, F/2.8D,AFS II','18/01/04','R. L. Craig','Tranquility Park, Houston, Texas');
photos[24] = new photo(165751,'33413','','gallery','DSC_4183BW1.jpg',400,614,'\"Flipped Off\"','DSC_4183BW1_thumb.jpg',130, 200,0, 0,'Homeless Man Expresses His Feelings.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 300mm, F/2.8D,AFS II','18/01/04','R. L. Craig','Tranquility Park, Houston, Texas');
photos[25] = new photo(416541,'33413','','gallery','DSC_4193ABW1.jpg',400,320,'\"The Deal\"','DSC_4193ABW1_thumb.jpg',130, 104,0, 0,'Early morning transaction under the nose of a sleeping homeless man.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 300mm, F/2.8D,AFS II','18/01/04','R. L. Craig','Tranquility Houston, Texas');
photos[26] = new photo(165759,'','','','Junk YardBW.jpg',400,481,'\"Junk Yard\"','Junk YardBW_thumb.jpg',130, 156,0, 1,'Limited Edition of 11<br><br>\nLittered Side Yard of a Downtown Baton Rouge Home.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 17mm','31/08/03','R. L. Craig','Baton Rouge, Louisiana');
photos[27] = new photo(438960,'33410','','gallery','The Back Door3.jpg',400,500,'\"The Back Door\"','The Back Door3_thumb.jpg',130, 163,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 17 mm','31/08/03','R. L. Craig','Baton Rouge, Louisana');
photos[28] = new photo(593176,'33413','','gallery','Tilted.jpg',234,292,'\"Tilted\"','Tilted_thumb.jpg',130, 162,0, 1,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/08/03','R. L. Craig','Galveston, Texas');
photos[29] = new photo(163675,'33410','','gallery','Passing Storm Cropped.jpg',400,320,'\"Passing Storm\"','Passing Storm Cropped_thumb.jpg',130, 104,1, 0,'Limited Edition of 11 (Sold Out)<br><br>\nScene Following an Early Summer Snow Squall On Trail Ridge Road, Rocky Mountain National Park. Photograph Taken Above The Treeline About 12,000 Ft. Elevation.  Note The Lenticuar Cloud Formation Following The Storm.<br><br>\n<b>Equipment:</b><br>Nikon F100, Nikon 20mm, F/2.8D, Kodak Tri-X<br><br>\n','24/06/03','R. L. Craig','Rocky Mountian National Park, Colorado');
photos[30] = new photo(177945,'','','','Bear Lake.jpg',400,500,'\"Bear Lake\"','Bear Lake_thumb.jpg',130, 163,0, 0,'Lilly Pad Covered Bear Lake With Hallet\'s Peak In The Background.<br><br>\n<b>Equipment:</b><br>Nikon F-100, Nikon 20mm, F/2.8D, Fuji Provia','20/07/02','R. L. Craig','Bear Lake, Rocky Mountain National Park');
photos[31] = new photo(177944,'','','','Red Bench.jpg',400,500,'\"Red Bench\"','Red Bench_thumb.jpg',130, 163,0, 0,'Red Bench Downtown Bellville, Austin County Texas<br>\n<b>Equipment:</b><br>Nikon F-100, Nikon 28-70mm, F/2.8D, AFS, Fuji Velvia','15/03/02','R. L. Craig','Bellville, Texas');
photos[32] = new photo(165758,'','','','Alpine Glow.jpg',400,320,'\"Alpine Glow\"','Alpine Glow_thumb.jpg',130, 104,0, 0,'Waning Evening Sun Spreads Warm Light on Mountainside.  Longs Peak In Background.<br><br>\n<b>Equipment:</b><br>Nikon F100, Nikon 20mm F/2.8D, Fuji Velvia','','R. L. Craig','Rocky Mountain National Park, Colorado');
photos[33] = new photo(444502,'','','','Vine Covered Wall.jpg',400,500,'','Vine Covered Wall_thumb.jpg',130, 163,0, 0,'','','','');
photos[34] = new photo(444504,'','','','Weathered Patriot.jpg',500,400,'','Weathered Patriot_thumb.jpg',130, 104,0, 0,'','','','');
photos[35] = new photo(594565,'','','','R. Craig Portrait1.jpg',150,203,'','R_thumb. Craig Portrait1.jpg',130, 176,0, 0,'','','','');
photos[36] = new photo(444484,'','','','DSC_4193ABW.jpg',400,320,'DSC 4193ABW','DSC_4193ABW_thumb.jpg',130, 104,0, 0,'','','','');
photos[37] = new photo(444489,'','','','In Case of Fire1.jpg',400,500,'In Case of Fire','In Case of Fire1_thumb.jpg',130, 163,0, 0,'','','','');
photos[38] = new photo(444476,'','','','Baby Gator1.jpg',400,267,'Baby Gator','Baby Gator1_thumb.jpg',130, 87,0, 0,'','','','');
photos[39] = new photo(444485,'','','','Golden Light1.jpg',400,320,'Golden Light','Golden Light1_thumb.jpg',130, 104,0, 0,'','','','');
photos[40] = new photo(444490,'','','','Lines II1.jpg',400,500,'Lines II','Lines II1_thumb.jpg',130, 163,0, 0,'','','','');
photos[41] = new photo(444500,'','','','The Day Is Done1.jpg',400,500,'The Day Is Done','The Day Is Done1_thumb.jpg',130, 163,0, 0,'','','','');
photos[42] = new photo(444481,'33412','','gallery','DSC_2311BW.jpg',400,320,'\"Daisy Dreaming\"','DSC_2311BW_thumb.jpg',130, 104,0, 1,'<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D, AFS @ 65mm','17/07/06','R. L. Craig','Twin Lakes, Colorado');
photos[43] = new photo(444477,'','','','Cityscape1.jpg',400,294,'Cityscape','Cityscape1_thumb.jpg',130, 96,0, 0,'','','','');
photos[44] = new photo(444486,'','','','Great Egret In Plummage1.jpg',400,500,'\"Great Egret In Breeding Plumage\"','Great Egret In Plummage1_thumb.jpg',130, 163,0, 0,'','','','');
photos[45] = new photo(444491,'','','','Nesting Pair II1.jpg',400,267,'Nesting Pair II','Nesting Pair II1_thumb.jpg',130, 87,0, 0,'','','','');
photos[46] = new photo(444496,'','','','Red Shouldered Hawk.jpg',400,500,'Red Shouldered Hawk','Red Shouldered Hawk_thumb.jpg',130, 163,0, 0,'','','','');
photos[47] = new photo(444478,'33410','','gallery','DSC_0618.jpg',400,500,'\"Grain Elevator\"','DSC_0618_thumb.jpg',130, 163,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon VR 70-200mm, F/2.8 G, AFS @ 78mm','15/01/06','R. L. Craig','Rayne, Louisiana');
photos[48] = new photo(444487,'','','','Great Egret Pair 2.jpg',400,506,'Great Egret Pair 2','Great Egret Pair 2_thumb.jpg',130, 164,0, 0,'','','','');
photos[49] = new photo(444492,'','','','Nesting Pair III1.jpg',400,320,'\"Nesting Pair III\"','Nesting Pair III1_thumb.jpg',130, 104,0, 0,'','','','');
photos[50] = new photo(444483,'33412','','gallery','DSC_2400BW.jpg',400,320,'\"Columbines in Mono\"','DSC_2400BW_thumb.jpg',130, 104,0, 1,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 35mm','17/07/06','R. L. Craig','Lake County, Colorado');
photos[51] = new photo(444488,'','','','Homeless 21.jpg',400,319,'Homeless 2','Homeless 21_thumb.jpg',130, 104,0, 0,'','','','');
photos[52] = new photo(444493,'','','','Old Chevy Truck2.jpg',400,500,'Old Chevy Truck','Old Chevy Truck2_thumb.jpg',130, 163,0, 0,'','','R. L.Craig','');
photos[53] = new photo(444498,'','','','Seat With A View1.jpg',400,320,'Seat With A View','Seat With A View1_thumb.jpg',130, 104,0, 0,'','','','');
photos[54] = new photo(594557,'15283','','gallery','Wild Rose.jpg',400,400,'\"Wild Rose\"','Wild Rose_thumb.jpg',130, 130,1, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','17/07/06','R. L. Craig','Lake County, Colorado');
photos[55] = new photo(164113,'15283','','gallery','Red Shouldered Hawk1.jpg',400,500,'\"Red Shouldered Hawk\"','Red Shouldered Hawk1_thumb.jpg',130, 163,0, 0,'Limited Edition of 11<br><br>\nRed Shouldered Hawk Searching The Bottom Land Woods of Brazos Bend State Park.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 400mm F 2.8D, AFS II w/TC14 E II','27/12/05','R. L. Craig','Brazos Bend State Park, Needville, Texas');
photos[56] = new photo(165754,'15283','','gallery','NESTING PAIR.jpg',400,500,'\"Nesting Pair I\"','NESTING PAIR_thumb.jpg',130, 163,0, 0,'Limited Edition of 11<br><br>\nGreat Egret Pair Showing Affection For Each Other During Breeding Season.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 400mm, F/2.8D,AFS II, w/TC 14E II Tele-Converter','27/03/05','R. L. Craig','Smith Oaks Rookery, High Island, Texas');
photos[57] = new photo(177943,'15283','','gallery','Nesting Pair III.jpg',400,320,'\"Nesting Pair III\"','Nesting Pair III_thumb.jpg',130, 104,0, 0,'Great Egret Pair In Nest Building Ritual.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 400mm, F/2.8D,AFS II, w/TC 14E II Tele-Converter','27/03/05','R. L. Craig','Smith Oaks Rookery, High Island, Texas');
photos[58] = new photo(163633,'15283','','gallery','Rosate Spoonbills In Tree.jpg',400,500,'\"Roseate Spoonbills in Tree\"','Rosate Spoonbills In Tree_thumb.jpg',130, 163,0, 0,'Limited Edition of 11<br><br>\nRoseate Spoonbills in Tree at Rookery During Breeding Season.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 400mm, F/2.8D, AFS II w/TC 14E II Tele-Converter','18/03/05','R. L. Craig','Smith Oaks Rookery, High Island, Texas');
photos[59] = new photo(164014,'15283','','gallery','Great Egret In Plummage.jpg',400,500,'\"Great Egret Breeding Plumage\"','Great Egret In Plummage_thumb.jpg',130, 163,0, 0,'Limited Edition of 11<br><br>\nSingle Great Egret in Breeding Plummage Captured in Late Evening Light.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 400mm, F/2.8D, AFS II w/TC 14E II Tele-Converter','18/03/05','R. L. Craig','Smith Oaks Rookery, High Island, Texas');
photos[60] = new photo(594552,'15283','','gallery','Morning Dew.jpg',400,500,'\"Morning Dew\"','Morning Dew_thumb.jpg',130, 163,1, 1,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 35mm','31/08/03','R. L. Craig','Baton Rouge, Louisiana');
photos[61] = new photo(165619,'15283','','gallery','Baby Gator.jpg',400,267,'\"Baby Gator\"','Baby Gator_thumb.jpg',130, 87,0, 0,'This Small Baby Gator Was Found Sitting On a Stick In a Bayou At Brazos Bend State Park.  With Still Water and The Right Light, a Near Perfect Reflection was Created.<br><br>\n<b>Equipment:</b><br>Nikon F100, Nikon 300mm, F/2.8D,AFS II, Fuji Velvia','','R. L. Craig','Brazos Bend State Park, Needville, Texas');
photos[62] = new photo(666713,'15283','','gallery','Autumn Solstice.jpg',479,600,'\"Autumn Solstice\"','Autumn Solstice_thumb.jpg',104, 130,0, 0,'','','','');
photos[63] = new photo(193658,'17664','','gallery','Antelope Canyon I .jpg',400,500,'Antelope Slot Canyon I','Antelope Canyon I _thumb.jpg',130, 163,0, 1,'Antelope Canyon Near Page Arizona','','R. L. Craig','Page, Arizona');
photos[64] = new photo(193659,'17664','','gallery','Antelope Canyon II.jpg',400,500,'Antelope Slot Canyon II','Antelope Canyon II_thumb.jpg',130, 163,0, 0,'','','R. L. Craig','Page, Arizona');
photos[65] = new photo(193661,'17664','','gallery','Clearing Snow Storm.jpg',400,320,'Clearing Snow Storm Over Sedona','Clearing Snow Storm_thumb.jpg',130, 104,0, 0,'Snow Storm Clears During The Evening Golden Hour','','R. L. Craig','Sedona, Arizona');
photos[66] = new photo(193662,'17664','','gallery','Moon Rise Over Oak Creek Canyon.jpg',400,320,'Moon Rise Over Oak Creek Canyon','Moon Rise Over Oak Creek Canyon_thumb.jpg',130, 104,0, 0,'Early Evening Moon Rise Over Oak Creek Canyon.  Full Moon Gave a Near Daylight Effect.','','R. L. Craig','Sedona, Arizona');
photos[67] = new photo(193663,'17664','','gallery','Vases In Perspective.jpg',400,320,'Vases In Perspective','Vases In Perspective_thumb.jpg',130, 104,0, 0,'','','R. L. Craig','Sedona, Arizona');
photos[68] = new photo(193665,'17664','','gallery','Tucked Away.jpg',400,500,'Tucked Away','Tucked Away_thumb.jpg',130, 163,0, 0,'','','R. L. Craig','Tlaquepaque, Sedona Arizona');
photos[69] = new photo(193667,'17664','','gallery','Palatki Ruins.jpg',400,320,'Palatki Ruins','Palatki Ruins_thumb.jpg',130, 104,0, 0,'Ruins of The Sinagua Indians In The Verde Valley Near Sedona.  These Ruins Are Said To Be Nearly 1000 Years Old.','','R. L. Craig','Verde Valley, Near Sedona');
photos[70] = new photo(193669,'17664','','gallery','Mesa.jpg',400,320,'Mesa','Mesa_thumb.jpg',130, 104,0, 0,'','','R. L. Craig','');
photos[71] = new photo(193672,'17664','','gallery','Red Rock.jpg',400,500,'Red Rock','Red Rock_thumb.jpg',130, 163,0, 0,'','','R. L. Craig','Sedona, Arizona');
photos[72] = new photo(193674,'17664','','gallery','Pipline Crossing.jpg',400,500,'Pipline Crossing','Pipline Crossing_thumb.jpg',130, 163,0, 0,'','','R. L. Craig','Cameron, Arizona');
photos[73] = new photo(193675,'17664','','gallery','Oak Creek Canyon Bridge.jpg',400,500,'Oak Creek Canyon Bridge','Oak Creek Canyon Bridge_thumb.jpg',130, 163,0, 0,'','','R. L. Craig','Sedona, Arizona');
photos[74] = new photo(593241,'15281','','gallery','Solitude2.jpg',400,320,'\"Solitude\"','Solitude2_thumb.jpg',130, 104,1, 0,'<b>Equipment:</b><br>Contax 645 AF, Carl Zeiss Planar 80mm F/2.0, Fujichrome Velvia','01/10/06','R. L. Craig','Rock Creek Road, Summit County, Colorado');
photos[75] = new photo(594522,'15281','','gallery','Aspen Grove.jpg',400,500,'\"Aspen Grove\"','Aspen Grove_thumb.jpg',130, 163,1, 0,'<b>Equipment:</b><br>Contax 645 AF, Carl Zeiss Sonnar 140mm F/2.8, Fujichrome Velvia','30/09/06','R. L. Craig','Aspen, Colorado');
photos[76] = new photo(594561,'15281','','gallery','Big Red Doors.jpg',400,500,'\"Big Red Doors\"','Big Red Doors_thumb.jpg',130, 163,1, 0,'<b>Equipment:</b><br>Contax 645 AF, Carl Zeiss Planar 80mm F/2.0, Fujichrome Velvia','30/09/06','R. L. Craig','Twin Lakes, Colorado');
photos[77] = new photo(594526,'15281','','gallery','Autumn Harvest.jpg',400,320,'\"Autum Harvest\"','Autumn Harvest_thumb.jpg',130, 104,0, 1,'<b>Equipment:</b><br>Contax 645 AF, Carl Zeiss Distagon 45mm F/2.8, Fujichrome Velvia','29/09/06','R. L. Craig','Ute Pass Road, Colorado');
photos[78] = new photo(666714,'15281','','gallery','Autumn Solstice1.jpg',479,600,'\"Autumn Solstice\"','Autumn Solstice1_thumb.jpg',104, 130,0, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 22mm','29/09/06','R. L. Craig','Bear Lake Road, Rocky Mountain National Park, Colorado');
photos[79] = new photo(593184,'15281','','gallery','Red Barn III.jpg',400,291,'\"Red Barn\"','Red Barn III_thumb.jpg',130, 95,1, 0,'<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 19mm','17/07/06','R. L. Craig','Twin Lakes, Colorado');
photos[80] = new photo(163631,'15281','','gallery','DSC_0942.jpg',400,320,'\"A Touch of Fall II\"','DSC_0942_thumb.jpg',130, 104,0, 0,'Limited Edition of 11<br><br>\nColorado Aspen, Fall Foliage Looking Up From Ground Level Into The Canopy.<br><br>\n<b>Equipment:</b><br>Nikon D70s, Nikon 17-35mm F/2.8D, AFS @ 17mm','01/10/05','R. L. Craig','Vail, Colorado');
photos[81] = new photo(170754,'15281','','gallery','Canyon Sunset II.jpg',400,261,'\"Dark Shadow\"','Canyon Sunset II_thumb.jpg',130, 85,0, 0,'Shadow Overtakes Waning Sunlight on Grand Canyon<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 19mm','14/03/04','R. L. Craig','Grand Canyon National Park, Arizona');
photos[82] = new photo(164015,'15281','','gallery','Red Rock Glow.jpg',400,261,'\"Red Rock Glow\"','Red Rock Glow_thumb.jpg',130, 85,0, 0,'Limited Edition of 11<br><br>\nFading Light Illuminating Face of Rock in Sedona.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D, AFS @ 17mm','13/03/04','R. L. Craig','Sedona, Arizona');
photos[83] = new photo(165664,'15282','','gallery','Vine Covered Walll.jpg',400,614,'\"Vine Covered Wall\"','Vine Covered Walll_thumb.jpg',130, 200,0, 0,'Limited Edition of 11<br><br>\nStrong Contrast Between Green Foliage and Tourquise Wall Created Interest.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 28-70mm, F/2.8D,AFS @ 28mm','24/04/05','R. L. Craig','');
photos[84] = new photo(169897,'15282','','gallery','Cityscape.jpg',400,294,'\"Cityscape\"','Cityscape_thumb.jpg',130, 96,0, 0,'Strong Contrast of Old Versus New in Downtown Houston. Federal Farm Credit Bank in Foreground.<br><br>\n<b>Equipment:</b><br>Contax 645, Carl Zeiss Planar 80mm, F/2.0, Fuji Velvia.<br><br>\n','03/03/05','R. L. Craig','Houston, Texas');
photos[85] = new photo(163630,'15282','','gallery','Seat With A View.jpg',400,320,'\"Seat With A View\"','Seat With A View_thumb.jpg',130, 104,0, 1,'Limited Edition of 11<br><br>\nBlack Bench in Front of Mural in Parking Garage Downtown Lafayette, Louisiana.  Mural Depicts Scene of Downtown With Key Landmarks.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 24-85mm F/ 3.5-4.5G, AFS @ 38mm','29/02/04','R. L. Craig','Lafayette, Louisiana');
photos[86] = new photo(165656,'15282','','gallery','This Old Door.jpg',400,567,'\"This Old Door\"','This Old Door_thumb.jpg',130, 184,0, 0,'Muted Colors and Texture of Chipped Away Paint Create Interesting Image.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mm, F/2.8D,AFS @ 17mm','31/08/03','R. L. Craig','Breaux Bridge, Louisiana');
photos[87] = new photo(165757,'15282','','gallery','Metered.jpg',400,261,'\"Metered\"','Metered_thumb.jpg',130, 85,0, 0,'Bank of Electric Meters on Side of Building Create Interesting Detail.<br><br>\n<b>Equipment:</b><br>Nikon D1X, 300mm, F/2.8D,AFS IIte Interesting Detail.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon 17-35mmm, F/2.8D, AFS @ 24mm<br><br>\n','24/08/03','R. L. Craig','Galveston Texas');
photos[88] = new photo(172870,'16020','','gallery','Golden Light.jpg',400,320,'\"Golden Light\"','Golden Light_thumb.jpg',130, 104,0, 1,'Golden Light From High Intensity Sodium Vapor Lights Cast A Warm Glow Inside The Sugar Warehouse of The Imperial Sugar Plant.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 19mm','24/02/06','R. L. Craig','Imerial Sugar Plant, Sugar Land, Texas');
photos[89] = new photo(172871,'16020','','gallery','Char House I.jpg',400,320,'\"Char House I\"','Char House I_thumb.jpg',130, 104,0, 0,'Huge Vats Lined Up For Production of Sugar In The Char House At The Imperial Sugar Plant.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Pant, Sugar Land, Texas');
photos[90] = new photo(172872,'16020','','gallery','Char House II.jpg',400,320,'\"Char House II\"','Char House II_thumb.jpg',130, 104,0, 0,'Vat And Various Pipes Used In The Refining Process.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[91] = new photo(172874,'16020','','gallery','Char House Furnace.jpg',400,500,'\"Char House Furnace\"','Char House Furnace_thumb.jpg',130, 163,0, 0,'The Door Was Left Open on This Furnace.  Like Much of Equipment Found In The Plant, This Furnace Was Manufactured In The Early 1990s.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[92] = new photo(172875,'16020','','gallery','In Case of Fire.jpg',400,500,'\"In Case of Fire\"','In Case of Fire_thumb.jpg',130, 163,0, 0,'Fire Exit In The Char House.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Char House, Imperial Sugar Plant, Sugar Land, Texas');
photos[93] = new photo(173606,'16020','','gallery','Char House III.jpg',400,500,'\"Char House III','Char House III_thumb.jpg',130, 163,0, 0,'Char House Vats Used Formally Used In Sugar Production.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[94] = new photo(173608,'16020','','gallery','Lines II.jpg',400,500,'\"Lines\"','Lines II_thumb.jpg',130, 163,0, 0,'Steps Outside The Sugar Warehouse Create Interesting Lines.<br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm<br>\n','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[95] = new photo(173610,'16020','','gallery','Ladder.jpg',400,500,'\"Ladder\"','Ladder_thumb.jpg',130, 163,0, 0,'This Ladder Was Left In Place When Plant Operations Ceased In 2003.<br><br>\n<b>Equipment:</b><br>Nikon D1X, Nikon17-35mm,  F/2.8D, AFS @ 17mm','24/02/06','R. L. Craig','Imperial Sugar Plant, Sugar Land, Texas');
photos[96] = new photo(366611,'30106','','gallery','DSC_2080.jpg',377,480,'DSC 2080','DSC_2080_thumb.jpg',130, 166,0, 0,'','04/07/07','R. Craig','Luby\'s, Meyerland, TX');
photos[97] = new photo(366578,'30106','','gallery','DSC_20514.jpg',377,480,'DSC 2051','DSC_20514_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[98] = new photo(366584,'30106','','gallery','DSC_20642.jpg',377,480,'DSC 2064','DSC_20642_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[99] = new photo(366618,'30106','','gallery','DSC_2097.jpg',377,480,'DSC 2097','DSC_2097_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[100] = new photo(366629,'30106','','gallery','DSC_21091.jpg',377,480,'DSC 2109','DSC_21091_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[101] = new photo(366645,'30106','','gallery','DSC_2120.jpg',600,472,'DSC 2120','DSC_2120_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[102] = new photo(366652,'30106','','gallery','DSC_2140.jpg',600,472,'DSC 2140','DSC_2140_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[103] = new photo(366579,'30106','','gallery','DSC_20532.jpg',377,480,'DSC 2053','DSC_20532_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[104] = new photo(366585,'30106','','gallery','DSC_20711.jpg',377,480,'DSC 2071','DSC_20711_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[105] = new photo(366612,'30106','','gallery','DSC_20861.jpg',600,472,'DSC 2086','DSC_20861_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Criag','Luby\'s, Meyerland, TX');
photos[106] = new photo(366619,'30106','','gallery','DSC_2098.jpg',377,480,'DSC 2098','DSC_2098_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[107] = new photo(366630,'30106','','gallery','DSC_2110.jpg',377,480,'DSC 2110','DSC_2110_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[108] = new photo(366646,'30106','','gallery','DSC_2123.jpg',377,480,'DSC 2123','DSC_2123_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[109] = new photo(366580,'30106','','gallery','DSC_20544.jpg',377,480,'DSC 2054','DSC_20544_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[110] = new photo(366586,'30106','','gallery','DSC_2072.jpg',377,480,'DSC 2072','DSC_2072_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[111] = new photo(366613,'30106','','gallery','DSC_2090.jpg',377,480,'DSC 2090','DSC_2090_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[112] = new photo(366620,'30106','','gallery','DSC_2100.jpg',377,480,'DSC 2100','DSC_2100_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[113] = new photo(366631,'30106','','gallery','DSC_2111.jpg',377,480,'DSC 2111','DSC_2111_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[114] = new photo(366647,'30106','','gallery','DSC_2126.jpg',377,480,'DSC 2126','DSC_2126_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[115] = new photo(366581,'30106','','gallery','DSC_20583.jpg',377,480,'DSC 2058','DSC_20583_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[116] = new photo(366587,'30106','','gallery','DSC_2076.jpg',377,480,'DSC 2076','DSC_2076_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[117] = new photo(366614,'30106','','gallery','DSC_20931.jpg',377,480,'DSC 2093','DSC_20931_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[118] = new photo(366622,'30106','','gallery','DSC_2101.jpg',377,480,'DSC 2101','DSC_2101_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[119] = new photo(366632,'30106','','gallery','DSC_2113.jpg',377,480,'DSC 2113','DSC_2113_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Criaig','Luby\'s, Meyerland, TX');
photos[120] = new photo(366648,'30106','','gallery','DSC_2132.jpg',377,480,'DSC 2132','DSC_2132_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[121] = new photo(366582,'30106','','gallery','DSC_20593.jpg',600,472,'DSC 2059','DSC_20593_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[122] = new photo(366588,'30106','','gallery','DSC_2079.jpg',377,480,'DSC 2079','DSC_2079_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[123] = new photo(366615,'30106','','gallery','DSC_2094.jpg',377,480,'DSC 2094','DSC_2094_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[124] = new photo(366623,'30106','','gallery','DSC_2104.jpg',377,480,'DSC 2104','DSC_2104_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[125] = new photo(366633,'30106','','gallery','DSC_2117.jpg',600,472,'DSC 2117','DSC_2117_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[126] = new photo(366649,'30106','','gallery','DSC_2137.jpg',600,472,'DSC 2137','DSC_2137_thumb.jpg',130, 102,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');
photos[127] = new photo(366653,'30106','','gallery','DSC_2145.jpg',377,480,'DSC 2145','DSC_2145_thumb.jpg',130, 166,0, 0,'','04/07/06','R. Craig','Luby\'s, Meyerland, TX');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(33410,'164017','Monochrome 1','gallery');
galleries[1] = new gallery(33411,'165677','Monochrome 2','gallery');
galleries[2] = new gallery(33412,'444483,444481','Monochrome 3','gallery');
galleries[3] = new gallery(33413,'593176','Monochrome 4','gallery');
galleries[4] = new gallery(15285,'593176,444483,444481,165677,164017','Monochrome','gallery');
galleries[5] = new gallery(15283,'594552','Nature','gallery');
galleries[6] = new gallery(17664,'193658','Southwest USA','gallery');
galleries[7] = new gallery(15281,'594526','Vistas','gallery');
galleries[8] = new gallery(15282,'163630','Urbanscape','gallery');
galleries[9] = new gallery(16020,'172870','Imperial Sugar','gallery');
galleries[10] = new gallery(30106,'366653,366652,366649,366648,366647,366646,366645,366633,366632,366631','Eulia Sampay 80th Birthday Party','gallery');

