var x,y
var timer
var i_fontsize=0
var step=0
var thisx,thisy

function handlerMM(e){
	x = (document.layers) ? e.pageX : event.clientX
	y = (document.layers) ? e.pageY : event.clientY
}

function ringup() {
	if (document.all) {
		thisx = x
		thisy = y
		ringup2()
	}
}

function ringup2() {
	if (i_fontsize<=1530) {	
		document.all.lettertje.style.fontSize=i_fontsize
		document.all.lettertje.style.color="rgb(255,"+Math.floor(i_fontsize/6)+","+Math.floor(i_fontsize/6)+")"
    	document.all.lettertje.style.posLeft=thisx-(Math.floor(i_fontsize/3))
		document.all.lettertje.style.posTop=thisy-(Math.floor(i_fontsize/1.4))	
		step+=4
		i_fontsize+=step
		timer=setTimeout("ringup(2)",50)
	}
	else {
		clearTimeout(timer)
		i_fontsize=0
		step=0
		document.all.lettertje.style.posTop=-10000
	}
}

document.onmousemove = handlerMM;
document.write("<STYLE>.ringstyle {	position:absolute;	visibility:visible;	top:-50px;	font-size:5pt;	font-family:Verdana;	color:FF0000}.explain {	position:absolute; 	top:80px; 	left:40px; 	width:480px; 	color:000000;	text-align:center;	font-size:20pt;	font-family:Times;}A { font-family: Times; 	color: #000000;	text-decoration:underline }A:visited { 	color: #000000;}</STYLE><span id='lettertje' class='ringstyle'>hoi</span>")

function letter(){
code=window.event.keyCode
code=String.fromCharCode(code)
lettertje.innerText=code
ringup()
}

document.onkeypress=letter
document.write('druk op een toets')