<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
var auge = 44, //Höhe des Auges (entschricht 'o' bei 72pt)
pupille = 6, //Höhe der Pupille (entspricht '.' bei 36pt)
hoehe = 20, //Hoehe von oben
links=300, //Anstand vom linken Rand
abstand=55, //Abstand der Augen zueinander
x=y=0, auge1, pupille1;
document.onmousemove = mouse;
function mouse(e){
x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY;
status = x + " " + y;
pupillen();
}
function ausrichten() {
auge1 = document.getElementById("auge1").style;
pupille1 = document.getElementById("pupille1").style;
auge1.left = links - auge/2 + pupille;
auge1.style.top = hoehe - auge/2;
}
function pupillen() {
pupille1.left = links + (auge/2 - pupille) * Math.cos(Math.atan2(y-(hoehe ),x-(links)));
pupille1.top = hoehe + (auge/2 - pupille) * Math.cos(Math.atan2(x-(links ),y-(hoehe)));
}
</script>
<style type="text/css">
#auge1 { font-family:"Courier New", Courier, mono; font-size: 72pt; position: absolute;}
#pupille1 { font-family:"courier new"; font-size: 36pt; position: absolute;}
</style>
</head><body onload="ausrichten()">
<span id="pupille1" class="pupille1"><font color="#003333">.</font></span><span id="auge1" class="auge1"><font color="#66CC00">o</font></span>
</body>
</html>