JQuery Accordian Problem

JQuery Accordian Problem

hi all. Sorry, my english is not good as such.
I'm using JQuery 1.3.2 and JQuery ui 1.7.2
I want to get current status of the accordian tabs.
using this code
var acc = $('#accordion').accordion('option', 'active');
but only return null.
initializing this code
$("#accordion").accordion({ active: 1 });
after other tab clicked. but only return value "1"
I know want to currently changing tab status.
for example. If I clicked "tab1" result is "you are clicked tab1"
How do I get currently activate tab status?
--