function arrangeLayers()
{
	document.getElementById("Layer1").style.left=getLayerLeftPosition();
	document.getElementById("Layer2").style.left=getLayerLeftPosition();
	document.getElementById("Layer3").style.left=getLayerLeftPosition();
	document.getElementById("Layer1").style.top="210px";
	document.getElementById("Layer2").style.top="210px";
	document.getElementById("Layer3").style.top="210px";
}

window.onresize = arrangeLayers;

function getLayerLeftPosition()
{
	if (document.body.offsetWidth<=754)
	{
		position=195 + "px";
	}
	else
	{
		gap=(document.body.offsetWidth-800)/2;
		position=212+gap+"px";
	}
	return position;
}
