function Open_Window_320_210(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 320, yMax=210;

    var xOffset = (xMax - 320)/2, yOffset = (yMax - 210)/2;
	
	window.open(theURL, '', 'resizable=no, width=320, height=210, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
} 

function Open_Window_320_240(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 320, yMax=240;

    var xOffset = (xMax - 320)/2, yOffset = (yMax - 240)/2;
	
	window.open(theURL, '', 'resizable=no, width=320, height=240, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
} 

function Open_Window_320_250(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 320, yMax=250;

    var xOffset = (xMax - 320)/2, yOffset = (yMax - 250)/2;
	
	window.open(theURL, '', 'resizable=no, width=320, height=250, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
} 

function Open_Window_320_365(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 320, yMax=365;

    var xOffset = (xMax - 320)/2, yOffset = (yMax - 365)/2;
	
	window.open(theURL, '', 'resizable=no, width=320, height=365, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
} 

function Open_Window_400_320(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 400, yMax=320;

    var xOffset = (xMax - 400)/2, yOffset = (yMax - 320)/2;
	
	window.open(theURL, '', 'resizable=no, width=400, height=320, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
} 

function Open_Window_460_180(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 460, yMax=180;

    var xOffset = (xMax - 460)/2, yOffset = (yMax - 180)/2;
	
	window.open(theURL, '', 'resizable=no, width=460, height=180, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_460_360(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 460, yMax=360;

    var xOffset = (xMax - 460)/2, yOffset = (yMax - 360)/2;
	
	window.open(theURL, '', 'resizable=no, width=460, height=360, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_460_485(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 460, yMax=485;

    var xOffset = (xMax - 460)/2, yOffset = (yMax - 485)/2;
	
	window.open(theURL, '', 'resizable=no, width=460, height=485, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_460_570(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 460, yMax=570;

    var xOffset = (xMax - 460)/2, yOffset = (yMax - 570)/2;
	
	window.open(theURL, '', 'resizable=no, width=460, height=570, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_500_300(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 500, yMax=300;

    var xOffset = (xMax - 500)/2, yOffset = (yMax - 300)/2;
	
	window.open(theURL, '', 'resizable=no, width=500, height=300, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_500_365(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 500, yMax=365;

    var xOffset = (xMax - 500)/2, yOffset = (yMax - 365)/2;
	
	window.open(theURL, '', 'resizable=no, width=500, height=365, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_500_338(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 500, yMax=338;

    var xOffset = (xMax - 500)/2, yOffset = (yMax - 338)/2;
	
	window.open(theURL, '', 'resizable=no, width=500, height=338, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_640_480(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 640, yMax=480;

    var xOffset = (xMax - 640)/2, yOffset = (yMax - 480)/2;
	
	window.open(theURL, '', 'resizable=no, width=640, height=480, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_628_250(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 628, yMax=250;

    var xOffset = (xMax - 628)/2, yOffset = (yMax - 250)/2;
	
	window.open(theURL, '', 'resizable=no, width=628, height=250, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_700_500(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 700, yMax=500;

    var xOffset = (xMax - 700)/2, yOffset = (yMax - 500)/2;
	
	window.open(theURL, '', 'resizable=no, width=700, height=500, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_760_550(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 760, yMax=550;

    var xOffset = (xMax - 760)/2, yOffset = (yMax - 550)/2;
	
	window.open(theURL, '', 'resizable=no, width=760, height=550, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}

function Open_Window_800_600(theURL) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 800, yMax=600;

    var xOffset = (xMax - 800)/2, yOffset = (yMax - 600)/2;
	
	window.open(theURL, '', 'resizable=no, width=800, height=600, screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}


function Open_Window_CustomSizePopUp(theURL, theHeight, theWidth) {
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax=theHeight, yMax=theWidth;

    var xOffset = (xMax - theHeight)/2, yOffset = (yMax - theWidth)/2;
	
	window.open(theURL, '', 'resizable=no, width='+theWidth+', height='+theHeight+', screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+',left='+xOffset+', toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
}


