Javascript alerts for registration buttons