function Nethzah_Portal_UploadDocuments()
{
    window.open('/RecordFolder/UploadDocument.aspx', 'UploadDocument', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=600px,height=200px,top=200,left=200');
}

function Nethzah_Portal_ChangePasswordPopup()
{
    var strURL = '/Secure/ChangePasswordPopup.aspx';
    Nethzah_ShowModelDlg(strURL, 'ChangePassword', 400, 150, 'Change Password');
}
function Nethzah_Portal_OpenTaskDlg(intTaskId, intGadgetId)
{
    var strURL = "/Modules/TaskDetail.aspx";
    if (intTaskId != '')
        strURL += "?Id=" + intTaskId;
    
    if (intGadgetId)
    {
        if (strURL.indexOf("?") == -1)
            strURL += "?GadgetId=" + intGadgetId;
        else
            strURL += "&GadgetId=" + intGadgetId;
    }

    Nethzah_ShowModelDlg(strURL, 'TaskDetail', 600, 450);
}

