// JavaScript Document
window.moveTo(0,0);
if (document.all) 
{
window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers) 
{
if (window.outerHeight<screen.availHeight||window.outerWidth<screen.availWidth)
{
window.outerHeight = screen.availHeight;
window.outerWidth = screen.availWidth;
}
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}

function retour (){ 
window.opener.focus();
}

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open("thanx.htm","","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function onTop() {
if (thewin.blur) thewin.focus();
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  //texteshtml=window.open(URLtoOpen, windowName, windowFeatures);
  
	var hauteur_popup=620;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=580;
	var L = (screen.width - largeur_popup) / 2;
	texteshtml = window.open(URLtoOpen,windowName,"height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);


}