added IE6 check