protected void updateChargeableTotals()
    {
        TimesheetManager tm = new TimesheetManager();

        decimal[] totals = tm.getChargeableTotalsForID(timesheetID);
        decimal finalTotal = 0;

        sunChargeLBL.Text = totals[0].ToString("0.0");
        sunTotalHoursLBL.Text = totals[0].ToString("0.0");
        finalTotal += totals[0];
        monChargeLBL.Text = totals[1].ToString("0.0");
        monTotalHoursLBL.Text = totals[1].ToString("0.0");
        finalTotal += totals[1];
        tuesChargeLBL.Text = totals[2].ToString("0.0");
        tuesTotalHoursLBL.Text = totals[2].ToString("0.0");
        finalTotal += totals[2];
        wedsChargeLBL.Text = totals[3].ToString("0.0");
        wedsTotalHoursLBL.Text = totals[3].ToString("0.0");
        finalTotal += totals[3];
        thursChargeLBL.Text = totals[4].ToString("0.0");
        thursTotalHoursLBL.Text = totals[4].ToString("0.0");
        finalTotal += totals[4];
        friChargeLBL.Text = totals[5].ToString("0.0");
        friTotalHoursLBL.Text = totals[5].ToString("0.0");
        finalTotal += totals[5];
        satChargeLBL.Text = totals[6].ToString("0.0");
        satTotalHoursLBL.Text = totals[6].ToString("0.0");
        finalTotal += totals[6];

        totalChargeLBL.Text = finalTotal.ToString("0.0");
        // if hours exceed 60 throw a dialog or 12 for any day
        if (totals[0] > OVERTIME_THRESHOLD || totals[1] > OVERTIME_THRESHOLD || totals[2] > OVERTIME_THRESHOLD || totals[3] > OVERTIME_THRESHOLD ||
           totals[4] > OVERTIME_THRESHOLD || totals[5] > OVERTIME_THRESHOLD || totals[6] > OVERTIME_THRESHOLD)
        {
            // throw a dialog
            dialogTitle = "Regular Hours Exceeded";
            msg = "A separate Form must be filled out to accomodate overtime";
            ScriptManager.RegisterStartupScript(this, this.GetType(), "projectNumInvalid", "throwDialog();", true);
        }
    }