var newWin = null;
function WinPopup( url, width, height, options, name ) {
    if ( ! width ) width = 525;
    if ( ! height ) height = 400;
    if ( ! options ) options = "scrollbars=no,menubar=no,toolbar=no,location=no,status=no,resizable=no";
    if ( ! name ) name = "outsideSiteWindow";
    ur = escape(url);
    if (!newWin || newWin.closed ) {
        newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
    } else {
        newWin.location = url;
        newWin.focus();
    }
}
