var ccount = activeSheet.frozenColumnCount();
var rcount = activeSheet.frozenRowCount();
alert(ccount);
alert(rcount);