// (c)2009 Boursica.com SA - Tous droits réservés.

minw=document.all?801:800; minh=500;

if(screen.width<minw) minw=screen.width;
if(screen.height<minh) minh=screen.height;
if(document.all){
	minw-=8; minh-=123;
	width =parent.document.body.offsetWidth;
	height=parent.document.body.offsetHeight;
	if((width<minw)||(height<minh)){
		if(width<minw) width=minw-width; else width=0;
		if(height<minh) height=minh-height; else height=0;
		parent.window.moveTo(Math.floor((screen.width-minw)/2),Math.floor((screen.height-minh)/2));
		parent.window.resizeBy(width,height);
	}
}else{
	width =window.outerWidth;
	height=window.outerHeight;
	if((width<minw)||(height<minh)) {
		window.moveTo(Math.floor((screen.width-minw)/2),Math.floor((screen.height-minh)/2));
		if(width<minw) window.outerWidth=minw;
		if(height<minh) window.outerHeight=minh;
	}
}
