Fixing error in Firefox 3.6
Merge pull request #49 from luksak/master

Fixing error in Firefox 3.6