// object constructor
function csnPhotoNavObject(csnPhoto) {
	// define object's properties
	this.photo = csnPhoto;

	// attach object's methods
	this.handleMouseOver = csnPhotoNavObjectShowThumb;
	this.handleMouseOut = csnPhotoNavObjectHideThumb;
	this.handleClick = csnPhotoNavObjectHandleClick;
}

// define object's methods

function csnPhotoNavObjectShowThumb() {
	// simply hand off this off to the photo object
	this.photo.showThumb();

}

function csnPhotoNavObjectHideThumb() {
	// simply hand off this off to the photo object
	this.photo.hideThumb();
}

function  csnPhotoNavObjectHandleClick() {
	// our other events were a bit simpler, here we want to return false in addition to showing the full photo
	this.photo.showFull(); // first hand the display of the image off
	return false; // then return false
}

