﻿// Fichier JScript doWindow
function doWindowRapport(subject) {
    var nLeft;
    var nTop;
    var nHeight;
    var nWidth;
    nLeft = new Number(0);
    nTop = new Number(0);
    nHeight = new Number(350);
    nWidth = new Number(510);

    if (navigator.userAgent.toLowerCase().indexOf("msie") > 0) {
        nLeft = window.screenLeft + (document.documentElement.clientWidth / 2) - (nWidth / 2);
        nTop = window.screenTop + (document.documentElement.clientHeight / 2) - (nHeight / 2);
    }
    else {
        nLeft = window.screenX + (window.innerWidth / 2) - (nWidth / 2);
        nTop = window.screenY + (window.innerHeight / 2) - (nHeight / 2);
    };

    var strWindowFeatures;
    strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
    strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
    strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
    strWindowFeatures = strWindowFeatures + ',screenX=' + nLeft.toString();
    strWindowFeatures = strWindowFeatures + ',screenY=' + nTop.toString();

    window.open('rapport.asp?S=' + subject, 'rapport', strWindowFeatures);

};

function doWindowCarte( codeParoisse )
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = new Number( 0 );
	nTop = new Number( 0 );
	nHeight = new Number( 690 );
	nWidth = screen.width;
	
	if (isNaN(codeParoisse) == true)
	{ codeParoisse = ''; }
	else
	{ codeParoisse = '?CODE=' + codeParoisse; }
    
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{   nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);	} 
	else 
	{   nTop = window.screenY + (window.innerHeight/2) -(nHeight/2); }
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',screenX=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',screenY=' + nTop.toString();

	window.open('http://www.genealogie.umontreal.ca/en/carteQuebec.asp' + codeParoisse, 'carte', strWindowFeatures);
}

function doWindowCarteRegion( codeRegion )
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = new Number( 0 );
	nTop = new Number( 0 );
	nHeight = new Number( 690 );
	nWidth = screen.width;
	
	if (isNaN(codeRegion) == true)
	{ codeRegion = ''; }
	else
	{ codeRegion = '?CODE_REGION=' + codeRegion; }
    
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{   nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);	} 
	else 
	{   nTop = window.screenY + (window.innerHeight/2) -(nHeight/2); }
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',screenX=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',screenY=' + nTop.toString();
    
    window.open('http://www.genealogie.umontreal.ca/en/carteRegion.asp' + codeRegion, 'carte', strWindowFeatures);
};

function doWindowEmPr()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 325 );
	nWidth = new Number( 510 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('EmPr.htm', 'emPr', strWindowFeatures);
}

function doWindowGlossaire()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 500 );
	nWidth = new Number( 510 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('glossaire.htm', 'glossaire', strWindowFeatures);
}

function doWindowPrincipesDeNavigation()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 415 );
	nWidth = new Number( 325 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('PrincipesDeNavigation.htm', 'principesDeNavigation', strWindowFeatures);
}

function doWindowInfoHit()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 126 );
	nWidth = new Number( 350 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('InfoHit.asp', 'InfoHit', strWindowFeatures);
}

function doWindowAproposDatesItaliques()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 200 );
	nWidth = new Number( 400 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('AproposDatesItaliques.htm', 'aProposDatesItaliques', strWindowFeatures);
} 

function doWindowRechNom()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 600 );
	nWidth = new Number( 770 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};

	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('/en/public/rech_Nom.asp', 'rechNom', strWindowFeatures);
}

function doWindowReglesNomsEtPrenoms()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 500 );
	nWidth = new Number( 300 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('ReglesNomsEtPrenoms.htm', 'reglesNomsEtPrenoms', strWindowFeatures);
}

function doWindowRechRegion()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 370 );
	nWidth = new Number( 437 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};

	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('rech_region.asp', 'rechRegion', strWindowFeatures);
}

function doWindowStatNomSurnom()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 500 );
	nWidth = new Number( 475 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=1,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('/en/StatNomSurnom.asp', 'statNomSurnom', strWindowFeatures);
}

function doWindowPreferences()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 126 );
	nWidth = new Number( 350 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('Preferences.asp', 'Preferences', strWindowFeatures);
}

function doWindowStatParoisses( codeParoisse )
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 600 );
	nWidth = new Number( 520 );
	
	var strURL;
	
	if (isNaN(codeParoisse) == true)
	    { strURL = '/en/statParoisses/statParoisses.asp'; }
	else
	    { strURL = '/en/statParoisses/' + codeParoisse + '.asp'; }
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open(strURL, 'statParoisses', strWindowFeatures);
}

function doWindowExtRegMtl1642()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 550 );
	nWidth = new Number( 400 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('ExtRegMtl1642.htm', 'ExtRegMtl1642', strWindowFeatures);
}

function doWindowExtRegMtl1660()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 575 );
	nWidth = new Number( 650 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('ExtRegMtl1660.htm', 'ExtRegMtl1660', strWindowFeatures);
}

function doWindowExtNic1707()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 600 );
	nWidth = new Number( 650 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('ExtNic1707.htm', 'ExtNic1707', strWindowFeatures);
}

function doWindowListeParoisses()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 600 );
	nWidth = new Number( 650 );
	
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=1');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('listeParoissesSuivantNomUsuel.asp', 'listeParoisses', strWindowFeatures);
}

function doWindowStatPrenomCompose()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 300 );
	nWidth = new Number( 450 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('StatPrenomCompose.asp', 'statPrenomCompose', strWindowFeatures);
}

function doWindowStatPrenomSimple()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 275 );
	nWidth = new Number( 525 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('StatPrenomSimple.asp', 'statPrenomSimple', strWindowFeatures);
}

function doWindowStatPatronyme()
{
	var nLeft;
	var nTop;
	var nHeight;
	var nWidth;
	nLeft = Number( 0 );
	nTop = Number( 0 );
	nHeight = new Number( 275 );
	nWidth = new Number( 375 );
	
	if(navigator.userAgent.toLowerCase().indexOf("msie")>0)
	{
		nLeft = window.screenLeft + (document.documentElement.clientWidth/2) -(nWidth/2);
		nTop = window.screenTop + (document.documentElement.clientHeight/2) -(nHeight/2);
		} 
	else 
	{
		nLeft = window.screenX + (window.innerWidth/2) -(nWidth/2);
		nTop = window.screenY + (window.innerHeight/2) -(nHeight/2);
		};
	
	var strWindowFeatures;
	strWindowFeatures = new String('resizable=0,status=0,menubar=0,scrollbars=0');
	strWindowFeatures = strWindowFeatures + ',height=' + nHeight.toString();
	strWindowFeatures = strWindowFeatures + ',width=' + nWidth.toString();
	strWindowFeatures = strWindowFeatures + ',left=' + nLeft.toString();
	strWindowFeatures = strWindowFeatures + ',top=' + nTop.toString();

	//window.alert(nLeft);
	//window.alert(nInnerHeight.toString());
	window.open('StatPatronyme.asp', 'statPatronyme', strWindowFeatures);
};
