//------ RAFRAICHIR LA PAGE ---//
function ouvrePopup(){
//window.open("popup_flash/teaser.html","teaser","menubar=no, status=no, scrollbars=no, menubar=no, width=800, height=600");
}
function regenerate()
{
	window.location.reload();
}

//------POSITIONNER LES CALQUES---------//
function positionner(calque, posL)
{
	if(navigator.appName.substring(0,3)=="Net")
	{
		var leftL=(window.innerWidth)/2;
		setTimeout("window.onresize=regenerate",400);

		/*var leftH=(window.innerHeight)/2;
		setTimeout("window.onresize=regenerate",400);*/
	}
	else
	{
		var leftL=(document.body.clientWidth)/2;
		setTimeout("window.onresize=regenerate",400);

		/*var leftH=(document.body.clientHeight)/2;
		setTimeout("window.onresize=regenerate",400);*/
	}

	var tabL=(900/2);

	var margeL = (leftL-tabL);
	if (margeL < 0)
	{
		margeL=0;
	}

	
	if (document.getElementById)
	{
		var layerObj=document.getElementById(calque);
		layerObj.style.left=margeL+posL+'px';
		//layerObj.style.top=posH+'px';
		return;
	}
	else if (document.all)
	{
		var calc_ie = document.all[calque];
		calc_ie.left=margeL+posL;
		//calc_ie.top=posH;
		eval (calc_ie);
	}
	else if (document.layers)
	{
		var calq_ns = document.layers[calque];
		calq_ns.left=(margeL+posL)-8;
		//calq_ns.top=posH;
		eval (calq_ns);
	}
}
// EOF
