function PopCenter(theUrl,winName,lato,base,scroll) {
// theUrl 	= The page
// winName 	= Name of the Pop-Up
// lato		= Width of the window
// base		= Height of the windows
// scroll	= Do You want the Scroll??? ][ Value = yes|no
//
// brought to you by []==ThoRŪ
//

        var x = screen.availWidth
        var y = screen.availHeight
        var spaceSx = (x - lato)/2
        var spaceUp = (y - base)/2
        main = window.open(theUrl,winName,"scrollbars=" + scroll + ",resizable=no,left="+spaceSx+",top="+spaceUp+",width="+lato+",height="+base+",directory=no,status=no,location=no,toolbar=no");
        main.focus()
}

function TheOpenerWithCheck(theUrl,WinName,width,height,scrollbar,resize,msgNoPopUp,goTo) {
//	theUrl 		= The page
//	width		= Width of the window
//	height		= Height of the windows
//	scroll		= Do You want the Scroll??? ][ Value = yes|no
//	resize		= Do You want to resize Window??? ][ Value = yes|no
//	msgNoPopUp	= set a message if popUp is not opened (aka blocked by a PopUp blocker)
//	goTo		= set a page where to go if popUp is not opened
//
// brought to you by []==ThoRŪ
//
	var x = screen.availWidth
	var y = screen.availHeight
	var spaceSx = (x - width)/2
	//var spaceUp = 0										// To Point PopUp top
	var spaceUp = (y - height)/2							// To point PopUp in the center
	
	//	FIXED POSITION
	//spaceSx	= '99999';
	//spaceUp	= '99999';

	winparams	= ""										// Start Params for Window
	winparams	= winparams + "scrollbars=" 	+ scrollbar	// Scroll
	winparams 	= winparams + ",resizable=" 	+ resize	// Resizable
	winparams 	= winparams + ",left=" 			+ spaceSx	// Space From Left
	winparams 	= winparams + ",top=" 			+ spaceUp	// Space From Top
	winparams 	= winparams + ",width=" 		+ width		// Windowz Width
	winparams 	= winparams + ",height=" 		+ height	// Windowz Height
	winparams 	= winparams + ",directory=no"				// The Tool Bar Menu
	winparams 	= winparams + ",status=no"					//
	winparams 	= winparams + ",location=no"				//
	winparams 	= winparams + ",toolbar=no"					// -------------------
	// Open window
	//window.open(theUrl,WinName,winparams);

	var pixPopChecker	= window.open(theUrl,WinName,winparams);

	if (pixPopChecker==null || typeof(pixPopChecker)=="undefined")	{
		//return false;
	} else {
		//return true;
	}
}

function PopCenter1(theUrl,winName,lato,base,scroll) {
// theUrl 	= The page
// winName 	= Name of the Pop-Up
// lato		= Width of the window
// base		= Height of the windows
// scroll	= Do You want the Scroll??? ][ Value = yes|no
//
// brought to you by []==ThoRŪ
//

        var x = screen.availWidth
        var y = screen.availHeight
        var spaceSx = (x - lato)/2
        var spaceUp = (y - base)/2
        main = window.open(theUrl,winName,"scrollbars=" + scroll + ",resizable=no,left="+spaceSx+",top="+spaceUp+",width="+lato+",height="+base+",directory=no,status=no,location=no,toolbar=no");
        main.focus()
}