Updated the method names and tested in IE instead of Opera/Firefox.

If I had read the code better ( duh ), I would've clearly seen code specific to IE. I tested in Opera/Firefox.

After testing in IE I found out that I was using the wrong method names for the dom-class object from dojo. 

The new method names are now being used.

Sorry Nathan.