My LogiX is Undeniable.
This is how to Set focus on control using javascript in CRM 2011
// Set focus on control
Xrm.Page.ui.controls.get("attributename").setFocus();