function buildVars(obj)
{
	var retval = "";
	var idx = 0;
	for(var i in obj)
	{
		prefix = (idx > 0) ? "&" : "";
		
		retval += prefix + i + "=" + obj[i];
		idx++;
	}
	return retval;
}

function arrangeObject()
{
	var obj = document.getElementById("photoFlash");		
	document.body.style.overflow = "hidden";
	var width = document.body.clientWidth;
	var height =document.body.clientHeight;
	
	obj.style.height = height;
	obj.style.width = width;
	obj.style.top = document.body.scrollTop;
	
	
}

function closeFlash()
{
	var obj = document.getElementById("flashcontent");
	obj.style.display = 'none';
	document.body.style.overflow = "auto";
}