How can i set a asp variable with a value in Javascript?

JS Code:

<script language="JavaScript" type="text/javascript">
<!--

if (acrobat.ver5)
{
// if Acrobat 5.0 or newer is installed, do Acrobat 5.0 stuff.
document.write("Acrobat V5 + is installed")
var installed_pdf = "<%inst_pdf=yes%>"
}
else if (acrobat.installed)
{
// do older Acrobat stuff
document.write(acrobat.version);
}
else
{
// Acrobat is NOT installed. Do something else.
document.write("Acrobat is NOT installed.")
}

//-->
</script>

ASP Code:

<% response.write "Installed PDF = " & inst_pdf & "<br>" %>

This doesnt seem to work.