I want to write ASP indise local script tags so that I can make dynamic functions, obviously this is not possible because I tried doing it and i had errors, is there anyway around this. e.g.

<script language=jscript>

JScript here

<%

ASP code here

%>


JScript here

</script>