// -- outside windows
function OpenWindow_out( url, width, height, options, name )
{
if ( ! width ) width = 640;
if ( ! height ) height = 420;
if ( ! options ) options = "scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes";
if ( ! name ) name = "outsideSiteWindow";
var newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
}

// -- pbd windows
function OpenWindow_in( url, width, height, options, name )
{
if ( ! width ) width = 400;
if ( ! height ) height = 250;
if ( ! options ) options = "scrollbars=yes,menubar=yes,toolbar=no,location=no,status=no,resizable=yes";
if ( ! name ) name = "pbd";
var newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
}

// -- probably outside windows
function OpenWindow( url, width, height, options, name )
{
if ( ! width ) width = 640;
if ( ! height ) height = 420;
if ( ! options ) options = "scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes";
if ( ! name ) name = "outsideSiteWindow";
var newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
}