<% // get the page to display from the URL var sPage = "" + Request.QueryString ( "page" );
// make sure it's a page we allow them to view! switch ( sPage ) { case "Wider": case "COM": case "Handle404": case "Categories": case "CategoryPage": case "Columns": case "ResultsPage": case "Date": case "Contact": case "Subscribe": case "MailToList": break;
<% // ============================================ // the content of this page // ============================================ function Content ( ) { Out ( '<td width="20%"> </td>' ); Out ( '<td width="60%">' );
// create handle to FileSystemObject var ofso = Server.CreateObject ( 'Scripting.FileSystemObject' );
// each source file that we show source for could have a related // documentation file for us to display before and after the // source. for now, I use a generic header and footer file. the // 'true' tells ShowFile to pass through any HTML to the browser.