/*
 * ShadowBox
 *
 * Copyright (c) 2008 Pablo Carabantes (donan)
 *
 * $Date: 2008-06-25$
 * $Rev: 015 $
 */
 
 function ToggleBox(boxID){
	var box = document.getElementById(boxID);

	if(box.style.display=='none'){
		box.style.display = '';
	}else{
		box.style.display = 'none';
	}
}

function calculatesize()
{
var y;
var test1 = document.body.scrollHeight;
var test2 = document.body.offsetHeight;
if (test1 > test2)
{
	y = document.body.scrollHeight;
}
else

{
	y = document.body.offsetHeight;
}
document.getElementById("Layer2").style.height  = y;
document.getElementById("Layer1").style.height  = y;

}
