function PhotoItem(caption,folder,orientation)
{
	this.caption = caption;
	this.folder = folder;
	this.orientation = orientation;
}

function ShowLargeImage(src)
{
	var newsource = new String();
	var beginString = new String();
	var endString = new String();
	
	beginString = src.substring(0,src.indexOf("Normal"));
	endString = src.substring(src.indexOf("Normal") + 6,src.length);
	newsource = beginString + "Large" + endString;

	window.open(newsource,"Image");
}

function DisplayCopyright()
{
	var Year = new Date();
	var Text = document.getElementById('divYear');
	
	Text.innerHTML = "&#169; Copyright 2007-" + Year.getFullYear() + " Mark Fritsche Designs";
}

function InitilizePage(page)
{
	DisplayCopyright();
	BuildMenu(page);
	BuildPhotoTable(page);
}


