This invention uses Bayesian techniques to prioritize alerts or alert groups generated by intrusion detection systems and other information security devices, such as network analyzers, network monitors, firewalls, antivirus software, authentication services, host and application security services, etc. The output buffer outputs a first voltage and a second voltage having an opposite phase to the first voltage during an output interval including a first interval portion and a second interval portion. The device further includes a spray mechanism for delivery of a dose of the bark deterrent substance to the dog upon receipt of the activation signal from the sensor. Blood soaks the hemostatic material, and blood clotting is facilitated by the hemostatic agent within the material. According to the present invention, a porous metal oxide film can be formed without performing sintering at high temperatures, so that a flexible, inexpensive dye-sensitized solar cell can be obtained in which a resin material which has high transparency, is inexpensive and light in weight and has freedom in shape can be used as a sheet-shaped electrode substrate.