#!/bin/bash
echo "Content-Type: text/html"
echo 
echo -n '<HTML>
<!-- Usage: http://'
echo -n $SERVER_NAME$SCRIPT_NAME
echo -n '?&lt;sub-url&gt;
     Use this to link to a specific sub-page and keep the frames -->
<head>
<title>Moggens Page</title>
<link rev="made" href="mailto:moggen@mds.mdh.se">
</head>
<frameset rows="75,*" border="0">
  <noframes>
<h1>Welcome to Moggens page!</h1>
Viewing recommendations:
<ul>
<li>Netscape 3 or 4 (UNIX versions)
<li>JavaScript enabled
<li>800x600 pixels or more
<li>16-bit color depth or more
</ul>
These pages do not contain:
<ul>
<li>Animated GIFs
<li>Java Applets
<li>Sound Effects
<li>Cookies
<li>Blinking Text
<li>Access Loggers
<li>Commercial Banners
<li>JavaScript scrolltexts
<li>Pop-up browser windows
<li>Style-sheets
</ul>
<center>
<a href="fside.html">To the main menu</a>
</center>
<hr>
  </noframes>
   <frame name="upper" src="fupper.html" marginwidth="10" marginheight="10" scrolling="no" frameborder="0">
   <frameset cols="205,*">
      <frame name="side" src="fside.html" marginwidth="10" marginheight="10" scrolling="no" frameborder="0">
      <frame name="info" src="'

if [ -z "$QUERY_STRING" ]; then
  echo -n finfo.html
else
  echo -n "$QUERY_STRING"
fi

echo -n '" marginwidth="0" marginheight="10" scrolling="auto" frameborder="0">
   </frameset>
</frameset>
</html>
'
