popup con javascript pero la liga ASP
Tengo un pequeñoproblema, necesito realizar un popup y todos sabemos que la forma mas sencilla de hacerlo es con JavaScript, el problema es que la diga, es dinamica de hecho la guardo en una variable ASP, ya que la tomo de una base de datos... Pero cuando JavaScript no reconoce mi variable asp y en ocasiones me marca errores.. les dejo parte de mi codigo para que valoren.
<html>
<head>
<title>Módulo Alumnos</title>
<link rel="stylesheet" type="text/css" href="/estilos.css">
<script language='JavaScript'>
function ventana(URL){
window.open (URL)
}
</script>
</head>
<body background='/pictures/fondo.gif' leftmargin='0' topmargin='0'>
<%
Set manual = Server.CreateObject("ADODB.RecordSet")
SQLmanual = "Select * from manuales"
SET manual = conex.execute(SQLmanual)
response.write ("<table width='95%' class='tablausuarios' align='center' border='1' bordercolor='000000' cellspacing='0' cellpadding='1'><tr bgcolor='aaaaaa'><td width='70%' align='center'>Descripción</td><td width='25%' align='center'>Archivo</td></td><td vidth='5%' align='center'>Ver</td></tr>")
do while not manual.EOF
complet = "/manuales/"&manual("archivo")
%>
<tr><td><%Response.write (manual("descripcion"))%></td><td><%Response.write (manual("archivo"))%></td><td><input type="image" src="/pictures/flechaxp.gif" onclick=ventana(<%complet%>)></td></tr>
<%
manual.movenext
loop
response.write ("</table>")
%>
</body>
<html>
<head>
<title>Módulo Alumnos</title>
<link rel="stylesheet" type="text/css" href="/estilos.css">
<script language='JavaScript'>
function ventana(URL){
window.open (URL)
}
</script>
</head>
<body background='/pictures/fondo.gif' leftmargin='0' topmargin='0'>
<%
Set manual = Server.CreateObject("ADODB.RecordSet")
SQLmanual = "Select * from manuales"
SET manual = conex.execute(SQLmanual)
response.write ("<table width='95%' class='tablausuarios' align='center' border='1' bordercolor='000000' cellspacing='0' cellpadding='1'><tr bgcolor='aaaaaa'><td width='70%' align='center'>Descripción</td><td width='25%' align='center'>Archivo</td></td><td vidth='5%' align='center'>Ver</td></tr>")
do while not manual.EOF
complet = "/manuales/"&manual("archivo")
%>
<tr><td><%Response.write (manual("descripcion"))%></td><td><%Response.write (manual("archivo"))%></td><td><input type="image" src="/pictures/flechaxp.gif" onclick=ventana(<%complet%>)></td></tr>
<%
manual.movenext
loop
response.write ("</table>")
%>
</body>