<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><title>Ingen titel</title>
<script type="text/javascript">
mychkvar=-1;
var IE=(navigator.userAgent.toLowerCase().indexOf("msie")!=-1);
if(document.addEventListener){
document.addEventListener("mousemove", mousepos, false);
window.addEventListener("load", runhidectrl, false);
if(e=document.getElementById("skjul1"))e.addEventListener("click", function(){document.getElementById('menu1').style.display='none';}, false);
if(e=document.getElementById("vismenu1"))e.addEventListener("mouseover", function(){hideshowdiv('menu1',document.getElementById('vismenu1'),99,0);}, false);
}
else if(document.attachEvent){
document.attachEvent("onmousemove", mousepos);
window.attachEvent("onload", runhidectrl);
if(e=document.getElementById("skjul1"))e.attachEvent("onclick", function(){document.getElementById('menu1').style.display='none';});
if(e=document.getElementById("vismenu1"))e.attachEvent("onmouseover", function(){hideshowdiv('menu1',document.getElementById('vismenu1'),99,0);});
}
var cury=curx=0;
function mousepos(e){
if(IE){
myscrolltop=(tmenu=document.documentElement.scrollTop)? tmenu : document.body.scrollTop;
myscrollleft=(lmenu=document.documentElement.scrollLeft)? tmenu : document.body.scrollLeft;
tmpy=event.clientY+myscrolltop;
tmpx=event.clientX+myscrollleft;
}else{
tmpy=e.pageY;
tmpx=e.pageX;
myscrolltop=myscrollleft=0;
}
cury=tmpy;
curx=tmpx;
}
tmpx1=tmpx2=tmpy1=tmpx2=tmpx1b=tmpx2b=tmpy1b=tmpx2b=0;
tmpcurnode="";
function hideshowdiv(tmpid,tmpcur,pleft,ptop){
mychkvar=1;
if(tmpid=document.getElementById(tmpid)){
if(tmpcurnode!="")tmpcurnode.style.display='none';
tmpcurnode=tmpid;
xleft=tmpcur.offsetLeft;
xtop=tmpcur.offsetTop;
tmpcur2=tmpcur;
while(tmpcur2=tmpcur2.offsetParent){
xleft=xleft+tmpcur2.offsetLeft;
xtop=xtop+tmpcur2.offsetTop;
}
tmpy1b=xtop;
tmpx1b=xleft;
tmpy2b2=xtop+tmpcur.offsetHeight;
tmpx2b=xleft+tmpcur.offsetWidth;
if(pleft!="d"){
tmpid.style.top=xtop+ptop+"px";
tmpid.style.left=xleft+pleft+"px";
}else{
tmpid.style.top=tmpy2b2+"px";
tmpid.style.left=xleft-tmpcur.offsetLeft+"px";
}
tmpid.style.display='block';
tmpy1=tmpid.offsetTop;
tmpx1=tmpid.offsetLeft;
tmpy2=tmpid.offsetTop+tmpid.offsetHeight;
tmpx2=tmpid.offsetLeft+tmpid.offsetWidth;
}
}
function runhidectrl(x){
if(x!=1){
if(document.addEventListener){
if(e=document.getElementById("skjul1"))e.addEventListener("click", function(){document.getElementById('menu1').style.display='none';}, false);
if(e=document.getElementById("vismenu1"))e.addEventListener("mouseover", function(){hideshowdiv('menu1',document.getElementById('vismenu1'),99,0);}, false);
}
else if(document.attachEvent){
if(e=document.getElementById("skjul1"))e.attachEvent("onclick", function(){document.getElementById('menu1').style.display='none';});
if(e=document.getElementById("vismenu1"))e.attachEvent("onmouseover", function(){hideshowdiv('menu1',document.getElementById('vismenu1'),99,0);});
}
}
if(tmpcurnode!=""){
if((curx<tmpx1)||(curx>tmpx2)||(cury<tmpy1)||(cury>tmpy2)){
if((curx<tmpx1b)||(curx>tmpx2b)||(cury<tmpy1b)||(cury>tmpy2b2)){
tmpcurnode.style.display="none";
}
}if(mychkvar==0)tmpcurnode.style.display="none";
}
setTimeout("runhidectrl(1);",100);
}
</script>
</head><body><br><br><br><br><br><br><br><br><br><br><br>
<img src="
http://www.eksperten.dk/img/elogo.png" id="vismenu1">
<div id="menu1" style="display:none;position:absolute;top:0px;left:0px;background-color:#aaa;width:200px;height:150px;"><br>
<a href="#" id="skjul1">Skjul</a>
</div>
</body></html>