Modify alert.asp to make advance alert engine default

Version 1

     The attached file will make the Advance alert engine the default in the alert view.  We use the adv engine for all of our alerting and orions alert view defaults to the basic engine. So when ever we wanted to check for alerts on the web interface we had to select the advance engine and click on the refresh page. Below is a diff

     

     

    Before 1

    <option value="">Basic</option>

    <%If Len(Request("Advanced")) > 0 Then %>

          <option value="T" selected>Advanced</option>

          <% Else %>

          <option value="T">Advanced</option>

          <% End If %>

     

    After 1

    <option value="">Basic</option>

          <% If Len(Request("Advanced")) > 0 Then %>

          <option value="T" selected>Advanced</option>

          <% Else %>

          <option value="T" selected>Advanced</option>

          <% End If %>

     

    Before 2

    If Len(Request("Advanced")) > 0 Then

                Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")

          Else

                Set Alerts = Server.CreateObject("OrionNPMWeb.Alerts")

          End If

     

          Alerts.SelectAlerts

     

    After 2

                    If Len(Request("Advanced")) > 0 Then

                Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")

          Else

                Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")

          End If

     

          Alerts.SelectAlerts