Unfortunately, by default, the ability to write to the status bar, in FireFox is disabled.
To enable, type about:config in the browser's address window. In the "Filter" window type status_change. You will then see the setting and be able to toggle it on and off by double clicking.
At the point at which you want the status bar to change.
Also, please be sure to use UBB code tags when posting code to the forums. Unformatted code is extermely hard to read and most people will just go elsewhere. Please read this for more information.
You can go back and change your post to add code tags by clicking the .