Can you include the <% %> tags and have non-vbscript outside those tags in a .vbs file? I'm doing that now, and it seems to be working, but a (long) while back I seem to remember my pages choking if the <% %> tags were inside the .vbs file
I don't want to do something that might not work under some different circumstances. I expect that if it's okay with my IIS server then it's okay, as it is server side stuff.
EXAMPLE (contents of a .vbs include file):
<% function writethebluemenu %>
<table>
<tr>
<td>
<b><%=portletTitle%></b>
</td>
</tr>
<%
getfilename = Request.ServerVariables("SCRIPT_NAME")
getfilename = LCase(getfilename)
'etc, etc...
%>
<!-- more straight html.... -->
<%Next
end function%>
</table>