>Javascript fails when a Master Page is added to this page. Is there any workaround?
I'm not sure you have the same problem as me, but try
Re: Setting focus to the control on the page (AJAX site) Thread #
1294462 Message #
1296101
If it's not broken, fix it until it is.
My Blog