Okay, this is very hard to explain, so bare with me.

Currently I have a block in my ASP that looks like this:

Code:
<div class="PanelSpace">
  <div class="Panel" id="Panel0">
    <!---#include virtual="/test/alpha.inc"-->
  </div>
  <div class="Panel" id="Panel1">
    <!---#include virtual="/test/beta.inc"-->
  </div>
  <div class="Panel" id="Panel2">
    <!---#include virtual="/test/gamma.inc"-->
  </div>
  <div class="Panel" id="Panel3">
    <!---#include virtual="/test/delta.inc"-->
  </div>
</div>
I am wanting to create a loop in the ASP that will accomplish the same thing.

Code:
<div class="PanelSpace">
  <%
    for currPanel = 0 to UBound(PanelNames, 1)
    %>
      <div class="Panel" id="Panel<%=currPanel%>">
        <%'Panels Source .inc file should be accessed here%>
      </div>
    <%
    next 'Panel
  %>
</div>
I can't use the #include directive since that will get processed before the ASP will. I've tried Server.Execute, but I need the .inc to be able to use the same embedded ASP techniques that this page is using, and to be able to call on variables defined here.

Any ideas? Any questions?