function openwindow(name,newURL, newWidth, newHeight)
{
//declaration des variables du coin de la nouvelle fenetre
var calcLeft = 100;
var calcTop = 100; 
if (parseInt(navigator.appVersion) >= 4){
calcTop = screen.availHeight / 2 - newHeight /2;
calcLeft = screen.availWidth /2 - newWidth / 2;}

remoteWindow = window.open(newURL, name, 'status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,
width=' + newWidth + ',height=' + newHeight + ',left=' + calcLeft + ',top=' + calcTop + ',resizable=yes');

}
