var PictBigCurrent = null;
var PictBigNew = null;
var PictSmallCurrent = null;
var PictSmallNew = null;
function showPict(PictID) {
	PictBigNew = document.getElementById('PictBig-' + PictID);
	if(PictBigNew != PictBigCurrent) {
		if(PictBigCurrent) {
			PictBigCurrent.style.display = 'none';
		}
		if(PictBigNew) {
			PictBigNew.style.display = 'block';
			PictBigCurrent = PictBigNew;
		}
	}
	PictSmallNew = document.getElementById('PictSmall-' + PictID);
	if(PictSmallNew != PictSmallCurrent) {
		if(PictSmallCurrent) {
			PictSmallCurrent.className = 'PhotoSmall';
		}
	if(PictSmallNew) {
		PictSmallNew.className = 'PictActivated';
		PictSmallCurrent = PictSmallNew;
	}
	}
}

function closePict(PictID) {
	PictBigCurrent = document.getElementById('PictBig-' + PictID);
	PictBigCurrent.style.display = 'none';
	PictBigCurrent = null;
	PictSmallCurrent = document.getElementById('PictSmall-' + PictID);
	PictSmallCurrent.className = 'PhotoSmall';
	PictSmallCurrent = null;
}




var FlorCurrent = null;
var FlorNew = null;
var PictSmallCurrent = null;
var PictSmallNew = null;
function showFlor(FlorID) {
	FlorNew = document.getElementById('PictBig-' + FlorID);
	if(FlorNew != FlorCurrent) {
		if(FlorCurrent) {
			FlorCurrent.style.display = 'none';
		}
		if(FlorNew) {
			FlorNew.style.display = 'block';
			FlorCurrent = FlorNew;
		}
	}
	//PictSmallNew = document.getElementById('PictSmall-' + FlorID);
	if(PictSmallNew != PictSmallCurrent) {
		if(PictSmallCurrent) {
			PictSmallCurrent.className = 'PhotoSmall';
		}
	if(PictSmallNew) {
		PictSmallNew.className = 'PictActivated';
		PictSmallCurrent = PictSmallNew;
	}
	}
}

function closeFlor(FlorID) {
	FlorCurrent = document.getElementById('PictBig-' + FlorID);
	FlorCurrent.style.display = 'none';
	FlorCurrent = null;
	//PictSmallCurrent = document.getElementById('PictSmall-' + FlorID);
	//PictSmallCurrent.className = 'PhotoSmall';
	//PictSmallCurrent = null;
}

