Use div or includes on ASP classic instead of a frameset

I currently use a framset for my website. (Code below)

<frameset rows="80,*,20" cols="*" framespacing="0" frameborder="no" border="0">
  <frame src="topframe.asp" name="top" scrolling="no" noresize="noresize" id="top" />
  <frame src="index.asp" name="Body" id="Body" />
<frame src="UntitledFrame-6"></frameset>

in this particular case a top frame and the main frame just below.

I want to get rid of the frames and include 'topframe.asp' at the top of the page on every page of my website. How can I do this ?

I am using classic ASP. I am able to do this using PHP but my whole system is Classic ASP at this point. Frames are very limiting so I want to try and use some sort of code to include the file at the top. If it changes the change should reflect system wide. As it does when I change the top frame.

So .. the bottom frame (index.asp)  should include 'topframe.asp' . Once I figure out how to do this in this specific page I can add the include code to all the pages in my system  that need to display the top frame.  :)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Use the following.

<!-- #include file = "topframe.asp" -->
AleksAuthor Commented:
How will the page know where to put the page and how much space to take ?
AleksAuthor Commented:
Thanks !
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Julian HansenCommented:
How will the page know where to put the page and how much space to take ?
It does not work like that - that line is exactly the same as doing a cut and past of the contents of topframe.asp to where the include line is.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
Yep, I noticed. Works like a charm, thank you  !
AleksAuthor Commented:
Julian HansenCommented:
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.