adaptation for IE6 (refs #3226)