Fixed bug #7873: Wrong condition for IE6, credits Steffen Kamper