Sorry, I have found my mistake, but I cannot delete this post.
I have discovered by experiment that element.style.t op assignment in IE works with just a number on the right but in Firefox you have to put the unit too. Original code is below. Adding "+'px'" made it work in Firefox too.
Code:
javascript
	var fullsizeimage = document.getElementById('fullsizeimageframe');
	if (!fullsizeimage) return false;
...