changed for IE and opera