// JavaScript Document

function openAWindow( pageToLoad, winName, width, height, center) {
    xposition=0; yposition=0;
    if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
        xposition = (screen.width - width) / 2;
        yposition = (screen.height - height) / 2;
    }
    args = "width=725,"  
    + "height=500," 
    + "location=1," 
    + "menubar=1,"
    + "resizable=1,"
	+ "history=1,"
    + "scrollbars=1,"
    + "status=1," 
    + "titlebar=0,"
    + "toolbar=1,"
    + "hotkeys=0,"
    + "screenx=" + xposition + ","  //NN Only
    + "screeny=" + yposition + ","  //NN Only
    + "left=" + xposition + ","     //IE Only
    + "top=" + yposition;           //IE Only
				window.open( pageToLoad, winName, args );
}

function openAskWindow( pageToLoad, winName, width, height, center) {
    xposition=0; yposition=0;
    if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
        xposition = (screen.width - width) / 2;
        yposition = (screen.height - height) / 2;
    }
    args = "width=960,"  
    + "height=530," 
    + "location=1," 
    + "menubar=1,"
    + "resizable=1,"
	+ "history=1,"
    + "scrollbars=1,"
    + "status=1," 
    + "titlebar=0,"
    + "toolbar=1,"
    + "hotkeys=0,"
    + "screenx=" + xposition + ","  //NN Only
    + "screeny=" + yposition + ","  //NN Only
    + "left=" + xposition + ","     //IE Only
    + "top=" + yposition;           //IE Only
				window.open( pageToLoad, winName, args );
}