document events fired by the blink method
added browser sniffing for safari per mike's suggestion