var popupBlockerMessage = "Popup Blocker Detected. This site uses popup windows to provide meaningful content. If you are experiencing problems, you may need to temporarily unblock your popup blocker. We do not use popup windows for advertising or other popup promotions.";

function OpenPopupWindow(PassedURL, ScrollOption) {
    var stats;
    if ( ScrollOption != "yes" )
      {ScrollOption = "no";}
    stats="toolbar=no,location=no,status=no,menubar=no,scrollbars="+ScrollOption+",Top=0,";
    stats+="resizable=yes,width=640,height=500";
    PopupWindow=window.open(PassedURL,"",stats)
    if( PopupWindow == null )
    {
        alert(popupBlockerMessage);
    }
}

function OpenPopupWindowToolBar(PassedURL, ScrollOption) {
    var stats;
    if ( ScrollOption != "yes" )
      {ScrollOption = "no";}
    stats="toolbar=yes,location=no,status=no,menubar=no,scrollbars="+ScrollOption+",Top=0,";
    stats+="resizable=yes,width=640,height=500";
    PopupWindow=window.open(PassedURL,"",stats)
    if( PopupWindow == null )
    {
        alert(popupBlockerMessage);
    }
}

function OpenPopupWindowProvider(PassedURL, ScrollOption) {
    var stats;
    if ( ScrollOption != "yes" )
      {ScrollOption = "no";}
    stats="toolbar=yes,location=no,status=no,menubar=no,scrollbars="+ScrollOption+",Top=0,";
    stats+="resizable=yes,width=780,height=500";
    PopupWindow=window.open(PassedURL,"",stats)
    if( PopupWindow == null )
    {
        alert(popupBlockerMessage);
    }
}

function OpenPopupWindowSize(PassedURL, ScrollOption, width, height, status) {
    var stats;
    if ( ScrollOption != "yes" )
      {ScrollOption = "no";}
    if (status != "yes")
      {status = "no";}
    stats="toolbar=no,location=no,status="+status+",menubar=no,scrollbars="+ScrollOption+",Top=0,";
    stats+="resizable=yes,width="+width+",height="+height;
    PopupWindow=window.open(PassedURL,"",stats)
    if( PopupWindow == null )
    {
        alert(popupBlockerMessage);
    }
}