IE6+ support

Added support for IE6+