<?php
$referer = $_POST['referer'];
?>
<!--
$_POST['referer'] = <?php echo $_POST['referer']; ?>
-->
<?php

if( empty($referer) )
{
	$url = parse_url($_SERVER['HTTP_REFERER']);
	?>
	<!--
	$_SERVER['HTTP_REFERER'] = <?php echo $_SERVER['HTTP_REFERER']; ?>
	-->
	<?php
	$referer=$url['scheme'] . '://' . $url['host'];
	if( strstr($url['host'],'lemmurg') )
	{
		$referer .= '/~micha';
	}
	?>
	<!--
	$referer = <?php echo $referer; ?>
	-->
	<?php
}
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta name="Author" content="Michael Werle">
   <meta name="KeyWords" content="Micha,Michael Werle,Contact">
   <meta name="GENERATOR" content="vim">
   <title>Contact Micha</title>
</head>
<BODY text="#33FF77" bgcolor="#000000" link="#FFFF00" vlink="#dd9900" alink="#FF0000" nosave>

<table border="0" cellspacing="0" width="100%" height="100%">

<!------------------------------------------------------------------------->
<!-- Page header -->
<tr>
 <td bgcolor="#000022">
  <center>
   <a href="<?php echo $referer; ?>/index.html"><img src="<?php echo $referer; ?>/MW_Logo_Round_64x64.png"
      width="64" height="64" alt="MW" border="0"></a>
  </center>
 </td>
 <td bgcolor="#000022">
  <center><a name="top"><h1>Contact Micha</h1></a></center>
  <font face="arial" size="-1">
   <a href="<?php echo $referer; ?>/index.html">Home</a> -&gt; Contact
  </font>
 </td>
</tr>

<!------------------------------------------------------------------------->
<!-- Page index -->
<tr>
 <td bgcolor="#000022" valign="top">
  <hr width="100%">
  <center>Index</center>
  <hr width="80%">
  <hr width="100%">
 </td>

<!------------------------------------------------------------------------->
<!-- Page contents -->
<td background="<?php echo $referer; ?>/starback.gif">

<!-- Guestbook -->
<?php
  include('contact.php');
?>
<!-- End Guestbook -->

<!-- End page contents -->
</td></tr>

<!------------------------------------------------------------------------->
<!-- Page footer -->
<tr>
 <a name="bottom"></a>
 <td bgcolor="#000022">
  <center>
   <a href="<?php echo $referer; ?>/index.html"><img src="<?php echo $referer; ?>/MW_Logo_Round_64x64.png"
      width="64" height="64" alt="MW" border="0"></a>
  </center>
 </td>
 <td bgcolor="#000022">
  <address>
   <img SRC="<?php echo $referer; ?>/mailani.gif" ALT="Mail" NOSAVE BORDER="0"
    height="52" width="45" align="LEFT">
    You can contact Micha <a href="http://www.lemmurg.com/~micha/Contact/index.php">here</a>.
   <BR>
   This page hosted by <A HREF="http://www.lemmurg.com/">Lemmurg</A>.
   <BR>
   Last updated: 2007.10.04
  </address>
 </td>
</tr>
<!-- End page footer -->

</table>

</body>
</html>
