Boton function buscar().
Les digo como lo estoy intentando: 
Esta es la funcion   
Código asp:
Ver original- <script language="javascript"> 
- function buscar() 
- {    
-     //sql2_2= " select * from CHIP WHERE MOVIL ='" & Request("MOVIL") & "'" 
-       <% 
-       if  Request("CCequipo") = EQUIPO or request("CCmodelo") = MODELO   then 
-        
-        sql2_2= "insert into tabla1 (rs2(0), rs2(1), rs2(2), rs2(3), rs2(4), rs2(5), rs2(6), rs2(7), rs2(8)) values " &  " ('" & NUM_SERIE & "', '" & MAC & "', '" & PIN & "', '" & ACCESORIOS & "', '" & FECHA_ENTREGA_CELULAR & "', '" & FECHA_RETIRO_CELULAR & "', '" & ASIGNADO & "', '" & NO_ASIGNADO & "', '" & NOTAS & "') WHERE EQUIPO = '" & CCequipo & "', MODELO = '" & CCmodelo & "'" 
-        
-       end if 
-       %> 
-   
- } 
- </SCRIPT> 
las combo y el boton:    
Código asp:
Ver original- <table name="tabla" width="352" class="fondo_table3"> 
- <tr><td colspan=6 class="titulo"></td></tr> 
-     <tr><td colspan="6" height=4></td></tr> 
-     
-   <tr> 
-             <td width="30%" nowrap class="text_black_bold_12 Estilo3"> <strong>Teléfono</strong> </td> 
- <td colspan="3">  
-             <!-- 
-             <% 
-             'SQL3 = "SELECT distinct EQUIPO" 
-             'SQL3 = SQL3 & " FROM CELULAR " 
-             'Set reg4 = conecta.Execute(SQL3)                    
-             %> 
-              -->       
-               <select name="CCequipo" id="CCequipo" class="combo" onMouseover="showtip2(this,event,'Seleccione el Equipo');" onMouseout="hidetip2();" style="cursor:hand"> 
-               <option value="0" selected>Seleccionar                            </option> 
-                     <% 
-                     While (not reg4.EOF) 
-                     %> 
-                     <option value="<%=(reg4.Fields.Item("EQUIPO").Value)%>"><%=(reg4.Fields.Item("EQUIPO").Value)%></option> 
-                     <% 
-                     reg4.Movenext 
-                     wend 
-                     %>                  
-               </select>  
-          </td>             
-   </tr> 
-    
-   <tr>  
-             <td class="text_black_bold_12" width="20%" nowrap> <strong>Modelo</strong> </td> 
-             <td colspan="3">  
-               <select name="CCmodelo" id="MODELO" class="combo" onMouseover="showtip2(this,event,'Seleccione el Modelo');" onMouseout="hidetip2();" style="cursor:hand"> 
-               <option value="0" selected>Seleccionar                            </option> 
-               <% 
-               While (not reg5.EOF) 
-               %> 
-               <option value="<%=(reg5.Fields.Item("MODELO").Value)%>"><%=(reg5.Fields.Item("MODELO").Value)%></option> 
-               <% 
-               reg5.Movenext 
-               wend 
-               %>  
-               </select>        
-           </td>            
-   </tr> 
-    
-   
-   <tr><td colspan="6" width="100%"> </td></tr> 
-     <tr> 
-         <td colspan="6" align="center"> 
-         <input type="button" name="CCbuscar" value="Buscar" class="botton80x23" onClick="buscar(CCequipo, CCmodelo)" onMouseover="showtip2(this,event,'Buscar la información Seleccionada');" onMouseout="hidetip2();" style="cursor:help">    
-         <input type="button" name="CClimpiar" value="Limpiar" class="botton80x23" onClick="limpiar(CCequipo.value = '0' , CCmodelo.value = '0')" onMouseover="showtip2(this,event,'Limpia los datos de Búsqueda');" onMouseout="hidetip2();" style="cursor:hand">        
-         </td> 
-     </tr> 
-     <tr><td colspan="6"> </td></tr> 
- </table> 
No se como 
 
 
 hacer q me funcione 

Alguna idea 
Gracias  
