protected void btnDomainAdd_Click(Object Sender, EventArgs e)
        {
            int intResiliency = 0;

            if (ddlDomainResiliency.SelectedItem != null)
            {
                Int32.TryParse(ddlDomainResiliency.SelectedItem.Value, out intResiliency);
            }
            oTSM.AddDomain(intServer, txtDomainName.Text, (chkDomainEngineering.Checked ? 1 : 0), (chkDomainTest.Checked ? 1 : 0), (chkDomainQA.Checked ? 1 : 0), (chkDomainProduction.Checked ? 1 : 0), (chkDomainWindows.Checked ? 1 : 0), (chkDomainUnix.Checked ? 1 : 0), intResiliency, oTSM.GetDomains(intServer, 1).Tables[0].Rows.Count + 1, (chkDomainEnabled.Checked ? 1 : 0));
            Redirect("server=" + intServer.ToString() + "&saved=true");
        }