<h1><a name="usingthebrowsercapabilitiescomponent">Lesson 2: A Demonstration of the Browser Capabilities Component</a></h1>
<p>
<%
Set objBrowser = Server.CreateObject("MSWC.BrowserType")
If objBrowser.browser = "IE" and objBrowser.majorver = "4" Then
%>
<p>Your Web browser is Internet Explorer version 4.0, or later. This means that you are seeing a Dynamic HTML ad rotator.</P>
<CENTER>
<OBJECT ID="scriptlet"
STYLE=" position:relative;height:200;width:200"
type="text/x-scriptlet"
data="..\tutorial\rotate4.htm">
</OBJECT>
</CENTER>
<% Else %>
<p>Your Web browser is not Internet Explorer version 4.0, or later. This means that you are seeing a static image displayed using the ASP Ad Rotator component. (Refresh this page to see a new image.) </p>
<br>
<% Set Ad = Server.CreateObject("MSWC.Adrotator") %>
<p><font size="1" face="Arial">The names of companies, products, people, characters and/or data mentioned herein are fictitious and are in no way intended to represent any real individual, company, product or event unless otherwise noted.</font></p>