actually, you'll want to add a semicolon after ShowValue() in the RegisterStartupScript call. If another component does a similar register call on that page, it's javascript output will run...