Hi guys...

I tried to write a little script that changes a text in div element every time i put my mouse over a link... I have something like this


the script:
<script language='text/javascript'>
function zmentext(text)
{
document.all.popisek.innerHTML = text;
}
</script>

link:
zmen to

and div element:
<div ID="popisek" style='position:relative; top:0; left:40;'>huhuhuu</div>
but every time I place my mouse over the link I get object expected error... What am I doing wrong?

Thank you all for your answers