var title = 'Title'; var gwClassName = 'gw_class_name'; var params = { className: gwClassName }; var gwTimetableTab = openGwTimeTableTab(title, params);