<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    
  <system.web>
  
        <clientTarget>
            <add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
            <add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
            <add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
            <add alias="downlevel" userAgent="Unknown" />
        </clientTarget>

         <browserCaps>
<!-- Uncomment the line below for .Net framework 1.1 -->
<!--result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /-->
<!-- Uncomment the line below for .Net framework 1.0 -->
<!--result type="System.Web.HttpBrowserCapabilities" /-->
            <use var="HTTP_USER_AGENT" />

            browser=Unknown
            version=0.0
            majorversion=0
            minorversion=0
            frames=false
            tables=false
            cookies=false
            backgroundsounds=false
            vbscript=false
            javascript=false
            javaapplets=false
            activexcontrols=false
            win16=false
            win32=false
            beta=false
            ak=false
            sk=false
            aol=false
            crawler=false
            cdf=false
            gold=false
            authenticodeupdate=false
            <!--  THIS LINE BELOW IS REALLY IMPORTANT FOR NETSCAPE AND THE -->
            <!--  VALIDATION SUMMARY CONTROL. IF ITS SET TO THE ORIGINAL   -->
            <!--  System.web.UI.Html32TextWriter, THEN 'DIV' ELEMENTS GET  -->
            <!-- WRITTEN AS 'TABLE' ELEMENTS IN NETSCAPE                   -->
            tagwriter=System.Web.UI.HtmlTextWriter
            
            ecmascriptversion=0.0
            msdomversion=0.0
            w3cdomversion=0.0
            platform=Unknown
            clrVersion=0.0
            css1=false
            css2=false
            xml=false

            <filter>
                <case match="COM\+|\.NET CLR (?'clrVersion'[0-9\.]*)">
                    clrVersion=${clrVersion}
                </case>
            </filter>

            <filter>
                <case match="Windows 95|Win95">
                    platform=Win95
                </case>
                <case match="Windows 98|Win98">
                    platform=Win98
                </case>                
                <case match="Windows NT|WinNT">
                    platform=WinNT
                </case>
                <case match="Windows 3.1|Win16">
                    platform=Win16
                </case>
                <case match="Windows CE|WinCE">
                    platform=WinCE
                </case>
                <case match="Mac_68000|Macintosh.*68K">
                    platform=Mac68K
                </case>
                <case match="Mac_PowerPC|Macintosh.*PPC">
                    platform=MacPPC
                </case>
                <case match="X11">
                    platform=UNIX
                </case>
                <case match="WebTV">
                    platform=WebTV
                </case>
            </filter>

            <filter>
                <case match="16bit|Windows 3.1|Win16">
                    win16=true
                </case>
                <case match="Windows 95|Win95|Windows 98|Win98|Windows NT|WinNT|Win32">
                    win32=true
                </case>
            </filter>


            <filter>
                <case match="WebTV/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
                    browser=WebTV
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}
                    tables=true
                    cookies=true
                    backgroundsounds=true

                    <filter match="2" with="${minor}">
                       javascript=true
                       ecmascriptversion=1.0
                       css1=true
                    </filter>
                    <filter match="^b" with="${letters}">
                       beta=true
                    </filter>
                </case>

                <case match="Opera[ /](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
                    browser=Opera
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}
                    frames=true
                    tables=true
                    cookies=true
                    javascript=true
                    ecmascriptversion=1.1

                    <filter match="[4-9]" with="${major}">
                       ecmascriptversion=1.3
                       w3cdomversion=1.0
                       css1=true
                       css2=true
                       xml=true
                    </filter>

                    <filter match="^b" with="${letters}">
                       beta=true
                    </filter>
                </case>

                <case match="^Mozilla[^(]*\(compatible; MSIE (?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))(?'extra'.*)">

                    browser=IE
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}

                    <case match="[5-9]\." with="${version}">
                        frames=true
                        tables=true
                        cookies=true
                        backgroundsounds=true
                        vbscript=true
                        javascript=true
                        javaapplets=true
                        activexcontrols=true
                        tagwriter=System.Web.UI.HtmlTextWriter
                        ecmascriptversion=1.2
                        msdomversion=${major}${minor}
                        w3cdomversion=1.0
                        css1=true
                        css2=true
                        xml=true

                        <filter with="${letters}" match="^b">
                            beta=true
                        </filter>
                        <filter with="${extra}" match="Crawler">
                            crawler=true
                        </filter>
                    </case>

                    <case match="^4\." with="${version}">
                        frames=true
                        tables=true
                        cookies=true
                        backgroundsounds=true
                        vbscript=true
                        javascript=true
                        javaapplets=true
                        activexcontrols=true
                        tagwriter=System.Web.UI.HtmlTextWriter
                        ecmascriptversion=1.2
                        msdomversion=4.0
                        w3cdomversion=1.0
                        cdf=true
                        css1=true

                        <filter with="${letters}" match="^[ab]">
                            beta=true
                        </filter>
                        <filter with="${extra}" match="Crawler">
                            crawler=true
                        </filter>
                        <filter match="; AOL" with="${extra}">
                            aol=true
                        </filter>
                        <filter match="; Update a;" with="${extra}">
                            authenticodeupdate=true
                        </filter>
                    </case>

                    <case match="^3\." with="${version}">
                        frames=true
                        tables=true
                        cookies=true
                        backgroundsounds=true
                        vbscript=true
                        javascript=true
                        javaapplets=true
                        activexcontrols=true
                        ecmascriptversion=1.0
                        css1=true

                        <filter match="true" with="%{win16}">
                            javaapplets=false
                            activexcontrols=false
                            <filter match="^a" with="${letters}">
                                beta=true
                                vbscript=false
                                javascript=false
                            </filter>
                        </filter>
                        <filter match="Mac68K|MacPPC" with="%{platform}">
                            vbscript=false
                            activexcontrols=false
                        </filter>
                        <filter match="^B" with="${letters}">
                            beta=true
                        </filter>

                        <filter match="; AK;" with="${extra}">
                            ak=true
                        </filter>
                        <filter match="; SK;" with="${extra}">
                            sk=true
                        </filter>
                        <filter match="; Update a;" with="${extra}">
                            authenticodeupdate=true
                        </filter>
                        <filter match="; AOL" with="${extra}">
                            aol=true
                        </filter>
                    </case>

                    <case match="^2\." with="${version}">
                        tables=true
                        cookies=true
                        backgroundsounds=true

                        <filter match="^b" with="${letters}">
                            beta=true
                        </filter>
                        <filter match="; AOL" with="${extra}">
                            aol=true
                        </filter>
                    </case>

                    <case match="^1\.5" with="${version}">
                        tables=true
                        cookies=true
                    </case>

                </case>

                <case match="^Microsoft Pocket Internet Explorer/0.6">
                    browser=PIE
                    version=1.0
                    majorversion=1
                    minorversion=0
                    tables=true
                    backgroundsounds=true
                    platform=WinCE
                </case>

                <case match="^Mozilla[^(]*\(compatible; MSPIE (?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))(?'extra'.*)">
                    browser=PIE
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}
                    tables=true
                    backgroundsounds=true
                    cookies=true

                    <case match="2\." with="${version}">
                       frames=true
                    </case>
                </case>



<!-- FireFox / Mozilla browser : w3cdomversion=1.0 ! -->

<case match="^Mozilla/5\.0\s*([^)]*\))\s*(Gecko\/\d+)\s*Firefox\/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
browser=Netscape
version=${version}
majorversion=${major}
minorversion=${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
<filter match="^b" with="${letters}">
  beta=true
</filter></case>







                <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+ )?Netscape6/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
                    browser=Netscape
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}
                    frames=true
                    tables=true
                    cookies=true
                    javascript=true
                    javaapplets=true
                    ecmascriptversion=1.5
                    w3cdomversion=1.0
                    css1=true
                    css2=true
                    xml=true

                    <filter match="^b" with="${letters}">
                       beta=true
                    </filter>
                </case>

                <case match="^Mozilla/2\.01 \(Compatible\) Oracle\(tm\) PowerBrowser\(tm\)/1\.0a">
                    browser=PowerBrowser
                    version=1.5
                    majorversion=1
                    minorversion=.5
                    frames=true
                    tables=true
                    cookies=true
                    vbscript=true
                    javascript=true
                    javaapplets=true
                    platform=Win95
                </case>
                
                <case match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
                    browser=IE
                    version=${version}
                    majorversion=${major}
                    minorversion=${minor}
                    
                    <filter match="^b" with="${letters}">
                       beta=true
                    </filter>

                    <filter match="Gold" with="${letters}">
                       gold=true
                    </filter>

                    <case match="^[4-9]\." with="${version}">
                        frames=true
                        tables=true
                        cookies=true
                        javascript=true
                        javaapplets=true
                        ecmascriptversion=1.1
                        <!-- Line below commented out for enhanced support with NS 4.7 -->
                        <!--w3cdomversion=1.0 -->
                        css1=true

                        <filter match="^[5-9]*" with="${minor}">
                            ecmascriptversion=1.3
                        </filter>
                    </case>

                    <case match="^[2-3]\." with="${version}">
                        frames=true
                        tables=true
                        cookies=true
                        javascript=true
                        javaapplets=true
                        ecmascriptversion=1.1
                        <!--w3cdomversion=1.0 -->
                    </case>
                </case>

            </filter>

            <filter>
                <case match="Unknown" with="%{browser}">
                    type=Unknown
                </case>
                <case>
                    type=%{browser}%{majorversion}
                </case>
            </filter>

        </browserCaps>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
          false will improve runtime performance of this application. 
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP .NET files.
    -->
    <compilation 
         defaultLanguage="c#"
         debug="true"
    />

    <!--  CUSTOM ERROR MESSAGES
          Set customError mode values to control the display of user-friendly 
          error messages to users instead of error details (including a stack trace):

          "On" Always display custom (friendly) messages  
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not running 
          on the local Web server. This setting is recommended for security purposes, so 
          that you do not display application detail information to remote clients.
    -->
    <customErrors 
    mode="RemoteOnly" 
    /> 

    <!--  AUTHENTICATION 
          This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", 
          "Passport" and "None"
    -->
    <authentication mode="Windows" /> 

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application. 
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
          application trace log by browsing the "trace.axd" page from your web application
          root. 
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="false"
        traceMode="SortByTime"
        localOnly="true"
    />

    <!--  SESSION STATE SETTINGS
          By default ASP .NET uses cookies to identify which requests belong to a particular session. 
          If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState 
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false" 
            timeout="20" 
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application. 
    -->
    <globalization 
            requestEncoding="utf-8" 
            responseEncoding="utf-8" 
   />
   
 </system.web>

</configuration>