I get this question so often when I present information about Silverlight, that I thought I'd just link to a great blog entry from Matt Manela that describes the process in detail.

This Blog Can Also Be A Hat : Combining Silverlight and JavaScript