﻿//<![CDATA[

//Make specified control visible and then
//hide after specified number of milliseconds.
function MakeControlVisibleForTimePeriod(Control, NumMilliSeconds) {
    Control.style.display = '';
    setTimeout("HideControl('" + Control.id + "');", NumMilliSeconds);
}
function HideControl(ControlID) {
    var ctrl = document.getElementById(ControlID);
    if (ctrl)
        ctrl.style.display = 'none';
}

//Launch popup window for report.
function LaunchReportPopupWindow(URL) {
    var w = window.open(URL, '_blank', 'scrollbars=1,resizable=1,toolbar=0,menubar=0');
    if(w) w.focus();
    return false;
}

//]]>
