The trigger system of the MAGIC telescope: on-line selection strategies for Cherenkov telescopes