Actually, it worked just fine the way I had it above. Its close to your example with the exception that I closed out the <% at the end of each line where you did not. Yes, it executes the code from each file but it only inserts the code into the source for the option chosen in the case statement. The only downside to the way I did it is that you can't use a <%@ Language=VBScript%> at the top of any of the files located in the case statement. If I wanted to call any of those files outside of the case statment as an independent page, that would fail.Thanks for the help though,-Phran