var userScreenWidth;
function openFotoDivOnly () {
	var oGreyDiv = document.getElementById('grey');
	//gray overlay first
	//header height
	var scrolled  = GetScrollTop();
	var greyHeight = document.getElementById('header').offsetHeight;
	greyHeight += document.getElementById('menu').offsetHeight;
	greyHeight += document.getElementById('content').offsetHeight;
	greyHeight += document.getElementById('bottom').offsetHeight;
	greyHeight += document.getElementById('footer').offsetHeight;
	greyHeight += 20;
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { 
		screenWidth = window.screen.availWidth;
	} else {
		screenWidth = window.innerWidth;
	}
	if (screenWidth > greyHeight) {
		greyHeight = '100%';
	} else {
		greyHeight = greyHeight+'px';
	}
	oGreyDiv.style.position = 'absolute';
	oGreyDiv.style.left = '0px';
	oGreyDiv.style.top = '0px';
	oGreyDiv.style.visibility = 'visible';
	oGreyDiv.style.width = '100%';
	oGreyDiv.style.height = greyHeight;
	
	//now the normal div
	theDiv = document.getElementById('bigFoto');
	
	theDiv.style.visibility = 'visible';
	theDiv.style.height 	= '100%';
	theDiv.style.width 		= '100%';
	//place the div
	theDiv.style.position = 'absolute';
	theDiv.style.top = (20+scrolled)+"px";
	theDiv.style.left = "0px";
}
function screenWidth () {
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { 
		userScreenWidth = (window.screen.availWidth-20);
	} else {
		userScreenWidth = window.innerWidth;
	}
	return true;
}
