// Gallery data
// Gallery:  (name, aboutPage, photos)
// HtmlPage:   (name, path, text)
// Photo:      (name, thumb path, image path, title)

var galleriesContext = 
{ 
	galleries :
	[
	{//'Close Up World',
		name : 'Ready for My Close Up',
		aboutPage : 
		{
			name : 'aboutCloseUp', path: 'galleries/closeUp/AboutCloseUp.html', title : "About 'Ready for My Close Up'"
		},
		// imagePath not yet used per gallery
		imagePath : 'closeUp/',
		thumbPath : 'closeUp/',
		textPath  : 'closeUp/',
		photos :
		[
			{ name : "canna", thumbPath :'closeUp/thumCanna.jpg',	 imagePath : 'closeUp/Canna.jpg', title : 'Canna',
			  aboutPage: 'Canna.html'},
			{ name : "field", thumbPath :'closeUp/thumField.jpg',	 imagePath : 'closeUp/Field.jpg', title : 'Field'},
			{ name : "novemberLeaves3", thumbPath :'closeUp/thumNovemberLeaves3.jpg',	 imagePath : 'closeUp/NovemberLeaves3.jpg', title : 'November Leaves #3'},
			{ name : "novemberLeaves5", thumbPath :'closeUp/thumNovemberLeaves5.jpg',	 imagePath : 'closeUp/NovemberLeaves5.jpg', title : 'November Leaves #5'},
			{ name : "pierEdge", thumbPath :'closeUp/thumPierEdge.jpg',	 imagePath : 'closeUp/PierEdge.jpg', title : 'Pier Edge, Lake Ontario'},
			{ name : "PineCones", thumbPath :'closeUp/thumPineCones.jpg',	 imagePath : 'closeUp/PineCones.jpg', title : 'Pine Cones'},
			{ name : "seaweed1", thumbPath :'closeUp/thumseaweed1.jpg',	 imagePath : 'closeUp/Seaweed1.jpg', title : 'Seaweed'},
			{ name : "shell", thumbPath :'closeUp/thumShell.jpg',	 imagePath : 'closeUp/Shell.jpg', title : 'Shell'},
			{ name : "thicket", thumbPath :'closeUp/thumthicket.jpg',	 imagePath : 'closeUp/Thicket.jpg', title : 'Thicket'}
		]
	},
	{//'Roadway',
		name : 'Roadway',
		aboutPage : 
		{
			name : 'aboutRoadway', path: 'galleries/roadway/AboutRoadway.html', title : "About 'Roadway'"
		},
		// imagePath not yet used per gallery
		imagePath : 'roadway/',
		thumbPath : 'roadway/',
		textPath  : 'roadway/',
		photos :
		[
			{ name : "arcDeTriomphe", thumbPath :'roadway/thumArcDeTriomphe.jpg',	 imagePath : 'roadway/ArcDeTriomphe.jpg', title : 'Arc De Triomphe'},
			{ name : "95at177", thumbPath :'roadway//thum95at177.jpg',	 imagePath : 'roadway/95at177.jpg', title : 'Rt 95 at Rt 177'},	
			{ name : "128North", thumbPath :'roadway/thum128North.jpg',	 imagePath : 'roadway/128North.jpg', title : 'Rt 128 North'},
			{ name : "bostonSkyline", thumbPath :'roadway/thumBostonSkyline.jpg',	 imagePath : 'roadway/BostonSkyline.jpg', title : 'Boston Skyline'},
			{ name : "bridgeport95So", thumbPath :'roadway/thumBridgeport95south.jpg',	 imagePath : 'roadway/Bridgeport95south.jpg', title : 'Bridgeport Rt 95 So'},
			{ name : "hurryHome", thumbPath :'roadway/thumHurryHome.jpg',	 imagePath : 'roadway/HurryHome.jpg', title : 'Hurry Home'},
			{ name : "ramps", thumbPath :'roadway/thumRamps.jpg',	 imagePath : 'roadway/Ramps.jpg', title : 'Ramps'},
			{ name : "redTruck", thumbPath :'roadway/thumRedTruck.jpg',	 imagePath : 'roadway/RedTruck.jpg', title : 'Red Truck'},
			{ name : "tappanzeeBridge", thumbPath :'roadway/thumTappanzeeBridge.jpg',	 imagePath : 'roadway/TappanzeeBridge.jpg', title : 'Tappanzee Bridge'},
			{ name : "throgsNeck2", thumbPath :'roadway/thumThrogsNeck2.jpg',	 imagePath : 'roadway/ThrogsNeck2.jpg', title : 'Throgs Neck Bridge'},
			{ name : "throgsNeck2", thumbPath :'roadway/thumVerrazanoLowerRoad.jpg',	 imagePath : 'roadway/VerrazanoLowerRoad.jpg', title : 'Verrazanno Lower Road'}
		]
	}
],
current    : 'Ready for My Close Up',
imagesPath : 'galleries/',
thumbsPath : 'galleries/',
textPath   : 'galleries/'
}

// Divs on current page and relative path to gallery directory
var galleriesDivId='galleries';
var thumbsDivId='thumbs';
var imageDivId='content';
var textDivId='content';
var titleDivId='title';
var captionDivId='caption';

// Div for preloaded inmages (not displayed)
var preloadId="preload";

// Customizations for blend functions
var doBlend=false;
var blendTime=500;

var doLoadInitialImage=false;   // load initial image or about page

