Fix JavaScript Error in IE6