Radio button onclick not working

I have 3 radio buttons that will display certain jobs from a list depending on which button is clicked. I used to use a search button to run the search code. So the user would select a radio button then click search. But now I have removed the search button and I want the radio buttons to call the search function when clicked.

Passing parameters to popup window?

I am trying to pass parameters to a popup window via query string(a hidden field id & a textbox id). However, since I am using master pages the id’s are very long (ct100_someid). Is there a way to elegantly pass my ids ?Can I shorten my id’s or not show them to the user at all ? Please tell me any alternates.