SCRIPT LANGUAGE="JavaScript">
var browser, version;
browser = navigator.appName;
version = navigator.appVersion;
var ie4 = (browser.indexOf("Explorer") >= 0) 
&& (version.indexOf(4.0) >=0 );
function loadit() {
pages = new Array();
pages[1] = this.url("page1.html");
pages[2] = this.url("page2.html");
pages[3] = this.url("page3.html");
}
function showit(page) {
var tocontent = (ie4) ? document.all["webpage"] 
: document["webpage"].document;
var frompart = document.webworm.getsource(pages[page].url);
 if (frompart.indexof("AppletError:") == -1) {
   if (ie4 == true) {
   tocontent.innerHTML = frompart;
   } else {
   tocontent.write(frompart);
   tocontent.close();
   }
 } else {
alert(frompart)
}
</SCRIPT>
...
<BODY onLoad="loadit()">
<OBJECT
 codebase="webworm.class"
 NAME="WebWorm"
 WIDTH=1
 HEIGHT=1>
</OBJECT>
...
<DIV ID=menu
STYLE=" position:absolute;
top:0px; left:0px;
width:50%;">
<UL>
<LI><A HREF="javascript://" onclick="showit(1)">Product 1</A></LI>
<LI><A HREF="javascript://" onclick="showit(2)">Product 2</A></LI>
<LI><A HREF="javascript://" onclick="showit(3)">product 3</A></LI>
</UL>
</DIV>
<DIV ID=webpage 
STYLE=" position:absolute;
top:0px; left:50%;
width:50%;">
<H1>Product Descriptions</H1>
</DIV>
<FORM>
<! The Order Form goes here >
</FORM>