lo script funziona ma non riesco ad implementarlo nella pagina. Ho testato in diversi modi ma, nella mia pagina non sortisce l'effetto voluto!

Ti posto lo script della pagina magari puoi aiutarmi ad inserirlo. (scusa se chiedo troppo )

codice:
<%@ LANGUAGE = JScript %>
<%
   var Cn = new ActiveXObject("ADODB.Connection");
   var Sc = "driver={Microsoft Access Driver (*.mdb)};dbq=" + Server.MapPath("/database/miodatabase.mdb");
       Cn.Open(Sc);
   var Sql = "SELECT * FROM argomento ORDER BY id ASC";
   var Mostra = new ActiveXObject("ADODB.Recordset");
	   Mostra.Open(Sql,Cn,1);
   var pag = parseInt(Request.QueryString("id"));
       if (isNaN(pag) || pag < 1) pag = 1;
       if (!Mostra.EOF) {
            Mostra.PageSize = 1;
            Mostra.AbsolutePage = pag;
      }
   var i = 0;
%>
<html>
 <head>
<title><%=Mostra("titolo")%></title>
  <link rel="stylesheet" type="text/css" href="../css/index.css">  
 </head>

<BODY>

                <div align="left">
                  <table border="0" cellpadding="0" cellspacing="0" width="237">
                    <tr>
                      <td>
                      </td>
                    </tr>
                  </table>
                </div>

<table border="0" cellspacing="0" width="237" cellpadding="0" bgcolor="#FFFFFF">
  <tr>
    <td valign="top">

<h1 align="center">




<%while((!Mostra.EOF) && (i<1)){%>
      </h1>
<div align="center">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td>
      </td>
    </tr>
  </table>
</div>
<div align="center">
<table width="98%" cellpadding="1" cellspacing="0" style="border: Solid 0px #192939;">
  <center>
 <tr>
   <td align="center" class="corpo">
         <%=Mostra("contenuto")%>
   </td>
 </tr>
</table>

</div>


<%
         i++;
      Mostra.MoveNext();
   }
%>

<div align="center">

<table width="85%" cellpadding="0" cellspacing="0">
 <tr>
   <td width="50%" align="center">
      <font size="2" face="Verdana">
      <%if (pag > 1) {%>&#171; Precedente<%}%>
      <%else {%><font color="#778899">&#171; Precedente</font><%}%>
      </font>
   </td>
   <td width="50%" align="center">
      <font size="2" face="Verdana">
      <%if (!Mostra.EOF) {%>Successivo &#187;<%}%>
      <%else {%><font color="#778899">Successivo &#187;</font><%}%>
      </font>
   </td>
 </tr>
 <tr>
   <td width="50%" align="center">
   </td>
   <td width="50%" align="center">
      <font color="#000080" size="1" face="Arial"></font>
   </td>
 </tr>
 <tr>
   <td width="50%" align="center">
   </td>
   <td width="50%" align="center">
   </td>
 </tr>
</table>

</div>

</center>
<div align="center">
  <center>
  <table border="0" cellspacing="1">
    <tr>
      <td>[img]../images/bordi/home.gif[/img]</td>
      <td>
        <p class="corp_nn_formattato">home page</td>
      <td>  </td>
      <td>[img]../images/bordi/indice.gif[/img]</td>
      <td>
        <p class="corp_nn_formattato">indice</td>
    </tr>
  </table>
  </center>
</div>
    </td>
    </tr>
  </table>

                <div align="left">
                  <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td>
                      </td>
                    </tr>
                  </table>
                </div>
</body>
</html>
<%Cn.Close()%>