<!-- Beginning of JavaScript -

// How long shall the submenu be visible? Answer in seconds
var standstill=10

// horizontal distance from the textlink to the submenu (pixels)
var xdistance=-320

// vertical distance from the textlink to the submenu (pixels)
var ydistance=10

// Do not edit the variables below
var timer
var x,y
var standstill=1000*standstill
var opensubmenu
var closesubmenu
var activated=false

function initiate() {	
	if (document.all) {
		closesubmenu=eval("document.all.submenu1.style")
		activated=true
	}
	if (document.layers) {
		closesubmenu=eval("document.submenu1")
		activated=true
	}
}

function show(whatsubmenu) {
	if (activated) {	
		if (document.all) {
			closesubmenu.visibility="hidden"
			closesubmenu=eval("document.all."+whatsubmenu+".style")
			opensubmenu=eval("document.all."+whatsubmenu+".style")
			opensubmenu.posTop=y+ydistance
			opensubmenu.posLeft=x+xdistance
			opensubmenu.visibility="visible"
			timer=setTimeout("hidesubmenu()",standstill)
		}
		if (document.layers) {
			closesubmenu.visibility="hidden"
			closesubmenu=eval("document."+whatsubmenu)
			opensubmenu=eval("document."+whatsubmenu)
			opensubmenu.top=y+ydistance
			opensubmenu.left=x+xdistance
			opensubmenu.visibility="visible"
			timer=setTimeout("hidesubmenu()",standstill)
		}
	}
}
	
function hidesubmenu() {
    clearTimeout(timer)
	closesubmenu.visibility="hidden"
	opensubmenu.visibility="hidden"
}


function handlerMM(e){
	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
}

if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove=handlerMM;
window.onload=initiate

// - End of JavaScript - -->
