<!-- BEGIN

function CenteredWindow(pop_page, pop_name, pop_width, pop_height) {

var pop_scroll = 1;
var pop_resize = 1;
var pop_status = 1;

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


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



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

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

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

}


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 - 10;
var pop_height = pop_height + 5;
}

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

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

}



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 -->
