Use the following code in JavaScript events like the JavaScript OnLoad for Add or Edit pages:
// 0 - first tab, 1 - second tab, etc.
pageObj.setCurrentStep(1);
This code works in the JavaScript OnLoad event or ClientBefore/ClientAfter events of custom buttons.
See also:
•JavaScript API: RunnerPage object
•Page Designer: Insert custom button