alert.php fully commented
overhaul: string builds, error trapping, full comments, broken code fixed.
type missing space