// JavaScript Document

function ElementPositionning()
{
	var top;
	var right;
	var bottom;
	var left;
	var minwidth = 960;
	
	//calcul de la position de la zone centrale
	if (xClientHeight() > 600)
		top = ((xClientHeight() - 600) / 2) + 20;
	else
		top = 20;
	xTop("general", top);
	
	if (xClientWidth() > 960)
		left = (xClientWidth() - 960) / 2;
	else
		left = 10;
	xLeft("general", left);		
}
