to support opera, seamonkey and ie.

For now, script works also on Opera, SeaMonkey and IE.