var
tf=app.activeDocument.pages[0].textFrames[0];
s=tf.paragraphs[0].underlineType;
alert(s.strokeStyleType);