var myWidth = 0;var myHeight = 0;
var halfScreenHeight = 0;function determineSize() {	// determines the inner size of the browser window	if( typeof( window.innerWidth ) == 'number' ) {		//Non-IE		myWidth = window.innerWidth;		myHeight = window.innerHeight;	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {		//IE 6+ in 'standards compliant mode'		myWidth = document.documentElement.clientWidth;		myHeight = document.documentElement.clientHeight;	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {		//IE 4 compatible		myWidth = document.body.clientWidth;		myHeight = document.body.clientHeight;	}
	halfScreenHeight = Math.floor(myHeight / 2);}





function positionContentDIV(divID, vertAdjust) {
	// sets the Top of a given element based on an adjustment from vertical center
	topPoint = halfScreenHeight - vertAdjust;
	if (topPoint < 82) {
		topPoint = 82;
	}
	topPoint += "px";
	document.getElementById(divID).style.top = topPoint;
}



function placeBGImage() {// sets the background-image value for the body based on the height of the browser window// not used in current version, as of yet - may re-institute to put different sized version of bamboo graphic in place	if (myHeight >= 800) {		document.getElementById("bodyTag").style.backgroundImage = "url('pageBackground1b.jpg')";		return;	}	if (myHeight < 600) {		document.getElementById("bodyTag").style.backgroundImage = "url('pageBackground3b.jpg')";		return;	}	document.getElementById("bodyTag").style.backgroundImage = "url('pageBackground2b.jpg')";}function positionPastCollectionThumbnails() {	topY = Math.floor(myHeight / 2) - 155;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("thumbnailsImgDIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPastCollectionImages() {	topY = Math.floor(myHeight / 2) - 170;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplayPastCollDIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPhotoRR06() {	topY = Math.floor(myHeight / 2) - 150;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplayRR2006DIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPhotoRR07() {	topY = Math.floor(myHeight / 2) - 150;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplayRR2007DIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPhotoRR09() {	topY = Math.floor(myHeight / 2) - 150;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplayRR2009DIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPhotoOA07() {	topY = Math.floor(myHeight / 2) - 150;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplayOA2007DIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function positionPhotoSW06() {	topY = Math.floor(myHeight / 2) - 150;	if (topY < 100) {		topY = 105; // if by this calculation the top of the DIV would be within the top logo's space, instead place it just below the logo	}	topYLinks = topY + 58;	topY += "px";	topYLinks += "px";	document.getElementById("imageDisplaySW2006DIV").style.top = topY;	// document.getElementById("navLinksDIV").style.top = topYLinks;}function showLIGraphic(LItem) {	LItem.style.backgroundImage = "url('images/general/flower_icon.png')";}function hideLIGraphic(LItem) {	LItem.style.backgroundImage = "none";}
