Ripping my hair out with ExternalInterface

I’ve been trying for the past 3 hours to get Flash 8’s ExternalInterface to do what I need.

It’s making me mad, because if I simply do ExternalInterface.call(“alert”,“HEY”); it works. But if I do what I need to (document.getElementById(‘DiaryFrame’).style.display=‘block’) it doesn’t work. I’ve tried creating a function as well, even with just a simple alert in it. So for some reason, ExternalInterface isn’t working with anything BUT alert().

Any ideas?

http://girsbrain.org/JLS/Javascript/diary.html Page in question
http://girsbrain.org/JLS/Javascript/diary.fla

Any tips would be GREATLY appreciated, I’m at my whits end.