<!-- BEGIN

function NGCenteredWindow(pop_page, pop_name, pop_width, pop_height, pop_scroll, pop_resize, pop_status) {

// var pop_scroll = 1;
// var pop_resize = 1;
// var pop_status = 0;

pop_platform = navigator.platform.toLowerCase();
pop_browser = navigator.userAgent.toLowerCase();

////////////////////////////////////////////////////////////////////////////////
// What is this for?

if (parseInt(navigator.appVersion) >= 4) {
// var pop_width = pop_width + 10;
// var pop_height = pop_height + 10;
}


////////////////////////////////////////////////////////////////////////////////
// Are we on a Windows machine?

if (pop_platform.indexOf('win') != -1) {
var pop_width = pop_width;
var pop_height = pop_height;

if (pop_browser.indexOf('firefox') != -1) {
var pop_width = pop_width + 4;
var pop_height = pop_height;
}

if (pop_browser.indexOf('msie') != -1) {
var pop_width = pop_width + 2;
var pop_height = pop_height;
}

if (pop_browser.indexOf('opera') != -1) {
var pop_width = pop_width + 2;
var pop_height = pop_height;
}

}


////////////////////////////////////////////////////////////////////////////////
// Are we on an Apple machine?

if (pop_platform.indexOf('mac') != -1) {
var pop_width = pop_width;
var pop_height = pop_height;

if (pop_browser.indexOf('firefox') != -1) {
var pop_width = pop_width;
var pop_height = pop_height;
}

if (pop_browser.indexOf('safari') != -1) {
var pop_width = pop_width;
var pop_height = pop_height;
}

if (pop_browser.indexOf('opera') != -1) {
var pop_width = pop_width;
var pop_height = pop_height;
}

}



var position_top = ((screen.height - pop_height) / 2);
var position_left = ((screen.width - pop_width) / 2);

pop_props = 'width='+pop_width+',height='+pop_height+',top='+position_top+',left='+position_left+',scrollbars='+pop_scroll+',location=0,toolbar=0,status='+pop_status+',menubar=0,resizable='+pop_resize

pop_window = window.open(pop_page, pop_name, pop_props);

if (parseInt(navigator.appVersion) >= 4) {
pop_window.window.focus();
}

// alert ('POPUP: Width: ' + pop_width + ' Height: ' + pop_height  );

}

//  END -->
