On click of a button to call an applet

Giganews Newsgroups
Subject: On click of a button to call an applet
Posted by:  karth…@yahoo.com (Cathey)
Date: 7 Jul 2003

My web page displays live images of size (640X380) using applet.
On Click of a button I need to display (320X240) in the same place.
How do I write a JavaScipt for this.

    <meta name="GENERATOR" Content="Microsoft Visual Studio.NET 7.0">
    <script id="clientEventHandlersJS" language="javascript">

    function Button1_onclick()

<INPUT id="Button1" type="button" value="320X240" name="medimg"
onclick="return Button1_onclick()">
<table width="714" ID="Table1">
      <td width="640" height="480" rowspan="6">
            <APPLET id="Applet1" style="WIDTH: 640px; HEIGHT: 480px"
height="480" width="483" align="top" code="CamView.class"
name="CamViewApplet" viewastext>
                <PARAM NAME="imagefile" VALUE="<%=imageFile%>">