How does the Kirupa banner save your chosen color?

Also, how do I embed flash so that the visitor doesn’t have to click it once before they use it?