function popupcentree(page,largeur,hauteur,options) {
		     
	var top=(screen.height-hauteur)/2;     
	var left=(screen.width-largeur)/2;     
	window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); 
}
		


function popMenu(selObj,largeur,hauteur,options){
	page = selObj.options[selObj.selectedIndex].value;
	var top=(screen.height-hauteur)/2;     
	var left=(screen.width-largeur)/2;     
	window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); 
	selObj.selectedIndex=0;
}

function publierPage(idPage){
	window.alert("cochée");
	var url = "liste.php?pubPageId="+idPage;	
	window.location.href=url
}

function verifForm()
{
	document.getElementById('frmList').submit();
}

function AjoutFavo() { 
if ( navigator.appName != 'Microsoft Internet Explorer' ) 
{ window.sidebar.addPanel("Cabinet Patrick Tollet, Expert Comptable","http://www.cabinettollet.org",""); } 
else { window.external.AddFavorite("http://www.cabinettollet.org","Cabinet Patrick Tollet, Expert Comptable"); } } 

function initSize() {
	test = document.getElementById('centre').offsetHeight;
	if ( test > 730 ) 
	{
		document.getElementById('bas').style.height = test+'px';
		document.getElementById('site').style.height = (test+250)+'px';
	}
	else
	{
		document.getElementById('bas').style.height = 800+'px';
		document.getElementById('site').style.height = (730+250)+'px';
	}
}

function initSizeG() {
	test = document.getElementById('centreG').offsetHeight;
	if ( test > 730 ) 
	{
		document.getElementById('basG').style.height = test+'px';
		document.getElementById('siteG').style.height = (test+250)+'px';
	}
	else
	{
		document.getElementById('basG').style.height = 800+'px';
		document.getElementById('siteG').style.height = (730+250)+'px';
	}
}

